Browse Source

成本分配表-辅料tab-合计行取消序号

jbb 2 years ago
parent
commit
ead923ec12

+ 0 - 1
src/views/reportForms/cost-allocation-table.vue

@@ -435,7 +435,6 @@ export default {
          average += item.exportUnitPrice
        })
        this.detailsPlanNum.shortvalue = Number(this.detailsPlanNum.shortseveral*average).toFixed(2)
-
        var shipQuantityAll =0,
         exportUnitPriceALll = 0,
         exportPriceAll =0,

+ 7 - 1
src/views/reportForms/cost-allocation-table/tabs.vue

@@ -262,7 +262,13 @@ export default {
           dataIndex: 'index',
           key: 'index',
           fixed: 'left',
-          customRender: (text, record, index) => `${index + 1}`,
+          customRender: (text, record, index) =>{
+            if(record.goodsName!=='合计'){
+              return index + 1
+            }else{
+              return ''
+            }
+          },
           className: 'replacecolor'
         },
         { title: '货物名称', width: 200, dataIndex: 'goodsName', fixed: 'left', className: 'replacecolor' },