Browse Source

价格目录-查询条件增加客户字段

002390 1 year ago
parent
commit
759612d747
1 changed files with 13 additions and 0 deletions
  1. 13 0
      src/views/purchase/catalogue/columns.js

+ 13 - 0
src/views/purchase/catalogue/columns.js

@@ -189,6 +189,19 @@ export default function useColumns() {
         valueFormat: "yyyy-MM-dd hh:mm:ss",
       },
     },
+    { 
+      item: { width: 100, key: "customerName", title: "客户" }, 
+      attr: {
+        is: "el-popover-select-v2",
+        referName: "CUSTOMER_PARAM",
+        valueKey: "name",
+        clearable: true,
+        // dataMapping: {
+        //   customer: "id",
+        //   customerName: "name",
+        // },
+      }
+    },
     {
       item: { width: 100, key: "invalid", title: "价格失效日期", span: 8 },
       attr: {