|
@@ -470,7 +470,9 @@ export default {
|
|
|
console.log('面料 - 转入数量')
|
|
|
this.$refs.fabInQuaModal.fabInQuaModVis = true
|
|
|
record.syTransfers.map(item=>{
|
|
|
- item.unitCost = (item.unitCost).toFixed(3)
|
|
|
+ if(item.unitCost){
|
|
|
+ item.unitCost = (item.unitCost).toFixed(3)
|
|
|
+ }
|
|
|
})
|
|
|
this.$refs.fabInQuaModal.data = record.syTransfers
|
|
|
}
|
|
@@ -499,7 +501,9 @@ export default {
|
|
|
console.log('辅料 - 转入数量')
|
|
|
this.$refs.ingInQuaModal.ingInQuaModVis = true
|
|
|
record.syTransfers.map(item=>{
|
|
|
+ if(item.unitCost){
|
|
|
item.unitCost = (item.unitCost).toFixed(3)
|
|
|
+ }
|
|
|
})
|
|
|
this.$refs.ingInQuaModal.data = record.syTransfers
|
|
|
}
|