|  | @@ -409,6 +409,7 @@ export default {
 | 
	
		
			
				|  |  |                  placeDeliveryNamePrint: '',
 | 
	
		
			
				|  |  |                  potEnName: '',
 | 
	
		
			
				|  |  |                  potNamePrint: '',
 | 
	
		
			
				|  |  | +                detail: {}
 | 
	
		
			
				|  |  |              },
 | 
	
		
			
				|  |  |              oldForm: {
 | 
	
		
			
				|  |  |                  billDate: dateFormat(new Date(), "yyyy-MM-dd") + ' 00:00', // 单据日期 默认 当天
 | 
	
	
		
			
				|  | @@ -446,6 +447,7 @@ export default {
 | 
	
		
			
				|  |  |                  placeDeliveryNamePrint: '',
 | 
	
		
			
				|  |  |                  potEnName: '',
 | 
	
		
			
				|  |  |                  potNamePrint: '',
 | 
	
		
			
				|  |  | +                detail: {}
 | 
	
		
			
				|  |  |              },
 | 
	
		
			
				|  |  |              // 循环的配置
 | 
	
		
			
				|  |  |              basicData: {
 | 
	
	
		
			
				|  | @@ -798,6 +800,7 @@ export default {
 | 
	
		
			
				|  |  |                              return false
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  |                      })
 | 
	
		
			
				|  |  | +                    console.log(arr, 12345)
 | 
	
		
			
				|  |  |                      // 判断是否有温度
 | 
	
		
			
				|  |  |                      if (arr[0]) {
 | 
	
		
			
				|  |  |                          // 判断之前是否是冻货
 | 
	
	
		
			
				|  | @@ -1009,7 +1012,8 @@ export default {
 | 
	
		
			
				|  |  |                          if (item.name == this.form.operatorName) {
 | 
	
		
			
				|  |  |                              this.$set(this.form, 'accDeptName', item.deptName)
 | 
	
		
			
				|  |  |                              this.$set(this.form, 'accDept', item.deptId)
 | 
	
		
			
				|  |  | -                            this.$set(this.form, 'operatorDept', item.deptId)
 | 
	
		
			
				|  |  | +                            console.log(item.deptId.split(',').pop())
 | 
	
		
			
				|  |  | +                            this.$set(this.form, 'operatorDept', item.deptId.split(',').pop())
 | 
	
		
			
				|  |  |                              this.$set(this.form, 'operatorDeptName', item.deptId)
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  |                      }
 | 
	
	
		
			
				|  | @@ -1092,10 +1096,10 @@ export default {
 | 
	
		
			
				|  |  |                  userGetList(1, 10, { roleId: '业务员' }).then(res => {
 | 
	
		
			
				|  |  |                      this.columnforfun('srcCnName').dicData = res.data.data.records
 | 
	
		
			
				|  |  |                  })
 | 
	
		
			
				|  |  | -            }else{
 | 
	
		
			
				|  |  | +            } else {
 | 
	
		
			
				|  |  |                  userGetList(1, 10, { account }).then(res => {
 | 
	
		
			
				|  |  |                      this.columnforfun('srcCnName').dicData = res.data.data.records
 | 
	
		
			
				|  |  | -                }) 
 | 
	
		
			
				|  |  | +                })
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          },
 | 
	
	
		
			
				|  | @@ -1153,13 +1157,16 @@ export default {
 | 
	
		
			
				|  |  |                      // 航线带出往来单位的优势航线
 | 
	
		
			
				|  |  |                      this.$set(this.form, 'lineCnName', this.$refs.bcorps[0].selectionList[0].advantageRoute)
 | 
	
		
			
				|  |  |                      // 带出发货人数据
 | 
	
		
			
				|  |  | -                    this.$set(this.form, 'hshipperId', this.$refs.bcorps[0].selectionList[0].id)
 | 
	
		
			
				|  |  | -                    this.$set(this.form, 'hshipperCnName', this.$refs.bcorps[0].selectionList[0].cnName)
 | 
	
		
			
				|  |  | -                    this.$set(this.form, 'hshipperEnName', this.$refs.bcorps[0].selectionList[0].enName)
 | 
	
		
			
				|  |  | -                    this.$set(this.form, 'hshipperCode', this.$refs.bcorps[0].selectionList[0].code)
 | 
	
		
			
				|  |  | -                    this.$set(this.form, 'hshipperDetails', this.$refs.bcorps[0].selectionList[0].details)
 | 
	
		
			
				|  |  | -                    this.$set(this.form, 'hshipperCntyName', this.$refs.bcorps[0].selectionList[0].cntyName)
 | 
	
		
			
				|  |  | -                    this.$set(this.form, 'hshipperCntyCode', this.$refs.bcorps[0].selectionList[0].cntyCode)
 | 
	
		
			
				|  |  | +                    this.$set(this.form.detail, 'hshipperId', this.$refs.bcorps[0].selectionList[0].id)
 | 
	
		
			
				|  |  | +                    this.$set(this.form.detail, 'hshipperCnName', this.$refs.bcorps[0].selectionList[0].cnName)
 | 
	
		
			
				|  |  | +                    this.$set(this.form.detail, 'hshipperEnName', this.$refs.bcorps[0].selectionList[0].enName)
 | 
	
		
			
				|  |  | +                    this.$set(this.form.detail, 'hshipperCode', this.$refs.bcorps[0].selectionList[0].code)
 | 
	
		
			
				|  |  | +                    this.$set(this.form.detail, 'hshipperDetails', this.$refs.bcorps[0].selectionList[0].details)
 | 
	
		
			
				|  |  | +                    this.$set(this.form.detail, 'hshipperCntyName', this.$refs.bcorps[0].selectionList[0].cntyName)
 | 
	
		
			
				|  |  | +                    this.$set(this.form.detail, 'hshipperCntyCode', this.$refs.bcorps[0].selectionList[0].cntyCode)
 | 
	
		
			
				|  |  | +                    this.columnforfun('corpAttnName').disabled = false
 | 
	
		
			
				|  |  | +                    this.columnforfun('corpAttnTel').disabled = false
 | 
	
		
			
				|  |  | +                    this.columnforfun('corpAttnEmail').disabled = false
 | 
	
		
			
				|  |  |                  } else {
 | 
	
		
			
				|  |  |                      console.log('详情确认')
 | 
	
		
			
				|  |  |                      console.log(this.$refs.bcorps, 962)
 | 
	
	
		
			
				|  | @@ -1180,13 +1187,16 @@ export default {
 | 
	
		
			
				|  |  |                      // 航线带出往来单位的优势航线
 | 
	
		
			
				|  |  |                      this.$set(this.form, 'lineCnName', this.$refs.bcorps[0].$refs.detail.formData.advantageRoute)
 | 
	
		
			
				|  |  |                      // 带出发货人数据
 | 
	
		
			
				|  |  | -                    this.$set(this.form, 'hshipperId', this.$refs.bcorps[0].$refs.detail.formData.id)
 | 
	
		
			
				|  |  | -                    this.$set(this.form, 'hshipperCnName', this.$refs.bcorps[0].$refs.detail.formData.cnName)
 | 
	
		
			
				|  |  | -                    this.$set(this.form, 'hshipperEnName', this.$refs.bcorps[0].$refs.detail.formData.enName)
 | 
	
		
			
				|  |  | -                    this.$set(this.form, 'hshipperCode', this.$refs.bcorps[0].$refs.detail.formData.code)
 | 
	
		
			
				|  |  | -                    this.$set(this.form, 'hshipperDetails', this.$refs.bcorps[0].$refs.detail.formData.details)
 | 
	
		
			
				|  |  | -                    this.$set(this.form, 'hshipperCntyName', this.$refs.bcorps[0].$refs.detail.formData.cntyName)
 | 
	
		
			
				|  |  | -                    this.$set(this.form, 'hshipperCntyCode', this.$refs.bcorps[0].$refs.detail.formData.cntyCode)
 | 
	
		
			
				|  |  | +                    this.$set(this.form.detail, 'hshipperId', this.$refs.bcorps[0].$refs.detail.formData.id)
 | 
	
		
			
				|  |  | +                    this.$set(this.form.detail, 'hshipperCnName', this.$refs.bcorps[0].$refs.detail.formData.cnName)
 | 
	
		
			
				|  |  | +                    this.$set(this.form.detail, 'hshipperEnName', this.$refs.bcorps[0].$refs.detail.formData.enName)
 | 
	
		
			
				|  |  | +                    this.$set(this.form.detail, 'hshipperCode', this.$refs.bcorps[0].$refs.detail.formData.code)
 | 
	
		
			
				|  |  | +                    this.$set(this.form.detail, 'hshipperDetails', this.$refs.bcorps[0].$refs.detail.formData.details)
 | 
	
		
			
				|  |  | +                    this.$set(this.form.detail, 'hshipperCntyName', this.$refs.bcorps[0].$refs.detail.formData.cntyName)
 | 
	
		
			
				|  |  | +                    this.$set(this.form.detail, 'hshipperCntyCode', this.$refs.bcorps[0].$refs.detail.formData.cntyCode)
 | 
	
		
			
				|  |  | +                    this.columnforfun('corpAttnName').disabled = false
 | 
	
		
			
				|  |  | +                    this.columnforfun('corpAttnTel').disabled = false
 | 
	
		
			
				|  |  | +                    this.columnforfun('corpAttnEmail').disabled = false
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              this.$refs.searchQueryRef[0].corpVisible = false
 | 
	
	
		
			
				|  | @@ -1248,7 +1258,7 @@ export default {
 | 
	
		
			
				|  |  |                      if (item.name == value) {
 | 
	
		
			
				|  |  |                          this.form.operatorName = item.name
 | 
	
		
			
				|  |  |                          this.form.operatorId = item.id
 | 
	
		
			
				|  |  | -                        this.form.operatorDept = item.deptId
 | 
	
		
			
				|  |  | +                        this.form.operatorDept = item.deptId.split(',').pop()
 | 
	
		
			
				|  |  |                          this.form.operatorDeptName = item.deptName
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                  }
 | 
	
	
		
			
				|  | @@ -1302,7 +1312,7 @@ export default {
 | 
	
		
			
				|  |  |                          this.$set(this.form, 'srcId', item.srcId)
 | 
	
		
			
				|  |  |                          this.$set(this.form, 'srcCnName', item.srcCnName)
 | 
	
		
			
				|  |  |                          this.$set(this.form, 'srcEnName', item.srcEnName)
 | 
	
		
			
				|  |  | -                        this.$set(this.form, 'srcDeptId', item.deptId)
 | 
	
		
			
				|  |  | +                        this.$set(this.form, 'srcDeptId', item.deptId.split(',').pop())
 | 
	
		
			
				|  |  |                          this.$set(this.form, 'srcDeptName', item.deptName)
 | 
	
		
			
				|  |  |                          this.columnforfun('srcType').disabled = false
 | 
	
		
			
				|  |  |                          this.columnforfun('srcCnName').disabled = false
 | 
	
	
		
			
				|  | @@ -1365,7 +1375,7 @@ export default {
 | 
	
		
			
				|  |  |                              this.$set(this.form, 'srcId', item.id)
 | 
	
		
			
				|  |  |                              this.$set(this.form, 'srcCnName', item.name)
 | 
	
		
			
				|  |  |                              this.$set(this.form, 'srcEnName', item.name)
 | 
	
		
			
				|  |  | -                            this.$set(this.form, 'srcDeptId', item.deptId)
 | 
	
		
			
				|  |  | +                            this.$set(this.form, 'srcDeptId', item.deptId.split(',').pop())
 | 
	
		
			
				|  |  |                              this.$set(this.form, 'srcDeptName', item.deptName)
 | 
	
		
			
				|  |  |                          } else if (this.form.srcType == 'AGENT') {
 | 
	
		
			
				|  |  |                              // 代理
 | 
	
	
		
			
				|  | @@ -1614,31 +1624,22 @@ export default {
 | 
	
		
			
				|  |  |                          msgs.push('所属团队')
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                      for (let item of this.form.feeCenterListD) {
 | 
	
		
			
				|  |  | -                        if (!item.corpId) {
 | 
	
		
			
				|  |  | -                            msgs.push(`应收序号${item.$index + 1}往来单位`)
 | 
	
		
			
				|  |  | -                        }
 | 
	
		
			
				|  |  | -                        if (!item.feeId) {
 | 
	
		
			
				|  |  | -                            msgs.push(`应收序号${item.$index + 1}费用简称`)
 | 
	
		
			
				|  |  | -                        }
 | 
	
		
			
				|  |  | -                        if (!item.elementsId) {
 | 
	
		
			
				|  |  | -                            msgs.push(`应收序号${item.$index + 1}核算要素`)
 | 
	
		
			
				|  |  | -                        }
 | 
	
		
			
				|  |  | -                        if (!item.curCode) {
 | 
	
		
			
				|  |  | -                            msgs.push(`应收序号${item.$index + 1}币种`)
 | 
	
		
			
				|  |  | +                        if (!item.corpId || !item.feeId || !item.elementsId || !item.curCode) {
 | 
	
		
			
				|  |  | +                            msgs.push(`应收第${item.$index + 1}行${!item.corpId ? ' 往来单位' : ''}${!item.feeId ? ' 费用简称' : ''}${!item.elementsId ? ' 核算要素' : ''}${!item.curCode ? ' 币种' : ''}`)
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  | +                        // if (!item.feeId) {
 | 
	
		
			
				|  |  | +                        //     msgs.push(`应收第${item.$index + 1}行费用简称`)
 | 
	
		
			
				|  |  | +                        // }
 | 
	
		
			
				|  |  | +                        // if (!item.elementsId) {
 | 
	
		
			
				|  |  | +                        //     msgs.push(`应收第${item.$index + 1}行核算要素`)
 | 
	
		
			
				|  |  | +                        // }
 | 
	
		
			
				|  |  | +                        // if (!item.curCode) {
 | 
	
		
			
				|  |  | +                        //     msgs.push(`应收第${item.$index + 1}行币种`)
 | 
	
		
			
				|  |  | +                        // }
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                      for (let item of this.form.feeCenterListC) {
 | 
	
		
			
				|  |  | -                        if (!item.corpId) {
 | 
	
		
			
				|  |  | -                            msgs.push(`应付序号${item.$index + 1}往来单位`)
 | 
	
		
			
				|  |  | -                        }
 | 
	
		
			
				|  |  | -                        if (!item.feeId) {
 | 
	
		
			
				|  |  | -                            msgs.push(`应付序号${item.$index + 1}费用简称`)
 | 
	
		
			
				|  |  | -                        }
 | 
	
		
			
				|  |  | -                        if (!item.elementsId) {
 | 
	
		
			
				|  |  | -                            msgs.push(`应付序号${item.$index + 1}核算要素`)
 | 
	
		
			
				|  |  | -                        }
 | 
	
		
			
				|  |  | -                        if (!item.curCode) {
 | 
	
		
			
				|  |  | -                            msgs.push(`应付序号${item.$index + 1}币种`)
 | 
	
		
			
				|  |  | +                        if (!item.corpId || !item.feeId || !item.elementsId || !item.curCode) {
 | 
	
		
			
				|  |  | +                            msgs.push(`应付第${item.$index + 1}行${!item.corpId ? ' 往来单位' : ''}${!item.feeId ? ' 费用简称' : ''}${!item.elementsId ? ' 核算要素' : ''}${!item.curCode ? ' 币种' : ''}`)
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                      if (msgs.length > 0) {
 | 
	
	
		
			
				|  | @@ -2007,6 +2008,7 @@ export default {
 | 
	
		
			
				|  |  |              if (status == 'toAddEdit') {
 | 
	
		
			
				|  |  |                  this.$emit(status)
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | +            this.oldForm = this.deepClone(this.form);
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          // tbas切换
 | 
	
		
			
				|  |  |          handleClick(tba, event) {
 | 
	
	
		
			
				|  | @@ -2030,171 +2032,7 @@ export default {
 | 
	
		
			
				|  |  |              billsListAll({ masterId }).then(res => {
 | 
	
		
			
				|  |  |                  this.billsListAllData = res.data.data
 | 
	
		
			
				|  |  |              })
 | 
	
		
			
				|  |  | -        },
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -        // 下拉 把拼接的拆分
 | 
	
		
			
				|  |  | -        searchSplit() {
 | 
	
		
			
				|  |  | -            // 发货人
 | 
	
		
			
				|  |  | -            if (this.form.hshipperCnName) {
 | 
	
		
			
				|  |  | -                this.form.hshipperCnName = this.form.hshipperCnName.split(' - ')[0]
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 收货人
 | 
	
		
			
				|  |  | -            if (this.form.hconsigneeCnName) {
 | 
	
		
			
				|  |  | -                this.form.hconsigneeCnName = this.form.hconsigneeCnName.split(' - ')[0]
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 通知人
 | 
	
		
			
				|  |  | -            if (this.form.hnotifyCnName) {
 | 
	
		
			
				|  |  | -                this.form.hnotifyCnName = this.form.hnotifyCnName.split(' - ')[0]
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 第二通知人
 | 
	
		
			
				|  |  | -            if (this.form.hnotify2CnName) {
 | 
	
		
			
				|  |  | -                this.form.hnotify2CnName = this.form.hnotify2CnName.split(' - ')[0]
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // COLOADER
 | 
	
		
			
				|  |  | -            if (this.form.coloaderCnName) {
 | 
	
		
			
				|  |  | -                this.form.coloaderCnName = this.form.coloaderCnName.split(' - ')[0]
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 船公司
 | 
	
		
			
				|  |  | -            if (this.form.carrierCnName) {
 | 
	
		
			
				|  |  | -                this.form.carrierCnName = this.form.carrierCnName.split(' - ')[0]
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 收货地
 | 
	
		
			
				|  |  | -            if (this.form.placeReceiptName) {
 | 
	
		
			
				|  |  | -                this.form.placeReceiptName = this.form.placeReceiptName.split(' - ')[0]
 | 
	
		
			
				|  |  | -                this.form.placeReceiptNamePrint = this.form.placeReceiptNamePrint.split(' - ')[0]
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 装货港
 | 
	
		
			
				|  |  | -            if (this.form.polEnName) {
 | 
	
		
			
				|  |  | -                this.form.polEnName = this.form.polEnName.split(' - ')[0]
 | 
	
		
			
				|  |  | -                this.form.polNamePrint = this.form.polNamePrint.split(' - ')[0]
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 卸货港
 | 
	
		
			
				|  |  | -            if (this.form.podEnName) {
 | 
	
		
			
				|  |  | -                this.form.podEnName = this.form.podEnName.split(' - ')[0]
 | 
	
		
			
				|  |  | -                this.form.podNamePrint = this.form.podNamePrint.split(' - ')[0]
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 目的地
 | 
	
		
			
				|  |  | -            if (this.form.destinationName) {
 | 
	
		
			
				|  |  | -                this.form.destinationName = this.form.destinationName.split(' - ')[0]
 | 
	
		
			
				|  |  | -                this.form.destinationNamePrint = this.form.destinationNamePrint.split(' - ')[0]
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 交货地
 | 
	
		
			
				|  |  | -            if (this.form.placeDeliveryName) {
 | 
	
		
			
				|  |  | -                this.form.placeDeliveryName = this.form.placeDeliveryName.split(' - ')[0]
 | 
	
		
			
				|  |  | -                this.form.placeDeliveryNamePrint = this.form.placeDeliveryNamePrint.split(' - ')[0]
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 中转港
 | 
	
		
			
				|  |  | -            if (this.form.potEnName) {
 | 
	
		
			
				|  |  | -                this.form.potEnName = this.form.potEnName.split(' - ')[0]
 | 
	
		
			
				|  |  | -                this.form.potNamePrint = this.form.potNamePrint.split(' - ')[0]
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 船名
 | 
	
		
			
				|  |  | -            if (this.form.vesselCnName) {
 | 
	
		
			
				|  |  | -                this.form.vesselCnName = this.form.vesselCnName.split(' - ')[0]
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 客户名称
 | 
	
		
			
				|  |  | -            if (this.form.corpCnName) {
 | 
	
		
			
				|  |  | -                this.form.corpCnName = this.form.corpCnName.split(' - ')[0]
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -        },
 | 
	
		
			
				|  |  | -        // 下拉 中文名称和编号拼接
 | 
	
		
			
				|  |  | -        searchMontage() {
 | 
	
		
			
				|  |  | -            // 发货人
 | 
	
		
			
				|  |  | -            if (this.form.hshipperCnName) {
 | 
	
		
			
				|  |  | -                this.form.hshipperCnName = this.form.hshipperCnName + ' - ' + this.form.hshipperCode
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 收货人
 | 
	
		
			
				|  |  | -            if (this.form.hconsigneeCnName) {
 | 
	
		
			
				|  |  | -                this.form.hconsigneeCnName = this.form.hconsigneeCnName + ' - ' + this.form.hconsigneeCode
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 通知人
 | 
	
		
			
				|  |  | -            if (this.form.hnotifyCnName) {
 | 
	
		
			
				|  |  | -                this.form.hnotifyCnName = this.form.hnotifyCnName + ' - ' + this.form.hnotifyCode
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 第二通知人
 | 
	
		
			
				|  |  | -            if (this.form.hnotify2CnName) {
 | 
	
		
			
				|  |  | -                this.form.hnotify2CnName = this.form.hnotify2CnName + ' - ' + this.form.hnotify2Code
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // COLOADER
 | 
	
		
			
				|  |  | -            if (this.form.coloaderCnName) {
 | 
	
		
			
				|  |  | -                let corpTypeName = '国内直接客户,国内同行及代理,国外直接客户,国外同行及代理'
 | 
	
		
			
				|  |  | -                getBcorpslistByType(1, 10, { cnName: this.form.coloaderCnName, status: 0, corpTypeName }).then(res => {
 | 
	
		
			
				|  |  | -                    res.data.data.records.forEach(e => {
 | 
	
		
			
				|  |  | -                        if (this.form.coloaderCnName == e.cnName) {
 | 
	
		
			
				|  |  | -                            this.form.coloaderCnName = this.form.coloaderCnName + ' - ' + e.code
 | 
	
		
			
				|  |  | -                        }
 | 
	
		
			
				|  |  | -                    })
 | 
	
		
			
				|  |  | -                    // this.form.coloaderCnName = this.form.coloaderCnName + ' - ' + res.data.data.records[0].code
 | 
	
		
			
				|  |  | -                })
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 船公司
 | 
	
		
			
				|  |  | -            if (this.form.carrierCnName) {
 | 
	
		
			
				|  |  | -                let corpTypeName = '船公司'
 | 
	
		
			
				|  |  | -                getBcorpslistByType(1, 10, { cnName: this.form.carrierCnName, status: 0, corpTypeName }).then(res => {
 | 
	
		
			
				|  |  | -                    res.data.data.records.forEach(e => {
 | 
	
		
			
				|  |  | -                        if (this.form.carrierCnName == e.cnName) {
 | 
	
		
			
				|  |  | -                            this.form.carrierCnName = this.form.carrierCnName + ' - ' + e.code
 | 
	
		
			
				|  |  | -                        }
 | 
	
		
			
				|  |  | -                    })
 | 
	
		
			
				|  |  | -                    // this.form.carrierCnName = this.form.carrierCnName + ' - ' + res.data.data.records[0].code
 | 
	
		
			
				|  |  | -                })
 | 
	
		
			
				|  |  | -                // this.form.carrierCnName = this.form.carrierCnName + ' - ' + this.form.carrierCode
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 收货地
 | 
	
		
			
				|  |  | -            if (this.form.placeReceiptName) {
 | 
	
		
			
				|  |  | -                this.form.placeReceiptName = this.form.placeReceiptName + ' - ' + this.form.placeReceiptCode
 | 
	
		
			
				|  |  | -                this.form.placeReceiptNamePrint = this.form.placeReceiptNamePrint + ' - ' + this.form.placeReceiptCode
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 装货港
 | 
	
		
			
				|  |  | -            if (this.form.polEnName) {
 | 
	
		
			
				|  |  | -                this.form.polEnName = this.form.polEnName + ' - ' + this.form.polCode
 | 
	
		
			
				|  |  | -                this.form.polNamePrint = this.form.polNamePrint + ' - ' + this.form.polCode
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 卸货港
 | 
	
		
			
				|  |  | -            if (this.form.podEnName) {
 | 
	
		
			
				|  |  | -                this.form.podEnName = this.form.podEnName + ' - ' + this.form.podCode
 | 
	
		
			
				|  |  | -                this.form.podNamePrint = this.form.podNamePrint + ' - ' + this.form.podCode
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 目的地
 | 
	
		
			
				|  |  | -            if (this.form.destinationName) {
 | 
	
		
			
				|  |  | -                this.form.destinationName = this.form.destinationName + ' - ' + this.form.destinationCode
 | 
	
		
			
				|  |  | -                this.form.destinationNamePrint = this.form.destinationNamePrint + ' - ' + this.form.destinationCode
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 交货地
 | 
	
		
			
				|  |  | -            if (this.form.placeDeliveryName) {
 | 
	
		
			
				|  |  | -                this.form.placeDeliveryName = this.form.placeDeliveryName + ' - ' + this.form.placeDeliveryCode
 | 
	
		
			
				|  |  | -                this.form.placeDeliveryNamePrint = this.form.placeDeliveryNamePrint + ' - ' + this.form.placeDeliveryCode
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 中转港
 | 
	
		
			
				|  |  | -            if (this.form.potEnName) {
 | 
	
		
			
				|  |  | -                this.form.potEnName = this.form.potEnName + ' - ' + this.form.potCode
 | 
	
		
			
				|  |  | -                this.form.potNamePrint = this.form.potNamePrint + ' - ' + this.form.potCode
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 船名
 | 
	
		
			
				|  |  | -            if (this.form.vesselCnName) {
 | 
	
		
			
				|  |  | -                getBvesselsList(1, 10, { cnName: this.form.vesselCnName }).then(res => {
 | 
	
		
			
				|  |  | -                    // this.form.vesselCnName = this.form.vesselCnName + ' - ' + res.data.data.records[0].code
 | 
	
		
			
				|  |  | -                    res.data.data.records.forEach(e => {
 | 
	
		
			
				|  |  | -                        if (this.form.vesselCnName == e.cnName) {
 | 
	
		
			
				|  |  | -                            this.form.vesselCnName = this.form.vesselCnName + ' - ' + e.code
 | 
	
		
			
				|  |  | -                        }
 | 
	
		
			
				|  |  | -                    })
 | 
	
		
			
				|  |  | -                })
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            // 客户名称
 | 
	
		
			
				|  |  | -            if (this.form.corpCnName) {
 | 
	
		
			
				|  |  | -                getBcorpslistByType(1, 10, { cnName: this.form.corpCnName }).then(res => {
 | 
	
		
			
				|  |  | -                    res.data.data.records.forEach(e => {
 | 
	
		
			
				|  |  | -                        if (this.form.corpCnName == e.cnName) {
 | 
	
		
			
				|  |  | -                            this.form.corpCnName = this.form.corpCnName + ' - ' + e.shortName
 | 
	
		
			
				|  |  | -                        }
 | 
	
		
			
				|  |  | -                    })
 | 
	
		
			
				|  |  | -                    this.oldForm = this.deepClone(this.form);
 | 
	
		
			
				|  |  | -                })
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -        },
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -2239,7 +2077,7 @@ export default {
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  ::v-deep .el-tabs__header {
 | 
	
		
			
				|  |  | -    margin: 0 0 5px;
 | 
	
		
			
				|  |  | +    margin: 0 05px;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  .isShow {
 |