Browse Source

采购收货,提交没收货的赋值为0

hella_vue3
lijuncheng 9 months ago
parent
commit
3cffde3b2f
  1. 7
      src/pages.json
  2. 18
      src/pages/purchaseReceipt/job/receiptDetail.vue

7
src/pages.json

@ -1325,6 +1325,13 @@
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }
}, },
{
"path": "pages/inventoryMove/record/scrapToHoldRecord",
"style": {
"navigationBarTitleText": "报废转隔离记录",
"enablePullDownRefresh": true
}
},
{ {
"path": "pages/inventoryMove/record/okToHoldRecord", "path": "pages/inventoryMove/record/okToHoldRecord",
"style": { "style": {

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

@ -435,13 +435,19 @@
this.detailSource.forEach(item => { this.detailSource.forEach(item => {
item.subList.forEach(detail => { item.subList.forEach(detail => {
if (detail.scaned) { if(!detail.scaned){
var info = getPackingNumberAndBatch(this.managementList, detail.itemCode, detail.handleQty=0
detail.packingNumber, detail.batch);
detail.toPackingNumber = info.packingNumber;
detail.toBatch = info.batch;
subList.push(detail)
} }
detail.packList.forEach(pack=>{
if(!pack.scaned){
pack.handleQty=0
}
})
var info = getPackingNumberAndBatch(this.managementList, detail.itemCode,
detail.packingNumber, detail.batch);
detail.toPackingNumber = info.packingNumber;
detail.toBatch = info.batch;
subList.push(detail)
}) })
}) })
this.jobContent.subList = subList this.jobContent.subList = subList

Loading…
Cancel
Save