From 4cde9d6b7bb186b777cbfb03b21485f42b492173 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Sat, 28 Mar 2026 14:03:11 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E9=87=91=E9=A2=9D=E6=98=BE=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesOrder/index/compoents/order-item.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pagesOrder/index/compoents/order-item.vue b/pagesOrder/index/compoents/order-item.vue index 0c68a44..66bf3fa 100644 --- a/pagesOrder/index/compoents/order-item.vue +++ b/pagesOrder/index/compoents/order-item.vue @@ -147,7 +147,7 @@ $goodsMap[goods.productId] = goods.num * 1 goosZhonglei.value += 1 } - originAmount.value += goods.unitPrice + originAmount.value += goods.payAmount } } goodsMapInit() From ecb9de0d9b546cdf0f8821dbed059277d8295099 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Sat, 28 Mar 2026 16:48:16 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/devIconImg/icon-code.svg | 9 --------- static/devIconImg/icon-face-1.svg | 9 --------- static/devIconImg/icon-horn.svg | 9 --------- static/devIconImg/icon-pos.svg | 9 --------- static/devIconImg/icon-print.svg | 9 --------- static/devIconImg/icon-scanPos.svg | 9 --------- static/devIconImg/icon-term.svg | 9 --------- static/pay/scancode.svg | 15 --------------- static/pay/type-wx.svg | 10 ---------- static/pay/type-ysf.svg | 6 ------ static/pay/type-zfb.svg | 6 ------ 11 files changed, 100 deletions(-) delete mode 100644 static/devIconImg/icon-code.svg delete mode 100644 static/devIconImg/icon-face-1.svg delete mode 100644 static/devIconImg/icon-horn.svg delete mode 100644 static/devIconImg/icon-pos.svg delete mode 100644 static/devIconImg/icon-print.svg delete mode 100644 static/devIconImg/icon-scanPos.svg delete mode 100644 static/devIconImg/icon-term.svg delete mode 100644 static/pay/scancode.svg delete mode 100644 static/pay/type-wx.svg delete mode 100644 static/pay/type-ysf.svg delete mode 100644 static/pay/type-zfb.svg diff --git a/static/devIconImg/icon-code.svg b/static/devIconImg/icon-code.svg deleted file mode 100644 index 01e19cf..0000000 --- a/static/devIconImg/icon-code.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/static/devIconImg/icon-face-1.svg b/static/devIconImg/icon-face-1.svg deleted file mode 100644 index 4e7082a..0000000 --- a/static/devIconImg/icon-face-1.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/static/devIconImg/icon-horn.svg b/static/devIconImg/icon-horn.svg deleted file mode 100644 index 1ea06af..0000000 --- a/static/devIconImg/icon-horn.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/static/devIconImg/icon-pos.svg b/static/devIconImg/icon-pos.svg deleted file mode 100644 index 65a901e..0000000 --- a/static/devIconImg/icon-pos.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/static/devIconImg/icon-print.svg b/static/devIconImg/icon-print.svg deleted file mode 100644 index bf85464..0000000 --- a/static/devIconImg/icon-print.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/static/devIconImg/icon-scanPos.svg b/static/devIconImg/icon-scanPos.svg deleted file mode 100644 index 6576a71..0000000 --- a/static/devIconImg/icon-scanPos.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/static/devIconImg/icon-term.svg b/static/devIconImg/icon-term.svg deleted file mode 100644 index 376411f..0000000 --- a/static/devIconImg/icon-term.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/static/pay/scancode.svg b/static/pay/scancode.svg deleted file mode 100644 index 089d99b..0000000 --- a/static/pay/scancode.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/static/pay/type-wx.svg b/static/pay/type-wx.svg deleted file mode 100644 index 8558912..0000000 --- a/static/pay/type-wx.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/static/pay/type-ysf.svg b/static/pay/type-ysf.svg deleted file mode 100644 index 21abb77..0000000 --- a/static/pay/type-ysf.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/static/pay/type-zfb.svg b/static/pay/type-zfb.svg deleted file mode 100644 index 0eb8372..0000000 --- a/static/pay/type-zfb.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - From 5032b86d69fa2ff24af5cdd0545b22516068a3d1 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Sat, 28 Mar 2026 17:50:04 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=88=87=E6=8D=A2=E6=97=A5=E6=9C=9F=E4=BB=B7?= =?UTF-8?q?=E6=A0=BC=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesOrder/index/compoents/order-item.vue | 28 +++++++++++++---------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/pagesOrder/index/compoents/order-item.vue b/pagesOrder/index/compoents/order-item.vue index 66bf3fa..46c2064 100644 --- a/pagesOrder/index/compoents/order-item.vue +++ b/pagesOrder/index/compoents/order-item.vue @@ -126,7 +126,21 @@ let $goodsMap = {} let goosZhonglei = ref(0) let goodsNumber = ref(0) - let originAmount = ref(0) + let originAmount = computed(()=>{ + let total=0; + for (let i in props.data.goods) { + const goods = props.data.goods[i] + if ($goodsMap.hasOwnProperty(goods.productId)) { + $goodsMap[goods.productId] += goods.num * 1 + goodsNumber.value += goods.num * 1 + } else { + $goodsMap[goods.productId] = goods.num * 1 + goosZhonglei.value += 1 + } + total += goods.payAmount + } + return total + }) const priceSize = 9 let minWidth=ref(36) @@ -138,17 +152,7 @@ } function goodsMapInit() { - for (let i in props.data.goods) { - const goods = props.data.goods[i] - if ($goodsMap.hasOwnProperty(goods.productId)) { - $goodsMap[goods.productId] += goods.num * 1 - goodsNumber.value += goods.num * 1 - } else { - $goodsMap[goods.productId] = goods.num * 1 - goosZhonglei.value += 1 - } - originAmount.value += goods.payAmount - } + } goodsMapInit() watch(() => props.data.goods.length, (newval) => { From e51e2f42981b155b86d444eab3df66a89e91d4f2 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Thu, 9 Apr 2026 16:16:52 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8F=B0=E6=A1=8C?= =?UTF-8?q?=E5=A2=9E=E5=87=8F=E8=8F=9C=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pageTable/index/components/table-item.vue | 280 ++++---- pageTable/index/index.vue | 760 +++++++++++----------- 2 files changed, 562 insertions(+), 478 deletions(-) diff --git a/pageTable/index/components/table-item.vue b/pageTable/index/components/table-item.vue index 4b07b46..fa71d32 100644 --- a/pageTable/index/components/table-item.vue +++ b/pageTable/index/components/table-item.vue @@ -15,41 +15,48 @@ -