Просмотр исходного кода

成本分配表-面料转入数量-表格数据

jbb 2 лет назад
Родитель
Сommit
5e48f7a095
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/reportForms/cost-allocation-table/tabs.vue

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

@@ -689,7 +689,7 @@ export default {
             this.$refs.fabInQuaModal.fabInQuaModVis = true
             record.syTransfers.map(item=>{
               if(item.unitCost){
-                 item.unitCost =  (item.unitCost).toFixed(3)
+                 item.unitCost =  Number(item.unitCost).toFixed(3)
               }
             })
             this.$refs.fabInQuaModal.data = record.syTransfers