| 
					
				 | 
			
			
				@@ -607,10 +607,13 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       console.log('打开参照发运明细 弹框') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$refs.referShipDetailsModal.referShipDetailsModVis = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$refs.referShipDetailsModal.getReferenceList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if(this.addFabricData.length !== 0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.$refs.referShipDetailsModal.fatherFactory = this.addFabric.garmentFactory 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getFabricData(rows,token) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.addFabric = {} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.addFabricData = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // this.addFabric = {} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // this.addFabricData = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       var rowsId = [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          group = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       rows.map(item => {rowsId.push(item.id),group.push(item.groupId)} ) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -619,7 +622,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       getShippingDetailId({ids:ids,groupIds:groupId}).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if (res.success) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             var data = res.result 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.addFabric ={ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(this.addFabricData.length == 0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               this.addFabric ={ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               // id:data.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               // orderNumber:data.orderNumber, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               documentNo:data.documentNo, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -635,7 +639,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               customer : data.customer, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               customerAbbreviation : data.customerAbbreviation 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.addFabricData = data.syPackingListFabricItem  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              data.syPackingListFabricItem.map(item =>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                item.isAdd = 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.addFabricData = this.addFabricData.concat(data.syPackingListFabricItem ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.addFabricData.map(item =>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               item.inventoryQuantity = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               item.meter = 0 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -643,7 +652,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               if(item.excessQuantity < 0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 item.excessQuantity = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              // item.planLotNumber = item.orderNumber() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               if(item.manualYarnFlag == 0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  this.manualYarnDisabled = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               }else { 
			 |