瀏覽代碼

修改bug

chenrui 6 月之前
父節點
當前提交
4d2a1067ec
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/salesManagement/salesQueryNew/comps/activeStatisticsList.vue

+ 2 - 2
src/views/salesManagement/salesQueryNew/comps/activeStatisticsList.vue

@@ -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 // 额度