Merge remote-tracking branch 'origin/dev' into dev

dev
黄泽腾 2 years ago
commit 4048adddce

@ -430,7 +430,9 @@ export default {
},
combine(){
if(this.orderQuery==null && this.orderQuery.length==0){
debugger
console.log(this.orderQuery)
if(this.orderQuery==null || this.orderQuery.length==0){
this.$message.error("请先选择单据!")
return;
}

@ -145,7 +145,7 @@ export default {
deptCode: null,
invCode: null,
invSpaceCode: null,
lowStock: false,
lowStock: null,
lackStock: false,
overStock: false,
expireDate: false,
@ -166,11 +166,21 @@ export default {
getInfoByInvId({invId: this.invId}).then((res) => {
if (res.code === 20000) {
this.formData = res.data;
if (res.data.lowStock == null) {
this.formData.lowStock = false;
}
if (res.data.lackStock == null) {
this.formData.lackStock = false;
}
if (res.data.overStock == null) {
this.formData.overStock = false;
}
if (res.data.expireDate == null) {
this.formData.expireDate = false;
}
if (res.data.recentDate == null) {
this.formData.recentDate = false;
}
} else {
this.$message.error(res.meesage);
}

@ -452,6 +452,7 @@ export default {
},
tableCountChange(row) {
if (this.$isNotBlank(row)) {
this.currentRow.supId = row.supName;
updateDetail(this.currentRow);
}
},

@ -361,6 +361,7 @@ export default {
limit: 20,
listInv:this.invCodeList,
};
this.queryName = null;
this.getList();
this.spaceList = [];
this.ggxhList = [];

Loading…
Cancel
Save