Commit 23830a32 by Wuyuqiu

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents d5f62228 c514fecf
...@@ -4134,6 +4134,10 @@ const CodeTable = { ...@@ -4134,6 +4134,10 @@ const CodeTable = {
{ label: "Credit Party", value: "UMH" }, { label: "Credit Party", value: "UMH" },
{ label: "Debit Party", value: "UMS" }, { label: "Debit Party", value: "UMS" },
], ],
payrol1: [
{ label: "Applicant", value: "APL" },
{ label: "Further Party", value: "OTH" },
],
ptyp2:[ ptyp2:[
{ label: "TPO Third Party", value: "TPO" }, { label: "TPO Third Party", value: "TPO" },
{ label: "TP1 Third Party .", value: "TP1" }, { label: "TP1 Third Party .", value: "TP1" },
...@@ -6644,6 +6648,14 @@ const CodeTable = { ...@@ -6644,6 +6648,14 @@ const CodeTable = {
{ label: "ISS issuing Bank", value: "ISS" }, { label: "ISS issuing Bank", value: "ISS" },
{ label: "APL Applicat", value: "APL" } { label: "APL Applicat", value: "APL" }
], ],
setfelRol1: [
{ label: "A2B 2nd Advising Bank", value: "A2B" },
{ label: "ADV Advising Bank", value: "ADV" },
{ label: "APL Applicant", value: "APL" },
{ label: "AVB Available with Bank", value: "AVB" },
{ label: "BEN Beneficiary", value: "BEN" },
{ label: "CON Confirming Bank", value: "CON" },
],
ptydbt: [ ptydbt: [
{ label: "OWN Ourselves", value: "OWN" }, { label: "OWN Ourselves", value: "OWN" },
{ label: "ISS issuing Bank", value: "ISS" }, { label: "ISS issuing Bank", value: "ISS" },
...@@ -7095,6 +7107,22 @@ const CodeTable = { ...@@ -7095,6 +7107,22 @@ const CodeTable = {
{ label: "OWN Ourselves", value: "OWN" }, { label: "OWN Ourselves", value: "OWN" },
{ label: "Advising Bank", value: "ADV" }, { label: "Advising Bank", value: "ADV" },
], ],
ptydbt_setpan1: [
{ label: "OWN Ourselves", value: "OWN" },
{ label: "ADV Advising Bank", value: "ADV" },
{ label: "APL Applicant", value: "APL" },
{ label: "AVB Available with Bank", value: "AVB" },
{ label: "BEN Beneficiary", value: "BEN" },
{ label: "CON Confirming Bank", value: "CON" },
],
ptydbt_setpan2: [
{ label: "OWN Ourselves", value: "OWN" },
{ label: "A2B 2nd Advising Bank", value: "A2B" },
{ label: "ADV Advising Bank", value: "ADV" },
{ label: "AVB Available with Bank", value: "AVB" },
{ label: "BEN Beneficiary", value: "BEN" },
{ label: "CON Confirming Bank", value: "CON" },
],
apprul2: [ apprul2: [
{ label: "The guarantee is subject to the ICC Rules for Demand Guarantees", value: "URDG" }, { label: "The guarantee is subject to the ICC Rules for Demand Guarantees", value: "URDG" },
{ label: "The guarantee is subject to the ICC Rules for Contract Guarantees", value: "URCG" }, { label: "The guarantee is subject to the ICC Rules for Contract Guarantees", value: "URCG" },
......
...@@ -183,6 +183,7 @@ export default { ...@@ -183,6 +183,7 @@ export default {
"days":[ "days":[
{required: true, message: "必输项"}, {required: true, message: "必输项"},
// {max: 2,message:"长度不能超过2"} // {max: 2,message:"长度不能超过2"}
// {pattern: /^-?[1-9][0-9]{0,2}$/, message: "应在-999至999之间" }
], ],
"brtp.oth.namelc":[ "brtp.oth.namelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<c-row> <c-row>
<!-- =================================左边================================= --> <!-- =================================左边================================= -->
<c-col :span="12"> <c-col :span="12" class="col-left">
<!-- S0000198 : 信用证编号 --> <!-- S0000198 : 信用证编号 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item label="信用证编号" prop="lidgrp.rec.ownref"> <c-form-item label="信用证编号" prop="lidgrp.rec.ownref">
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
v-model="model.brdgrp.cbs.max.amt" v-model="model.brdgrp.cbs.max.amt"
placeholder="" placeholder=""
class="m-input-currency" class="m-input-currency"
disabled :disabled="model.mhtyp=='R'"
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -231,7 +231,6 @@ ...@@ -231,7 +231,6 @@
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
:code="codes.curtxt1" :code="codes.curtxt1"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -242,6 +241,7 @@ ...@@ -242,6 +241,7 @@
v-model="model.brdgrp.cbs.max.amt" v-model="model.brdgrp.cbs.max.amt"
placeholder="" placeholder=""
class="m-input-currency" class="m-input-currency"
:disabled="model.mhtyp=='R'"
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -275,7 +275,6 @@ ...@@ -275,7 +275,6 @@
style="width: 100%" style="width: 100%"
placeholder="请输入Drawn Add Amount" placeholder="请输入Drawn Add Amount"
:code="codes.curtxt1" :code="codes.curtxt1"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -287,6 +286,7 @@ ...@@ -287,6 +286,7 @@
v-model="model.brdgrp.cbs.max2.amt" v-model="model.brdgrp.cbs.max2.amt"
class="m-input-currency" class="m-input-currency"
placeholder="" placeholder=""
:disabled="model.mhtyp=='R'"
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -431,7 +431,7 @@ ...@@ -431,7 +431,7 @@
</c-col> </c-col>
<!-- =================================右边=============================== --> <!-- =================================右边=============================== -->
<c-col :span="11" :offset="1"> <c-col :span="12" class="col-right">
<!-- S0000192 : 信用证余额 --> <!-- S0000192 : 信用证余额 -->
<c-col :span="12"> <c-col :span="12">
...@@ -526,7 +526,7 @@ ...@@ -526,7 +526,7 @@
v-model="model.brdgrp.rec.payrol" v-model="model.brdgrp.rec.payrol"
style="width: 100%" style="width: 100%"
placeholder="请输入付款人" placeholder="请输入付款人"
:code="codes.payrol" :code="codes.payrol1"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="eibs-tab"> <div class="eibs-tab">
<!--================================左边================================== --> <!--================================左边================================== -->
<c-col :span="11"> <c-col :span="12" class="col-left">
<c-col :span="21" > <c-col :span="21" >
<el-form-item label="不符点信息" prop="brdgrp.blk.docdis" > <el-form-item label="不符点信息" prop="brdgrp.blk.docdis" >
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" <c-input type="textarea" v-model="model.brdgrp.blk.docdis"
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</c-col> </c-col>
<!--===========================右边============================== --> <!--===========================右边============================== -->
<c-col :span="11" :offset="1"> <c-col :span="12" class="col-right">
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.brdgrp.rec.igndisflg">忽略不符点</c-checkbox> <c-checkbox v-model="model.brdgrp.rec.igndisflg">忽略不符点</c-checkbox>
</c-col> </c-col>
......
<template>
<div class="eibs-tab">
<!-- 左边-->
<c-col :span="8">
<!-- line2 -->
<c-row>
<c-col :span="24">
<el-form-item
label="额度主体"
prop="liaall.limmod.limpts.wrk.pts.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
style="width: 100%"
:disabled="true"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
:disabled="true"
/>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onWrkpDet"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line3 -->
<c-row>
<c-col :span="24">
<el-form-item
label="主体名称"
prop="liaall.limmod.limpts.wrk.pts.nam"
>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line4 -->
<c-row>
<c-col :span="24" style="text-align: right">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1">
<c-fullbox>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg1"
style="width: 100%"
placeholder="请选择额度类型"
@change="nonrevflg1Change"
:disabled="true"
>
<el-option
v-for="item in codes.nonrevflg1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-button
style="padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onLimptsGet1"
:disabled="true"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line5 -->
<c-row>
<c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
<c-input
v-model="model.liaall.limmod.limpts.pfcod1"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
<!-- 中间 -->
<!-- 随event方法改变 -->
<c-col :span="8" v-show="same" @change="show">
<!-- line2 -->
<c-row>
<c-col :span="24">
<el-form-item
label="对公账户"
prop="liaall.limmod.limpts.oth.pts.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.liaall.limmod.limpts.oth.pts.extkey"
maxlength="16"
placeholder="请输入地址编号"
style="width: 100%"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
/>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onOthpDet"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line3 -->
<c-row>
<c-col :span="24">
<el-form-item
label="主体名称"
prop="liaall.limmod.limpts.oth.pts.nam"
>
<c-input
v-model="model.liaall.limmod.limpts.oth.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line4 -->
<c-row>
<c-col :span="24" style="text-align: right">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg2">
<c-fullbox>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg2"
style="width: 100%"
placeholder="请选择额度类型"
@change="nonrevflg2Change"
>
<el-option
v-for="item in codes.nonrevflg2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-button
style="padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onLimptsGet2"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line5 -->
<c-row>
<c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod2">
<c-input
v-model="model.liaall.limmod.limpts.pfcod2"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg2 != '2'"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
<!-- 右边-->
<c-col :span="8">
<!-- line1 -->
<c-row>
<c-col :span="24">
<el-form-item label="业务编号" prop="liaall.limmod.ownref">
<c-input
v-model="model.liaall.limmod.ownref"
maxlength="16"
placeholder="请输入国结业务编号"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input
v-model="model.liaall.limmod.comamt"
placeholder="请输入业务余额"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line1 -->
<c-row>
<c-col :span="24">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input
v-model="model.liaall.limmod.ccvamt"
placeholder="请输入保证金余额"
:disabled="true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right">
<c-button size="small" type="primary" @click="onLimmodTrycal">
试算
</c-button>
</c-col>
</c-row>
</c-col>
<br /><br /><br /><br /><br />
<c-col :span="24" style="">
<c-table :list="model.liaall.limmod.limgrd" :border="true">
<el-table-column prop="flg" label="可否串用" width="70px">
</el-table-column>
<el-table-column prop="shxh" label="序号" width="50px">
</el-table-column>
<el-table-column prop="limtyp" label="额度类型" width="70px">
</el-table-column>
<el-table-column prop="ruzhjg" label="入账机构" width="70px">
</el-table-column>
<el-table-column prop="limref" label="额度编号" width="70px">
</el-table-column>
<el-table-column prop="infref" label="额度明细编号" width="100px">
</el-table-column>
<el-table-column prop="limcodsave" label="额度品种代码" width="100px">
</el-table-column>
<el-table-column prop="limcod" label="品种代码描述" width="100px">
</el-table-column>
<el-table-column prop="cur" label="额度明细币种" width="100px">
</el-table-column>
<el-table-column prop="ccvpct" label="保证金比例" width="100px">
</el-table-column>
<el-table-column prop="cpsxed" label="产品授信额度" width="100px">
</el-table-column>
<el-table-column prop="balamt" label="产品可用额度" width="100px">
</el-table-column>
<el-table-column prop="useamt" label="产品已用额度" width="100px">
</el-table-column>
<el-table-column prop="cpsxck" label="产品授信敞口" width="100px">
</el-table-column>
<el-table-column prop="cpkyck" label="产品可用敞口" width="100px">
</el-table-column>
<el-table-column prop="cpyyck" label="产品已用敞口" width="100px">
</el-table-column>
<el-table-column prop="bxh" label="是否可循环" width="90px">
</el-table-column>
<el-table-column prop="bcy" label="是否可串用" width="90px">
</el-table-column>
<el-table-column prop="cyremark" label="串用说明" width="100px">
</el-table-column>
<el-table-column prop="credat" label="产品额度生效日期" width="120px">
</el-table-column>
<el-table-column prop="matdat" label="产品额度到期日" width="120px">
</el-table-column>
<el-table-column prop="lcpsta" label="额度产品状态" width="100px">
</el-table-column>
<el-table-column prop="fentyp" label="暴露分类" width="100px">
</el-table-column>
<el-table-column prop="fentxt" label="暴露分类说明" width="100px">
</el-table-column>
<el-table-column prop="limcur" label="额度币种" width="90px">
</el-table-column>
<el-table-column prop="bfx" label="是否低风险" width="90px">
</el-table-column>
</c-table>
</c-col>
<!-- <c-col :span="24" style="" v-if="false">
<c-table :list="model.liaall.limmod.lmegrd" :border="true">
<el-table-column label="可否串用" width="auto">
</el-table-column>
<el-table-column label="序号" width="auto"> </el-table-column>
<el-table-column label="额度类型" width="auto">
</el-table-column>
<el-table-column label="入账机构" width="auto">
</el-table-column>
<el-table-column label="额度编号" width="auto">
</el-table-column>
<el-table-column label="额度明细编号" width="auto">
</el-table-column>
<el-table-column label="额度品种代码" width="auto">
</el-table-column>
<el-table-column label="品种代码描述" width="auto">
</el-table-column>
<el-table-column label="" width="auto"> </el-table-column>
</c-table>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
// import Event from "~/model/Ditopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
tableData: {},
same:false
};
},
methods: {
onSeainf() {},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper_buttxmsel");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts_get1");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts_get2");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
nonrevflg1Change() {
if (this.model.liaall.limmod.limpts.nonrevflg1 == "1") {
this.model.liaall.limmod.limpts.pfcod1 = "";
}
},
nonrevflg2Change() {
if (this.model.liaall.limmod.limpts.nonrevflg2 == "1") {
this.model.liaall.limmod.limpts.pfcod2 = "";
}
},
async onWrkpDet() {
let rtnmsg = await this.executeRule("liaall.limmod.wrkp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
console.log(rtnmsg.data);
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onOthpDet() {
let rtnmsg = await this.executeRule("liaall.limmod.othp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
console.log(rtnmsg.data);
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimmodTrycal() {
let rtnmsg = await this.executeRule("liaall.limmod.trycal");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
show(){
let len1 = this.model.liaall.limmod.tygrd["rows"].length||[];
let len2 = this.model.liaall.limmod.dggrd["rows"].length||[];
if(len1>0&&len2>0){
this.same = true;
}
}
},
created: function () {},
};
</script>
<style>
</style>
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="eibs-tab"> <div class="eibs-tab">
<!--=== ==========左边=============== --> <!--=== ==========左边=============== -->
<c-col :span="11"> <c-col :span="12" class="col-left">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="提货担保申请人" prop="brdgrp.rec.relgodflg"> <el-form-item label="提货担保申请人" prop="brdgrp.rec.relgodflg">
<c-select v-model="model.brdgrp.rec.relgodflg" style="width:100%" placeholder="请选择提货担保申请人" :code="codes.relgod"> <c-select v-model="model.brdgrp.rec.relgodflg" style="width:100%" placeholder="请选择提货担保申请人" :code="codes.relgod">
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
</c-col> </c-col>
</c-col> </c-col>
<!--=== ==========右边=============== --> <!--=== ==========右边=============== -->
<c-col :span="11" :offset="1"> <c-col :span="12" class="col-right">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="合同编号" prop="brtp.connum"> <el-form-item label="合同编号" prop="brtp.connum">
<c-input v-model="model.brtp.connum" maxlength="35" placeholder="请输入合同编号"></c-input> <c-input v-model="model.brtp.connum" maxlength="35" placeholder="请输入合同编号"></c-input>
......
<template> <template>
<c-page>
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> j加操作按钮--> <!-- <c-bus-button :$pntvm="this"></c-bus-button> j加操作按钮-->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">查询</el-button>
<el-button size="small">用户确认</el-button>
<el-button size="small">检核</el-button>
<el-button size="small">日志</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">imgyge</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">img</el-button>
<el-button size="small">His.img</el-button>
</c-function-btn>
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -55,16 +39,23 @@ ...@@ -55,16 +39,23 @@
<m-shpdet :model="model" :codes="codes" /> <m-shpdet :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="表外记账" name="engp"> <el-tab-pane label="费用/账务" name="engp,setpan">
<c-content> <c-content>
<el-collapse v-model="fyzw">
<el-collapse-item title="表外记账" name="engp">
<!--liaall PD000027 Liability -->
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes" />
</c-content> </el-collapse-item>
</el-tab-pane> <el-collapse-item title="结算" name="setpan">
<!--setmod PD000000 Settlement --> <!--setmod PD000000 Settlement -->
<el-tab-pane label="结算" name="setpan"> <!-- 结算 -->
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--coninf PD000000 Completion --> <!--coninf PD000000 Completion -->
<el-tab-pane label="提示信息" name="coninfp"> <el-tab-pane label="提示信息" name="coninfp">
<c-content> <c-content>
...@@ -72,11 +63,11 @@ ...@@ -72,11 +63,11 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000529 &Messages --> <!--trndoc PD000529 &Messages -->
<el-tab-pane label="报文和面函" name="docpan"> <el-tab-pane label="报文/面函" name="docpan">
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000546 Attachments --> <!--trndoc PD000546 Attachments -->
<el-tab-pane label="附件" name="doctre"> <el-tab-pane label="附件信息" name="doctre">
<c-content> <c-content>
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</c-content> </c-content>
...@@ -89,6 +80,22 @@ ...@@ -89,6 +80,22 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<!-- <el-button size="small">查询</el-button> -->
<!-- <el-button size="small">用户确认</el-button> -->
<!-- <el-button size="small">检核</el-button> -->
<!-- <el-button size="small">日志</el-button> -->
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<!-- <el-button size="small">imgyge</el-button> -->
<!-- <el-button size="small">拆分报文</el-button> -->
<!-- <el-button size="small">img</el-button> -->
<!-- <el-button size="small">His.img</el-button> -->
</c-function-btn>
<c-grid-ety-prompt-dialog <c-grid-ety-prompt-dialog
ref="etyDialog" ref="etyDialog"
:promptData="promptData" :promptData="promptData"
...@@ -103,6 +110,7 @@ ...@@ -103,6 +110,7 @@
> >
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from '~/service/Api' import Api from '~/service/Api'
...@@ -121,14 +129,14 @@ import Shpdet from './Shpdet' ...@@ -121,14 +129,14 @@ import Shpdet from './Shpdet'
// import Coninfp from "./Coninfp" // import Coninfp from "./Coninfp"
// import Docpan from "./Docpan" // import Docpan from "./Docpan"
// import Doctre from "./Doctre" // import Doctre from "./Doctre"
// import Limitbody from "./Limitbody" import Limitbody from "./Limitbody"
import Engp from '~/views/Public/Engp' import Engp from '~/views/Public/Engp'
import Setpan from '~/views/Public/Setpan' import Setpan from '~/views/Public/Setpan'
import Coninfp from '~/views/Public/Coninfp' import Coninfp from '~/views/Public/Coninfp'
import Docpan from '~/views/Public/Docpan' import Docpan from '~/views/Public/Docpan'
import Doctre from '~/views/Public/Doctre' import Doctre from '~/views/Public/Doctre'
import Limitbody from '~/views/Public/Limitbody' // import Limitbody from '~/views/Public/Limitbody'
export default { export default {
name: 'Brtdck', name: 'Brtdck',
......
<template>
<div class="eibs-tab">
<!-- 左边-->
<c-col :span="8">
<!-- line2 -->
<c-row>
<c-col :span="24">
<el-form-item
label="额度主体"
prop="liaall.limmod.limpts.wrk.pts.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
style="width: 100%"
:disabled="true"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
:disabled="true"
/>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onWrkpDet"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line3 -->
<c-row>
<c-col :span="24">
<el-form-item
label="主体名称"
prop="liaall.limmod.limpts.wrk.pts.nam"
>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line4 -->
<c-row>
<c-col :span="24" style="text-align: right">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1">
<c-fullbox>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg1"
style="width: 100%"
placeholder="请选择额度类型"
@change="nonrevflg1Change"
:disabled="true"
>
<el-option
v-for="item in codes.nonrevflg1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-button
style="padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onLimptsGet1"
:disabled="true"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line5 -->
<c-row>
<c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
<c-input
v-model="model.liaall.limmod.limpts.pfcod1"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
<!-- 中间 -->
<!-- 随event方法改变 -->
<c-col :span="8" v-show="same" @change="show">
<!-- line2 -->
<c-row>
<c-col :span="24">
<el-form-item
label="对公账户"
prop="liaall.limmod.limpts.oth.pts.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.liaall.limmod.limpts.oth.pts.extkey"
maxlength="16"
placeholder="请输入地址编号"
style="width: 100%"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
/>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onOthpDet"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line3 -->
<c-row>
<c-col :span="24">
<el-form-item
label="主体名称"
prop="liaall.limmod.limpts.oth.pts.nam"
>
<c-input
v-model="model.liaall.limmod.limpts.oth.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line4 -->
<c-row>
<c-col :span="24" style="text-align: right">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg2">
<c-fullbox>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg2"
style="width: 100%"
placeholder="请选择额度类型"
@change="nonrevflg2Change"
>
<el-option
v-for="item in codes.nonrevflg2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-button
style="padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onLimptsGet2"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line5 -->
<c-row>
<c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod2">
<c-input
v-model="model.liaall.limmod.limpts.pfcod2"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg2 != '2'"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
<!-- 右边-->
<c-col :span="8">
<!-- line1 -->
<c-row>
<c-col :span="24">
<el-form-item label="业务编号" prop="liaall.limmod.ownref">
<c-input
v-model="model.liaall.limmod.ownref"
maxlength="16"
placeholder="请输入国结业务编号"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input
v-model="model.liaall.limmod.comamt"
placeholder="请输入业务余额"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line1 -->
<c-row>
<c-col :span="24">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input
v-model="model.liaall.limmod.ccvamt"
placeholder="请输入保证金余额"
:disabled="true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right">
<c-button size="small" type="primary" @click="onLimmodTrycal">
试算
</c-button>
</c-col>
</c-row>
</c-col>
<br /><br /><br /><br /><br />
<c-col :span="24" style="">
<c-table :list="model.liaall.limmod.limgrd" :border="true">
<el-table-column prop="flg" label="可否串用" width="70px">
</el-table-column>
<el-table-column prop="shxh" label="序号" width="50px">
</el-table-column>
<el-table-column prop="limtyp" label="额度类型" width="70px">
</el-table-column>
<el-table-column prop="ruzhjg" label="入账机构" width="70px">
</el-table-column>
<el-table-column prop="limref" label="额度编号" width="70px">
</el-table-column>
<el-table-column prop="infref" label="额度明细编号" width="100px">
</el-table-column>
<el-table-column prop="limcodsave" label="额度品种代码" width="100px">
</el-table-column>
<el-table-column prop="limcod" label="品种代码描述" width="100px">
</el-table-column>
<el-table-column prop="cur" label="额度明细币种" width="100px">
</el-table-column>
<el-table-column prop="ccvpct" label="保证金比例" width="100px">
</el-table-column>
<el-table-column prop="cpsxed" label="产品授信额度" width="100px">
</el-table-column>
<el-table-column prop="balamt" label="产品可用额度" width="100px">
</el-table-column>
<el-table-column prop="useamt" label="产品已用额度" width="100px">
</el-table-column>
<el-table-column prop="cpsxck" label="产品授信敞口" width="100px">
</el-table-column>
<el-table-column prop="cpkyck" label="产品可用敞口" width="100px">
</el-table-column>
<el-table-column prop="cpyyck" label="产品已用敞口" width="100px">
</el-table-column>
<el-table-column prop="bxh" label="是否可循环" width="90px">
</el-table-column>
<el-table-column prop="bcy" label="是否可串用" width="90px">
</el-table-column>
<el-table-column prop="cyremark" label="串用说明" width="100px">
</el-table-column>
<el-table-column prop="credat" label="产品额度生效日期" width="120px">
</el-table-column>
<el-table-column prop="matdat" label="产品额度到期日" width="120px">
</el-table-column>
<el-table-column prop="lcpsta" label="额度产品状态" width="100px">
</el-table-column>
<el-table-column prop="fentyp" label="暴露分类" width="100px">
</el-table-column>
<el-table-column prop="fentxt" label="暴露分类说明" width="100px">
</el-table-column>
<el-table-column prop="limcur" label="额度币种" width="90px">
</el-table-column>
<el-table-column prop="bfx" label="是否低风险" width="90px">
</el-table-column>
</c-table>
</c-col>
<!-- <c-col :span="24" style="" v-if="false">
<c-table :list="model.liaall.limmod.lmegrd" :border="true">
<el-table-column label="可否串用" width="auto">
</el-table-column>
<el-table-column label="序号" width="auto"> </el-table-column>
<el-table-column label="额度类型" width="auto">
</el-table-column>
<el-table-column label="入账机构" width="auto">
</el-table-column>
<el-table-column label="额度编号" width="auto">
</el-table-column>
<el-table-column label="额度明细编号" width="auto">
</el-table-column>
<el-table-column label="额度品种代码" width="auto">
</el-table-column>
<el-table-column label="品种代码描述" width="auto">
</el-table-column>
<el-table-column label="" width="auto"> </el-table-column>
</c-table>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
// import Event from "~/model/Ditopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
tableData: {},
same:false
};
},
methods: {
onSeainf() {},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper_buttxmsel");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts_get1");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts_get2");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
nonrevflg1Change() {
if (this.model.liaall.limmod.limpts.nonrevflg1 == "1") {
this.model.liaall.limmod.limpts.pfcod1 = "";
}
},
nonrevflg2Change() {
if (this.model.liaall.limmod.limpts.nonrevflg2 == "1") {
this.model.liaall.limmod.limpts.pfcod2 = "";
}
},
async onWrkpDet() {
let rtnmsg = await this.executeRule("liaall.limmod.wrkp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
console.log(rtnmsg.data);
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onOthpDet() {
let rtnmsg = await this.executeRule("liaall.limmod.othp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
console.log(rtnmsg.data);
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
async onLimmodTrycal() {
let rtnmsg = await this.executeRule("liaall.limmod.trycal");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
show(){
let len1 = this.model.liaall.limmod.tygrd["rows"].length||[];
let len2 = this.model.liaall.limmod.dggrd["rows"].length||[];
if(len1>0&&len2>0){
this.same = true;
}
}
},
created: function () {},
};
</script>
<style>
</style>
...@@ -271,7 +271,8 @@ ...@@ -271,7 +271,8 @@
<c-col :span="12"> <c-col :span="12">
<c-checkbox <c-checkbox
:disabled="this.model.brdgrp.blk.docdisflg == 'X'" :disabled="this.model.brdgrp.blk.docdisflg == 'X'"
v-model="model.brdgrp.rec.dscinsflg">记录单据和不符点</c-checkbox> v-model="model.brdgrp.rec.dscinsflg"
@change="dscinsflgChange">记录单据和不符点</c-checkbox>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="最迟送达日期" prop="zcsdrq"> <el-form-item label="最迟送达日期" prop="zcsdrq">
...@@ -551,6 +552,14 @@ export default { ...@@ -551,6 +552,14 @@ export default {
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
},
dscinsflgChang(){
if(this.model.brdgrp.rec.dscinsflg==='X'){
this.model.brdgrp.rec.docsta='H'
}
else{
this.model.brdgrp.rec.docsta='G'
}
} }
} }
</script> </script>
......
...@@ -29,42 +29,58 @@ ...@@ -29,42 +29,58 @@
label="不符点/说明" label="不符点/说明"
name="docpre" name="docpre"
> >
<m-docpre :model="model" :codes="codes" /> <c-content>
<m-docpre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="表外记账" name="engp"> <el-tab-pane label="表外记账" name="engp">
<m-engp :model="model" :codes="codes" /> <c-content>
<m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="结算" name="setpan"> <el-tab-pane label="结算" name="setpan">
<m-setpan :model="model" :codes="codes" /> <c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="提示信息" name="coninfp"> <el-tab-pane label="提示信息" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="面函/报文" name="docpan"> <el-tab-pane label="面函/报文" name="docpan">
<m-docpan :model="model" :codes="codes" /> <c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--PD000546 -->
<el-tab-pane label="附件" name="doctre"> <el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes" /> <c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="货权单据" name="srmp"> <el-tab-pane label="货权单据" name="srmp">
<m-srmp :model="model" :codes="codes" /> <c-content>
<m-srmp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" /> <c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
...@@ -107,15 +123,15 @@ import Docpre from "./Docpre"; ...@@ -107,15 +123,15 @@ import Docpre from "./Docpre";
// import Coninfp from "./Coninfp" // import Coninfp from "./Coninfp"
// import Docpan from "./Docpan" // import Docpan from "./Docpan"
// import Doctre from "./Doctre" // import Doctre from "./Doctre"
// import Limitbody from "./Limitbody" import Limitbody from "./Limitbody"
import Srmp from "./Srmp"; import Srmp from "./Srmp"
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan"
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre"
import Limitbody from "~/views/Public/Limitbody"; // import Limitbody from "~/views/Public/Limitbody"
export default { export default {
name: "Litdck", name: "Litdck",
......
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