| | |
| | | rules: 'required', |
| | | }, |
| | | { |
| | | component: 'InputNumber', |
| | | componentProps: { |
| | | class: '!w-full', |
| | | placeholder: '请输入支付订金', |
| | | precision: 2, |
| | | min: 0, |
| | | }, |
| | | fieldName: 'depositPrice', |
| | | label: '支付订金', |
| | | rules: 'required', |
| | | }, |
| | | { |
| | | fieldName: 'remark', |
| | | label: '备注', |
| | | component: 'Textarea', |
| | |
| | | labelField: 'name', |
| | | valueField: 'id', |
| | | }, |
| | | }, |
| | | { |
| | | component: 'InputNumber', |
| | | componentProps: { |
| | | class: '!w-full', |
| | | placeholder: '请输入支付订金', |
| | | precision: 2, |
| | | min: 0, |
| | | }, |
| | | fieldName: 'depositPrice', |
| | | label: '支付订金', |
| | | rules: z.number().min(0).optional(), |
| | | }, |
| | | ]; |
| | | } |