gaoluyang
3 天以前 e4994fccfb49ebfb108ba62cbd82aea4e004f6d8
src/views/erp/purchase/request/data.ts
@@ -35,9 +35,14 @@
      fieldName: 'no',
      label: '申请编号',
      component: 'Input',
      rules: 'required',
      dependencies: {
        triggerFields: ['id'],
        disabled: (values) => !!values.id,
      },
      componentProps: {
        placeholder: '系统自动生成',
        disabled: true,
        placeholder: '请输入申请编号',
        maxLength: 32,
      },
    },
    {
@@ -167,17 +172,10 @@
    },
    {
      field: 'productPrice',
      title: '单价(参考价)',
      title: '含税单价(元)',
      minWidth: 120,
      fixed: 'right',
      slots: { default: 'productPrice' },
    },
    {
      field: 'totalPrice',
      title: '预估金额',
      minWidth: 120,
      fixed: 'right',
      formatter: 'formatAmount2',
    },
    {
      field: 'taxPercent',
@@ -185,6 +183,26 @@
      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',
@@ -271,8 +289,8 @@
        options: [
          { label: '未提交', value: 0 },
          { label: '审批中', value: 10 },
          { label: '审核通过', value: 20 },
          { label: '审核不通过', value: 30 },
          { label: '审批通过', value: 20 },
          { label: '审批不通过', value: 30 },
          { label: '已取消', value: 40 },
        ],
        placeholder: '请选择状态',
@@ -339,7 +357,7 @@
    },
    {
      field: 'totalPrice',
      title: '预估金额',
      title: '含税金额',
      formatter: 'formatAmount2',
      minWidth: 120,
    },