Commit 91cd788b authored by dragondean@qq.com's avatar dragondean@qq.com

部分优惠的bug

parent 8c507e00
...@@ -497,6 +497,9 @@ export default { ...@@ -497,6 +497,9 @@ export default {
// 优惠 // 优惠
if(this.form.type == 5){ if(this.form.type == 5){
if(!item.fullCurrencyId){
this.$set(item, 'fullCurrencyId', this.currencyList[0].id)
}
this.$set(item, 'reduceCurrencyDisabled', true) this.$set(item, 'reduceCurrencyDisabled', true)
this.$set(item, 'netReceiptsCurrencyId', +item.fullCurrencyId) this.$set(item, 'netReceiptsCurrencyId', +item.fullCurrencyId)
return return
...@@ -504,6 +507,9 @@ export default { ...@@ -504,6 +507,9 @@ export default {
// 区间价 // 区间价
if(this.form.type== 7){ if(this.form.type== 7){
if(!item.startAndEndCurrencyId){
this.$set(item, 'startAndEndCurrencyId', this.currencyList[0].id)
}
this.$set(item, 'reduceCurrencyDisabled', true) this.$set(item, 'reduceCurrencyDisabled', true)
this.$set(item, 'netReceiptsCurrencyId', +item.startAndEndCurrencyId) this.$set(item, 'netReceiptsCurrencyId', +item.startAndEndCurrencyId)
return return
...@@ -516,7 +522,7 @@ export default { ...@@ -516,7 +522,7 @@ export default {
}, },
getCouponSelect(){ getCouponSelect(){
getCouponSelect().then(res => { getCouponSelect({overdueStatus: 1, status: 1}).then(res => {
this.couponList = res.data this.couponList = res.data
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment