| 
					
				 | 
			
			
				@@ -303,7 +303,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             >对账</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-button type="primary" size="small" @click="confirmReconciliation" :disabled="notChange" v-if="queryParams.fBillstatus < '4'">确认对账</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-button type="success" size="small" @click="backrRconciliation" v-if="queryParams.fBillstatus === '6'">撤销对账</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-button type="info" size="small" @click="printing" :disabled="notChange">打印</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button type="info" size="small" @click="printing">打印</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-button type="danger" size="small" :disabled="disappear" v-if="queryParams.fBillstatus === '4'" @click="backApproval">撤销审批</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -519,8 +519,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-table 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             v-loading="loading" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             :data="feeList" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ref="feeList" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             show-summary 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            :summary-method="getSummaries" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            :summary-method="getSum" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             @selection-change="handleSelectionChange_s" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-table-column type="selection" width="55" align="center" /> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -645,6 +646,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   data() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // 总条数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      total: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      totAL:0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      Ttime:0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       colseButton:true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       approval:[], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       disappear:false, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -676,8 +681,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       multiple: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 显示搜索条件 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       showSearch: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // 总条数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      total: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 财务数据主表格数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       feeList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 客户(客户数据) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -811,7 +814,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 审批跳转 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     Jump(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.approval = this.$route.query.data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      console.log(this.approval) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if(this.approval){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.colseButton = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.approval = JSON.parse(this.approval) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -890,7 +892,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         billId:this.queryParams.fId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       RevocationApproval(data).then(response => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log(response) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.msgSuccess("撤销审批成功") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.disappear = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.open = false 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -908,7 +909,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 审批按钮 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     goApproval(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.addOrUpdateVisib = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      console.log(this.approval) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$nextTick(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$refs.ApprovalComments.init(this.queryParams.fId,this.contrastId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -984,21 +984,24 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 对账按钮功能 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     reconciliation(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.TWareHouseFees.fToCorpid = this.queryParams.fCorpid 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.queryParameter = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        fToCorpid: this.queryParams.fCorpid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.innerVisible = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.feeList = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.TWareHouseFees = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        fCorpid:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          fToCorpid:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          fMblno:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          fStatementNo:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          fFeeid :'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          timeExamine:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          timeInterval:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          fDc:'D', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          fReconciliation:'0', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          timeReconci:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // this.TWareHouseFees.fToCorpid = this.queryParams.fCorpid 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // this.TWareHouseFees = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   fCorpid:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     fToCorpid:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     fMblno:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     fStatementNo:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     fFeeid :'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     timeExamine:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     timeInterval:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     fDc:'D', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     fReconciliation:'0', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     timeReconci:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 默认录入人 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     register() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1012,38 +1015,132 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // console.log(response.user.userName) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    getSummaries(param) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      const { columns, data } = param; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // 合计 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    getSum(param){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const {columns,data} = param; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const sums = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       columns.forEach((column, index) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        const values = data.map(item => Number(item[column.property])); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (!values.every(value => isNaN(value))) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          sums[index] = values.reduce((prev, curr) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            const value = Number(curr); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (!isNaN(value)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              return prev + curr; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              return prev; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          }, 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          sums[0] = '合计'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          sums[4] = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          // this.pass.fAmtdr = sums[9] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          // this.pass.fAmtcr = sums[10] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sums[0] = '合计' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sums[10] = this.totAL.toFixed(2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sums[9] = this.Ttime.toFixed(2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return sums; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      console.log(sums) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // 导入多选框 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    handleSelectionChange_s(selection) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.totAL = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.Ttime = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.selection = selection 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if(this.selection.length == 0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        for (let item in this.feeList){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.totAL += Number(this.feeList[item].fAmt) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          console.log(this.feeList[item].fAmt) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.Ttime += Number(this.feeList[item].fAmtdr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        for (let index in selection){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.totAL += Number(selection[index].fAmt) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.Ttime += Number(selection[index].fAmtdr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // 多选框选中数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    handleSelectionChange(selection) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.totAL = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.ids = selection.map(item => item.fId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.single = selection.length !== 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.multiple = !selection.length 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        // 金额筛选 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       imgChangeI(row){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    imgChangeI(row){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (row.fAmt && Number(row.fAmt) > Number(row.fAmtdr)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$set(row, 'fAmt', row.fAmtdr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.state_s = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (this.selection.length !== 0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.totAL = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.Ttime = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        for (let item in this.selection){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.totAL += Number(this.selection[item].fAmt) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.Ttime += Number(this.selection[item].fAmtdr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.totAL = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.Ttime = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        for (let item in this.feeList){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.totAL += Number(this.feeList[item].fAmt) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.Ttime += Number(this.feeList[item].fAmtdr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    /* 添加财务数据主 导入*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    confirmImport(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.hide = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.pass.fAmtdr = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.pass.fAmtcr = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      for (let item in this.selection) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.pass.fAmtcr = Number(this.pass.fAmtcr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.pass.fAmtdr = Number(this.pass.fAmtdr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.pass.fAmtcr += Number(this.selection[item].fAmt.toFixed(2)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.pass.fAmtdr += Number(this.selection[item].fAmtdr.toFixed(2)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      console.log(this.pass.fAmtdr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      console.log(this.pass.fAmtcr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if(this.state_s == true) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (this.selection.length == '0') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.$message.error('未选择导入行'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          for (let item in this.selection){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.empty.push(this.selection[item].fMblno) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.nothing.push(this.selection[item].fName) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          //去重提单号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          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.selection) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          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:'1', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            timeReconci: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            fDc:'D' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }else if(this.state_s == false){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$message.error('本次金额不能大于原定金额'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // imgChangeI(fAmtdr,fAmt){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //   if (fAmt <= fAmtdr){ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1057,11 +1154,17 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 导入搜索 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     searchFee() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // this.feeList = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.feeList = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$refs['feeListRules'].validate(valid => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (valid){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           importFee(this.TWareHouseFees).then(response =>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.feeList = response.rows 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.totAL = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.Ttime = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for (let item in this.feeList){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.totAL += Number(this.feeList[item].fAmt) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.Ttime += Number(this.feeList[item].fAmtdr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1178,7 +1281,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         fStatementNo: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         fFeeid: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         timeExamine: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        timeInterval: '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        timeInterval: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        fDc:'D', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        fReconciliation:'0' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 多选框选中数据 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1187,10 +1292,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //   this.single = selection.length!==1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //   this.multiple = !selection.length 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    // 导入多选框 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    handleSelectionChange_s(selection) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.selection = selection 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // handleSelectionChanGe(selection){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //   if(selection.length > 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //     this.statrGo = false 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1232,34 +1334,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         createBy: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         timeReconci: null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // queryUserVal().then((response)=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // this.contrastList.createBy = response.user.userName 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // console.log(response.user.userName) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // this.queryParams = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   pageNum: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   pageSize: 10, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   fBillno: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   fCtrlcorpid: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   fCorpid: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   tMblno: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   fAmtdr: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   fId:null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   fAmtcr: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   fBilltype: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   fBillstatus: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   fRemarks: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   fAccbilldate: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   fDeptid: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   createBy: response.user.userName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      //   timeReconci: null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    // register(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //   queryUserVal().then((response)=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //     this.Lander = response.user.userName 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //   }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    // }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 查看按钮 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     check(row,res) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.notChange = true 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1392,97 +1467,14 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    // // 多选框选中数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    handleSelectionChange(selection) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.ids = selection.map(item => item.fId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.single = selection.length !== 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.multiple = !selection.length 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    /* 添加财务数据主 导入*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    confirmImport(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.hide = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      for (let item in this.selection) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.pass.fAmtcr = Number(this.pass.fAmtcr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.pass.fAmtdr = Number(this.pass.fAmtdr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.pass.fAmtcr += Number(this.selection[item].fAmt) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.pass.fAmtdr += Number(this.selection[item].fAmtdr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if(this.state_s == true) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (this.selection.length == '0') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          console.log('未选择')//写入提示 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.$message.error('未选择导入行'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          for (let item in this.selection){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.empty.push(this.selection[item].fMblno) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.nothing.push(this.selection[item].fName) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          //去重提单号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          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] + "..." 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          // if (this.nothing.length <= 1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          //   this.pass.fCorpid = this.nothing[0] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          //   console.log(this.nothing) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          // }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          //   this.pass.fCorpid = this.nothing[0] + "..." 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          //   console.log(this.nothing) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.DzfeeList = this.DzfeeList.concat(this.selection) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.queryParams.tMblno = this.pass.fMblno //提单号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // this.queryParams.fCorpid = this.pass.fFeesName 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.queryParams.fCorpid = this.TWareHouseFees.fToCorpid 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.queryParams.fCtrlcorpid = this.pass.fName 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log(this.queryParams.fCorpid) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log(this.pass) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.queryParams.fAmtcr = this.pass.fAmtcr 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.queryParams.fAmtdr = this.pass.fAmtdr 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log(this.pass) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log(this.queryParams) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log(this.DzfeeList) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.innerVisible = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.feeList = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //  this.feeList = this.DzfeeList 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.TWareHouseFees = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          fCorpid:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          fToCorpid:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          fMblno:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          fStatementNo:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          fFeeid :'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          timeExamine:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          timeInterval:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          fSrcdc:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          fReconciliation:'1', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          timeReconci: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          fDc:'D' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    }else if(this.state_s == false){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      this.$message.error('本次金额不能大于原定金额'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 删除按钮操作 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     handleDelete(row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const fIds = row.fId || this.ids; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let tips = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       detailFee(fIds).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log(res.msg) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         switch (res.msg) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           case '0':{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.$message.error("当前数据已被其他操作员操作,请刷新页面") 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1501,7 +1493,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            default:{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              return this.$message.error("未知错误,无状态") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1525,10 +1516,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let queryParams = { pageNum: 1, pageSize: 10, fName: name }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       listFees(queryParams).then((response) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log(response) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log("1111") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        this.fWbuOptions = response.rows 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log(this.fWbuOptions) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1551,7 +1539,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.queryParams.fAmtcr = 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       rows.splice(index, 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       for(let item in this.DzfeeList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log(this.DzfeeList[item]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.queryParams.fAmtcr = this.DzfeeList[item].fAmt 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.queryParams.fAmtdr = this.DzfeeList[item].fAmtdr 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 |