| | |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'orderDate', |
| | | label: '下单日期', |
| | | component: 'DatePicker', |
| | | rules: 'required', |
| | | componentProps: { |
| | | showTime: false, |
| | | format: 'YYYY-MM-DD', |
| | | valueFormat: 'x', |
| | | placeholder: '请选择下单日期', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'businessId', |
| | | label: '商机名称', |
| | | component: 'Select', |
| | |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'orderDate', |
| | | label: '下单日期', |
| | | component: 'DatePicker', |
| | | rules: 'required', |
| | | componentProps: { |
| | | showTime: false, |
| | | format: 'YYYY-MM-DD', |
| | | valueFormat: 'x', |
| | | placeholder: '请选择下单日期', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'startTime', |
| | | label: '合同开始时间', |
| | | component: 'DatePicker', |
| | |
| | | valueFormat: 'x', |
| | | placeholder: '请选择合同结束时间', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'depositPrice', |
| | | label: '定金金额(元)', |
| | | component: 'InputNumber', |
| | | componentProps: { |
| | | class: '!w-full', |
| | | min: 0, |
| | | precision: 2, |
| | | placeholder: '请输入定金金额', |
| | | }, |
| | | rules: z.number().min(0).optional(), |
| | | }, |
| | | { |
| | | fieldName: 'signUserId', |
| | |
| | | formatter: 'formatAmount2', |
| | | }, |
| | | { |
| | | title: '定金金额(元)', |
| | | field: 'depositPrice', |
| | | minWidth: 140, |
| | | formatter: 'formatAmount2', |
| | | }, |
| | | { |
| | | title: '下单时间', |
| | | field: 'orderDate', |
| | | minWidth: 120, |