|  | @@ -267,7 +267,7 @@
 | 
	
		
			
				|  |  |                                      <el-checkbox v-model="appendType" :disabled="editSave"
 | 
	
		
			
				|  |  |                                                   false-label="检索" true-label="追加">追加</el-checkbox>
 | 
	
		
			
				|  |  |                                      <el-button  size="small" type="primary"  style="margin-right: 8px" :disabled="editSave"
 | 
	
		
			
				|  |  | -                                                :loading="saveLoading" @click="finstlbillslistAccBillV1fun(appendType)" >检 索
 | 
	
		
			
				|  |  | +                                                :loading="saveLoading" @click="retrievalfun" >检 索
 | 
	
		
			
				|  |  |                                      </el-button>
 | 
	
		
			
				|  |  |                                  </div>
 | 
	
		
			
				|  |  |                              </el-col>
 | 
	
	
		
			
				|  | @@ -298,6 +298,7 @@
 | 
	
		
			
				|  |  |                      <el-button style="margin-left: 10px" :disabled="editSave" size="small" type="primary" @click="invoiceMatchingfun()" >匹配金额</el-button>
 | 
	
		
			
				|  |  |                  </div>
 | 
	
		
			
				|  |  |                  <finstlbillsitems ref="finstlbillsitems"
 | 
	
		
			
				|  |  | +                                  :form="form"
 | 
	
		
			
				|  |  |                                    :tableData="tableData"
 | 
	
		
			
				|  |  |                                    :editSave="editSave"
 | 
	
		
			
				|  |  |                                    :handleSelectionData="handleSelectionData"
 | 
	
	
		
			
				|  | @@ -348,6 +349,33 @@
 | 
	
		
			
				|  |  |          </el-card>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        <!--选择数据弹窗-->
 | 
	
		
			
				|  |  | +        <el-dialog
 | 
	
		
			
				|  |  | +            title="选择数据"
 | 
	
		
			
				|  |  | +            class="el-dialogDeep"
 | 
	
		
			
				|  |  | +            :visible.sync="retrievePopupsType"
 | 
	
		
			
				|  |  | +            append-to-body
 | 
	
		
			
				|  |  | +            width="70%"
 | 
	
		
			
				|  |  | +            :close-on-click-modal="false">
 | 
	
		
			
				|  |  | +            <div>
 | 
	
		
			
				|  |  | +                <avue-crud
 | 
	
		
			
				|  |  | +                    :option="retrievePopupsOption"
 | 
	
		
			
				|  |  | +                    :data="retrievePopupsData"
 | 
	
		
			
				|  |  | +                    ref="retrievePopupsRef"
 | 
	
		
			
				|  |  | +                    id="out-table">
 | 
	
		
			
				|  |  | +                    <template slot="menu" slot-scope="{ row }">
 | 
	
		
			
				|  |  | +                        <el-button
 | 
	
		
			
				|  |  | +                            type="text"
 | 
	
		
			
				|  |  | +                            icon=""
 | 
	
		
			
				|  |  | +                            size="small"
 | 
	
		
			
				|  |  | +                            @click.stop="retrievePopupsSelect(row)"
 | 
	
		
			
				|  |  | +                        >选择
 | 
	
		
			
				|  |  | +                        </el-button>
 | 
	
		
			
				|  |  | +                    </template>
 | 
	
		
			
				|  |  | +                </avue-crud>
 | 
	
		
			
				|  |  | +            </div>
 | 
	
		
			
				|  |  | +        </el-dialog>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          <!--设计报表弹窗-->
 | 
	
		
			
				|  |  |          <el-dialog append-to-body title="设计报表" class="el-dialogDeep" :visible.sync="DesignreportDialog" width="70%"
 | 
	
		
			
				|  |  |                     :close-on-click-modal="false" :destroy-on-close="true" :close-on-press-escape="false" v-dialog-drag>
 | 
	
	
		
			
				|  | @@ -383,7 +411,7 @@
 | 
	
		
			
				|  |  |      import {bcorpsbankList, getBcorpslistByType} from "@/api/iosBasicData/bcorps";
 | 
	
		
			
				|  |  |      import {
 | 
	
		
			
				|  |  |          finstlbillsConfirmSignFor,
 | 
	
		
			
				|  |  | -        finstlbillsDetail, finstlbillsGetByDetail, finstlbillsitemsRemove,
 | 
	
		
			
				|  |  | +        finstlbillsDetail, finstlbillsGetByDetail, finstlbillsitemsRemove, finstlbillslistAccBillByCorp,
 | 
	
		
			
				|  |  |          finstlbillslistAccBillV1,
 | 
	
		
			
				|  |  |          finstlbillsRevokeSignFor,
 | 
	
		
			
				|  |  |          finstlbillsSubmit, revokeSettlementApprove, settlementApprove
 | 
	
	
		
			
				|  | @@ -409,6 +437,34 @@
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  |          data(){
 | 
	
		
			
				|  |  |              return {
 | 
	
		
			
				|  |  | +                retrievePopupsType:false, // 弹窗开启关闭
 | 
	
		
			
				|  |  | +                retrievePopupsData:[], // 选择弹窗数据
 | 
	
		
			
				|  |  | +                retrievePopupsOption: {
 | 
	
		
			
				|  |  | +                    border: true,
 | 
	
		
			
				|  |  | +                    calcHeight: 30,
 | 
	
		
			
				|  |  | +                    tip: false,
 | 
	
		
			
				|  |  | +                    height: 'auto',
 | 
	
		
			
				|  |  | +                    index: true,
 | 
	
		
			
				|  |  | +                    addBtn: false,
 | 
	
		
			
				|  |  | +                    viewBtn: false,
 | 
	
		
			
				|  |  | +                    delBtn: false,
 | 
	
		
			
				|  |  | +                    editBtn: false,
 | 
	
		
			
				|  |  | +                    refreshBtn: false,
 | 
	
		
			
				|  |  | +                    columnBtn: false,
 | 
	
		
			
				|  |  | +                    menuWidth: '60',
 | 
	
		
			
				|  |  | +                    column: [
 | 
	
		
			
				|  |  | +                        {
 | 
	
		
			
				|  |  | +                            label: "客户中文名",
 | 
	
		
			
				|  |  | +                            prop: "cnName",
 | 
	
		
			
				|  |  | +                            overHidden: true,
 | 
	
		
			
				|  |  | +                        },
 | 
	
		
			
				|  |  | +                        {
 | 
	
		
			
				|  |  | +                            label: "客户英文文名",
 | 
	
		
			
				|  |  | +                            prop: "cnName",
 | 
	
		
			
				|  |  | +                            overHidden: true,
 | 
	
		
			
				|  |  | +                        },
 | 
	
		
			
				|  |  | +                    ]
 | 
	
		
			
				|  |  | +                },
 | 
	
		
			
				|  |  |                  invoiceAmountCNY:0, // 费用明细开票金额输入框CNY
 | 
	
		
			
				|  |  |                  invoiceAmountUSD:0, // 费用明细开票金额输入框USD
 | 
	
		
			
				|  |  |                  DesignreportDialog:false, // 设计报表弹窗
 | 
	
	
		
			
				|  | @@ -757,6 +813,7 @@
 | 
	
		
			
				|  |  |                              this.$set(item,'currentStlAmountNetUSD',item.currentStlAmountNet)
 | 
	
		
			
				|  |  |                              this.$set(item,'currentStlAmountUSD',item.currentStlAmount)
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  | +                        this.$set(item,'costDate',[])
 | 
	
		
			
				|  |  |                          return item
 | 
	
		
			
				|  |  |                      })
 | 
	
		
			
				|  |  |                      this.pageLoading = false
 | 
	
	
		
			
				|  | @@ -769,13 +826,56 @@
 | 
	
		
			
				|  |  |              ResetFilter(){
 | 
	
		
			
				|  |  |                  this.form = {}
 | 
	
		
			
				|  |  |              },
 | 
	
		
			
				|  |  | +            // 弹窗选择
 | 
	
		
			
				|  |  | +            retrievePopupsSelect(row){
 | 
	
		
			
				|  |  | +                // this.form = row
 | 
	
		
			
				|  |  | +                this.$set(this.form,'corpId',row.id)
 | 
	
		
			
				|  |  | +                this.$set(this.form,'corpCnName',row.cnName)
 | 
	
		
			
				|  |  | +                this.$set(this.form,'corpEnName',row.enName)
 | 
	
		
			
				|  |  | +                this.$set(this.form,'corpArgreementNo',row.enName)
 | 
	
		
			
				|  |  | +                this.retrievePopupsType = false
 | 
	
		
			
				|  |  | +                this.bcorpsbankListfun()
 | 
	
		
			
				|  |  | +                this.finstlbillslistAccBillV1fun(this.appendType)
 | 
	
		
			
				|  |  | +            },
 | 
	
		
			
				|  |  | +            // 检索
 | 
	
		
			
				|  |  | +            retrievalfun(){
 | 
	
		
			
				|  |  | +                // 判断是否有对账单位
 | 
	
		
			
				|  |  | +                if (!this.form.corpId && (this.form.businessNo || this.form.accountNo || this.form.hblno || this.form.mblno)) {
 | 
	
		
			
				|  |  | +                    console.log('新接口')
 | 
	
		
			
				|  |  | +                    this.finstlbillslistAccBillByCorpfun()
 | 
	
		
			
				|  |  | +                }else {
 | 
	
		
			
				|  |  | +                    if (!this.form.corpId) {
 | 
	
		
			
				|  |  | +                        return this.$message.warning('请填写对账单位')
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                    console.log('原来的接口')
 | 
	
		
			
				|  |  | +                    this.finstlbillslistAccBillV1fun(this.appendType)
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            },
 | 
	
		
			
				|  |  | +            // 检索弹窗数据
 | 
	
		
			
				|  |  | +            finstlbillslistAccBillByCorpfun(){
 | 
	
		
			
				|  |  | +                let obj = {}
 | 
	
		
			
				|  |  | +                obj.type = '2'
 | 
	
		
			
				|  |  | +                obj.curCode = this.form.curCode // 币别
 | 
	
		
			
				|  |  | +                obj.dc = this.form.dc // 收付 D=收 C=付
 | 
	
		
			
				|  |  | +                obj.accBillNo = this.form.accountNo // 账单编号  ACCT NO
 | 
	
		
			
				|  |  | +                obj.billNo = this.form.businessNo // 单据编号  JOB NO
 | 
	
		
			
				|  |  | +                obj.mblno = this.form.mblno // MB/L NO
 | 
	
		
			
				|  |  | +                obj.hblno = this.form.hblno // HB/L NO
 | 
	
		
			
				|  |  | +                obj.queryAmount = this.form.queryAmount // 查询金额
 | 
	
		
			
				|  |  | +                obj.businessType = this.form.businessTypes?this.form.businessTypes.join(','):'' // 业务类型
 | 
	
		
			
				|  |  | +                obj.vesselCnName = this.form.vesselCnName // 中文船名
 | 
	
		
			
				|  |  | +                obj.receivableAdvance = this.form.receivableAdvance // 预收帐款
 | 
	
		
			
				|  |  | +                obj.voyageNo = this.form.voyageNo // 航次
 | 
	
		
			
				|  |  | +                obj.auditStatus = '0'
 | 
	
		
			
				|  |  | +                obj.businessDateStart = this.form.businessDateStart // 财务开始日期
 | 
	
		
			
				|  |  | +                obj.businessDateEnd = this.form.businessDateEnd // 财务结束日期
 | 
	
		
			
				|  |  | +                finstlbillslistAccBillByCorp(obj).then(res=>{
 | 
	
		
			
				|  |  | +                    this.retrievePopupsType = true
 | 
	
		
			
				|  |  | +                    this.retrievePopupsData = res.data.data
 | 
	
		
			
				|  |  | +                })
 | 
	
		
			
				|  |  | +            },
 | 
	
		
			
				|  |  |              // 检索接口
 | 
	
		
			
				|  |  |              finstlbillslistAccBillV1fun(type){
 | 
	
		
			
				|  |  | -                // 对账单位
 | 
	
		
			
				|  |  | -                if (!this.form.corpId) {
 | 
	
		
			
				|  |  | -                    this.$message.warning('请选择对账单位');
 | 
	
		
			
				|  |  | -                    return
 | 
	
		
			
				|  |  | -                }
 | 
	
		
			
				|  |  |                  let obj = {}
 | 
	
		
			
				|  |  |                  obj.type = '2'
 | 
	
		
			
				|  |  |                  obj.curCode = this.form.curCode // 币别
 |