From 3159d0b459607a50b778fe13de7b11b78f13ce60 Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Mon, 18 Mar 2024 15:40:35 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=86=E7=BB=84=20=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=95=86=E5=93=81=E4=BC=98=E5=8C=96=202.=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=BF=AE=E5=A4=8D=E8=AF=A6=E6=83=85=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E8=A7=84=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/order.js | 15 +++ src/components/shopList/index.vue | 4 +- .../order_manage/components/orderDetail.vue | 12 ++- src/views/order_manage/order_list.vue | 101 ++++++++++++++++-- src/views/product/components/addGroup.vue | 28 +++-- 5 files changed, 141 insertions(+), 19 deletions(-) diff --git a/src/api/order.js b/src/api/order.js index 8c7f17a..7371c1f 100644 --- a/src/api/order.js +++ b/src/api/order.js @@ -43,4 +43,19 @@ export function tbOrderInfoDetail(id) { url: `/api/tbOrderInfo/${id}`, method: 'get' }) +} + +/** + * 通过Id查询订单 + * @param {*} id + * @returns + */ +export function payCount() { + return request({ + url: `/api/tbOrderInfo/payCount`, + method: 'get', + params: { + shopId: localStorage.getItem('shopId') + } + }) } \ No newline at end of file diff --git a/src/components/shopList/index.vue b/src/components/shopList/index.vue index 5d44d02..25382cf 100644 --- a/src/components/shopList/index.vue +++ b/src/components/shopList/index.vue @@ -37,10 +37,10 @@ - +
- {{ scope.row.productName }} +
+ {{ scope.row.productName }} + {{ scope.row.productSkuName }} +
@@ -218,8 +221,11 @@ export default { .shop_info { display: flex; - span { - margin-left: 6px; + .info { + flex: 1; + display: flex; + flex-direction: column; + padding-left: 6px; } } diff --git a/src/views/order_manage/order_list.vue b/src/views/order_manage/order_list.vue index 34f0341..4e0766e 100644 --- a/src/views/order_manage/order_list.vue +++ b/src/views/order_manage/order_list.vue @@ -50,19 +50,28 @@ - +
@@ -114,7 +123,7 @@ {{ scope.row.createdAt | timeFilter }} - + @@ -133,7 +142,7 @@