diff --git a/src/app/admin/order-manage/order-coupon/order-coupon-list/order-coupon-list.component.html b/src/app/admin/order-manage/order-coupon/order-coupon-list/order-coupon-list.component.html
index 586a60a..e8dcdf7 100644
--- a/src/app/admin/order-manage/order-coupon/order-coupon-list/order-coupon-list.component.html
+++ b/src/app/admin/order-manage/order-coupon/order-coupon-list/order-coupon-list.component.html
@@ -37,6 +37,38 @@
+
+
+
+ 分公司
+
+
+
+
+
+
+
+
+
+
+ 卡券编码
+
+
+
+
+
+
+
+
+ 卡券来源
+
+
+
+
+
+
+
+
支付卡号
@@ -67,7 +99,7 @@
订单状态
-
+
@@ -138,10 +170,13 @@
[nzScroll]="{ x: '1100px'}">
+ 分公司 |
交易单号 |
客户电话 |
+ 卡券编码 |
卡券名称 |
卡券面值 |
+ 卡券来源 |
订单总额 |
总优惠 |
优惠券优惠 |
@@ -160,10 +195,13 @@
+ {{data.companyName}} |
{{data.orderNo}} |
{{data.memPhone}} |
+ {{data.couponKey}} |
{{data.couponName}} |
¥{{data.couponPrice}} |
+ {{data.couponSource}} |
¥{{data.totalPrice}} |
¥{{data.totalDeductionPrice}} |
¥{{data.deductionCouponPrice}} |
@@ -230,14 +268,8 @@
-
- 创建时间:{{orderDetailObject.tradeOrder.createTime | date : 'yyyy-MM-dd HH:mm:ss'}}
- 备注:{{orderDetailObject.tradeOrder.remarks?orderDetailObject.tradeOrder.remarks:'无'}}
-
-
- 取消时间:{{orderDetailObject.tradeOrder.cancelTime | date : 'yyyy-MM-dd HH:mm:ss'}}
- 备注:{{orderDetailObject.tradeOrder.cancelRemarks?orderDetailObject.tradeOrder.cancelRemarks:'无'}}
-
+ 创建时间:{{orderDetailObject.tradeOrder.createTime | date : 'yyyy-MM-dd HH:mm:ss'}}
+ 取消时间:{{orderDetailObject.tradeOrder.cancelTime | date : 'yyyy-MM-dd HH:mm:ss'}}
支付时间:{{orderDetailObject.tradeOrder.payTime | date : 'yyyy-MM-dd HH:mm:ss'}}
完成时间:{{orderDetailObject.tradeOrder.finishTime | date : 'yyyy-MM-dd HH:mm:ss'}}
退款时间:{{orderDetailObject.tradeOrder.refundTime | date : 'yyyy-MM-dd HH:mm:ss'}}
@@ -245,21 +277,23 @@
-
+
+ 订单编号 |
产品类型 |
产品名称 |
产品规格 |
- 数量 |
- 单价 |
- 总价 |
+ 数量 |
+ 单价 |
+ 总价 |
+ {{ data.childOrderNo}} |
{{ data.goodsType | orderChildGoodsType}} |
-
+ |
{{ data.goodsName }}
赠品
|
diff --git a/src/app/admin/order-manage/order-coupon/order-coupon-list/order-coupon-list.component.ts b/src/app/admin/order-manage/order-coupon/order-coupon-list/order-coupon-list.component.ts
index 339841b..31c7934 100644
--- a/src/app/admin/order-manage/order-coupon/order-coupon-list/order-coupon-list.component.ts
+++ b/src/app/admin/order-manage/order-coupon/order-coupon-list/order-coupon-list.component.ts
@@ -8,6 +8,7 @@ import {ADMIN_INFO_OBJECT} from '../../../../services/local-storage.namespace';
import {environment} from '../../../../../environments/environment';
import {OrderManageService} from '../../../../services/order/order-manage.service';
import {OrderCouponService} from '../../../../services/order/order-coupon.service';
+import {CompanyService} from '../../../../services/company.service';
@Component({
selector: 'app-order-coupon-list',
@@ -32,8 +33,6 @@ export class OrderCouponListComponent implements OnInit {
whereObject: any = {};
isCollapse = false;
- positionTypeArray = [];
-
orderDetailModal = false;
orderDetailModalLoading = false;
orderDetailObject: any = {
@@ -41,12 +40,16 @@ export class OrderCouponListComponent implements OnInit {
gasOrder: {},
};
+ couponSourceArray = [];
+ companyArray = [];
+
constructor(private modal: NzModalService,
private message: NzMessageService,
private store: LocalStorageService,
private orderManageService: OrderManageService,
private orderCouponService: OrderCouponService,
private commonsService: CommonsService,
+ private companyService: CompanyService,
private router: Router,
private form: FormBuilder) {
this.roleType = Number(this.store.get(ADMIN_INFO_OBJECT)['secRole'].roleType);
@@ -56,15 +59,26 @@ export class OrderCouponListComponent implements OnInit {
ngOnInit(): void {
this.searchForm = this.form.group({
+ companyId: [null],
orderNo: [null],
memPhone: [null],
+ couponKey: [null],
+ couponSource: [null],
couponName: [null],
payType: [null],
- status: [null],
+ orderStatus: [null],
createTime: [null],
payTime: [null],
finishTime: [null],
});
+
+ this.companyService.selectCompanyList({pageNum: 1, pageSize: 100}, data => {
+ this.companyArray = data['return_data']['list'];
+ });
+ this.commonsService.getDictionary("COUPON_SOURCE", data => {
+ this.couponSourceArray = data['return_data'];
+ });
+
this.requestData(1);
}
diff --git a/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.html b/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.html
index 61246f6..44e901a 100644
--- a/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.html
+++ b/src/app/admin/order-manage/order-integral-recharge/order-integral-recharge.component.html
@@ -185,14 +185,8 @@
-
- 创建时间:{{orderDetailObject.tradeOrder.createTime | date : 'yyyy-MM-dd HH:mm:ss'}}
- 备注:{{orderDetailObject.tradeOrder.remarks?orderDetailObject.tradeOrder.remarks:'无'}}
-
-
- 取消时间:{{orderDetailObject.tradeOrder.cancelTime | date : 'yyyy-MM-dd HH:mm:ss'}}
- 备注:{{orderDetailObject.tradeOrder.cancelRemarks?orderDetailObject.tradeOrder.cancelRemarks:'无'}}
-
+ 创建时间:{{orderDetailObject.tradeOrder.createTime | date : 'yyyy-MM-dd HH:mm:ss'}}
+ 取消时间:{{orderDetailObject.tradeOrder.cancelTime | date : 'yyyy-MM-dd HH:mm:ss'}}
支付时间:{{orderDetailObject.tradeOrder.payTime | date : 'yyyy-MM-dd HH:mm:ss'}}
完成时间:{{orderDetailObject.tradeOrder.finishTime | date : 'yyyy-MM-dd HH:mm:ss'}}
退款时间:{{orderDetailObject.tradeOrder.refundTime | date : 'yyyy-MM-dd HH:mm:ss'}}
@@ -200,21 +194,23 @@
-
+
+ 订单编号 |
产品类型 |
产品名称 |
产品规格 |
- 数量 |
- 单价 |
- 总价 |
+ 数量 |
+ 单价 |
+ 总价 |
+ {{ data.childOrderNo}} |
{{ data.goodsType | orderChildGoodsType}} |
-
+ |
{{ data.goodsName }}
赠品
|
diff --git a/src/app/admin/order-manage/order-oil/order-oil-list/order-oil-list.component.html b/src/app/admin/order-manage/order-oil/order-oil-list/order-oil-list.component.html
index 190e209..fb9dee1 100644
--- a/src/app/admin/order-manage/order-oil/order-oil-list/order-oil-list.component.html
+++ b/src/app/admin/order-manage/order-oil/order-oil-list/order-oil-list.component.html
@@ -324,14 +324,8 @@
-
- 创建时间:{{orderDetailObject.tradeOrder.createTime | date : 'yyyy-MM-dd HH:mm:ss'}}
- 备注:{{orderDetailObject.tradeOrder.remarks?orderDetailObject.tradeOrder.remarks:'无'}}
-
-
- 取消时间:{{orderDetailObject.tradeOrder.cancelTime | date : 'yyyy-MM-dd HH:mm:ss'}}
- 备注:{{orderDetailObject.tradeOrder.cancelRemarks?orderDetailObject.tradeOrder.cancelRemarks:'无'}}
-
+ 创建时间:{{orderDetailObject.tradeOrder.createTime | date : 'yyyy-MM-dd HH:mm:ss'}}
+ 取消时间:{{orderDetailObject.tradeOrder.cancelTime | date : 'yyyy-MM-dd HH:mm:ss'}}
支付时间:{{orderDetailObject.tradeOrder.payTime | date : 'yyyy-MM-dd HH:mm:ss'}}
完成时间:{{orderDetailObject.tradeOrder.finishTime | date : 'yyyy-MM-dd HH:mm:ss'}}
退款时间:{{orderDetailObject.tradeOrder.refundTime | date : 'yyyy-MM-dd HH:mm:ss'}}
@@ -339,21 +333,23 @@
-
+
+ 订单编号 |
产品类型 |
产品名称 |
产品规格 |
- 数量 |
- 单价 |
- 总价 |
+ 数量 |
+ 单价 |
+ 总价 |
+ {{ data.childOrderNo}} |
{{ data.goodsType | orderChildGoodsType}} |
-
+ |
{{ data.goodsName }}
赠品
|