Commit a2275547 by zhoutian
parents ea15a1f8 805f649f
...@@ -1244,8 +1244,8 @@ const CodeTable = { ...@@ -1244,8 +1244,8 @@ const CodeTable = {
{ label: "YES", value: "Y" }, { label: "YES", value: "Y" },
], ],
bppnttyp: [ bppnttyp: [
{ label: "Transfer Document Set", value: "BTD" }, { label: "Transfer Document Set", value: "MTD" },
{ label: "Document Set", value: "BED" }, { label: "Document Set", value: "BFD" },
], ],
brtselflg: [ brtselflg: [
{ label: "单据修改", value: "4" }, { label: "单据修改", value: "4" },
......
...@@ -302,7 +302,7 @@ export default { ...@@ -302,7 +302,7 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"bpdgrp.cbs.max.amt":[ "bpdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -358,7 +358,7 @@ export default { ...@@ -358,7 +358,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"bpdgrp.cbs.opn1.amt":[ "bpdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -435,7 +435,7 @@ export default { ...@@ -435,7 +435,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"dedgrp.rec.expplc":[ "dedgrp.rec.expplc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bpdgrp.rec.opndat":[ "bpdgrp.rec.opndat":[
......
...@@ -18,9 +18,11 @@ ...@@ -18,9 +18,11 @@
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
icon="el-icon-search" icon="el-icon-search"
style="margin-right:10px" style="margin-right: 10px"
></c-button> ></c-button>
<c-checkbox v-model="model.clsflg">Show closed</c-checkbox> <c-checkbox v-model="model.clsflg"
>Show closed</c-checkbox
>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
...@@ -37,12 +39,55 @@ ...@@ -37,12 +39,55 @@
</c-col> </c-col>
</c-col> </c-col>
<div v-if="hotreg == 3 || hotreg == 4 || hotreg == 7 || hotreg == 8">
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="单据业务编号"
prop="bfdgrp.rec.ownref"
>
<c-fullbox>
<c-input
v-model="model.bfdgrp.rec.ownref"
maxlength="16"
@keyup.enter.native="
showGridPromptDialog(
'bfdgrp.rec.ownref'
)
"
placeholder="请输入单据业务编号"
></c-input>
<template slot="footer">
<c-checkbox v-model="model.bfdget.clsflg" style="margin-left:10px"
>Show closed</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="摘要" prop="bfdgrp.rec.nam">
<c-input
v-model="model.bfdgrp.rec.nam"
maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
<!-- 信用证 --> <!-- 信用证 -->
<div v-if="hotreg == 1 || hotreg == 2"> <div v-if="hotreg == 1 || hotreg == 2">
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="信用证金额" prop="dedgrp.cbs.nom1.cur"> <el-form-item
label="信用证金额"
prop="dedgrp.cbs.nom1.cur"
>
<c-input <c-input
v-model="model.dedgrp.cbs.nom1.cur" v-model="model.dedgrp.cbs.nom1.cur"
maxlength="3" maxlength="3"
...@@ -52,7 +97,10 @@ ...@@ -52,7 +97,10 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="信用证余额" prop="dedgrp.cbs.opn1.cur"> <el-form-item
label="信用证余额"
prop="dedgrp.cbs.opn1.cur"
>
<c-input <c-input
v-model="model.dedgrp.cbs.opn1.cur" v-model="model.dedgrp.cbs.opn1.cur"
maxlength="3" maxlength="3"
...@@ -87,7 +135,6 @@ ...@@ -87,7 +135,6 @@
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.dedgrp.rec.opndat" v-model="model.dedgrp.rec.opndat"
style="width: 95%"
placeholder="请选择Date Issued" placeholder="请选择Date Issued"
disabled disabled
></c-date-picker> ></c-date-picker>
...@@ -118,7 +165,6 @@ ...@@ -118,7 +165,6 @@
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.dedgrp.rec.expdat" v-model="model.dedgrp.rec.expdat"
style="width: 95%"
placeholder="请选择Date/Place of Expiry" placeholder="请选择Date/Place of Expiry"
disabled disabled
></c-date-picker> ></c-date-picker>
...@@ -139,7 +185,10 @@ ...@@ -139,7 +185,10 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="信用证类型" prop="dedgrp.rec.lcrtyp"> <el-form-item
label="信用证类型"
prop="dedgrp.rec.lcrtyp"
>
<c-select <c-select
v-model="model.dedgrp.rec.lcrtyp" v-model="model.dedgrp.rec.lcrtyp"
style="width: 100%" style="width: 100%"
...@@ -168,7 +217,10 @@ ...@@ -168,7 +217,10 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="受益人名称" prop="dedgrp.ben.pts.nam"> <el-form-item
label="受益人名称"
prop="dedgrp.ben.pts.nam"
>
<c-input <c-input
v-model="model.dedgrp.ben.pts.nam" v-model="model.dedgrp.ben.pts.nam"
maxlength="40" maxlength="40"
...@@ -192,7 +244,10 @@ ...@@ -192,7 +244,10 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="开证行名称" prop="dedgrp.iss.pts.nam"> <el-form-item
label="开证行名称"
prop="dedgrp.iss.pts.nam"
>
<c-input <c-input
v-model="model.dedgrp.iss.pts.nam" v-model="model.dedgrp.iss.pts.nam"
maxlength="40" maxlength="40"
...@@ -216,7 +271,10 @@ ...@@ -216,7 +271,10 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="申请人名称" prop="dedgrp.apl.pts.nam"> <el-form-item
label="申请人名称"
prop="dedgrp.apl.pts.nam"
>
<c-input <c-input
v-model="model.dedgrp.apl.pts.nam" v-model="model.dedgrp.apl.pts.nam"
maxlength="40" maxlength="40"
...@@ -245,18 +303,25 @@ ...@@ -245,18 +303,25 @@
<!-- Left --> <!-- Left -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据业务编号" prop="bfdgrp.rec.ownref">
<c-input v-model="model.bfdgrp.rec.ownref" maxlength="16" @keyup.enter.native="showGridPromptDialog('bfdgrp.rec.ownref')" placeholder="请输入单据业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="单据金额" prop="bfdgrp.cbs.max.cur"> <el-form-item
<c-input v-model="model.bfdgrp.cbs.max.cur" maxlength="3" placeholder="请输入单据金额"></c-input> label="单据金额"
prop="bfdgrp.cbs.max.cur"
>
<c-input
v-model="model.bfdgrp.cbs.max.cur"
maxlength="3"
placeholder="请输入单据金额"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="bfdgrp.cbs.max.amt"> <el-form-item
label=""
label-width="5px"
prop="bfdgrp.cbs.max.amt"
>
<c-input <c-input
v-model="model.bfdgrp.cbs.max.amt" v-model="model.bfdgrp.cbs.max.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
...@@ -267,12 +332,24 @@ ...@@ -267,12 +332,24 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="单据金额" prop="bfdgrp.cbs.opn1.cur"> <el-form-item
<c-input v-model="model.bfdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入单据金额"></c-input> label="单据金额"
prop="bfdgrp.cbs.opn1.cur"
>
<c-input
v-model="model.bfdgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入单据金额"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="bfdgrp.cbs.opn1.amt"> <el-form-item
label=""
label-width="5px"
prop="bfdgrp.cbs.opn1.amt"
>
<c-input <c-input
v-model="model.bfdgrp.cbs.opn1.amt" v-model="model.bfdgrp.cbs.opn1.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
...@@ -282,37 +359,86 @@ ...@@ -282,37 +359,86 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod"> <el-form-item
<c-input v-model="model.bfdgrp.rec.doctypcod" maxlength="1" placeholder="请输入单据类型"></c-input> label="单据类型"
prop="bfdgrp.rec.doctypcod"
>
<c-input
v-model="model.bfdgrp.rec.doctypcod"
maxlength="1"
placeholder="请输入单据类型"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="远期单据到期日" prop="bfdgrp.rec.orddat"> <el-form-item
<c-date-picker type="date" v-model="model.bfdgrp.rec.orddat" style="width:100%" placeholder="请选择远期单据到期日"></c-date-picker> label="远期单据到期日"
prop="bfdgrp.rec.orddat"
>
<c-date-picker
type="date"
v-model="model.bfdgrp.rec.orddat"
style="width: 100%"
placeholder="请选择远期单据到期日"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="寄单日期" prop="dfdgrp.rec.opndat"> <el-form-item
<c-date-picker type="date" v-model="model.dfdgrp.rec.opndat" style="width:100%" placeholder="请选择代付日期"></c-date-picker> label="寄单日期"
prop="dfdgrp.rec.opndat"
>
<c-date-picker
type="date"
v-model="model.dfdgrp.rec.opndat"
style="width: 100%"
placeholder="请选择代付日期"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="到单日期" prop="bfdgrp.rec.rcvdat"> <el-form-item
<c-date-picker type="date" v-model="model.bfdgrp.rec.rcvdat" style="width:100%" placeholder="请选择到单日期"></c-date-picker> label="到单日期"
prop="bfdgrp.rec.rcvdat"
>
<c-date-picker
type="date"
v-model="model.bfdgrp.rec.rcvdat"
style="width: 100%"
placeholder="请选择到单日期"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="提示日期" prop="bfdgrp.rec.predat"> <el-form-item
<c-date-picker type="date" v-model="model.bfdgrp.rec.predat" style="width:100%" placeholder="请选择Presentation Date"></c-date-picker> label="提示日期"
prop="bfdgrp.rec.predat"
>
<c-date-picker
type="date"
v-model="model.bfdgrp.rec.predat"
style="width: 100%"
placeholder="请选择Presentation Date"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据状态" prop="bfdgrp.rec.docsta"> <el-form-item label="单据状态" prop="bfdgrp.rec.docsta">
<c-input v-model="model.bfdgrp.rec.docsta" maxlength="40" placeholder="请输入单据状态"></c-input> <c-input
v-model="model.bfdgrp.rec.docsta"
maxlength="40"
placeholder="请输入单据状态"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -320,26 +446,410 @@ ...@@ -320,26 +446,410 @@
<!-- Right --> <!-- Right -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="摘要" prop="bfdgrp.rec.nam"> <c-ptsmsg
<c-input v-model="model.bfdgrp.rec.nam" maxlength="40" placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input> :model="model"
:argadr="{
title: '交单行',
grp: 'bfdgrp',
rol: 'prb',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '开证行',
grp: 'bfdgrp',
rol: 'iss',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '申请人',
grp: 'bfdgrp',
rol: 'apl',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
</c-col>
</c-col>
</div>
<!-- 融资 -->
<div v-if="hotreg == 5 || hotreg == 6">
<c-col :span="24">
<!-- Left -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="业务合同" prop="bppnttyp">
<c-select
v-model="model.bppnttyp"
style="width: 100%"
placeholder="请选择业务合同"
>
<el-option
v-for="item in codes.bppnttyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="单据业务编号"
prop="mtdgrp.rec.ownref"
>
<c-fullbox>
<c-input
v-model="model.mtdgrp.rec.ownref"
maxlength="16"
placeholder="单据业务编号"
@keyup.enter.native="
showGridPromptDialog(
'mtdgrp.rec.ownref'
)
"
></c-input>
<template slot="footer">
<c-checkbox
v-model="model.mtdget.clsflg"
style="margin-left: 10px"
>Show closed</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="融资业务编号"
prop="bpdgrp.rec.ownref"
>
<c-input
v-model="model.bpdgrp.rec.ownref"
maxlength="16"
placeholder="请输入融资业务编号"
@keyup.enter.native="
showGridPromptDialog(
'bpdgrp.rec.ownref'
)
"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="融资金额"
prop="bpdgrp.cbs.max.cur"
>
<c-input
v-model="model.bpdgrp.cbs.max.cur"
maxlength="3"
placeholder="请输入单据金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
label-width="5px"
prop="bpdgrp.cbs.max.amt"
>
<c-input
v-model="model.bpdgrp.cbs.max.amt"
placeholder="请输入Balance"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="押汇余额"
prop="bpdgrp.cbs.opn1.cur"
>
<c-input
v-model="model.bpdgrp.cbs.max.cur"
maxlength="3"
placeholder="请输入单据金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
label-width="5px"
prop="bpdgrp.cbs.opn1.amt"
>
<c-input
v-model="model.bpdgrp.cbs.opn1.amt"
placeholder="请输入Balance"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="起息日期" prop="bpdgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.bpdgrp.rec.opndat"
style="width: 100%"
placeholder="请选择起息日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="融资帐号" prop="bpdgrp.rec.finact">
<c-input
v-model="model.bpdgrp.rec.finact"
maxlength="21"
placeholder="请输入融资帐号"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- Right -->
<c-col :span="12">
<c-col :span="24"> </c-col>
<c-col :span="24">
<el-form-item label="摘要" prop="mtdgrp.rec.nam">
<c-input
v-model="model.mtdgrp.rec.nam"
maxlength="40"
placeholder="请输入摘要"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="摘要" prop="bpdgrp.rec.nam">
<c-input
v-model="model.bpdgrp.rec.nam"
maxlength="40"
placeholder="请输入摘要"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptsmsg <c-ptsmsg
:model="model" :model="model"
:argadr="{ title: '交单行', grp: 'bfdgrp', rol: 'prb' }" :argadr="{
title: '融资客户',
grp: 'bpdgrp',
rol: 'fia',
}"
:disabled="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="融资类型" prop="dfdgrp.rec.fintyp">
<c-input
v-model="model.dfdgrp.rec.fintyp"
maxlength="3"
placeholder="请输入Type"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="到单日期" prop="bfdgrp.rec.rcvdat">
<c-date-picker
type="date"
v-model="model.bfdgrp.rec.rcvdat"
style="width: 100%"
placeholder="请选择到单日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
<!-- 同业代付 -->
<div v-if="hotreg == 7 || hotreg == 8">
<c-col :span="24">
<!-- Left -->
<c-col :span="12">
<c-col :span="24">
<el-form-item
label="代付业务编号"
prop="dfdgrp.rec.ownref"
>
<c-input
v-model="model.dfdgrp.rec.ownref"
maxlength="16"
placeholder="请输入代付业务编号"
@keyup.enter.native="
showGridPromptDialog(
'dfdgrp.rec.ownref'
)
"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="代付本金"
prop="dfdgrp.cbs.max.cur"
>
<c-input
v-model="model.dfdgrp.cbs.max.cur"
maxlength="3"
placeholder="请输入单据金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
label-width="5px"
prop="dfdgrp.cbs.max.amt"
>
<c-input
v-model="model.dfdgrp.cbs.max.amt"
placeholder="请输入Balance"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="代付本金"
prop="dfdgrp.cbs.opn1.cur"
>
<c-input
v-model="model.dfdgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入单据金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
label-width="5px"
prop="dfdgrp.cbs.opn1.amt"
>
<c-input
v-model="model.dfdgrp.cbs.opn1.amt"
placeholder="请输入Balance"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="代付日期" prop="dfdgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.dfdgrp.rec.opndat"
style="width: 100%"
placeholder="请选择代付日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="代付类型" prop="dfdgrp.rec.fintyp">
<c-input
v-model="model.dfdgrp.rec.fintyp"
maxlength="3"
placeholder="请输入Type"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col>
<c-col :span="12">
<el-form-item
label="代付起始日"
prop="dfdgrp.rec.stttendat"
>
<c-date-picker
type="date"
v-model="model.dfdgrp.rec.stttendat"
style="width: 100%"
placeholder="请选择代付起始日"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Maturity Date"
prop="dfdgrp.rec.matdat"
>
<c-date-picker
type="date"
v-model="model.dfdgrp.rec.matdat"
style="width: 100%"
placeholder="请选择Maturity Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- Right -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="摘要" prop="dfdgrp.rec.nam">
<c-input
v-model="model.dfdgrp.rec.nam"
maxlength="40"
placeholder="请输入摘要"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg <c-ptsmsg
:model="model" :model="model"
:argadr="{ title: '开证行', grp: 'bfdgrp', rol: 'iss' }" :argadr="{
title: '申请人',
grp: 'dfdgrp',
rol: 'apl',
}"
:disabled="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptsmsg <c-ptsmsg
:model="model" :model="model"
:argadr="{ title: '申请人', grp: 'bfdgrp', rol: 'apl' }" :argadr="{
title: '代付行',
grp: 'dfdgrp',
rol: 'dff',
}"
:disabled="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> </c-col>
</c-col> </c-col>
...@@ -354,11 +864,7 @@ ...@@ -354,11 +864,7 @@
</c-col> </c-col>
<c-col :offset="12" :span="10"> <c-col :offset="12" :span="10">
<el-tabs tab-position="right" @tab-click="onTabClick"> <el-tabs tab-position="right" @tab-click="onTabClick">
<el-tab-pane <el-tab-pane v-for="it in meum" :key="it.key" :label="it.label">
v-for="it in meum"
:key="it.key"
:label="it.label"
>
<sel-mune :data="meumItem" :model="model" /> <sel-mune :data="meumItem" :model="model" />
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
...@@ -373,7 +879,6 @@ import Event from "~/model/Letsel/Event"; ...@@ -373,7 +879,6 @@ import Event from "~/model/Letsel/Event";
import SelMune from "./SelMune.vue"; import SelMune from "./SelMune.vue";
import Ptsmsg from "~/views/Public/Ptsmsg"; import Ptsmsg from "~/views/Public/Ptsmsg";
export default { export default {
components: { components: {
SelMune, SelMune,
...@@ -387,37 +892,37 @@ export default { ...@@ -387,37 +892,37 @@ export default {
hotreg: "1", hotreg: "1",
meum: [ meum: [
{ {
label:'信用证', label: "信用证",
key:1 key: 1,
}, },
{ {
label:'信用证其他', label: "信用证其他",
key:2 key: 2,
}, },
{ {
label:'单据', label: "单据",
key:3 key: 3,
}, },
{ {
label:'单据其他', label: "单据其他",
key:4 key: 4,
}, },
{ {
label:'融资', label: "融资",
key:5 key: 5,
}, },
{ {
label:'融资其他', label: "融资其他",
key:6 key: 6,
}, },
{ {
label:'同业代付', label: "同业代付",
key:7 key: 7,
}, },
{ {
label:'其他', label: "其他",
key:8 key: 8,
} },
], ],
}; };
}, },
...@@ -428,8 +933,8 @@ export default { ...@@ -428,8 +933,8 @@ export default {
var label = tab.label; var label = tab.label;
var key = 1; var key = 1;
var meum = this.meum; var meum = this.meum;
for(let i = 0; i < meum.length; i++){ for (let i = 0; i < meum.length; i++) {
if(meum[i].label == label){ if (meum[i].label == label) {
key = meum[i].key; key = meum[i].key;
break; break;
} }
...@@ -437,7 +942,7 @@ export default { ...@@ -437,7 +942,7 @@ export default {
this.hotreg = key; this.hotreg = key;
let rtnmsg = await this.executeRule(`cfgfil.hotreg${key}`); let rtnmsg = await this.executeRule(`cfgfil.hotreg${key}`);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data);
} else { } else {
this.$notify.error({ this.$notify.error({
title: "错误", title: "错误",
...@@ -448,9 +953,9 @@ export default { ...@@ -448,9 +953,9 @@ export default {
}, },
computed: { computed: {
meumItem() { meumItem() {
return this.model.cfgfil.btnstm.rows || [] return this.model.cfgfil.btnstm.rows || [];
} },
} },
}; };
</script> </script>
<style> <style>
......
...@@ -41,7 +41,6 @@ export default { ...@@ -41,7 +41,6 @@ export default {
//各入口按钮请求 //各入口按钮请求
async onNarBtnClick(url, label) { async onNarBtnClick(url, label) {
let key = 0; let key = 0;
for(let i = 1; i <= 11 ; i++){ for(let i = 1; i <= 11 ; i++){
let temp_label = this.model.cfgfil['subtxt'+i]; let temp_label = this.model.cfgfil['subtxt'+i];
if(temp_label == label){ if(temp_label == label){
...@@ -52,6 +51,7 @@ export default { ...@@ -52,6 +51,7 @@ export default {
let rtnmsg = await this.executeRule("cfgfil.hotsub"+key); let rtnmsg = await this.executeRule("cfgfil.hotsub"+key);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
url = url.toLowerCase();
this.$router.history.push("/business/" + url); this.$router.history.push("/business/" + url);
} else { } else {
this.$notify.error({ this.$notify.error({
...@@ -59,16 +59,6 @@ export default { ...@@ -59,16 +59,6 @@ export default {
message: "服务请求失败!", message: "服务请求失败!",
}); });
} }
// let rtnmsg = await this.executeRule(`cfgfil.hotsub${hotsubx}`);
// console.log("cfgfil.code:" + this.model.cfgfil[`subtrn${hotsubx}`]);
// if (rtnmsg.respCode == SUCCESS) {
// this.$router.history.push(href);
// } else {
// this.$notify.error({
// title: "错误",
// message: "服务请求失败!",
// });
// }
}, },
}, },
computed: { computed: {
...@@ -84,7 +74,6 @@ export default { ...@@ -84,7 +74,6 @@ export default {
other: items[3], other: items[3],
}); });
} }
console.log(arr);
return arr; return arr;
}, },
}, },
......
...@@ -61,7 +61,7 @@ export default { ...@@ -61,7 +61,7 @@ export default {
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: {}, codes: {...CodeTable},
}; };
}, },
methods: { methods: {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<!-- <div class="eibs-tab"> --> <!-- <div class="eibs-tab"> -->
<div> <div>
<c-col :span="24"> <c-col :span="24">
<el-form-item :label="argadr.title + '编号'" :prop="'${argadr.grp}.${argadr.rol}.pts.ref'"> <el-form-item :label="argadr.title + '编号'" :prop="`${argadr.grp}.${argadr.rol}.pts.ref`">
<c-input <c-input
v-model="model[argadr.grp][argadr.rol].pts.ref" v-model="model[argadr.grp][argadr.rol].pts.ref"
maxlength="16" maxlength="16"
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item :label="argadr.title + '名称'" :prop="'${argadr.grp}.${argadr.rol}.pts.nam'"> <el-form-item :label="argadr.title + '名称'" :prop="`${argadr.grp}.${argadr.rol}.pts.nam`">
<c-input <c-input
v-model="model[argadr.grp][argadr.rol].pts.nam" v-model="model[argadr.grp][argadr.rol].pts.nam"
maxlength="40" maxlength="40"
......
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