bug修改

yanshishuju
yewj 9 months ago
parent 529e370475
commit e6000f0c21

@ -1166,16 +1166,15 @@ export default {
}
// this.loading = true;
this.warnResult = "";
this.errResult = "";
this.result = "";
// this.warnResult = "";
// this.errResult = "";
// this.result = "";
this.warnVisible = false;
this.errVisible = false;
this.checkSuccess = true;
if (this.getDMHotskeyValue(this.scanCode))
return
this.codeFormData.code = this.scanCode.trim();
if (this.codeFormData.code.includes(";")) {
const codeArray = this.codeFormData.code.split(";");
let params = {
@ -1184,8 +1183,6 @@ export default {
this.batchVailCode(params)
return;
}
let tQuery = Object.assign(
JSON.parse(JSON.stringify(this.orderFormData))
);
@ -1337,9 +1334,9 @@ export default {
},
refreshCodesPanel() {
this.warnResult = "";
this.errResult = "";
this.result = "";
// this.warnResult = "";
// this.errResult = "";
// this.result = "";
this.warnVisible = false;
this.errVisible = false;

@ -742,7 +742,7 @@ export default {
_this.loading = false;
_this.options.findWorkPlace = response.data || [];
if (_this.options.findWorkPlace.length == 1) {
_this.filterQuery.workPlaceCode = _this.options.findWorkPlace[0].code;
// _this.filterQuery.workPlaceCode = _this.options.findWorkPlace[0].code;
}
})
.catch(() => {
@ -780,7 +780,7 @@ export default {
created() {
if (this.$route.query.workplaceId != null) {
this.isLinkDisabled = true
this.filterQuery.workPlaceCode = this.$route.query.workplaceId
// this.filterQuery.workPlaceCode = this.$route.query.workplaceId
}
this.findWorkPlace(this, "");
getHead("prescribeSelect", "1").then((re) => {

Loading…
Cancel
Save