Commit 8aabcc5f by lixinyi

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents 3669aba1 be84fb4d
...@@ -100,6 +100,7 @@ export default class Betamc { ...@@ -100,6 +100,7 @@ export default class Betamc {
predat:"", // Presentation Date .bedgrp.rec.predat predat:"", // Presentation Date .bedgrp.rec.predat
docsta:"", // 单据状态 .bedgrp.rec.docsta docsta:"", // 单据状态 .bedgrp.rec.docsta
branchinr:"", branchinr:"",
ver:"",
}, },
cbs: { cbs: {
opn1: { opn1: {
......
...@@ -195,7 +195,7 @@ export default { ...@@ -195,7 +195,7 @@ export default {
{ max: 35, message: "长度不能超过35" } { max: 35, message: "长度不能超过35" }
], ],
"rmbclm.rmbrmb.pts.adrblk": [ "rmbclm.rmbrmb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ type: "string",max: 999, message: "长度不能超过35" } { type: "string",max: 999, message: "长度不能超过35" }
], ],
"rmbclm.rmbrmb.dbfadrblkcn": [ "rmbclm.rmbrmb.dbfadrblkcn": [
......
...@@ -456,7 +456,7 @@ export default { ...@@ -456,7 +456,7 @@ export default {
computed: { computed: {
clmrmbflg: { clmrmbflg: {
get() { get() {
return this.model.rmbclm.clmrmbflg === "X"; return this.model.rmbclm.clmrmbflg = "X";
}, },
set(val) { set(val) {
this.model.rmbclm.clmrmbflg = val ? "X" : ""; this.model.rmbclm.clmrmbflg = val ? "X" : "";
......
...@@ -16,10 +16,10 @@ export default { ...@@ -16,10 +16,10 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"} {max: 1,message:"长度不能超过1"}
], ],
"cnybop.libflg":[ // "cnybop.libflg":[
{type: "string", required: true, message: "必输项"}, // {type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
"ledgrp.rec.ownref":[ "ledgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
......
...@@ -105,6 +105,8 @@ export default class Betsnd { ...@@ -105,6 +105,8 @@ export default class Betsnd {
docprbrol: '', docprbrol: '',
inr: '', inr: '',
branchinr: '', branchinr: '',
ver: '',
pntinr: '',
}, },
prb: { prb: {
pts: new Pts().data, pts: new Pts().data,
......
...@@ -49,6 +49,7 @@ export default { ...@@ -49,6 +49,7 @@ export default {
return dataObj return dataObj
}, },
buildSetfeg (model, trnName) { buildSetfeg (model, trnName) {
var doceot = []
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
liaall: model.liaall, liaall: model.liaall,
...@@ -103,9 +104,9 @@ export default { ...@@ -103,9 +104,9 @@ export default {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
objtyp: 'LID', objtyp: 'BRD',
objinr: model.lidgrp.rec.objinr, objinr: model.brdgrp.rec.inr,
ownref: model.lidgrp.rec.ownref, ownref: model.brdgrp.rec.ownref,
}, },
}; };
return params return params
...@@ -114,10 +115,10 @@ export default { ...@@ -114,10 +115,10 @@ export default {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
objtyp: 'LID', objtyp: 'BRD',
objinr: model.lidgrp.rec.objinr, objinr: model.brdgrp.rec.inr,
ownref: model.lidgrp.rec.ownref, ownref: model.brdgrp.rec.ownref,
swiftflg: model.gitp.swiftflg, // swiftflg: model.gitp.swiftflg,
}, },
}; };
return params return params
......
...@@ -11,18 +11,10 @@ export default { ...@@ -11,18 +11,10 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.rec.expdat":[
//{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.cbs.opn1.cur":[ "lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
// "lidgrp.cbs.opn1.amt":[
// //{type: "string", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// //{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brtp0.recget.sdamod.dadsnd":[ "brtp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -47,22 +39,14 @@ export default { ...@@ -47,22 +39,14 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.apl.pts.nam":[ "brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"brdgrp.rec.rcvdat":[
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.advdat":[
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.ref":[ "brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"brdgrp.rec.matdat":[ "brdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
...@@ -70,63 +54,34 @@ export default { ...@@ -70,63 +54,34 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"brdgrp.prb.pts.ref":[ "brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"brdgrp.prb.pts.nam":[ "brdgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"strinf":[ "strinf":[
//{type: "string", required: false, message: "必输项"},
{max: 1750,message:"长度不能超过1750"} {max: 1750,message:"长度不能超过1750"}
], ],
"setmod.ref":[ "setmod.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"setmod.docamt":[ "setmod.docamt":[
{type: "number", required: false, message: "必输项"}, {type: "number", 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位" }
], ],
"setmod.zmqacc":[ "setmod.zmqacc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"mtabut.coninf.oitinf.oit.inftxt":[
//{type: "string", required: false, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
//{type: "string", required: false, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
//{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[ "mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"} {max: 8,message:"长度不能超过8"}
], ],
"trnmod.trndoc.advnam":[ "trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 50,message:"长度不能超过50"}
...@@ -135,7 +90,6 @@ export default { ...@@ -135,7 +90,6 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 50,message:"长度不能超过50"}
], ],
"trnmod.trndoc.advdoc":[ "trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"} {max: 1,message:"长度不能超过1"}
...@@ -148,15 +102,6 @@ export default { ...@@ -148,15 +102,6 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"} {max: 1,message:"长度不能超过1"}
], ],
"trnmod.trndoc.condocstm":[ "trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"} {max: 1,message:"长度不能超过1"}
...@@ -169,9 +114,6 @@ export default { ...@@ -169,9 +114,6 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"} {max: 22,message:"长度不能超过22"}
], ],
"liaall.limmod.ownref":[ "liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -192,7 +134,6 @@ export default { ...@@ -192,7 +134,6 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"liaall.limmod.limpts.oth.pts.extkey":[ "liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -201,7 +142,6 @@ export default { ...@@ -201,7 +142,6 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"liaall.limmod.comamt":[ "liaall.limmod.comamt":[
{required: false, message: "必输项"}, {required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
...@@ -227,15 +167,5 @@ export default { ...@@ -227,15 +167,5 @@ export default {
"liaall.limmod.limpts.pfcod2":[ "liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"} {max: 14,message:"长度不能超过14"}
], ]
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"setmod.docamt" :null,
} }
\ No newline at end of file
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page> <c-page>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="left" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="left" size="small" :validate-on-rule-change="false"> <el-tab-pane label="业务信息" name="ovwp">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<el-tab-pane label="业务信息" name="ovwp"> <c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<c-content> </c-function-btn>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
</c-function-btn>
</c-page> </c-page>
</div> </div>
</template> </template>
<script> <script>
...@@ -62,39 +61,39 @@ import Doctre from "~/components/business/doctre/views"; ...@@ -62,39 +61,39 @@ import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views"; import Limitbody from "~/components/business/limitbody/views";
export default { export default {
name: 'Brtcan', name: 'Brtcan',
components: { components: {
"m-canp": Canp, "m-canp": Canp,
"m-setmod": Setmod, "m-setmod": Setmod,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
"m-limitbody": Limitbody, "m-limitbody": Limitbody,
"m-addbcb": Addbcb, "m-addbcb": Addbcb,
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [event, operationFunc], // 里面包含了Default、Check等的公共处理 mixins: [event, operationFunc], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "brtcan", trnName: "brtcan",
model: new Brtcan().data, model: new Brtcan().data,
rules: Check, rules: Check,
codes: { codes: {
...CodeTable, ...CodeTable,
}, },
activeNames: [""], activeNames: [""],
} }
}, },
mounted(){ mounted() {
this.init() this.init()
}, },
} }
</script> </script>
......
...@@ -75,7 +75,7 @@ export default class Brteus { ...@@ -75,7 +75,7 @@ export default class Brteus {
// pts: new Pts().data, // pts: new Pts().data,
// }, // },
// }, // },
strinf: '', strinf: 'At the new maturity dates we will settle the relevant payments.',
brdgrp:{ brdgrp:{
ghd: { ghd: {
// wahnum: '', // wahnum: '',
......
...@@ -138,11 +138,9 @@ export default { ...@@ -138,11 +138,9 @@ export default {
toLetnot() { toLetnot() {
this.$router.history.push('/business-new/letnot'); this.$router.history.push('/business-new/letnot');
}, },
toLetdrw() { toLetdrw() {
this.$router.history.push('/business-new/letdrw'); this.$router.history.push('/business-new/letdrw');
}, },
toLetrsv() { toLetrsv() {
this.$router.history.push('/business-new/letrsv'); this.$router.history.push('/business-new/letrsv');
}, },
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-list-search <c-list-search
@form-reset="handleReset('paramsForm')" @form-reset="handleReset('paramsForm')"
@form-search="handleSearch" @form-search="handleSearch"
> >
<template v-slot="searchSlot"> <template v-slot="searchSlot">
<el-form <el-form
class="m-table-search-form" class="m-table-search-form"
ref="paramsForm" ref="paramsForm"
label-position="right" label-position="right"
label-width="110px" label-width="110px"
size="small" size="small"
> >
<el-row> <el-row>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="信用证编号" label="信用证编号"
prop="infcon.seaownref" prop="infcon.seaownref"
style="width: 100%" style="width: 100%"
> >
<c-input <c-input
v-model="model.infcon.seaownref" v-model="model.infcon.seaownref"
maxlength="16" maxlength="16"
placeholder="请输入信用证编号" placeholder="请输入信用证编号"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="开立日期" label="开立日期"
prop="infcon.opndatfrom" prop="infcon.opndatfrom"
style="width: 100%" style="width: 100%"
> >
<c-col :span="11"> <c-col :span="11">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.infcon.opndatfrom" v-model="model.infcon.opndatfrom"
placeholder="请选择起始日期" placeholder="请选择起始日期"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width: 100%" style="width: 100%"
></c-date-picker> ></c-date-picker>
</c-col> </c-col>
<c-col :span="2" style="text-align: center"> <c-col :span="2" style="text-align: center">
...@@ -47,26 +47,26 @@ ...@@ -47,26 +47,26 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.infcon.opndatto" v-model="model.infcon.opndatto"
placeholder="请选择截止日期" placeholder="请选择截止日期"
style="width: 100%" style="width: 100%"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
></c-date-picker> ></c-date-picker>
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="业务简略信息" label="业务简略信息"
prop="infcon.nam" prop="infcon.nam"
style="width: 100%" style="width: 100%"
> >
<c-input <c-input
v-model="model.infcon.nam" v-model="model.infcon.nam"
maxlength="40" maxlength="40"
placeholder="请输入业务简略信息" placeholder="请输入业务简略信息"
style="width: 100%" style="width: 100%"
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
...@@ -75,77 +75,77 @@ ...@@ -75,77 +75,77 @@
<el-row v-show="searchSlot.searchToggle"> <el-row v-show="searchSlot.searchToggle">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="当事人参考号" label="当事人参考号"
prop="infcon.searef" prop="infcon.searef"
style="width: 100%" style="width: 100%"
> >
<c-input <c-input
v-model="model.infcon.searef" v-model="model.infcon.searef"
maxlength="16" maxlength="16"
placeholder="请输入当事人参考号" placeholder="请输入当事人参考号"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="当事人编号" label="当事人编号"
prop="infcon.pty.extkey" prop="infcon.pty.extkey"
style="width: 100%" style="width: 100%"
> >
<c-input <c-input
v-model="model.infcon.pty.extkey" v-model="model.infcon.pty.extkey"
maxlength="24" maxlength="24"
placeholder="请输入当事人编号" placeholder="请输入当事人编号"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="当事人名称" label="当事人名称"
prop="infcon.pty.nam" prop="infcon.pty.nam"
style="width: 100%" style="width: 100%"
> >
<c-input <c-input
v-model="model.infcon.pty.nam" v-model="model.infcon.pty.nam"
maxlength="40" maxlength="40"
placeholder="请输入当事人名称" placeholder="请输入当事人名称"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="当事人BIC编码" label="当事人BIC编码"
prop="infcon.seapty" prop="infcon.seapty"
style="width: 100%" style="width: 100%"
> >
<c-input <c-input
v-model="model.infcon.seapty" v-model="model.infcon.seapty"
maxlength="24" maxlength="24"
placeholder="请输入当事人BIC编码" placeholder="请输入当事人BIC编码"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="当事人角色" label="当事人角色"
prop="infcon.searol" prop="infcon.searol"
style="width: 100%" style="width: 100%"
> >
<c-select <c-select
v-model="model.infcon.searol" v-model="model.infcon.searol"
style="width: 100%" style="width: 100%"
placeholder="请选择当事人角色" placeholder="请选择当事人角色"
> >
<el-option <el-option
v-for="item in codes.searol1" v-for="item in codes.searol1"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
> >
</el-option> </el-option>
</c-select> </c-select>
...@@ -154,36 +154,36 @@ ...@@ -154,36 +154,36 @@
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="客户经理" label="客户经理"
disabled disabled
prop="infcon.usr.extkey" prop="infcon.usr.extkey"
style="width: 100%" style="width: 100%"
> >
<c-input <c-input
v-model="model.infcon.usr.extkey" v-model="model.infcon.usr.extkey"
maxlength="8" maxlength="8"
placeholder="请输入客户经理" placeholder="请输入客户经理"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="业务状态" label="业务状态"
prop="infcon.seasta" prop="infcon.seasta"
style="width: 100%" style="width: 100%"
> >
<c-select <c-select
v-model="model.infcon.seasta" v-model="model.infcon.seasta"
style="width: 100%" style="width: 100%"
placeholder="请选择业务状态" placeholder="请选择业务状态"
> >
<el-option <el-option
v-for="item in codes.seasta" v-for="item in codes.seasta"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
> >
</el-option> </el-option>
</c-select> </c-select>
...@@ -192,20 +192,20 @@ ...@@ -192,20 +192,20 @@
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="币种" label="币种"
prop="infcon.seacur" prop="infcon.seacur"
style="width: 100%" style="width: 100%"
> >
<c-select <c-select
v-model="model.infcon.seacur" v-model="model.infcon.seacur"
style="width: 100%" style="width: 100%"
placeholder="请选择币种" placeholder="请选择币种"
> >
<el-option <el-option
v-for="item in codes.curtxt1" v-for="item in codes.curtxt1"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
> >
</el-option> </el-option>
</c-select> </c-select>
...@@ -216,9 +216,9 @@ ...@@ -216,9 +216,9 @@
<el-form-item label="金额区间" style="width: 100%"> <el-form-item label="金额区间" style="width: 100%">
<c-col :span="11"> <c-col :span="11">
<c-input <c-input
v-model="model.infcon.seaamtfr" v-model="model.infcon.seaamtfr"
placeholder="请输入金额下限" placeholder="请输入金额下限"
style="width: 100%" style="width: 100%"
></c-input> ></c-input>
</c-col> </c-col>
<c-col :span="2" style="text-align: center"> <c-col :span="2" style="text-align: center">
...@@ -226,9 +226,9 @@ ...@@ -226,9 +226,9 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<c-input <c-input
v-model="model.infcon.seaamtto" v-model="model.infcon.seaamtto"
placeholder="请输入金额上限" placeholder="请输入金额上限"
style="width: 100%" style="width: 100%"
></c-input> ></c-input>
</c-col> </c-col>
</el-form-item> </el-form-item>
...@@ -236,15 +236,15 @@ ...@@ -236,15 +236,15 @@
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="信用证类型" label="信用证类型"
prop="sealcrtyp" prop="sealcrtyp"
style="width: 100%" style="width: 100%"
> >
<c-select <c-select
v-model="model.sealcrtyp" v-model="model.sealcrtyp"
:code="codes.lcrtyp1" :code="codes.lcrtyp1"
style="width: 100%" style="width: 100%"
placeholder="请选择信用证类型" placeholder="请选择信用证类型"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -294,20 +294,20 @@ ...@@ -294,20 +294,20 @@
<template slot="header"> <template slot="header">
<!-- 插槽里放了一个文字 一个按钮 --> <!-- 插槽里放了一个文字 一个按钮 -->
<c-col :span="11" style="text-align: center" <c-col :span="11" style="text-align: center"
><span>操作</span> ><span>操作</span>
</c-col> </c-col>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<!-- 申请一个弹出主键放在插槽,加工已渲染的数据 --> <!-- 申请一个弹出主键放在插槽,加工已渲染的数据 -->
<el-popover <el-popover
placement="top-start" placement="top-start"
title="历史信息" title="历史信息"
width="800" width="800"
trigger="click" trigger="click"
:ref="'popover_' + scope.row.IDX" :ref="'popover_' + scope.row.IDX"
> >
<div <div
style=" style="
text-align: right; text-align: right;
margin-top: -30px; margin-top: -30px;
margin-right: 5px; margin-right: 5px;
...@@ -315,9 +315,9 @@ ...@@ -315,9 +315,9 @@
" "
> >
<span <span
class="el-icon-close" class="el-icon-close"
style="cursor: pointer" style="cursor: pointer"
@click="closeDetailsDialog('popover_' + scope.row.IDX)" @click="closeDetailsDialog('popover_' + scope.row.IDX)"
></span> ></span>
</div> </div>
<el-table <el-table
...@@ -346,25 +346,26 @@ ...@@ -346,25 +346,26 @@
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
@click="display(scope.row['inr'])" @click="display(scope.row['inr'])"
>快照</c-button >快照
</c-button
> >
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<c-button <c-button
style="margin-left: 0px" style="margin-left: 0px"
size="small" size="small"
@click="details(scope.row)" @click="details(scope.row)"
slot="reference" slot="reference"
> >
详情 详情
</c-button> </c-button>
</el-popover> </el-popover>
<c-button <c-button
style="margin-left: 5px" style="margin-left: 5px"
size="small" size="small"
type="primary" type="primary"
@click="handler(scope.row)" @click="handler(scope.row)"
>处理 >处理
</c-button> </c-button>
</template> </template>
...@@ -409,35 +410,23 @@ ...@@ -409,35 +410,23 @@
</el-dialog> </el-dialog>
</div> </div>
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="letsel"
ownrefPath="ledgrp"
:model="letselModel"
></m-busbtn>
<!-- @onChoose="onChoose"-->
</div> </div>
</template> </template>
<script> <script>
import LetselModel from "~/model/Letsel";
import BusNavbar from "~/views/Public/BusNavbar"; import BusNavbar from "~/views/Public/BusNavbar";
import event from "../event"; import event from "../event";
import operationFunc from "@/mixin/operationFunc"; import operationFunc from "@/mixin/operationFunc";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event,operationFunc], mixins: [event, operationFunc],
components: { "m-busbtn": BusNavbar }, components: {"m-busbtn": BusNavbar},
data() { data() {
return { return {
// letselModel: new LetselModel().data,
curinr: "", curinr: "",
ownref: "", ownref: "",
// dialogTableVisible: false, dialogTableVisible: false,
trnData: { trnData: {
columns: [ columns: [
{ {
...@@ -517,27 +506,10 @@ export default { ...@@ -517,27 +506,10 @@ export default {
label: "PTA主键", label: "PTA主键",
prop: "ptainr", prop: "ptainr",
}, },
// {
// label: "受益人编号",
// prop: "stagod",
// },
{ {
label: "受益人名称", label: "受益人名称",
prop: "benefi", prop: "benefi",
}, },
// {
// label: "受益人名称(中文)",
// prop: "stagod",
// },
// {
// label: "开证行编号",
// prop: "stagod",
// },
// {
// label: "开证名称",
// prop: "stagod",
// },
{ {
label: "金额币种", label: "金额币种",
prop: "seacur", prop: "seacur",
...@@ -580,24 +552,24 @@ export default { ...@@ -580,24 +552,24 @@ export default {
route: '/business-new/letcan' route: '/business-new/letcan'
}, },
{ {
label:'收单加补录', label: '收单加补录',
route:'/business-new/letdrw' route: '/business-new/letdrw'
}, },
{ {
label:'转让证开立', label: '转让证开立',
route:'/business-new/lttopn' route: '/business-new/lttopn'
}, },
{ {
label:'开证', label: '开证',
route:'/business-new/letopn' route: '/business-new/letopn'
}, },
{ {
label:'保兑', label: '保兑',
route:'/business-new/letamc' route: '/business-new/letamc'
}, },
{ {
label:'通知到单', label: '通知到单',
route:'/business-new/letdav' route: '/business-new/letdav'
}, },
], ],
currentHandleRow: {}, currentHandleRow: {},
...@@ -605,7 +577,8 @@ export default { ...@@ -605,7 +577,8 @@ export default {
}, },
methods: {}, methods: {},
mounted: function () {}, mounted: function () {
},
}; };
</script> </script>
<style> <style>
...@@ -619,6 +592,7 @@ export default { ...@@ -619,6 +592,7 @@ export default {
background: #fff; background: #fff;
margin-top: 5px; margin-top: 5px;
} }
.btn-group-wrap { .btn-group-wrap {
max-height: 200px; max-height: 200px;
width: 100%; width: 100%;
...@@ -628,6 +602,7 @@ export default { ...@@ -628,6 +602,7 @@ export default {
justify-content: flex-start; justify-content: flex-start;
flex-wrap: wrap; flex-wrap: wrap;
} }
.btn-item { .btn-item {
margin-bottom: 10px; margin-bottom: 10px;
margin-right: 10px; margin-right: 10px;
......
...@@ -191,7 +191,7 @@ export default { ...@@ -191,7 +191,7 @@ export default {
{ max: 35, message: "长度不能超过35" } { max: 35, message: "长度不能超过35" }
], ],
"bedgrp.oth.pts.adrblk": [ "bedgrp.oth.pts.adrblk": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ type: "string", max: 999, message: "长度不能超过35" } { type: "string", max: 999, message: "长度不能超过35" }
], ],
"bedgrp.oth.dbfadrblkcn": [ "bedgrp.oth.dbfadrblkcn": [
......
...@@ -346,7 +346,7 @@ let checkObj = { ...@@ -346,7 +346,7 @@ let checkObj = {
{max: 140, message: '长度不能超过140'}, {max: 140, message: '长度不能超过140'},
], ],
'ledgrp.adv.pts.adrblk': [ 'ledgrp.adv.pts.adrblk': [
{type: 'string', required: true, message: '必输项'}, {type: 'string', required: false, message: '必输项'},
{max: 140, message: '长度不能超过140'}, {max: 140, message: '长度不能超过140'},
], ],
'ledgrp.adv.dbfadrblkcn': [ 'ledgrp.adv.dbfadrblkcn': [
...@@ -354,7 +354,7 @@ let checkObj = { ...@@ -354,7 +354,7 @@ let checkObj = {
{max: 140, message: '长度不能超过140'}, {max: 140, message: '长度不能超过140'},
], ],
'ledgrp.apb.pts.adrblk': [ 'ledgrp.apb.pts.adrblk': [
{type: 'string', required: true, message: '必输项'}, {type: 'string', required: false, message: '必输项'},
{max: 140, message: '长度不能超过140'}, {max: 140, message: '长度不能超过140'},
], ],
'ledgrp.apb.dbfadrblkcn': [ 'ledgrp.apb.dbfadrblkcn': [
...@@ -410,7 +410,7 @@ let checkObj = { ...@@ -410,7 +410,7 @@ let checkObj = {
{max: 35, message: '长度不能超过35'}, {max: 35, message: '长度不能超过35'},
], ],
'ledgrp.a2b.pts.adrblk': [ 'ledgrp.a2b.pts.adrblk': [
{type: 'string', required: true, message: '必输项'}, {type: 'string', required: false, message: '必输项'},
{max: 140, message: '长度不能超过140'}, {max: 140, message: '长度不能超过140'},
], ],
'ledgrp.a2b.dbfadrblkcn': [ 'ledgrp.a2b.dbfadrblkcn': [
...@@ -418,7 +418,7 @@ let checkObj = { ...@@ -418,7 +418,7 @@ let checkObj = {
{max: 35, message: '长度不能超过35'}, {max: 35, message: '长度不能超过35'},
], ],
'ledgrp.rmb.pts.adrblk': [ 'ledgrp.rmb.pts.adrblk': [
{type: 'string', required: true, message: '必输项'}, {type: 'string', required: false, message: '必输项'},
{max: 140, message: '长度不能超过140'}, {max: 140, message: '长度不能超过140'},
], ],
'ledgrp.rmb.dbfadrblkcn': [ 'ledgrp.rmb.dbfadrblkcn': [
......
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
liaall: model.liaall, liaall: model.liaall,
liaccv: model.liaccv, liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot, doceot: model.docpan.doceot,
}; };
return params return params
}, },
...@@ -132,7 +132,7 @@ export default { ...@@ -132,7 +132,7 @@ export default {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
objtyp: 'LID', objtyp: 'LID',
objinr: model.lidgrp.rec.objinr, objinr: model.lidgrp.rec.inr,
ownref: model.lidgrp.rec.ownref, ownref: model.lidgrp.rec.ownref,
// swiftflg: model.gitp.swiftflg, // swiftflg: model.gitp.swiftflg,
}, },
......
...@@ -4,14 +4,6 @@ export default class Litopn { ...@@ -4,14 +4,6 @@ export default class Litopn {
constructor() { constructor() {
this.data = { this.data = {
busType: 'lid', busType: 'lid',
gidgrp: {
rec: {
purpos: '',
},
},
gitp: {
swiftflg: '',
},
litp: { litp: {
avblab: '', avblab: '',
usr: { usr: {
......
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