Browse Source

修补BUG

branch_ccpg_220107
songnan.zhang 3 years ago
parent
commit
1c7ad4d672
  1. 23
      vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue
  2. 9
      vue/static/config.js

23
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 {
//
//

9
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',

Loading…
Cancel
Save