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'}}