Commit a7613cc2 by huangxin

申报信息-国内外汇贷款修改

parent 79f413c7
...@@ -43,26 +43,7 @@ export default class Ecaadd{ ...@@ -43,26 +43,7 @@ export default class Ecaadd{
}, },
}, },
recp:{ recp:{
dclp:{ dclp:[],
dofoexlocode:"",
changeno:"",
actiontype:"",
buscode:"",
loanopenbalan:"",
withcurrence:"",
withamount:"",
settamount:"",
useofunds:"",
princurr:"",
remark:"",
actiondesc:"",
changedate:"",
acp:"",
endbalan:"",
inpaycurr:"",
inpayamount:"",
pinpayamount:"",
},
pubp:{ pubp:{
acp:"", // 确认 .recp.pubp.acp acp:"", // 确认 .recp.pubp.acp
}, },
......
...@@ -43,6 +43,7 @@ export default class Ecaame{ ...@@ -43,6 +43,7 @@ export default class Ecaame{
}, },
}, },
recp:{ recp:{
dclp:[],
pubp:{ pubp:{
acp:"", // 确认 .recp.pubp.acp acp:"", // 确认 .recp.pubp.acp
}, },
......
...@@ -43,6 +43,7 @@ export default class Ecadel{ ...@@ -43,6 +43,7 @@ export default class Ecadel{
}, },
}, },
recp:{ recp:{
dclp:[],
pubp:{ pubp:{
acp:"", // 确认 .recp.pubp.acp acp:"", // 确认 .recp.pubp.acp
}, },
......
...@@ -43,6 +43,7 @@ export default class Ecainf{ ...@@ -43,6 +43,7 @@ export default class Ecainf{
}, },
}, },
recp:{ recp:{
dclp:[],
pubp:{ pubp:{
acp:"", // 确认 .recp.pubp.acp acp:"", // 确认 .recp.pubp.acp
}, },
......
...@@ -3,73 +3,85 @@ ...@@ -3,73 +3,85 @@
<!-- ==================左边================ --> <!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12" style="padding-right: 20px;">
<c-col :span="24"> <c-col :span="24">
<c-form-item label="国内外汇贷款编号" prop="recp.dclp.dofoexlocode"> <c-form-item label="国内外汇贷款编号" prop="recp.dclp.0.dofoexlocode">
<c-input disabled v-model="model.recp.dclp.dofoexlocode" maxlength="28" placeholder=""></c-input> <c-input disabled v-model="dclp.dofoexlocode" maxlength="28" placeholder=""></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="变动编号" prop="recp.dclp.changeno"> <c-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input disabled v-model="model.recp.dclp.changeno" placeholder=""></c-input> <c-input disabled v-model="dclp.changeno" placeholder=""></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype"> <el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select disabled :code="codes.actiontype" v-model="model.recp.dclp.actiontype" style="width:100%" placeholder=""> <c-select disabled :code="codes.actiontype" v-model="dclp.actiontype" style="width:100%" placeholder="">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="银行业务编号" prop="recp.dclp.buscode"> <c-form-item label="银行业务编号" prop="recp.dclp.0.buscode">
<c-input v-model="model.recp.dclp.buscode" placeholder=""></c-input> <c-input v-model="dclp.buscode" placeholder=""></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="期初余额" prop="recp.dclp.loanopenbalan" > <c-form-item label="期初余额" prop="recp.dclp.0.loanopenbalan" >
<c-input v-model="model.recp.dclp.loanopenbalan" placeholder=""></c-input> <c-input-currency v-model="dclp.loanopenbalan" placeholder=""></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="提款币种" prop="recp.dclp.withcurrence"> <el-form-item label="提款币种" prop="recp.dclp.0.withcurrence">
<c-select :code="codes.curtxt1" v-model="model.recp.dclp.withcurrence" style="width:100%" placeholder=""> <c-select :code="codes.curtxt1" v-model="dclp.withcurrence" style="width:100%" placeholder="">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="提款金额" prop="recp.dclp.withamount" > <c-form-item label="提款金额" prop="recp.dclp.0.withamount" >
<c-input v-model="model.recp.dclp.withamount" placeholder=""></c-input> <c-input-currency v-model="dclp.withamount" placeholder=""></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="结汇金额" prop="recp.dclp.settamount" > <c-form-item label="结汇金额" prop="recp.dclp.0.settamount" >
<c-input v-model="model.recp.dclp.settamount" placeholder=""></c-input> <c-input-currency v-model="dclp.settamount" placeholder=""></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="资金用途" prop="recp.dclp.useofunds"> <el-form-item label="资金用途" prop="recp.dclp.0.useofunds">
<c-select v-model="model.recp.dclp.useofunds" style="width:100%" placeholder=""> <c-select v-model="dclp.useofunds" style="width:100%" placeholder="">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="还本币种" prop="recp.dclp.princurr"> <el-form-item label="还本币种" prop="recp.dclp.0.princurr">
<c-select :code="codes.curtxt1" v-model="model.recp.dclp.princurr" style="width:100%" placeholder=""> <c-select :code="codes.curtxt1" v-model="dclp.princurr" style="width:100%" placeholder="">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-form-item label="还本金额" prop="recp.dclp.0.repayamount" >
<c-input-currency v-model="dclp.repayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="购汇还本金额" prop="recp.dclp.0.prepayamount" >
<c-input-currency v-model="dclp.prepayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="备注" prop="recp.dclp.remark"> <c-form-item label="备注" prop="recp.dclp.0.remark">
<c-input :rows="4" type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit placeholder="" ></c-input> <c-input :rows="4" type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit placeholder="" ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -77,42 +89,44 @@ ...@@ -77,42 +89,44 @@
<!-- ============右边================= --> <!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px;">
<c-col :span="24"> <c-col :span="24">
<c-form-item label="删除原因" prop="recp.dclp.actiondesc"> <c-form-item label="删除原因" prop="recp.dclp.0.actiondesc">
<c-input disabled :rows="6" type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" show-word-limit placeholder="" ></c-input> <c-input disabled :rows="6" type="textarea" v-model="dclp.actiondesc" maxlength="32" show-word-limit placeholder="" ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="变动日期" prop="recp.dclp.changedate"> <el-form-item label="变动日期" prop="recp.dclp.0.changedate">
<c-date-picker type="date" v-model="model.recp.dclp.changedate" style="width:100%" placeholder=""></c-date-picker> <c-date-picker type="date" v-model="dclp.changedate" style="width:100%" placeholder=""></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-checkbox disabled v-model="model.recp.dclp.acp">确认</c-checkbox> <c-form-item label="" label-width="0" prop="recp.dclp.0.acp">
<c-checkbox disabled v-model="dclp.acp">确认</c-checkbox>
</c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="期末余额" prop="recp.dclp.endbalan" > <c-form-item label="期末余额" prop="recp.dclp.0.endbalan" >
<c-input v-model="model.recp.dclp.endbalan" placeholder=""></c-input> <c-input-currency v-model="dclp.endbalan" placeholder=""></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="付息币种" prop="recp.dclp.inpaycurr"> <el-form-item label="付息币种" prop="recp.dclp.0.inpaycurr">
<c-select :code="codes.curtxt1" v-model="model.recp.dclp.inpaycurr" style="width:100%" placeholder=""> <c-select :code="codes.curtxt1" v-model="dclp.inpaycurr" style="width:100%" placeholder="">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="付息金额" prop="recp.dclp.inpayamount" > <c-form-item label="付息金额" prop="recp.dclp.0.inpayamount" >
<c-input v-model="model.recp.dclp.inpayamount" placeholder=""></c-input> <c-input-currency v-model="dclp.inpayamount" placeholder=""></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="购汇付息金额" prop="recp.dclp.pinpayamount" > <c-form-item label="购汇付息金额" prop="recp.dclp.0.pinpayamount" >
<c-input v-model="model.recp.dclp.pinpayamount" placeholder=""></c-input> <c-input-currency v-model="dclp.pinpayamount" placeholder=""></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -132,9 +146,16 @@ ...@@ -132,9 +146,16 @@
mixins: [commonProcess], mixins: [commonProcess],
data(){ data(){
return { return {
dclp: {}
} }
}, },
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
}
},
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
import Api from "~/service/Api" import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ebaadd/Event" import Event from "~/model/Ecaadd/Event"
export default { export default {
inject: ['root'], inject: ['root'],
......
<template>
<div class="eibs-tab">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-form-item label="国内外汇贷款编号" prop="recp.dclp.0.dofoexlocode">
<c-input disabled v-model="dclp.dofoexlocode" maxlength="28" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input disabled v-model="dclp.changeno" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select disabled :code="codes.actiontype" v-model="dclp.actiontype" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="银行业务编号" prop="recp.dclp.0.buscode">
<c-input :disabled="this.dclp.acp==''" v-model="dclp.buscode" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="期初余额" prop="recp.dclp.0.loanopenbalan" >
<c-input-currency :disabled="this.dclp.acp==''" v-model="dclp.loanopenbalan" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提款币种" prop="recp.dclp.0.withcurrence">
<c-select :disabled="this.dclp.acp==''" :code="codes.curtxt1" v-model="dclp.withcurrence" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="提款金额" prop="recp.dclp.0.withamount" >
<c-input-currency :disabled="this.dclp.acp==''" v-model="dclp.withamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="结汇金额" prop="recp.dclp.0.settamount" >
<c-input-currency :disabled="this.dclp.acp==''" v-model="dclp.settamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="资金用途" prop="recp.dclp.0.useofunds">
<c-select :disabled="this.dclp.acp==''" v-model="dclp.useofunds" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="还本币种" prop="recp.dclp.0.princurr">
<c-select :disabled="this.dclp.acp==''" :code="codes.curtxt1" v-model="dclp.princurr" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="还本金额" prop="recp.dclp.0.repayamount" >
<c-input-currency :disabled="this.dclp.acp==''" v-model="dclp.repayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="购汇还本金额" prop="recp.dclp.0.prepayamount" >
<c-input-currency :disabled="this.dclp.acp==''" v-model="dclp.prepayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="备注" prop="recp.dclp.0.remark">
<c-input :disabled="this.dclp.acp==''" :rows="4" type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<c-form-item label="删除原因" prop="recp.dclp.0.actiondesc">
<c-input disabled :rows="6" type="textarea" v-model="dclp.actiondesc" maxlength="32" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="变动日期" prop="recp.dclp.0.changedate">
<c-date-picker :disabled="this.dclp.acp==''" type="date" v-model="dclp.changedate" style="width:100%" placeholder=""></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" label-width="0" prop="recp.dclp.0.acp">
<c-checkbox :disabled="this.model.cfabut.dclflg==''" v-model="dclp.acp">确认</c-checkbox>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="期末余额" prop="recp.dclp.0.endbalan" >
<c-input-currency :disabled="this.dclp.acp==''" v-model="dclp.endbalan" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付息币种" prop="recp.dclp.0.inpaycurr">
<c-select :disabled="this.dclp.acp==''" :code="codes.curtxt1" v-model="dclp.inpaycurr" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="付息金额" prop="recp.dclp.0.inpayamount" >
<c-input-currency :disabled="this.dclp.acp==''" v-model="dclp.inpayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="购汇付息金额" prop="recp.dclp.0.pinpayamount" >
<c-input-currency :disabled="this.dclp.acp==''" v-model="dclp.pinpayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ebaadd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
dclp: {}
}
},
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
\ No newline at end of file
...@@ -15,27 +15,6 @@ ...@@ -15,27 +15,6 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-form-item label="代付利息" prop="eblmod.ebl.resamt">
<c-input v-model="model.eblmod.ebl.resamt" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.cfabut.addnew">新增接口数据</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl">
<c-input v-model="model.cfabut.newdcl" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="VRF数目" prop="cfabut.newvrf">
<c-input v-model="model.cfabut.newvrf" placeholder=""></c-input>
</c-form-item>
</c-col>
</c-col> </c-col>
<!-- ============右边================= --> <!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px;">
...@@ -48,16 +27,16 @@ ...@@ -48,16 +27,16 @@
</c-col> --> </c-col> -->
<c-col :span="8"> <c-col :span="8">
<c-checkbox v-model="model.cfabut.dclflg">责任余额</c-checkbox> <c-checkbox v-model="model.cfabut.dclflg">变动信息</c-checkbox>
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<span v-text="model.cfabut.vrflab" data-path=".cfabut.vrflab" > </span> <span v-text="model.cfabut.vrflab" data-path=".cfabut.vrflab" > </span>
</c-col> --> </c-col> -->
<c-col :span="8"> <!-- <c-col :span="8">
<c-checkbox v-model="model.cfabut.vrfflg">履约信息</c-checkbox> <c-checkbox disabled v-model="model.cfabut.vrfflg">履约信息</c-checkbox>
</c-col> </c-col> -->
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
...@@ -100,7 +79,7 @@ ...@@ -100,7 +79,7 @@
<c-col :span="12"> <c-col :span="12">
<span v-text="model.cfabut.newdclnum" data-path=".cfabut.newdclnum" > </span> <span v-text="model.cfabut.newdclnum" data-path=".cfabut.newdclnum" > </span>
</c-col> </c-col> -->
<c-col :span="12"> <c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl"> <c-form-item label="DCL数目" prop="cfabut.newdcl">
...@@ -108,7 +87,7 @@ ...@@ -108,7 +87,7 @@
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onCutpErr"> <c-button size="small" type="primary" @click="onCutpErr">
{{$t('cutp.C0000009')}} {{$t('cutp.C0000009')}}
</c-button> </c-button>
......
...@@ -15,6 +15,12 @@ ...@@ -15,6 +15,12 @@
<m-conp :model="model" :codes="codes"/> <m-conp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="国内外汇贷款-变动信息" name="dclpp">
<c-content>
<m-dclpp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn <c-function-btn
...@@ -37,11 +43,13 @@ import Default from "~/model/Ecaame/Default" ...@@ -37,11 +43,13 @@ import Default from "~/model/Ecaame/Default"
import Pattern from "~/model/Ecaame/Pattern" import Pattern from "~/model/Ecaame/Pattern"
import Sel from "./Sel" import Sel from "./Sel"
import Conp from "./Conp" import Conp from "./Conp"
import Dclpp from "./Dclpp"
export default { export default {
name: "Ecaame", name: "Ecaame",
components:{ components:{
"m-dclpp":Dclpp,
"m-sel" : Sel, "m-sel" : Sel,
"m-conp" : Conp, "m-conp" : Conp,
}, },
......
<template>
<div class="eibs-tab">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-form-item label="国内外汇贷款编号" prop="recp.dclp.0.dofoexlocode">
<c-input disabled v-model="dclp.dofoexlocode" maxlength="28" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input disabled v-model="dclp.changeno" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select disabled :code="codes.actiontype" v-model="dclp.actiontype" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="银行业务编号" prop="recp.dclp.0.buscode">
<c-input v-model="dclp.buscode" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="期初余额" prop="recp.dclp.0.loanopenbalan" >
<c-input-currency v-model="dclp.loanopenbalan" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提款币种" prop="recp.dclp.0.withcurrence">
<c-select :code="codes.curtxt1" v-model="dclp.withcurrence" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="提款金额" prop="recp.dclp.0.withamount" >
<c-input-currency v-model="dclp.withamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="结汇金额" prop="recp.dclp.0.settamount" >
<c-input-currency v-model="dclp.settamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="资金用途" prop="recp.dclp.0.useofunds">
<c-select v-model="dclp.useofunds" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="还本币种" prop="recp.dclp.0.princurr">
<c-select :code="codes.curtxt1" v-model="dclp.princurr" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="还本金额" prop="recp.dclp.0.repayamount" >
<c-input-currency v-model="dclp.repayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="购汇还本金额" prop="recp.dclp.0.prepayamount" >
<c-input-currency v-model="dclp.prepayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="备注" prop="recp.dclp.0.remark">
<c-input :rows="4" type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<c-form-item label="删除原因" prop="recp.dclp.0.actiondesc">
<c-input :disabled="this.dclp.acp==''" :rows="6" type="textarea" v-model="dclp.actiondesc" maxlength="32" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="变动日期" prop="recp.dclp.0.changedate">
<c-date-picker type="date" v-model="dclp.changedate" style="width:100%" placeholder=""></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" label-width="0" prop="recp.dclp.0.acp">
<c-checkbox :disabled="(this.model.cfabut.dclflg=='' && this.model.cfabut.basflg=='') ||(this.model.cfabut.dclflg=='X' && this.model.cfabut.basflg=='X')||(this.model.cfabut.dclflg=='' && this.model.cfabut.basflg=='X')" v-model="dclp.acp">确认</c-checkbox>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="期末余额" prop="recp.dclp.0.endbalan" >
<c-input-currency v-model="dclp.endbalan" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付息币种" prop="recp.dclp.0.inpaycurr">
<c-select :code="codes.curtxt1" v-model="dclp.inpaycurr" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="付息金额" prop="recp.dclp.0.inpayamount" >
<c-input-currency v-model="dclp.inpayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="购汇付息金额" prop="recp.dclp.0.pinpayamount" >
<c-input-currency v-model="dclp.pinpayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ebaadd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
dclp: {}
}
},
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
},
"model.cfabut.dclflg" :{
immediate: true,
handler(val,oldval){
if(this.model.cfabut.basflg=="X" && this.model.cfabut.dclflg=="X"){
this.dclp.acp="X"
}
else if(this.model.cfabut.dclflg==""){
this.dclp.acp=""
}
}
},
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
\ No newline at end of file
...@@ -5,42 +5,21 @@ ...@@ -5,42 +5,21 @@
<!-- S0000019 : 发生日期 --> <!-- S0000019 : 发生日期 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="发生日期" prop="eblmod.ebl.reldat"> <el-form-item label="发生日期" prop="eblmod.ebl.reldat">
<c-date-picker disabled type="date" v-model="model.eblmod.ebl.reldat" style="width:100%" placeholder=""></c-date-picker> <c-date-picker type="date" v-model="model.eblmod.ebl.reldat" style="width:100%" placeholder=""></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="业务所属机构" prop="cfabut.ownextkey"> <el-form-item label="业务所属机构" prop="cfabut.ownextkey">
<c-select disabled :code="codes.ownextkey3" v-model="model.cfabut.ownextkey" style="width:100%" placeholder="请选择业务所属机构"> <c-select :code="codes.ownextkey3" v-model="model.cfabut.ownextkey" style="width:100%" placeholder="请选择业务所属机构">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-form-item label="代付利息" prop="eblmod.ebl.resamt">
<c-input v-model="model.eblmod.ebl.resamt" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.cfabut.addnew">新增接口数据</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl">
<c-input v-model="model.cfabut.newdcl" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="VRF数目" prop="cfabut.newvrf">
<c-input v-model="model.cfabut.newvrf" placeholder=""></c-input>
</c-form-item>
</c-col>
</c-col> </c-col>
<!-- ============右边================= --> <!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px;">
<c-col :span="8"> <c-col :span="8">
<c-checkbox v-model="model.cfabut.basflg">签约信息</c-checkbox> <c-checkbox disabled v-model="model.cfabut.basflg">签约信息</c-checkbox>
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
...@@ -48,16 +27,16 @@ ...@@ -48,16 +27,16 @@
</c-col> --> </c-col> -->
<c-col :span="8"> <c-col :span="8">
<c-checkbox v-model="model.cfabut.dclflg">责任余额</c-checkbox> <c-checkbox disabled v-model="model.cfabut.dclflg">变动信息</c-checkbox>
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<span v-text="model.cfabut.vrflab" data-path=".cfabut.vrflab" > </span> <span v-text="model.cfabut.vrflab" data-path=".cfabut.vrflab" > </span>
</c-col> --> </c-col> -->
<c-col :span="8"> <!-- <c-col :span="8">
<c-checkbox v-model="model.cfabut.vrfflg">履约信息</c-checkbox> <c-checkbox disabled v-model="model.cfabut.vrfflg">履约信息</c-checkbox>
</c-col> </c-col> -->
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
...@@ -146,6 +125,19 @@ ...@@ -146,6 +125,19 @@
} }
}, },
watch:{
"model.cfabut.basflg" :{
immediate: true,
handler(val,oldval){
if(this.model.cfabut.basflg=="X"){
this.model.cfabut.dclflg="X"
}
else{
this.model.cfabut.dclflg=""
}
}
},
},
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
......
...@@ -15,6 +15,12 @@ ...@@ -15,6 +15,12 @@
<m-conp :model="model" :codes="codes"/> <m-conp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="国内外汇贷款-变动信息" name="dclpp">
<c-content>
<m-dclpp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn <c-function-btn
...@@ -37,11 +43,13 @@ import Default from "~/model/Ecadel/Default" ...@@ -37,11 +43,13 @@ import Default from "~/model/Ecadel/Default"
import Pattern from "~/model/Ecadel/Pattern" import Pattern from "~/model/Ecadel/Pattern"
import Sel from "./Sel" import Sel from "./Sel"
import Conp from "./Conp" import Conp from "./Conp"
import Dclpp from "./Dclpp"
export default { export default {
name: "Ecadel", name: "Ecadel",
components:{ components:{
"m-dclpp":Dclpp,
"m-sel" : Sel, "m-sel" : Sel,
"m-conp" : Conp, "m-conp" : Conp,
}, },
......
<template>
<div class="eibs-tab">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-form-item label="国内外汇贷款编号" prop="recp.dclp.0.dofoexlocode">
<c-input disabled v-model="dclp.dofoexlocode" maxlength="28" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input disabled v-model="dclp.changeno" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select disabled :code="codes.actiontype" v-model="dclp.actiontype" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="银行业务编号" prop="recp.dclp.0.buscode">
<c-input disabled v-model="dclp.buscode" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="期初余额" prop="recp.dclp.0.loanopenbalan" >
<c-input-currency disabled v-model="dclp.loanopenbalan" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提款币种" prop="recp.dclp.0.withcurrence">
<c-select disabled :code="codes.curtxt1" v-model="dclp.withcurrence" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="提款金额" prop="recp.dclp.0.withamount" >
<c-input-currency disabled v-model="dclp.withamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="结汇金额" prop="recp.dclp.0.settamount" >
<c-input-currency disabled v-model="dclp.settamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="资金用途" prop="recp.dclp.0.useofunds">
<c-select disabled v-model="dclp.useofunds" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="还本币种" prop="recp.dclp.0.princurr">
<c-select disabled :code="codes.curtxt1" v-model="dclp.princurr" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="还本金额" prop="recp.dclp.0.repayamount" >
<c-input-currency disabled v-model="dclp.repayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="购汇还本金额" prop="recp.dclp.0.prepayamount" >
<c-input-currency disabled v-model="dclp.prepayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="备注" prop="recp.dclp.0.remark">
<c-input disabled :rows="4" type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<c-form-item label="删除原因" prop="recp.dclp.0.actiondesc">
<c-input disabled :rows="6" type="textarea" v-model="dclp.actiondesc" maxlength="32" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="变动日期" prop="recp.dclp.0.changedate">
<c-date-picker disabled type="date" v-model="dclp.changedate" style="width:100%" placeholder=""></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" label-width="0" prop="recp.dclp.0.acp">
<c-checkbox disabled v-model="dclp.acp">确认</c-checkbox>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="期末余额" prop="recp.dclp.0.endbalan" >
<c-input-currency disabled v-model="dclp.endbalan" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付息币种" prop="recp.dclp.0.inpaycurr">
<c-select disabled :code="codes.curtxt1" v-model="dclp.inpaycurr" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="付息金额" prop="recp.dclp.0.inpayamount" >
<c-input-currency disabled v-model="dclp.inpayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="购汇付息金额" prop="recp.dclp.0.pinpayamount" >
<c-input-currency disabled v-model="dclp.pinpayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ebaadd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
dclp: {}
}
},
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
\ No newline at end of file
...@@ -15,27 +15,6 @@ ...@@ -15,27 +15,6 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-form-item label="代付利息" prop="eblmod.ebl.resamt">
<c-input disabled v-model="model.eblmod.ebl.resamt" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.cfabut.addnew">新增接口数据</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl">
<c-input v-model="model.cfabut.newdcl" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="VRF数目" prop="cfabut.newvrf">
<c-input v-model="model.cfabut.newvrf" placeholder=""></c-input>
</c-form-item>
</c-col>
</c-col> </c-col>
<!-- ============右边================= --> <!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px;">
...@@ -48,16 +27,16 @@ ...@@ -48,16 +27,16 @@
</c-col> --> </c-col> -->
<c-col :span="8"> <c-col :span="8">
<c-checkbox disabled v-model="model.cfabut.dclflg">责任余额</c-checkbox> <c-checkbox disabled v-model="model.cfabut.dclflg">变动信息</c-checkbox>
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<span v-text="model.cfabut.vrflab" data-path=".cfabut.vrflab" > </span> <span v-text="model.cfabut.vrflab" data-path=".cfabut.vrflab" > </span>
</c-col> --> </c-col> -->
<c-col :span="8"> <!-- <c-col :span="8">
<c-checkbox disabled v-model="model.cfabut.vrfflg">履约信息</c-checkbox> <c-checkbox disabled v-model="model.cfabut.vrfflg">履约信息</c-checkbox>
</c-col> </c-col> -->
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
...@@ -100,7 +79,7 @@ ...@@ -100,7 +79,7 @@
<c-col :span="12"> <c-col :span="12">
<span v-text="model.cfabut.newdclnum" data-path=".cfabut.newdclnum" > </span> <span v-text="model.cfabut.newdclnum" data-path=".cfabut.newdclnum" > </span>
</c-col> </c-col> -->
<c-col :span="12"> <c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl"> <c-form-item label="DCL数目" prop="cfabut.newdcl">
...@@ -108,7 +87,7 @@ ...@@ -108,7 +87,7 @@
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onCutpErr"> <c-button size="small" type="primary" @click="onCutpErr">
{{$t('cutp.C0000009')}} {{$t('cutp.C0000009')}}
</c-button> </c-button>
......
...@@ -15,6 +15,12 @@ ...@@ -15,6 +15,12 @@
<m-conp :model="model" :codes="codes"/> <m-conp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="国内外汇贷款-变动信息" name="dclpp">
<c-content>
<m-dclpp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<!-- <c-function-btn <!-- <c-function-btn
...@@ -37,11 +43,13 @@ import Default from "~/model/Ecainf/Default" ...@@ -37,11 +43,13 @@ import Default from "~/model/Ecainf/Default"
import Pattern from "~/model/Ecainf/Pattern" import Pattern from "~/model/Ecainf/Pattern"
import Sel from "./Sel" import Sel from "./Sel"
import Conp from "./Conp" import Conp from "./Conp"
import Dclpp from "./Dclpp"
export default { export default {
name: "Ecainf", name: "Ecainf",
components:{ components:{
"m-dclpp":Dclpp,
"m-sel" : Sel, "m-sel" : Sel,
"m-conp" : Conp, "m-conp" : Conp,
}, },
......
...@@ -38,7 +38,11 @@ ...@@ -38,7 +38,11 @@
import Basp1 from "./Basp1"; import Basp1 from "./Basp1";
import Outp from "./Outp"; import Outp from "./Outp";
const tabNameToRulePathMapping = {
'basp': "bopmod.dbcp.basp",
'basp1': "bopmod.dbfp.basp",
"outp": "cnybop.outp",
}
export default { export default {
inject: ["root"], inject: ["root"],
components: { components: {
...@@ -58,7 +62,28 @@ ...@@ -58,7 +62,28 @@
}, },
methods: { methods: {
...Event, ...Event,
handleChange() {} handleChange(names){
// console.log(names);//激活的(展开的)面板的name数组集合
if (this.isInDisplay) {
return
}
const arr = []
for (let i = 0; i < names.length; i++) {
const n = names[i];
const path = tabNameToRulePathMapping[n]//取出激活/展开面板name对应的rulePath
if (path) {
arr.push(path)
}
}
let rulePath = arr.join(",");//把arr数组加入逗号分割,变成字符串
if (!!rulePath) {//rulePath不为空串
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -222,7 +222,7 @@ export default { ...@@ -222,7 +222,7 @@ export default {
rulePath = "bopmod.dbfp.basp" rulePath = "bopmod.dbfp.basp"
} }
if(name === 'outp'){ if(name === 'outp'){
rulePath = "cnybop.Outp" rulePath = "cnybop.outp"
} }
if (name === "cips") { if (name === "cips") {
rulePath = "trnmod.cipmod.cips" rulePath = "trnmod.cipmod.cips"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment