|
@@ -375,7 +375,7 @@ export default {
|
|
|
{ field: 'totalCategory', key: '21', title: '款数', width: 50, align: 'center', fixed: 'right' },
|
|
|
{ field: 'totalQty', key: '22', title: '数量', width: 50, align: 'center', fixed: 'right' }
|
|
|
]
|
|
|
- if (type == 'edit') {
|
|
|
+ if (this.type == 'edit') {
|
|
|
cols.unshift({
|
|
|
field: '',
|
|
|
key: '0',
|
|
@@ -510,7 +510,7 @@ export default {
|
|
|
const promoUnit = '个'
|
|
|
const promoSelected = item.giftQty || 0 // 已选
|
|
|
const promoBalance = item.giftShortfallQty // 差额
|
|
|
- const promoLimit = promoBalance * 1 + promoSelected * 1 // 额度 = 差额+已选
|
|
|
+ const promoLimit = promoBalance * 1 + promoSelected * 1 // 额度 = 差额 + 已选
|
|
|
// 采购额
|
|
|
const purchaseUnit = '元'
|
|
|
const purchaseLimit = item.totalPromoGiftsAmount // 额度
|