From 94f67122f7b8145f1d4c51baae927aff4da4acc6 Mon Sep 17 00:00:00 2001
From: yuanye <418471657@qq.com>
Date: Fri, 24 May 2024 15:47:25 +0800
Subject: [PATCH] 1
---
.../goods-list/goods-list.component.html | 26 ++++++++++++-------
.../trade/goods-list/goods-list.component.ts | 4 ++-
2 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/src/app/pages/trade/goods-list/goods-list.component.html b/src/app/pages/trade/goods-list/goods-list.component.html
index 9c2d2aa..3719599 100644
--- a/src/app/pages/trade/goods-list/goods-list.component.html
+++ b/src/app/pages/trade/goods-list/goods-list.component.html
@@ -93,7 +93,7 @@
物流单号 |
创建时间 |
更新时间 |
- 状态 |
+ 物流状态 |
操作 |
@@ -108,7 +108,10 @@
{{data.logisticsNo}} |
{{ data.createTime | date: 'yyyy-MM-dd HH:mm'}} |
{{ data.updateTime | date: 'yyyy-MM-dd HH:mm'}} |
- {{data.status | orderGoodsStatus}} |
+
+ {{data.status | orderGoodsStatus}}
+ {{data.logisticsStatusDesc}}
+ |
详情
@@ -145,13 +148,18 @@
-
-
-
-
-
-
-
+
+ {{orderGoodsData.status | orderGoodsStatus}}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/app/pages/trade/goods-list/goods-list.component.ts b/src/app/pages/trade/goods-list/goods-list.component.ts
index 58ed3af..af873f2 100644
--- a/src/app/pages/trade/goods-list/goods-list.component.ts
+++ b/src/app/pages/trade/goods-list/goods-list.component.ts
@@ -195,6 +195,7 @@ export class GoodsListComponent {
}
getLogisticsNo(id: number): void {
+ this.getRequest(false);
this.goodsOrderId = id;
this.isVisible = true;
}
@@ -215,7 +216,7 @@ export class GoodsListComponent {
this.orderGoodsService.updateLogisticsNo(params , (data: any) => {
if (data['return_code'] == '000000') {
this.isVisible = false;
- this.getRequest(false);
+
this.msg.success("成功")
} else {
this.msg.error(data['return_msg']);
@@ -232,6 +233,7 @@ export class GoodsListComponent {
this.orderGoodsService.getLogisticsMsg(params , (data: any) => {
if (data['return_code'] == '000000') {
this.orderDetailModalChild = true;
+ this.getRequest(false);
this.logisticsTraceDetails = data['return_data']['logisticsTraceDetails'];
} else {
this.msg.error(data['return_msg']);
|