From 29d35a020eccdfdab4984aeb65b9583210bc3ddf Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 17 Jun 2026 17:29:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0browserfields=E7=A9=BA?= =?UTF-8?q?=E5=AF=B9=E8=B1=A1=E9=81=BF=E5=85=8Dxls2ui=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- json/order_payments_edit.json | 48 ++++++++++++++++++++++++++------- json/orders_edit.json | 50 ++++++++++++++++++++++++++++------- 2 files changed, 78 insertions(+), 20 deletions(-) diff --git a/json/order_payments_edit.json b/json/order_payments_edit.json index 55ec7bf..69697e2 100644 --- a/json/order_payments_edit.json +++ b/json/order_payments_edit.json @@ -4,26 +4,54 @@ "title": "编辑付款记录", "params": { "formfields": { - "exclouded": ["id", "order_id", "confirmed_by", "created_at", "updated_at"], + "exclouded": [ + "id", + "order_id", + "confirmed_by", + "created_at", + "updated_at" + ], "alters": { "status": { "uitype": "code", "data": [ - {"value": "pending", "text": "待确认"}, - {"value": "confirmed", "text": "已确认"}, - {"value": "rejected", "text": "已拒绝"} + { + "value": "pending", + "text": "待确认" + }, + { + "value": "confirmed", + "text": "已确认" + }, + { + "value": "rejected", + "text": "已拒绝" + } ] }, "payment_method": { "uitype": "code", "data": [ - {"value": "bank_transfer", "text": "银行转账"}, - {"value": "check", "text": "支票"}, - {"value": "cash", "text": "现金"}, - {"value": "online_payment", "text": "在线支付"} + { + "value": "bank_transfer", + "text": "银行转账" + }, + { + "value": "check", + "text": "支票" + }, + { + "value": "cash", + "text": "现金" + }, + { + "value": "online_payment", + "text": "在线支付" + } ] } } - } + }, + "browserfields": {} } -} \ No newline at end of file +} diff --git a/json/orders_edit.json b/json/orders_edit.json index e318793..de9de52 100644 --- a/json/orders_edit.json +++ b/json/orders_edit.json @@ -4,26 +4,56 @@ "title": "编辑订单", "params": { "formfields": { - "exclouded": ["id", "contract_id", "customer_id", "owner_id", "org_id", "created_at", "updated_at"], + "exclouded": [ + "id", + "contract_id", + "customer_id", + "owner_id", + "org_id", + "created_at", + "updated_at" + ], "alters": { "order_type": { "uitype": "code", "data": [ - {"value": "advance", "text": "预付款"}, - {"value": "progress", "text": "进度款"}, - {"value": "final", "text": "尾款"}, - {"value": "manual", "text": "手动订单"} + { + "value": "advance", + "text": "预付款" + }, + { + "value": "progress", + "text": "进度款" + }, + { + "value": "final", + "text": "尾款" + }, + { + "value": "manual", + "text": "手动订单" + } ] }, "status": { "uitype": "code", "data": [ - {"value": "active", "text": "激活"}, - {"value": "completed", "text": "已完成"}, - {"value": "cancelled", "text": "已取消"} + { + "value": "active", + "text": "激活" + }, + { + "value": "completed", + "text": "已完成" + }, + { + "value": "cancelled", + "text": "已取消" + } ] } } - } + }, + "browserfields": {} } -} \ No newline at end of file +}