From 76dcf9ef757333fe88b6391bb5aad6a57abcab8c Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Wed, 31 Jan 2024 11:48:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=98=E7=82=B9=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mycomponents/qty/compareQty.vue | 2 +- mycomponents/recommend/recommendCount.vue | 2 +- pages/count/coms/comCountDetailCard.vue | 14 ++++++++++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/mycomponents/qty/compareQty.vue b/mycomponents/qty/compareQty.vue index 9bca7fb6..287ca689 100644 --- a/mycomponents/qty/compareQty.vue +++ b/mycomponents/qty/compareQty.vue @@ -11,7 +11,7 @@ {{Number(handleQty)}} - + {{Number(handleQty)}} diff --git a/mycomponents/recommend/recommendCount.vue b/mycomponents/recommend/recommendCount.vue index f715b923..668454e4 100644 --- a/mycomponents/recommend/recommendCount.vue +++ b/mycomponents/recommend/recommendCount.vue @@ -16,7 +16,7 @@ + :handleQty="Number(detail.handleQty)" :isShowStdPack="false"> 复制采购 diff --git a/pages/count/coms/comCountDetailCard.vue b/pages/count/coms/comCountDetailCard.vue index b3c070a8..d82e7f71 100644 --- a/pages/count/coms/comCountDetailCard.vue +++ b/pages/count/coms/comCountDetailCard.vue @@ -6,10 +6,10 @@ + :handleQty="dataContent.handleQty" :isShowBalanceQty="false"> + :isShowBalanceQty="true" :showRecommendQty="false" :showStdPack="true"> @@ -105,10 +105,16 @@ methods: { removeData(e, dataContent) { if (e.content.text == "清空") { - this.$refs.comMessage.showQuestionMessage("确定清空物料及箱码信息?", + this.$refs.comMessage.showQuestionMessage("确定清空该物料下面扫描的信息吗?", res => { if (res) { - this.$emit('removeItem') + dataContent.handleQty = 0; + dataContent.subList.forEach(res=>{ + res.scaned = false; + res.handleQty= 0 + }) + + this.$emit('clear') // this.$emit('removeItem', this.dataContent) } });