瀏覽代碼

待采购增加过滤字段提交状态

cz 1 年之前
父節點
當前提交
42f55e1557
共有 1 個文件被更改,包括 23 次插入0 次删除
  1. 23 0
      src/views/WDLY/purchaseManage/purchase/index.vue

+ 23 - 0
src/views/WDLY/purchaseManage/purchase/index.vue

@@ -99,6 +99,24 @@ const selectConfig = reactive([
     prop: "deptId",
     data: [],
   },
+  {
+    label: "提交状态",
+    prop: "subStatus",
+    data: [
+      {
+        label: "未提交",
+        value: "1",
+      },
+      {
+        label: "部分提交",
+        value: "2",
+      },
+      {
+        label: "已提交",
+        value: "3",
+      },
+    ],
+  },
 ]);
 const config = computed(() => {
   return [
@@ -112,12 +130,14 @@ const config = computed(() => {
       attrs: {
         label: "申购单号",
         prop: "subscribeCode",
+        width: 150,
       },
     },
     {
       attrs: {
         label: "货品类型",
         prop: "productDefinition",
+        width: 100,
       },
       render(definition) {
         return definition == 1 ? "产品" : definition == 2 ? "物料" : "";
@@ -128,18 +148,21 @@ const config = computed(() => {
       attrs: {
         label: "物品编码",
         prop: "productCustomCode",
+        width: 150,
       },
     },
     {
       attrs: {
         label: "物品名称",
         prop: "productName",
+        "min-width": 150,
       },
     },
     {
       attrs: {
         label: "规格型号",
         prop: "productSpec",
+        // width: 120,
       },
     },
     {