diff --git a/src/pages.json b/src/pages.json index 460a6a78..5f149645 100644 --- a/src/pages.json +++ b/src/pages.json @@ -1325,6 +1325,13 @@ "enablePullDownRefresh": true } }, + { + "path": "pages/inventoryMove/record/scrapToHoldRecord", + "style": { + "navigationBarTitleText": "报废转隔离记录", + "enablePullDownRefresh": true + } + }, { "path": "pages/inventoryMove/record/okToHoldRecord", "style": { diff --git a/src/pages/purchaseReceipt/job/receiptDetail.vue b/src/pages/purchaseReceipt/job/receiptDetail.vue index 2d2f02e0..545f4e95 100644 --- a/src/pages/purchaseReceipt/job/receiptDetail.vue +++ b/src/pages/purchaseReceipt/job/receiptDetail.vue @@ -435,13 +435,19 @@ this.detailSource.forEach(item => { item.subList.forEach(detail => { - if (detail.scaned) { - var info = getPackingNumberAndBatch(this.managementList, detail.itemCode, - detail.packingNumber, detail.batch); - detail.toPackingNumber = info.packingNumber; - detail.toBatch = info.batch; - subList.push(detail) + if(!detail.scaned){ + detail.handleQty=0 } + 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