Просмотр исходного кода

feat(采购需求管理): 在表格中添加整单进度列

liujt 6 месяцев назад
Родитель
Сommit
65c1a59ff5
1 измененных файлов с 13 добавлено и 0 удалено
  1. 13 0
      src/views/purchasingManage/purchaseNeedManage/index.vue

+ 13 - 0
src/views/purchasingManage/purchaseNeedManage/index.vue

@@ -158,6 +158,7 @@
   import { reviewStatus } from '@/enum/dict';
   import printTemplateTr from './components/print-template-tr.vue';
   import { enterprisePage } from '@/api/contractManage/contractBook';
+  import { saleOrderProgressStatusEnum } from '@/enum/dict';
   
   export default {
     mixins: [dictMixins,tabMixins],
@@ -255,6 +256,18 @@
             showOverflowTooltip: true,
             minWidth: 170
           },
+          {
+          prop: 'progress',
+          label: '整单进度',
+          align: 'center',
+          showOverflowTooltip: true,
+          formatter: (_row, _column, cellValue) => {
+            return saleOrderProgressStatusEnum.find(
+              (val) => val.value == _row.progress
+            )?.label;
+          },
+          minWidth: 120
+        },
           {
             prop: 'status',
             label: '状态',