diff --git a/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue b/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue index 67c0d98e..ee352539 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue @@ -1281,6 +1281,7 @@ export default { this.hostCheckQuery.beginHostSN = parseInt(this.form.beginHostSN); this.hostCheckQuery.endHostSN = parseInt(this.form.endHostSN); this.hostCheckQuery.productLine = this.listQuery.productLine; + this.isDisable = true; console.log( "检查柱护板-hostCheckQuery" + JSON.stringify(this.hostCheckQuery) @@ -1292,10 +1293,10 @@ export default { ) .then((response) => { console.log("检查门板-大众顺序号是否断号"); - this.isDisable = true; - setTimeout(() => { - this.isDisable = false; - }, 1000); + // this.isDisable = true; + // setTimeout(() => { + // this.isDisable = false; + // }, 1000); if (response.item.length > 0) { //有断号 this.$confirm( @@ -1351,7 +1352,7 @@ export default { } }); }) - .catch(() => {}); + .catch(() => { this.isDisable = false;}); } else { //无断号 //门板 @@ -1409,7 +1410,7 @@ export default { this.hostCheckQuery.beginHostSN = parseInt(this.form.beginHostSN); this.hostCheckQuery.endHostSN = parseInt(this.form.endHostSN); this.hostCheckQuery.productLine = this.listQuery.productLine; - + this.isDisable = true; this.$axios .posts( "/api/newjit/bill-m100/check-zhb-hostsn-break-num", @@ -1417,10 +1418,10 @@ export default { ) .then((response) => { console.log("检查门板-大众顺序号是否断号"); - this.isDisable = true; - setTimeout(() => { - this.isDisable = false; - }, 1000); + // this.isDisable = true; + // setTimeout(() => { + // this.isDisable = false; + // }, 1000); if (response.item.length > 0) { //有断号 this.$confirm( @@ -1476,7 +1477,7 @@ export default { } }); }) - .catch(() => {}); + .catch(() => {this.isDisable = false;}); } else { //无断号 //门板 diff --git a/vue/static/config.js b/vue/static/config.js index 92b67e09..448019ab 100644 --- a/vue/static/config.js +++ b/vue/static/config.js @@ -2,8 +2,8 @@ let configJSON if (process.env.NODE_ENV === 'development') { configJSON = { base: { - - ip: 'http://192.168.0.140', + ip: 'http://192.168.0.63', + //ip: 'http://192.168.0.140', //ip: 'http://149.223.116.5', auth_port: '8066', public_port: '8092', @@ -36,8 +36,9 @@ if (process.env.NODE_ENV === 'development') { // 发布环境 configJSON = { base: { - ip: 'http://192.168.0.140', - //ip: 'http://192.168.0.62', + + ip: 'http://192.168.0.63', + //ip: 'http://192.168.0.140', //ip: 'http://149.223.116.5', //ip: 'http://114.116.225.148', //ip: 'http://10.123.148.162',