Преглед на файлове

Merge branch 'dev' of http://110.41.163.243:9980/kd-aiot/kd-aiot-frontend into dev

yusheng преди 5 месеца
родител
ревизия
cf6fa18a69
променени са 3 файла, в които са добавени 11 реда и са изтрити 5 реда
  1. 8 1
      src/views/material/BOMmanage/components/workingProcedure.vue
  2. 1 2
      src/views/material/BOMmanage/qualityTesting/term.vue
  3. 2 2
      vue.config.js

+ 8 - 1
src/views/material/BOMmanage/components/workingProcedure.vue

@@ -1186,7 +1186,6 @@
             prop: 'storagePath',
             prop: 'storagePath',
             label: '文件名称',
             label: '文件名称',
             align: 'center',
             align: 'center',
-
             showOverflowTooltip: true,
             showOverflowTooltip: true,
             minWidth: 200,
             minWidth: 200,
             formatter: (_row, _column, cellValue) => {
             formatter: (_row, _column, cellValue) => {
@@ -1577,7 +1576,15 @@
         }
         }
 
 
         this.tableData.taskParam[this.currentIndex][type].splice(index, 1);
         this.tableData.taskParam[this.currentIndex][type].splice(index, 1);
+
+        if (type == 'fileParam') {
+          const data = this.$refs.fileTable.getData();
+          const id = row.id ? row.id : row;
+          const newData = data.filter((item) => item.id != id);
+          this.$refs.fileTable.setData(newData);
+        }
       },
       },
+
       addProductList(list) {
       addProductList(list) {
         let subCode = 0;
         let subCode = 0;
         let array = [];
         let array = [];

+ 1 - 2
src/views/material/BOMmanage/qualityTesting/term.vue

@@ -240,8 +240,7 @@
             fixed: 'right'
             fixed: 'right'
           }
           }
         ],
         ],
-        tableHeight: 'calc(100vh - 500px)',
-        isQualityInspection: true
+        tableHeight: 'calc(100vh - 500px)'
       };
       };
     },
     },
 
 

+ 2 - 2
vue.config.js

@@ -35,9 +35,9 @@ module.exports = {
         // target: 'http://192.168.1.3:18086',
         // target: 'http://192.168.1.3:18086',
         // target: 'http://192.168.1.158:18086',
         // target: 'http://192.168.1.158:18086',
         // target: 'http://192.168.1.176:18086',
         // target: 'http://192.168.1.176:18086',
-        // target: 'http://192.168.1.125:18086',
+        target: 'http://192.168.1.125:18086',
         // target: 'http://192.168.1.251:18186',
         // target: 'http://192.168.1.251:18186',
-        target: 'http://192.168.1.251:18086',
+        // target: 'http://192.168.1.251:18086',
         // target: 'http://192.168.1.251:18186',
         // target: 'http://192.168.1.251:18186',
         // target: 'http://192.168.1.125:18086',
         // target: 'http://192.168.1.125:18086',
         // target: 'http://192.168.1.251:18186', // 测试环境
         // target: 'http://192.168.1.251:18186', // 测试环境