|  | @@ -332,6 +332,8 @@
 | 
	
		
			
				|  |  |          <el-table-column label="数量" align="center" prop="fQty" />
 | 
	
		
			
				|  |  |          <el-table-column label="单价" align="center" prop="fUnitprice" />
 | 
	
		
			
				|  |  |          <el-table-column label="本次金额" align="center" prop="fAmt" />
 | 
	
		
			
				|  |  | +        <el-table-column label="业务类型" align="center" prop="fAmt" />
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          <el-table-column label="业务类型" align="center" prop="fBilltype">
 | 
	
		
			
				|  |  |            <template slot-scope="scope">
 | 
	
		
			
				|  |  |              <span v-if="scope.row.fBilltype == 'SJRK'">入库</span>
 | 
	
	
		
			
				|  | @@ -1168,10 +1170,51 @@ export default {
 | 
	
		
			
				|  |  |              this.nothing.push(this.selection[item].fName)
 | 
	
		
			
				|  |  |              if(this.DzfeeList.length === 0) {
 | 
	
		
			
				|  |  |                  this.DzfeeList = this.DzfeeList.concat(this.selection)
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +              //去重提单号
 | 
	
		
			
				|  |  | +              this.empty = new Set(this.empty)
 | 
	
		
			
				|  |  | +              this.empty = Array.from(this.empty)
 | 
	
		
			
				|  |  | +              //去重货权方
 | 
	
		
			
				|  |  | +              this.nothing = new Set(this.nothing)
 | 
	
		
			
				|  |  | +              this.nothing = Array.from(this.nothing)
 | 
	
		
			
				|  |  | +              if(this.empty.length <= 1){
 | 
	
		
			
				|  |  | +                this.pass.fMblno = this.empty[0]
 | 
	
		
			
				|  |  | +              }else {
 | 
	
		
			
				|  |  | +                this.pass.fMblno = this.empty[0] + "..."
 | 
	
		
			
				|  |  | +              }
 | 
	
		
			
				|  |  | +              if (this.nothing.length <= 1){
 | 
	
		
			
				|  |  | +                this.pass.fName = this.nothing[0]
 | 
	
		
			
				|  |  | +              }else {
 | 
	
		
			
				|  |  | +                this.pass.fName = this.nothing[0] + "..."
 | 
	
		
			
				|  |  | +              }
 | 
	
		
			
				|  |  | +              // this.DzfeeList = this.DzfeeList.concat(this.Fee)
 | 
	
		
			
				|  |  | +              this.queryParams.tMblno = this.pass.fMblno //提单号
 | 
	
		
			
				|  |  | +              this.queryParams.fCorpid = this.TWareHouseFees.fToCorpid
 | 
	
		
			
				|  |  | +              this.queryParams.fCtrlcorpid = this.pass.fName
 | 
	
		
			
				|  |  | +              this.queryParams.fAmtcr = this.pass.fAmtcr
 | 
	
		
			
				|  |  | +              this.queryParams.fAmtdr = this.pass.fAmtdr
 | 
	
		
			
				|  |  | +              this.innerVisible = false
 | 
	
		
			
				|  |  | +              this.feeList = []
 | 
	
		
			
				|  |  | +              //  this.feeList = this.DzfeeList
 | 
	
		
			
				|  |  | +              this.TWareHouseFees = {
 | 
	
		
			
				|  |  | +                fCorpid:'',
 | 
	
		
			
				|  |  | +                fToCorpid:'',
 | 
	
		
			
				|  |  | +                fMblno:'',
 | 
	
		
			
				|  |  | +                fStatementNo:'',
 | 
	
		
			
				|  |  | +                fFeeid :'',
 | 
	
		
			
				|  |  | +                timeExamine:'',
 | 
	
		
			
				|  |  | +                timeInterval:'',
 | 
	
		
			
				|  |  | +                fSrcdc:'',
 | 
	
		
			
				|  |  | +                fReconciliation:'0',
 | 
	
		
			
				|  |  | +                timeReconci: '',
 | 
	
		
			
				|  |  | +                fDc:'D'
 | 
	
		
			
				|  |  | +              }
 | 
	
		
			
				|  |  | +              return
 | 
	
		
			
				|  |  |              }else{
 | 
	
		
			
				|  |  |                for(let li in this.DzfeeList){
 | 
	
		
			
				|  |  |                  if(this.selection[item].fSrcid !== this.DzfeeList[li].fSrcid){
 | 
	
		
			
				|  |  |                    this.Fee = this.DzfeeList.concat(this.selection)
 | 
	
		
			
				|  |  | +                  console.log(this.Fee)
 | 
	
		
			
				|  |  |                    let result = [];
 | 
	
		
			
				|  |  |                    let obj = {};
 | 
	
		
			
				|  |  |                    for(let lis in this.Fee){
 | 
	
	
		
			
				|  | @@ -1180,51 +1223,53 @@ export default {
 | 
	
		
			
				|  |  |                        obj[this.Fee[lis].fSrcid] = true;
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                    }
 | 
	
		
			
				|  |  | +                  //去重提单号
 | 
	
		
			
				|  |  | +                  this.empty = new Set(this.empty)
 | 
	
		
			
				|  |  | +                  this.empty = Array.from(this.empty)
 | 
	
		
			
				|  |  | +                  //去重货权方
 | 
	
		
			
				|  |  | +                  this.nothing = new Set(this.nothing)
 | 
	
		
			
				|  |  | +                  this.nothing = Array.from(this.nothing)
 | 
	
		
			
				|  |  | +                  if(this.empty.length <= 1){
 | 
	
		
			
				|  |  | +                    this.pass.fMblno = this.empty[0]
 | 
	
		
			
				|  |  | +                  }else {
 | 
	
		
			
				|  |  | +                    this.pass.fMblno = this.empty[0] + "..."
 | 
	
		
			
				|  |  | +                  }
 | 
	
		
			
				|  |  | +                  if (this.nothing.length <= 1){
 | 
	
		
			
				|  |  | +                    this.pass.fName = this.nothing[0]
 | 
	
		
			
				|  |  | +                  }else {
 | 
	
		
			
				|  |  | +                    this.pass.fName = this.nothing[0] + "..."
 | 
	
		
			
				|  |  | +                  }
 | 
	
		
			
				|  |  | +                  // this.DzfeeList = this.DzfeeList.concat(this.Fee)
 | 
	
		
			
				|  |  | +                  this.queryParams.tMblno = this.pass.fMblno //提单号
 | 
	
		
			
				|  |  | +                  this.queryParams.fCorpid = this.TWareHouseFees.fToCorpid
 | 
	
		
			
				|  |  | +                  this.queryParams.fCtrlcorpid = this.pass.fName
 | 
	
		
			
				|  |  | +                  this.queryParams.fAmtcr = this.pass.fAmtcr
 | 
	
		
			
				|  |  | +                  this.queryParams.fAmtdr = this.pass.fAmtdr
 | 
	
		
			
				|  |  | +                  this.innerVisible = false
 | 
	
		
			
				|  |  | +                  this.feeList = []
 | 
	
		
			
				|  |  | +                  //  this.feeList = this.DzfeeList
 | 
	
		
			
				|  |  | +                  this.TWareHouseFees = {
 | 
	
		
			
				|  |  | +                    fCorpid:'',
 | 
	
		
			
				|  |  | +                    fToCorpid:'',
 | 
	
		
			
				|  |  | +                    fMblno:'',
 | 
	
		
			
				|  |  | +                    fStatementNo:'',
 | 
	
		
			
				|  |  | +                    fFeeid :'',
 | 
	
		
			
				|  |  | +                    timeExamine:'',
 | 
	
		
			
				|  |  | +                    timeInterval:'',
 | 
	
		
			
				|  |  | +                    fSrcdc:'',
 | 
	
		
			
				|  |  | +                    fReconciliation:'0',
 | 
	
		
			
				|  |  | +                    timeReconci: '',
 | 
	
		
			
				|  |  | +                    fDc:'D'
 | 
	
		
			
				|  |  | +                  }
 | 
	
		
			
				|  |  |                    this.DzfeeList = result
 | 
	
		
			
				|  |  |                  }else{
 | 
	
		
			
				|  |  | -                  this.$message.error("从表已存在无法导入")
 | 
	
		
			
				|  |  | +                  let i = Number(item)+1
 | 
	
		
			
				|  |  | +                  this.$message.error('行号为'+ i +'重复')
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |                }
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  | -          //去重提单号
 | 
	
		
			
				|  |  | -          this.empty = new Set(this.empty)
 | 
	
		
			
				|  |  | -          this.empty = Array.from(this.empty)
 | 
	
		
			
				|  |  | -          //去重货权方
 | 
	
		
			
				|  |  | -          this.nothing = new Set(this.nothing)
 | 
	
		
			
				|  |  | -          this.nothing = Array.from(this.nothing)
 | 
	
		
			
				|  |  | -          if(this.empty.length <= 1){
 | 
	
		
			
				|  |  | -            this.pass.fMblno = this.empty[0]
 | 
	
		
			
				|  |  | -          }else {
 | 
	
		
			
				|  |  | -            this.pass.fMblno = this.empty[0] + "..."
 | 
	
		
			
				|  |  | -          }
 | 
	
		
			
				|  |  | -          if (this.nothing.length <= 1){
 | 
	
		
			
				|  |  | -            this.pass.fName = this.nothing[0]
 | 
	
		
			
				|  |  | -          }else {
 | 
	
		
			
				|  |  | -            this.pass.fName = this.nothing[0] + "..."
 | 
	
		
			
				|  |  | -          }
 | 
	
		
			
				|  |  | -          // this.DzfeeList = this.DzfeeList.concat(this.Fee)
 | 
	
		
			
				|  |  | -          this.queryParams.tMblno = this.pass.fMblno //提单号
 | 
	
		
			
				|  |  | -          this.queryParams.fCorpid = this.TWareHouseFees.fToCorpid
 | 
	
		
			
				|  |  | -          this.queryParams.fCtrlcorpid = this.pass.fName
 | 
	
		
			
				|  |  | -          this.queryParams.fAmtcr = this.pass.fAmtcr
 | 
	
		
			
				|  |  | -          this.queryParams.fAmtdr = this.pass.fAmtdr
 | 
	
		
			
				|  |  | -          this.innerVisible = false
 | 
	
		
			
				|  |  | -          this.feeList = []
 | 
	
		
			
				|  |  | -          //  this.feeList = this.DzfeeList
 | 
	
		
			
				|  |  | -          this.TWareHouseFees = {
 | 
	
		
			
				|  |  | -            fCorpid:'',
 | 
	
		
			
				|  |  | -            fToCorpid:'',
 | 
	
		
			
				|  |  | -            fMblno:'',
 | 
	
		
			
				|  |  | -            fStatementNo:'',
 | 
	
		
			
				|  |  | -            fFeeid :'',
 | 
	
		
			
				|  |  | -            timeExamine:'',
 | 
	
		
			
				|  |  | -            timeInterval:'',
 | 
	
		
			
				|  |  | -            fSrcdc:'',
 | 
	
		
			
				|  |  | -            fReconciliation:'0',
 | 
	
		
			
				|  |  | -            timeReconci: '',
 | 
	
		
			
				|  |  | -            fDc:'D'
 | 
	
		
			
				|  |  | -          }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        }else if(this.state_s == false){
 | 
	
		
			
				|  |  |          this.$message.error('本次金额不能大于原定金额');
 | 
	
	
		
			
				|  | @@ -1542,6 +1587,7 @@ export default {
 | 
	
		
			
				|  |  |              formData.append('tFee', JSON.stringify(this.queryParams))
 | 
	
		
			
				|  |  |              formData.append('tFeeDo', JSON.stringify(this.DzfeeList))
 | 
	
		
			
				|  |  |              updateFee(formData).then(response => {
 | 
	
		
			
				|  |  | +              console.log(response)
 | 
	
		
			
				|  |  |                this.queryParams = response.data.tFee
 | 
	
		
			
				|  |  |                this.msgSuccess('新增成功')
 | 
	
		
			
				|  |  |                // this.DzfeeList = []
 |