@@ -507,7 +507,7 @@ export default {
// 促销品
const promoUnit = '个'
const promoLimit = 0 // 额度
- const promoSelected = 0 // 已选
+ const promoSelected = item.giftQty || 0 // 已选
const promoBalance = promoLimit - promoSelected // 差额 = 额度 - 已选
// 采购额
const purchaseUnit = '元'
@@ -334,6 +334,9 @@ export default {
if (res.status == 200) {
this.discountActiveList = res.data
this.showDiscountSortModal = res.data && res.data.length > 0
+ if (res.data && res.data.length == 0) {
+ this.getOrderDetail(true)
+ }
}
this.spinning = false
})