bug修改

yanshishuju
yewj 9 months ago
parent 529e370475
commit e6000f0c21

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

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

Loading…
Cancel
Save