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

部分优惠的bug

parent 8c507e00
......@@ -497,6 +497,9 @@ export default {
// 优惠
if(this.form.type == 5){
if(!item.fullCurrencyId){
this.$set(item, 'fullCurrencyId', this.currencyList[0].id)
}
this.$set(item, 'reduceCurrencyDisabled', true)
this.$set(item, 'netReceiptsCurrencyId', +item.fullCurrencyId)
return
......@@ -504,6 +507,9 @@ export default {
// 区间价
if(this.form.type== 7){
if(!item.startAndEndCurrencyId){
this.$set(item, 'startAndEndCurrencyId', this.currencyList[0].id)
}
this.$set(item, 'reduceCurrencyDisabled', true)
this.$set(item, 'netReceiptsCurrencyId', +item.startAndEndCurrencyId)
return
......@@ -516,7 +522,7 @@ export default {
},
getCouponSelect(){
getCouponSelect().then(res => {
getCouponSelect({overdueStatus: 1, status: 1}).then(res => {
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