From e9383b708494bcfa315834a30cb42c66981f7b10 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 16 Dec 2024 13:24:53 +0800 Subject: [PATCH] =?UTF-8?q?YT-1715=E9=99=A4=E6=9D=A5=E9=87=87=E8=B4=AD?= =?UTF-8?q?=E6=94=B6=E8=B4=A7=E4=BB=BB=E5=8A=A1=EF=BC=8C=E5=85=B6=E4=BB=96?= =?UTF-8?q?pda=E6=A0=B7=E5=BC=8F=E4=B8=8D=E6=AD=A3=E7=A1=AE=EF=BC=8C?= =?UTF-8?q?=E5=BA=94=E5=92=8C=E4=B9=8B=E5=89=8D=E6=A0=B7=E5=BC=8F=E4=B8=80?= =?UTF-8?q?=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mycomponents/item/itemCompareQty.vue | 8 ++++++-- src/mycomponents/job/jobComMainDetailCard.vue | 7 ++++++- src/mycomponents/qty/recommendHandleQty.vue | 8 ++++++-- .../purchaseReceipt/coms/comReceiptDetailCardBacth.vue | 6 +++++- src/pages/purchaseReceipt/coms/comReceiptJobCard.vue | 6 +++++- src/pages/purchaseReceipt/job/receiptDetail.vue | 2 +- src/pages/purchaseReceipt/job/receiptJob.vue | 3 +-- 7 files changed, 30 insertions(+), 10 deletions(-) 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 + ")");