Sfoglia il codice sorgente

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

002390 1 anno fa
parent
commit
759612d747
1 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  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: {