From 9785038621a477e5b1195783eb97df0d10c8b9f1 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Fri, 11 Oct 2024 17:21:44 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BB=A3=E8=AF=BE?= =?UTF-8?q?=E4=B8=8B=E5=8D=95=E7=94=A8=E6=88=B7=E6=89=AB=E7=A0=81=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=90=8E=E6=9C=AA=E6=B8=85=E9=99=A4=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/tool/Instead/components/scan-pay.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/tool/Instead/components/scan-pay.vue b/src/views/tool/Instead/components/scan-pay.vue index d37f0ec..b2f2de8 100644 --- a/src/views/tool/Instead/components/scan-pay.vue +++ b/src/views/tool/Instead/components/scan-pay.vue @@ -155,6 +155,7 @@ export default { async getOrderDetail() { const res = await tbOrderInfoDetail(this.order.id); if (res.status == "closed") { + this.clear() this.$emit("paySuccess"); } }, From a21199d217587a935dd772f679c220567ddc604f Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Sat, 12 Oct 2024 09:47:58 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=95=86=E5=93=81?= =?UTF-8?q?=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 9 + src/views/product/components/stockHistory.vue | 211 +++++++++++++++--- src/views/product/index.vue | 5 +- 3 files changed, 188 insertions(+), 37 deletions(-) diff --git a/src/App.vue b/src/App.vue index 1215e93..2e2170d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -131,4 +131,13 @@ export default { } } } + +.image-slot { + width: 100%; + height: 100%; + background-color: #efefef; + display: flex; + align-items: center; + justify-content: center; +} diff --git a/src/views/product/components/stockHistory.vue b/src/views/product/components/stockHistory.vue index 190467c..af12121 100644 --- a/src/views/product/components/stockHistory.vue +++ b/src/views/product/components/stockHistory.vue @@ -2,39 +2,180 @@