|
|
|
@ -500,6 +500,7 @@ import {findByInvUser} from "@/api/basic/busType";
|
|
|
|
|
import {getInvSpaceList} from "@/api/inventory/invSpace";
|
|
|
|
|
import DialogSelectUnit from "./DialogSelectUnit";
|
|
|
|
|
import DialogSelectSpace from "./DialogSelectSpace";
|
|
|
|
|
import {isBlank} from "@/utils/strUtil";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "ioCreateOrder",
|
|
|
|
@ -570,6 +571,7 @@ export default {
|
|
|
|
|
curAction: {
|
|
|
|
|
corpType: 0,
|
|
|
|
|
genUnit: false,
|
|
|
|
|
checkWebNew: null
|
|
|
|
|
},
|
|
|
|
|
fromOptions: [],
|
|
|
|
|
isCodeAlive: true,
|
|
|
|
@ -716,6 +718,13 @@ export default {
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.busTypeOptions = response.data || [];
|
|
|
|
|
this.curAction = this.getActionItem(this.orderFormData.action);
|
|
|
|
|
if(isBlank(this.curAction)){
|
|
|
|
|
this.curAction={
|
|
|
|
|
corpType: 0,
|
|
|
|
|
genUnit: false,
|
|
|
|
|
checkWebNew: null
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (
|
|
|
|
|
(this.curAction.checkEnable &&
|
|
|
|
|
(this.curAction.checkWebNew ||
|
|
|
|
@ -1140,6 +1149,7 @@ export default {
|
|
|
|
|
JSON.parse(JSON.stringify(this.orderFormData))
|
|
|
|
|
);
|
|
|
|
|
tQuery.orderId = this.orderFormData.billNo;
|
|
|
|
|
console.log(this.curAction)
|
|
|
|
|
if (this.viewType == 2) { //扫码单据立即提交
|
|
|
|
|
submitCodes(tQuery).then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
@ -1361,6 +1371,9 @@ export default {
|
|
|
|
|
this.actionEnable = true;
|
|
|
|
|
if (this.$isNotBlank(this.orderFormData.checkPreInOrders)) {
|
|
|
|
|
this.checkPreInArray = this.orderFormData.split(",");
|
|
|
|
|
}
|
|
|
|
|
this.curAction={
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
this.refreshCodesPanel();
|
|
|
|
|
//加载选择框候选数据
|
|
|
|
|