Browse Source

修改采购收货

hella_vue3
lijuncheng 8 months ago
parent
commit
e83e6a4512
  1. 16
      src/pages/purchaseReceipt/job/receiptDetail.vue

16
src/pages/purchaseReceipt/job/receiptDetail.vue

@ -203,6 +203,7 @@
that.jobStatus = res.data.status
that.jobToLocationCode = that.subList[0].toLocationCode
that.detailSource = getTreeDataSource(that.subList)
that.isAllReceived = false;
} else {
that.showMessage('列表数据为0');
}
@ -496,13 +497,26 @@
detail.handleQty = detail.qty;
detail.toLocationCode = this.toLocationCode;
detail.labelQty = detail.qty;
detail.packList.forEach(pack=>{
pack.scaned = true;
pack.handleQty = Number(pack.qty);
pack.toLocationCode = this.toLocationCode;
})
})
})
console.log(JSON.stringify(this.detailSource))
calcHandleQty(this.detailSource);
} else {
this.getDetail()
this.$refs.comMessage.showQuestionMessage("是否要关闭整单收货?", res => {
if (res) {
this.getDetail()
}else {
this.isAllReceived = true;
}
});
}
},

Loading…
Cancel
Save