From e6738b403ee0b2686664822829a0df9230392a24 Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Fri, 24 May 2024 16:27:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../comp-order/comp-order.component.html | 38 +++++++++---------- .../trade/comp-order/comp-order.component.ts | 4 +- .../order-after-sales.component.html | 6 ++- .../order-refund/order-refund.component.html | 2 +- 4 files changed, 27 insertions(+), 23 deletions(-) diff --git a/src/app/pages/trade/comp-order/comp-order.component.html b/src/app/pages/trade/comp-order/comp-order.component.html index f1df950..5562b51 100644 --- a/src/app/pages/trade/comp-order/comp-order.component.html +++ b/src/app/pages/trade/comp-order/comp-order.component.html @@ -106,7 +106,7 @@ 交易单号 - 子交易单号 + 商品订单号 用户手机号 商品key 商品名称 @@ -134,23 +134,23 @@ - {{data.orderNo}} - {{data.childOrderNo}} - {{data.userPhone}} - {{data.goodsKey}} - {{data.goodsName}} - {{data.goodsSpecsName}} - {{data.goodsPrice}} - {{data.goodsCount}} - {{data.totalPrice}} - {{data.couponDiscountPrice}} - {{data.integralDiscountPrice}} - {{data.payRealPrice}} - {{data.payChannel | dictionary: 'ORDER_PAY_CHANNEL'}} - {{data.payType | dictionary: 'ORDER_PAY_TYPE'}} - {{data.tradeStatus | dictionary: 'ORDER_CHILD_STATUS'}} - {{data.createTime | date: 'yyyy-MM-dd HH:mm:ss'}} - {{data.payTime | date: 'yyyy-MM-dd HH:mm:ss'}} + {{data.orderNo}} + {{data.childOrderNo}} + {{data.userPhone}} + {{data.goodsKey}} + {{data.goodsName}} + {{data.goodsSpecsName}} + {{data.goodsPrice}} + {{data.goodsCount}} + {{data.totalPrice}} + {{data.couponDiscountPrice}} + {{data.integralDiscountPrice}} + {{data.payRealPrice}} + {{data.payChannel | dictionary: 'ORDER_PAY_CHANNEL'}} + {{data.payType | dictionary: 'ORDER_PAY_TYPE'}} + {{data.tradeStatus | dictionary: 'ORDER_CHILD_STATUS'}} + {{data.createTime | date: 'yyyy-MM-dd HH:mm:ss'}} + {{data.payTime | date: 'yyyy-MM-dd HH:mm:ss'}} {{data.channelOrderNo}} {{data.couNo}} {{data.expireTime | date: 'yyyy-MM-dd HH:mm'}} @@ -181,7 +181,7 @@ {{orderDetail.order.userPhone}} {{orderDetail.order.orderNo}} - {{orderDetail.order.childOrderNo}} + {{orderDetail.order.childOrderNo}} {{orderDetail.order.totalPrice}} {{orderDetail.order.totalDeductionPrice}} {{orderDetail.order.couponDiscountPrice}} diff --git a/src/app/pages/trade/comp-order/comp-order.component.ts b/src/app/pages/trade/comp-order/comp-order.component.ts index 1f19459..bae4e6e 100644 --- a/src/app/pages/trade/comp-order/comp-order.component.ts +++ b/src/app/pages/trade/comp-order/comp-order.component.ts @@ -156,6 +156,9 @@ export class CompOrderComponent { this.orderService.queryList(this.searchForm.value, (data: any) => { if (data['return_code'] == '000000') { this.tableData = data['return_data']; + for (let data of this.tableData.list) { + data['rowSpan'] = this.tableData.list.filter((s: { orderNo: any; }) => s.orderNo == data.orderNo).length; + } } }); } @@ -194,7 +197,6 @@ export class CompOrderComponent { this.orderService.queryDetail(childOrderNo,(data: any) => { if (data['return_code'] == '000000') { this.orderDetail = data['return_data']; - console.log(this.orderDetail); } }); this.orderDetailVisible = true; diff --git a/src/app/pages/trade/order-after-sales/order-after-sales.component.html b/src/app/pages/trade/order-after-sales/order-after-sales.component.html index 8babfe6..0955dc2 100644 --- a/src/app/pages/trade/order-after-sales/order-after-sales.component.html +++ b/src/app/pages/trade/order-after-sales/order-after-sales.component.html @@ -132,10 +132,12 @@ {{applyDetail.applyDetail.productSpecName}} {{applyDetail.applyDetail.productCount}} {{applyDetail.applyDetail.createTime | date:'yyyy-MM-dd HH:mm:ss'}} + {{applyDetail.applyDetail.refundPrice}} + {{applyDetail.applyDetail.refundIntegral}} {{applyDetail.applyDetail.sendExpressNo}}
-
+
@@ -165,7 +167,7 @@ {{item.createTime | date: 'yyyy-MM-dd HH:mm:ss'}}【{{item.status | dictionary: 'ORDER_AFTER_SALES_APPLY_STATUS'}}】 操作人:{{item.opUserName}}
-
+
diff --git a/src/app/pages/trade/order-refund/order-refund.component.html b/src/app/pages/trade/order-refund/order-refund.component.html index e56f8db..608d2eb 100644 --- a/src/app/pages/trade/order-refund/order-refund.component.html +++ b/src/app/pages/trade/order-refund/order-refund.component.html @@ -92,7 +92,7 @@ {{data.orderNo}} {{data.orderChildNo}} {{data.refundPayChannel | dictionary: 'ORDER_PAY_CHANNEL'}} - {{data.refundPayType | dictionary: 'ORDER_PAY_TYPE'}} + {{data.reufndPayType | dictionary: 'ORDER_PAY_TYPE'}} {{data.refundPrice}} {{data.refundIntegral}} {{data.createTime | date: 'yyyy-MM-dd HH:mm:ss'}}