|
@@ -430,6 +430,9 @@ export default {
|
|
|
const couponScopeArr = []
|
|
|
formData.couponScopeList.map(item => { couponScopeArr.push({ scopeType: 'ITEM', scopeValue: item }) })
|
|
|
formData.couponScopeList = couponScopeArr
|
|
|
+ if (formData.couponType === 'VOUCHER' && this.isLimit === '0') { // 代金券
|
|
|
+ formData.limitAmount = 0
|
|
|
+ }
|
|
|
if (this.pageType == 'add') { // 新增
|
|
|
formData.id = null
|
|
|
this.couponCreate(formData)
|