ysy пре 2 година
родитељ
комит
0fe2351389

+ 2 - 0
src/views/material/product/components/MaterialAdd.vue

@@ -445,6 +445,7 @@ export default {
                 this._getCode()
 
                 this.removeSubBomIdList = []
+              
                 if (this.data) {
                     this.tableData = this.data.subDetailList
                     this.$util.assignObject(this.form, {
@@ -452,6 +453,7 @@ export default {
                     });
                     this.isUpdate = true
                 } else {
+                    this.tableData = []
                     this.isUpdate = false
                 }
             } else {

+ 0 - 1
src/views/material/product/components/MaterialModal.vue

@@ -340,7 +340,6 @@ export default {
 
         openEdit(index) {
             this.current = this.form.bomList[index];
-            console.log(this.current);
             this.materialShow = true;
         },
 

+ 1 - 1
vue.config.js

@@ -33,7 +33,7 @@ module.exports = {
       '/api': {
         // target: 'http://124.71.68.31:50001',
         // target: 'http://192.168.1.147:18086',
-        target: 'http://192.168.1.125:18086',
+        target: 'http://192.168.1.64:18086',
         changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
         pathRewrite: {
           '^/api': ''