|  | @@ -706,7 +706,7 @@ import {
 | 
	
		
			
				|  |  |              },
 | 
	
		
			
				|  |  |              // 收货地 起运港 当前登录人的默认
 | 
	
		
			
				|  |  |              deptGetDetailPolfun(){
 | 
	
		
			
				|  |  | -                deptGetDetailPol(this.saberUserInfo.dept_id).then(res=>{
 | 
	
		
			
				|  |  | +                deptGetDetailPol(this.saberUserInfo.dept_pid.split(',')[0]).then(res=>{
 | 
	
		
			
				|  |  |                      // 目的地
 | 
	
		
			
				|  |  |                      this.form.destinationName = res.data.data.polEnName
 | 
	
		
			
				|  |  |                      this.form.destinationId = res.data.data.polId
 | 
	
	
		
			
				|  | @@ -802,7 +802,7 @@ import {
 | 
	
		
			
				|  |  |              },
 | 
	
		
			
				|  |  |              // 获取业务来源业务员数据
 | 
	
		
			
				|  |  |              salesUserGetListfun(account){
 | 
	
		
			
				|  |  | -                userGetList(1,10,{account}).then(res=>{
 | 
	
		
			
				|  |  | +                userGetList(1,10,{account},this.saberUserInfo.dept_pid.split(',')[0]).then(res=>{
 | 
	
		
			
				|  |  |                      this.columnforfun('srcCnName').dicData = res.data.data.records
 | 
	
		
			
				|  |  |                  })
 | 
	
		
			
				|  |  |              },
 | 
	
	
		
			
				|  | @@ -816,6 +816,11 @@ import {
 | 
	
		
			
				|  |  |              postSelectByUserfun(){
 | 
	
		
			
				|  |  |                  postSelectByUser(JSON.parse(localStorage.getItem("saber-userInfo")).content.user_id).then(res=>{
 | 
	
		
			
				|  |  |                      this.columnforfun('teamId').dicData = res.data.data
 | 
	
		
			
				|  |  | +                    // 判断是否有值,没有的话默认第一个
 | 
	
		
			
				|  |  | +                    if (!this.form.teamId) {
 | 
	
		
			
				|  |  | +                        this.$set(this.form,'teamId',res.data.data[0].id)
 | 
	
		
			
				|  |  | +                        this.$set(this.form,'teamName',res.data.data[0].postName)
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  |                  })
 | 
	
		
			
				|  |  |              },
 | 
	
		
			
				|  |  |              // 获取公司名称 用户管理左侧
 | 
	
	
		
			
				|  | @@ -824,7 +829,7 @@ import {
 | 
	
		
			
				|  |  |                      this.columnforfun('srcCnName').dicData = res.data.data
 | 
	
		
			
				|  |  |                      // 来源 内容 默认登录人所属公司
 | 
	
		
			
				|  |  |                      for(let item of this.columnforfun('srcCnName').dicData) {
 | 
	
		
			
				|  |  | -                        if (item.id == JSON.parse(localStorage.getItem('saber-userInfo')).content.dept_id) {
 | 
	
		
			
				|  |  | +                        if (item.id == JSON.parse(localStorage.getItem('saber-userInfo')).content.dept_pid.split(',')[0]) {
 | 
	
		
			
				|  |  |                              this.$set(this.form,'srcId',item.id)
 | 
	
		
			
				|  |  |                              this.$set(this.form,'srcCnName',item.title)
 | 
	
		
			
				|  |  |                              this.$set(this.form,'srcEnName',item.title)
 | 
	
	
		
			
				|  | @@ -1298,7 +1303,9 @@ import {
 | 
	
		
			
				|  |  |                  // 把拼接的数据拆开 开始 🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒🐒
 | 
	
		
			
				|  |  |                  this.searchSplit()
 | 
	
		
			
				|  |  |                  // 把拼接的数据拆开 结束 💩💩💩💩💩💩💩💩💩💩💩💩💩💩
 | 
	
		
			
				|  |  | +                console.log(this.comprehensiveForm,1306)
 | 
	
		
			
				|  |  |                  console.log(Object.values(this.comprehensiveForm).join(','),1257)
 | 
	
		
			
				|  |  | +                return
 | 
	
		
			
				|  |  |                  // 多选集合转换成字符串赋值
 | 
	
		
			
				|  |  |                  this.form.comprehensive = Object.values(this.comprehensiveForm).join(',')
 | 
	
		
			
				|  |  |                  // 费用 收 赋值数据
 | 
	
	
		
			
				|  | @@ -1484,23 +1491,23 @@ import {
 | 
	
		
			
				|  |  |                  // }
 | 
	
		
			
				|  |  |                  // 把字符串集合转换一下
 | 
	
		
			
				|  |  |                  // 是否随机
 | 
	
		
			
				|  |  | -                this.comprehensiveForm.random = this.form.comprehensive.split(',').indexOf('随机') != -1?'随机':null
 | 
	
		
			
				|  |  | +                this.$set(this.comprehensiveForm,'random',this.form.comprehensive.split(',').indexOf('随机') != -1?'随机':null)
 | 
	
		
			
				|  |  |                  // 合同
 | 
	
		
			
				|  |  | -                this.comprehensiveForm.contract = this.form.comprehensive.split(',').indexOf('合同') != -1?'合同':null
 | 
	
		
			
				|  |  | +                this.$set(this.comprehensiveForm,'contract',this.form.comprehensive.split(',').indexOf('合同') != -1?'合同':null)
 | 
	
		
			
				|  |  |                  // 发票
 | 
	
		
			
				|  |  | -                this.comprehensiveForm.invoice = this.form.comprehensive.split(',').indexOf('发票') != -1?'发票':null
 | 
	
		
			
				|  |  | +                this.$set(this.comprehensiveForm,'invoice',this.form.comprehensive.split(',').indexOf('发票') != -1?'发票':null)
 | 
	
		
			
				|  |  |                  // 装箱单
 | 
	
		
			
				|  |  | -                this.comprehensiveForm.Packing = this.form.comprehensive.split(',').indexOf('装箱单') != -1?'装箱单':null
 | 
	
		
			
				|  |  | +                this.$set(this.comprehensiveForm,'Packing',this.form.comprehensive.split(',').indexOf('装箱单') != -1?'装箱单':null)
 | 
	
		
			
				|  |  |                  // 配额证
 | 
	
		
			
				|  |  | -                this.comprehensiveForm.quota = this.form.comprehensive.split(',').indexOf('配额证') != -1?'配额证':null
 | 
	
		
			
				|  |  | +                this.$set(this.comprehensiveForm,'quota',this.form.comprehensive.split(',').indexOf('配额证') != -1?'配额证':null)
 | 
	
		
			
				|  |  |                  // 许可证
 | 
	
		
			
				|  |  | -                this.comprehensiveForm.license = this.form.comprehensive.split(',').indexOf('许可证') != -1?'许可证':null
 | 
	
		
			
				|  |  | +                this.$set(this.comprehensiveForm,'license',this.form.comprehensive.split(',').indexOf('许可证') != -1?'许可证':null)
 | 
	
		
			
				|  |  |                  // 产地证
 | 
	
		
			
				|  |  | -                this.comprehensiveForm.producer = this.form.comprehensive.split(',').indexOf('产地证') != -1?'产地证':null
 | 
	
		
			
				|  |  | +                this.$set(this.comprehensiveForm,'producer',this.form.comprehensive.split(',').indexOf('产地证') != -1?'产地证':null)
 | 
	
		
			
				|  |  |                  // 手册
 | 
	
		
			
				|  |  | -                this.comprehensiveForm.manual = this.form.comprehensive.split(',').indexOf('手册') != -1?'手册':null
 | 
	
		
			
				|  |  | +                this.$set(this.comprehensiveForm,'manual',this.form.comprehensive.split(',').indexOf('手册') != -1?'手册':null)
 | 
	
		
			
				|  |  |                  // 核销单
 | 
	
		
			
				|  |  | -                this.comprehensiveForm.writeoffDoc = this.form.comprehensive.split(',').indexOf('核销单') != -1?'核销单':null
 | 
	
		
			
				|  |  | +                this.$set(this.comprehensiveForm,'writeoffDoc',this.form.comprehensive.split(',').indexOf('核销单') != -1?'核销单':null)
 | 
	
		
			
				|  |  |                  if (this.form.status == 1 || this.form.status == 2 || this.form.status == 3) {
 | 
	
		
			
				|  |  |                      this.columnforfun('corpCnName').disabled = true
 | 
	
		
			
				|  |  |                      this.columnforfun('srcType').disabled = true
 |