From 1c7ad4d6720aa2b2518361e2877f9efa5f19e73e Mon Sep 17 00:00:00 2001 From: "songnan.zhang" Date: Thu, 23 Dec 2021 13:19:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E8=A1=A5BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basedate/m100Online/normalPritIndex.vue | 23 ++++++++++--------- vue/static/config.js | 9 ++++---- 2 files changed, 17 insertions(+), 15 deletions(-) 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',