代码备份

yanshishuju
yewj 7 months ago
parent bbaa752e2b
commit f2e8f300df

@ -599,7 +599,12 @@ export default {
codeDetailPanel,
editCodeDialog,
DialogCreateOrderSelect,
DialogSelectUnit, DialogSelectSpace, selectRlDialog, dialogInvProduct, chooseDraftOrderDialog,SelectCollectOrderEndDialog
DialogSelectUnit,
DialogSelectSpace,
selectRlDialog,
dialogInvProduct,
chooseDraftOrderDialog,
SelectCollectOrderEndDialog
},
methods: {
changePlace(val) {
@ -1931,11 +1936,20 @@ export default {
}
});
this.printMutiCodeResult(list)
this.$refs.inputRef.focus();
this.$refs.inputRef.select();
if (this.valiCodes != null && this.valiCodes.length > 0) {
if (this.$isBlank(this.orderFormData.corpOrderId)) {
let date = new Date();
this.orderFormData.corpOrderId =
parseTime(date, "{y}{m}{d}{h}{i}{s}") +
Math.ceil(Math.random() * 89 + 10);
}
this.orderFormData.codeList = this.valiCodes
batchAddCode(this.orderFormData).then((res) => {
if (res.code === 20000) {
this.$refs.inputRef.focus();
this.orderFormData.billNo = res.data.orderId;
this.refreshCodesPanel(this);
this.printMutiCodeResult(res.data.vailCodeResultResponses)

Loading…
Cancel
Save