浏览代码

Merge branch 'develop_yh13' of jianguan-web/jg-ocs-html into pre-release

李磊 2 年之前
父节点
当前提交
f3a18bea77
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/salesManagement/shortageStatisticsC/list.vue

+ 2 - 2
src/views/salesManagement/shortageStatisticsC/list.vue

@@ -226,10 +226,10 @@ export default {
         { title: '通用编码', dataIndex: 'productEntity.commonCode', width: 100, align: 'center', customRender: function (text) { return text || '--' } }
       ]
       if (this.$hasPermissions('M_shortageStatisticsCList_costPrice')) { //  成本价权限
-        arr.splice(13, 0, { title: '缺货成本金额', dataIndex: 'totalCostAmount', width: 90, align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
+        arr.splice(14, 0, { title: '缺货成本金额', dataIndex: 'totalCostAmount', width: 90, align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
       }
       if (this.$hasPermissions('M_shortageStatisticsCList_salesPrice')) { //  售价权限
-        const ind = this.$hasPermissions('M_shortageStatisticsCList_costPrice') ? 14 : 13
+        const ind = this.$hasPermissions('M_shortageStatisticsCList_costPrice') ? 15 : 14
         arr.splice(ind, 0, { title: '缺货实售金额', dataIndex: 'totalSalesAmount', width: 90, align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
         arr.splice(ind + 1, 0, { title: '缺货开单金额', dataIndex: 'totalAmount', width: 90, align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
       }