From 909f93ba498cecdda00a1006911b63dc74a35cfd Mon Sep 17 00:00:00 2001 From: tanzs Date: Sat, 8 Mar 2025 19:43:01 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=96=B0=E5=A2=9E=E5=8F=91?= =?UTF-8?q?=E7=A5=A8=E4=BF=A1=E6=81=AF=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/miniapp/order/AppOrder.data.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/miniapp/order/AppOrder.data.ts b/src/views/miniapp/order/AppOrder.data.ts index 4ba3e0e..f4c3680 100644 --- a/src/views/miniapp/order/AppOrder.data.ts +++ b/src/views/miniapp/order/AppOrder.data.ts @@ -400,7 +400,15 @@ export const formSchema: FormSchema[] = [ fileMax: 0, }, dynamicRules: ({ model, schema }) => { - return [{ required: true, message: '请输入支付凭证!' }]; + return [{ required: true, message: '请上传支付凭证!' }]; + }, + }, + { + label: '发票信息', + field: 'invoiceUrl', + component: 'JImageUpload', + componentProps: { + fileMax: 0, }, }, // TODO 主键隐藏字段,目前写死为ID