diff --git a/src/mycomponents/item/itemCompareQty.vue b/src/mycomponents/item/itemCompareQty.vue index 7c97325f..a4d55922 100644 --- a/src/mycomponents/item/itemCompareQty.vue +++ b/src/mycomponents/item/itemCompareQty.vue @@ -4,7 +4,7 @@ -
@@ -78,7 +79,11 @@ isShowPackCount: { type: Boolean, default: false - } + }, + isShowSupplierQty: { + type: Boolean, + default: false + }, }, diff --git a/src/mycomponents/qty/recommendHandleQty.vue b/src/mycomponents/qty/recommendHandleQty.vue index 6ae0e8aa..b6ff4c3d 100644 --- a/src/mycomponents/qty/recommendHandleQty.vue +++ b/src/mycomponents/qty/recommendHandleQty.vue @@ -10,7 +10,7 @@ {{Number(dataContent.qty)}} - + | {{Number(dataContent.supplierQty) || 0}} @@ -85,7 +85,11 @@ isShowCount: { type: Boolean, default: true - } + }, + isShowSupplierQty: { + type: Boolean, + default: false + }, }, watch: { diff --git a/src/pages/purchaseReceipt/coms/comReceiptDetailCardBacth.vue b/src/pages/purchaseReceipt/coms/comReceiptDetailCardBacth.vue index 2c2a63e1..e7cf690c 100644 --- a/src/pages/purchaseReceipt/coms/comReceiptDetailCardBacth.vue +++ b/src/pages/purchaseReceipt/coms/comReceiptDetailCardBacth.vue @@ -7,7 +7,7 @@ + :isShowPackUnit="false" :isShowSupplierQty='isShowSupplierQty'> @@ -72,6 +72,10 @@ type: Boolean, default: false }, + isShowSupplierQty: { + type: Boolean, + default: false + }, }, watch: { diff --git a/src/pages/purchaseReceipt/coms/comReceiptJobCard.vue b/src/pages/purchaseReceipt/coms/comReceiptJobCard.vue index 6f4e1daf..82588dbd 100644 --- a/src/pages/purchaseReceipt/coms/comReceiptJobCard.vue +++ b/src/pages/purchaseReceipt/coms/comReceiptJobCard.vue @@ -1,6 +1,6 @@ @@ -21,6 +21,10 @@ type: Object, default: {} }, + isShowSupplierQty: { + type: Boolean, + default: false + }, }, methods: { diff --git a/src/pages/purchaseReceipt/job/receiptDetail.vue b/src/pages/purchaseReceipt/job/receiptDetail.vue index 96b3ca5a..3a69bf99 100644 --- a/src/pages/purchaseReceipt/job/receiptDetail.vue +++ b/src/pages/purchaseReceipt/job/receiptDetail.vue @@ -34,7 +34,7 @@ + v-if="managementType == 'BY_BATCH' || managementType =='BY_QUANTITY'" :isNumPackTips='true' :isShowSupplierQty='true'> diff --git a/src/pages/purchaseReceipt/job/receiptJob.vue b/src/pages/purchaseReceipt/job/receiptJob.vue index 11fb464a..4b795b19 100644 --- a/src/pages/purchaseReceipt/job/receiptJob.vue +++ b/src/pages/purchaseReceipt/job/receiptJob.vue @@ -10,7 +10,7 @@ - + @@ -222,7 +222,6 @@ if (type === "refresh") { uni.stopPullDownRefresh(); } - var list = res.data.list; this.totalCount = res.data.total updateTitle(this.title + "(" + this.totalCount + ")");