浏览代码

修改bgu

qukaidi 3 年之前
父节点
当前提交
4dc937bf58
共有 2 个文件被更改,包括 11 次插入6 次删除
  1. 11 0
      src/views/statisticAnalysis/dataDetail/index.vue
  2. 0 6
      src/views/statisticAnalysis/salesDetails/index.vue

+ 11 - 0
src/views/statisticAnalysis/dataDetail/index.vue

@@ -151,6 +151,12 @@ export default {
           {
             label: "包装要求",
             prop: "packageRemarks",
+            type: "select",
+            dicData: [],
+            props: {
+              label: 'dictValue',
+              value: 'dictValue'
+            },
             search: true,
             overHidden: true,
           },
@@ -169,11 +175,16 @@ export default {
     this.option.column.forEach(item => {
       if (item.search) i++
     })
+    this.getWorkDicts("packageRemarks").then(res => {
+      this.findObject(this.defaultOption.column, "packageRemarks").dicData =
+        res.data.data;
+    });
     if (i % 3 !== 0) {
       const num = 3 - Number(i % 3)
       this.option.searchMenuSpan = num * 8;
       this.option.searchMenuPosition = "right";
     }
+
   },
   methods: {
     cellStyle() {

+ 0 - 6
src/views/statisticAnalysis/salesDetails/index.vue

@@ -136,12 +136,6 @@ export default {
             overHidden: true,
             search: true,
             width: 100,
-            type: "select",
-            dicUrl: "/api/blade-user/userList?roleAlias=业务员",
-            props: {
-              label: "realName",
-              value: "id"
-            },
           },
           {
             label: "产品编码",