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 @@