bug修复

prod
郑明梁 2 years ago
parent aa2d10fd69
commit d79730b229

@ -338,6 +338,13 @@
border-top: 1px solid #E6EBF5;
}
.el-divider--horizontal {
display: block;
height: 1px;
width: 100%;
margin: 0px 0px 15px 0px !important;
}
.el-card {
margin-right: 15px;
margin-left: 15px;

@ -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();
//

Loading…
Cancel
Save