|
|
@ -80,6 +80,7 @@ export class CouponEditComponent implements OnInit { |
|
|
|
isPresent: [false, [Validators.required]], |
|
|
|
isPresent: [false, [Validators.required]], |
|
|
|
payType: [false, [Validators.required]], |
|
|
|
payType: [false, [Validators.required]], |
|
|
|
displayArea: [false, [Validators.required]], |
|
|
|
displayArea: [false, [Validators.required]], |
|
|
|
|
|
|
|
couponSource: [null], |
|
|
|
handselCouponId: [null], |
|
|
|
handselCouponId: [null], |
|
|
|
status: [null], |
|
|
|
status: [null], |
|
|
|
couponKey: [null], |
|
|
|
couponKey: [null], |
|
|
@ -258,6 +259,7 @@ export class CouponEditComponent implements OnInit { |
|
|
|
data['return_data']['couponType'] = String(data['return_data']['couponType']); |
|
|
|
data['return_data']['couponType'] = String(data['return_data']['couponType']); |
|
|
|
data['return_data']['displayArea'] = String(data['return_data']['displayArea']); |
|
|
|
data['return_data']['displayArea'] = String(data['return_data']['displayArea']); |
|
|
|
data['return_data']['payType'] = String(data['return_data']['payType']); |
|
|
|
data['return_data']['payType'] = String(data['return_data']['payType']); |
|
|
|
|
|
|
|
data['return_data']['couponSource'] = String(data['return_data']['couponSource']); |
|
|
|
this.content = data['return_data']['couponDesc']; |
|
|
|
this.content = data['return_data']['couponDesc']; |
|
|
|
if (data['return_data']['couponImg'] != null && data['return_data']['couponImg'] !== '') { |
|
|
|
if (data['return_data']['couponImg'] != null && data['return_data']['couponImg'] !== '') { |
|
|
|
const couponImg = String(data['return_data']['couponImg']); |
|
|
|
const couponImg = String(data['return_data']['couponImg']); |
|
|
|