|
@@ -8,7 +8,6 @@
|
|
|
<div :class="[(fabData.length==0?'noprint': '')]">
|
|
|
<h6 class="table-title">面料</h6>
|
|
|
<a-table
|
|
|
- rowKey="(item)=>item.id"
|
|
|
:loading="loading"
|
|
|
:columns="fabColumns"
|
|
|
:data-source="fabData"
|
|
@@ -699,6 +698,7 @@ export default {
|
|
|
console.log( this.mList,this.fList)
|
|
|
this.$refs.fabInQuaModal.fabInQuaModVis = true
|
|
|
this.$refs.fabInQuaModal.record = record
|
|
|
+
|
|
|
record.syTransfers.map(item=>{
|
|
|
if(item.unitCost){
|
|
|
item.unitCost = Number(item.unitCost).toFixed(3)
|
|
@@ -707,7 +707,7 @@ export default {
|
|
|
this.$refs.fabInQuaModal.data = record.syTransfers
|
|
|
if(this.mList.length!==0){
|
|
|
this.mList.map(item=>{
|
|
|
- if(item.goodsName == record.goodsName){
|
|
|
+ if(item.goodsName == record.goodsName && item.syTransfers.length!==0){
|
|
|
this.$refs.fabInQuaModal.data = item.syTransfers
|
|
|
}
|
|
|
})
|