|
@@ -128,7 +128,7 @@
|
|
|
@corpChange="corpChange($event,'corpCnName',row,'D')"
|
|
|
@corpFocus="getBcorpsListfun($event,'corpCnName')" >
|
|
|
</search-query>
|
|
|
- <span v-else style="color: #1e9fff" @click="corpClick">{{row.corpCnName}}</span>
|
|
|
+ <span v-else style="color: #1e9fff" @click="corpClick(row)">{{row.corpCnName}}</span>
|
|
|
</template>
|
|
|
<template slot="feeCnName" slot-scope="{ row }">
|
|
|
<search-query v-if="row.edit"
|
|
@@ -310,7 +310,7 @@
|
|
|
@corpChange="corpChange($event,'corpCnName',row,'C')"
|
|
|
@corpFocus="getBcorpsListfun($event,'corpCnName')" >
|
|
|
</search-query>
|
|
|
- <span v-else >{{row.corpCnName}}</span>
|
|
|
+ <span v-else style="color: #1e9fff" @click="corpClick(row)">{{row.corpCnName}}</span>
|
|
|
</template>
|
|
|
<template slot="feeCnName" slot-scope="{ row }">
|
|
|
<search-query v-if="row.edit"
|
|
@@ -531,42 +531,32 @@
|
|
|
:close-on-click-modal="false"
|
|
|
:before-close="handleClose">
|
|
|
<div style="padding-bottom: 30px;">
|
|
|
- <el-form :model="assemblyForm" ref="form" label-width="90px" style="margin-bottom: 4px" class="demo-ruleForm">
|
|
|
- <el-row>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="欠款情况" prop="corpCnName" >
|
|
|
- <el-input type="age" style="width: 100%;" v-model="assemblyForm.corpCnName"
|
|
|
- size="small" autocomplete="off"
|
|
|
- disabled
|
|
|
- clearable placeholder="欠款情况" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="CNY" prop="corpCnName" >
|
|
|
- <el-input type="age" style="width: 100%;" v-model="assemblyForm.corpCnName"
|
|
|
- size="small" autocomplete="off"
|
|
|
- disabled
|
|
|
- clearable placeholder="CNY" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="USD" prop="corpCnName" >
|
|
|
- <el-input type="age" style="width: 100%;" v-model="assemblyForm.corpCnName"
|
|
|
- size="small" autocomplete="off"
|
|
|
- disabled
|
|
|
- clearable placeholder="USD" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="合计CNY" prop="corpCnName" >
|
|
|
- <el-input type="age" style="width: 100%;" v-model="assemblyForm.corpCnName"
|
|
|
- size="small" autocomplete="off"
|
|
|
- disabled
|
|
|
- clearable placeholder="合计CNY" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </el-form>
|
|
|
+ <el-table
|
|
|
+ :data="corpDialog"
|
|
|
+ border
|
|
|
+ size="mini"
|
|
|
+ :row-style="{height:'20px',padding:'0px',fontSize:'12px'}"
|
|
|
+ :cell-style="{padding:'0px',fontSize:'12px'}"
|
|
|
+ style="width: 100%">
|
|
|
+ <el-table-column prop="corpCnName" label="客户名称" width="140px" >
|
|
|
+ <template slot-scope="{ row }">
|
|
|
+ <span class="textoverflow">{{row.corpCnName}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="mblno" label="MB/L NO" width="140px" />
|
|
|
+ <el-table-column prop="amountDr" label="应收金额" />
|
|
|
+ <el-table-column prop="amountCr" label="应付金额" />
|
|
|
+ <el-table-column prop="amountDrUsd" label="应收金额USD" width="140px" />
|
|
|
+ <el-table-column prop="amountCrUsd" label="应付金额USD" width="140px" />
|
|
|
+ <el-table-column prop="amountDrLoc" label="应收金额合计" width="140px" />
|
|
|
+ <el-table-column prop="amountCrLoc" label="应付金额合计" width="140px" />
|
|
|
+ <el-table-column prop="stlAmountDr" label="已结算应收金额" width="140px" />
|
|
|
+ <el-table-column prop="stlAmountCr" label="已结算应付金额" width="140px" />
|
|
|
+ <el-table-column prop="stlAmountDrUsd" label="已结算应收金额USD" width="140px" />
|
|
|
+ <el-table-column prop="stlAmountCrUsd" label="已结算应付金额USD" width="140px" />
|
|
|
+ <el-table-column prop="stlAmountDrLoc" label="已结算应收金额合计" width="140px" />
|
|
|
+ <el-table-column prop="stlAmountCrLoc" label="已结算应付金额合计" width="140px" />
|
|
|
+ </el-table>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
@@ -637,7 +627,11 @@
|
|
|
finaccbillsGenerateBill, finaccbillsRevokeBill,getFeeCenterCorpIds
|
|
|
} from "@/api/iosBasicData/feecenter";
|
|
|
import {getWorkDicts} from "@/api/system/dictbiz";
|
|
|
- import {feecenterTemplateImport, losbfeestemplateGetListTemplate} from "@/api/iosBasicData/bills";
|
|
|
+ import {
|
|
|
+ feecenterTemplateImport,
|
|
|
+ listFeeCountByCorp,
|
|
|
+ losbfeestemplateGetListTemplate
|
|
|
+ } from "@/api/iosBasicData/bills";
|
|
|
import {losbfeestemplateDetail} from "@/api/iosBasicData/losbfeestemplate";
|
|
|
import {popupReminder, requiredMessage} from "@/util/messageReminder";
|
|
|
import {getBaccelementsList} from "@/api/iosBasicData/baccelements";
|
|
@@ -717,6 +711,7 @@
|
|
|
]
|
|
|
},
|
|
|
corpVisible:false, // 往来单位弹窗
|
|
|
+ corpDialog:[], // 往来单位弹窗数据
|
|
|
optionD:{},
|
|
|
optionDBack:{
|
|
|
stripe:true,
|
|
@@ -1296,8 +1291,14 @@
|
|
|
}
|
|
|
},
|
|
|
// 往来单位弹窗开启
|
|
|
- corpClick(){
|
|
|
+ corpClick(row){
|
|
|
this.corpVisible = true
|
|
|
+ listFeeCountByCorp({
|
|
|
+ corpId:row.corpId,
|
|
|
+ dc:row.dc
|
|
|
+ }).then(res=>{
|
|
|
+ this.corpDialog = res.data.data
|
|
|
+ })
|
|
|
},
|
|
|
// 模板导入
|
|
|
templateExport(){
|