扫码相关bug修改

ywj_dev
anthonywj 2 years ago
parent 55c2dab3f3
commit e2b95ab3d7

@ -725,6 +725,7 @@ export default {
mySupId: this.curRow.unitFk, mySupId: this.curRow.unitFk,
}; };
updateBind(query).then((response) => { updateBind(query).then((response) => {
debugger
if (response.code == 20000) { if (response.code == 20000) {
this.$message.success("绑定成功"); this.$message.success("绑定成功");
this.closeBindDialog(this.curRow.id); this.closeBindDialog(this.curRow.id);

@ -246,6 +246,8 @@ export default {
.then((response) => { .then((response) => {
if (response.code === 20000) { if (response.code === 20000) {
this.refreshPanel(); this.refreshPanel();
} else if (response.code == 506) {
this.codeArray.slice(index, 1);
} else { } else {
this.$message.error(response.message); this.$message.error(response.message);
} }
@ -287,9 +289,10 @@ export default {
mySupId: row.unitFk, mySupId: row.unitFk,
}; };
updateCodeBindSup(query).then((response) => { updateCodeBindSup(query).then((response) => {
debugger
if (response.code == 20000) { if (response.code == 20000) {
this.$message.success("绑定成功"); this.$message.success("绑定成功");
this.orderFormData.id = this.curRow.orderId; // this.orderFormData.id = this.curRow.orderId;
this.closeBindDialog(); this.closeBindDialog();
this.getCodeList(); this.getCodeList();
} else { } else {

Loading…
Cancel
Save