feat: 修复

yanshishuju
chenhc 9 months ago
parent 589e843df2
commit 1b8dfa2336

@ -290,7 +290,7 @@ export default {
component: IoCreateOrderOut, component: IoCreateOrderOut,
// //
componentProps: { componentProps: {
fromSplitType: 'out', fromSplitType: "out"
} }
}, },
{ {
@ -300,7 +300,7 @@ export default {
component: IoCreateOrderReturn, component: IoCreateOrderReturn,
// //
componentProps: { componentProps: {
fromSplitType: 'return' fromSplitType: "return"
} }
}, },
{ {
@ -530,7 +530,7 @@ export default {
component: IoCreateOrderOut, component: IoCreateOrderOut,
// //
componentProps: { componentProps: {
// title: '' fromSplitType: "out"
} }
} }
]; ];

@ -1164,7 +1164,28 @@ export default {
parseTime(date, "{y}{m}{d}{h}{i}{s}") + parseTime(date, "{y}{m}{d}{h}{i}{s}") +
Math.ceil(Math.random() * 89 + 10); Math.ceil(Math.random() * 89 + 10);
} }
this.loading = true; // this.loading = true;
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 = {
codeList: codeArray,
};
this.batchVailCode(params)
return;
}
let tQuery = Object.assign( let tQuery = Object.assign(
JSON.parse(JSON.stringify(this.orderFormData)) JSON.parse(JSON.stringify(this.orderFormData))
); );

Loading…
Cancel
Save