소스 검색

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

jbb 2 년 전
부모
커밋
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