From e3f15089a8ae8e597e5015a6011dbcbd98622c8b Mon Sep 17 00:00:00 2001 From: mabaoyan Date: Fri, 19 May 2023 17:52:27 +0800 Subject: [PATCH] =?UTF-8?q?overseamom-252=20feat=20sto=E6=89=8B=E6=8C=81?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/product/stoOutbound/detail.vue | 6 ++++- src/pages/product/stoOutbound/index.vue | 30 +++++++++++++++++------- 2 files changed, 26 insertions(+), 10 deletions(-) diff --git a/src/pages/product/stoOutbound/detail.vue b/src/pages/product/stoOutbound/detail.vue index 7720d62..c79f81e 100644 --- a/src/pages/product/stoOutbound/detail.vue +++ b/src/pages/product/stoOutbound/detail.vue @@ -55,13 +55,17 @@ export default class RawReceiptDetail extends BasePage { barcode: barcode, }; await this.model.deleteBarcode(SunmitList); - if (this.model.SubCode == 1) { + if (this.model.DeleteCode == 1) { + let index = this.model.stoBarcodeList.findIndex(val=>val.barcode==barcode); + this.model.stoBarcodeList.splice(index,1); + this.seleteData=[]; uni.showToast({ title: this.$t('message.success') as string, image: '/static/icons/icon-51.png', }); this.seleteData={}; } + // await this.model.QueryStoDetail } } diff --git a/src/pages/product/stoOutbound/index.vue b/src/pages/product/stoOutbound/index.vue index f61cdde..bde8291 100644 --- a/src/pages/product/stoOutbound/index.vue +++ b/src/pages/product/stoOutbound/index.vue @@ -72,14 +72,15 @@ - + - + +