zhangwencui
4 天以前 5f3dea3fd930afde720677fba10b6bfb2e836a18
src/views/erp/purchase/order/data.ts
@@ -181,16 +181,6 @@
      slots: { default: 'productId' },
    },
    {
      field: 'stockCount',
      title: '库存',
      minWidth: 80,
    },
    {
      field: 'productBarCode',
      title: '条码',
      minWidth: 120,
    },
    {
      field: 'productUnitName',
      title: '单位',
      minWidth: 80,
@@ -320,7 +310,9 @@
      label: '状态',
      component: 'Select',
      componentProps: {
        options: getDictOptions(DICT_TYPE.ERP_AUDIT_STATUS, 'number'),
        options: getDictOptions(DICT_TYPE.ERP_AUDIT_STATUS, 'number').filter(
          (opt) => opt.label !== '草稿' && opt.label !== '审批不通过',
        ),
        placeholder: '请选择状态',
        allowClear: true,
      },
@@ -441,14 +433,22 @@
      field: 'status',
      title: '状态',
      minWidth: 120,
      fixed: 'right',
      cellRender: {
        name: 'CellDict',
        props: { type: DICT_TYPE.ERP_AUDIT_STATUS },
      },
    },
    {
      field: 'inStatus',
      title: '入库状态',
      minWidth: 100,
      fixed: 'right',
      slots: { default: 'inStatus' },
    },
    {
      title: '操作',
      width: 260,
      width: 340,
      fixed: 'right',
      slots: { default: 'actions' },
    },