| 
					
				 | 
			
			
				@@ -2192,6 +2192,28 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //保存 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     editCustomer() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // 运输信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (this.entrustList.length == 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return this.$message.error('请选添加运输信息'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      for (let item in this.entrustList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (!this.entrustList[item].ctnType) return this.$message.error('请选择第' + Number(Number(item) + 1) + '行车型'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (!this.entrustList[item].ctnQuantity) return this.$message.error('请输入第' + Number(Number(item) + 1) + '行车辆数'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (!this.entrustList[item].arrivalTime) return this.$message.error('请输入第' + Number(Number(item) + 1) + '行货运日期'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // if (!this.entrustList[item].landAmountD) return this.$message.error('请输入第' + Number(Number(item) + 1) + '运费'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      for (let item in this.tableData) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (item < Number(this.tableData.length) - 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (!this.tableData[item].corpId) return this.$message.error('请选择第' + Number(Number(item) + 1) + '行货运地点'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // if (!this.tableData[item].address) return this.$message.error('请输入第' + Number(Number(item) + 1) + '行详细地址'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // if (!this.tableData[item].contacts) return this.$message.error('请输入第' + Number(Number(item) + 1) + '行联系人'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // if (!this.tableData[item].tel) return this.$message.error('请输入第' + Number(Number(item) + 1) + '行电话'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let data = JSON.parse(JSON.stringify(this.tableData)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       data.forEach((item, index) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         item.sort = index + 1 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2259,6 +2281,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   // if (!this.tableData[item].tel) return this.$message.error('请输入第' + Number(Number(item) + 1) + '行电话'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              if (this.entrustList.length == 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                return this.$message.error('请选添加运输信息'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               for (let item in this.entrustList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (!this.entrustList[item].ctnType) return this.$message.error('请选择第' + Number(Number(item) + 1) + '行车型'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (!this.entrustList[item].ctnQuantity) return this.$message.error('请输入第' + Number(Number(item) + 1) + '行车辆数'); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2319,6 +2344,18 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if (!this.entrustList[item].arrivalTime) return this.$message.error('请输入第' + Number(Number(item) + 1) + '行货运日期'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           // if (!this.entrustList[item].landAmountD) return this.$message.error('请输入第' + Number(Number(item) + 1) + '运费'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 运输信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (this.entrustList.length == 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          return this.$message.error('请选添加运输信息'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        for (let item in this.entrustList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (!this.entrustList[item].ctnType) return this.$message.error('请选择第' + Number(Number(item) + 1) + '行车型'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (!this.entrustList[item].ctnQuantity) return this.$message.error('请输入第' + Number(Number(item) + 1) + '行车辆数'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (!this.entrustList[item].arrivalTime) return this.$message.error('请输入第' + Number(Number(item) + 1) + '行货运日期'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // if (!this.entrustList[item].landAmountD) return this.$message.error('请输入第' + Number(Number(item) + 1) + '运费'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (this.entrustList.length === 0) return this.$message.error('箱信息不能为空') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$refs['goodsFormE'].validate((valid, doneE) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           doneE() 
			 |