| | |
| | | fieldName: 'no', |
| | | label: '申请编号', |
| | | component: 'Input', |
| | | rules: 'required', |
| | | dependencies: { |
| | | triggerFields: ['id'], |
| | | disabled: (values) => !!values.id, |
| | | }, |
| | | componentProps: { |
| | | placeholder: '系统自动生成', |
| | | disabled: true, |
| | | placeholder: '请输入申请编号', |
| | | maxLength: 32, |
| | | }, |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | field: 'productPrice', |
| | | title: '单价(参考价)', |
| | | title: '含税单价(元)', |
| | | minWidth: 120, |
| | | fixed: 'right', |
| | | slots: { default: 'productPrice' }, |
| | | }, |
| | | { |
| | | field: 'totalPrice', |
| | | title: '预估金额', |
| | | minWidth: 120, |
| | | fixed: 'right', |
| | | formatter: 'formatAmount2', |
| | | }, |
| | | { |
| | | field: 'taxPercent', |
| | |
| | | minWidth: 100, |
| | | fixed: 'right', |
| | | slots: { default: 'taxPercent' }, |
| | | }, |
| | | { |
| | | field: 'totalPrice', |
| | | title: '不含税金额(元)', |
| | | minWidth: 120, |
| | | fixed: 'right', |
| | | formatter: 'formatAmount2', |
| | | }, |
| | | { |
| | | field: 'taxPrice', |
| | | title: '税额(元)', |
| | | minWidth: 120, |
| | | fixed: 'right', |
| | | formatter: 'formatAmount2', |
| | | }, |
| | | { |
| | | title: '含税合计(元)', |
| | | minWidth: 120, |
| | | fixed: 'right', |
| | | slots: { default: 'totalTaxInclusivePrice' }, |
| | | }, |
| | | { |
| | | field: 'demandTime', |
| | |
| | | options: [ |
| | | { label: '未提交', value: 0 }, |
| | | { label: '审批中', value: 10 }, |
| | | { label: '审核通过', value: 20 }, |
| | | { label: '审核不通过', value: 30 }, |
| | | { label: '审批通过', value: 20 }, |
| | | { label: '审批不通过', value: 30 }, |
| | | { label: '已取消', value: 40 }, |
| | | ], |
| | | placeholder: '请选择状态', |
| | |
| | | }, |
| | | { |
| | | field: 'totalPrice', |
| | | title: '预估金额', |
| | | title: '含税金额', |
| | | formatter: 'formatAmount2', |
| | | minWidth: 120, |
| | | }, |