Commit 040e5473 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 1094a99f 555ba47a
...@@ -21,7 +21,7 @@ export default { ...@@ -21,7 +21,7 @@ export default {
"lidgrp.cbs.opn1.amt":[ "lidgrp.cbs.opn1.amt":[
{type: "string", 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位" }
], ],
"brtp.recget.sdamod.dadsnd":[ "brtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
], ],
"brdgrp.prb.pts.adrblk":[ "brdgrp.prb.pts.adrblk":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"brdgrp.prb.dbfadrblkcn":[ "brdgrp.prb.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.cbs.opn1.amt":[ "lidgrp.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位" }
], ],
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
], ],
"brdgrp.cbs.max.amt":[ "brdgrp.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位" }
], ],
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.cbs.opn1.amt":[ "brdgrp.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位" }
], ],
......
...@@ -21,7 +21,7 @@ export default { ...@@ -21,7 +21,7 @@ export default {
"lidgrp.cbs.opn1.amt":[ "lidgrp.cbs.opn1.amt":[
{type: "string", 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位" }
], ],
"brtp.recget.sdamod.dadsnd":[ "brtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -2,7 +2,7 @@ import Api from "~/service/Api" ...@@ -2,7 +2,7 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onInfbutSearow () { async onInfbutSearow() {
let rtnmsg = await this.executeRule("infbut.searow") let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -12,7 +12,7 @@ export default { ...@@ -12,7 +12,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async handleSearch () { async handleSearch() {
this.stmData.data = []; this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom; let opndatfrom = this.model.infcon.opndatfrom;
if (!opndatfrom || opndatfrom == '') { if (!opndatfrom || opndatfrom == '') {
...@@ -34,11 +34,26 @@ export default { ...@@ -34,11 +34,26 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async handleReset () { async handleReset() {
this.model.infcon.seaownref = ""
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.mylx = "";
this.model.infcon.nam = "";
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.pty.nam = "";
this.model.infcon.seapty = "";
this.model.infcon.searol = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.seasta = "";
this.model.infcon.seacur = "";
this.model.infcon.seaamtfr = "0.00";
this.model.infcon.seaamtto = "0.00";
this.model.sealcrtyp = "";
this.model.elcflg = "";
}, },
async onInfbutDsp () { async onInfbutDsp() {
let rtnmsg = await this.executeRule("infbut.dsp") let rtnmsg = await this.executeRule("infbut.dsp")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -48,7 +63,7 @@ export default { ...@@ -48,7 +63,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onInfbutUserow () { async onInfbutUserow() {
let rtnmsg = await this.executeRule("infbut.userow") let rtnmsg = await this.executeRule("infbut.userow")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -58,7 +73,7 @@ export default { ...@@ -58,7 +73,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onInfbutClr () { async onInfbutClr() {
let rtnmsg = await this.executeRule("infbut.clr") let rtnmsg = await this.executeRule("infbut.clr")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -68,7 +83,7 @@ export default { ...@@ -68,7 +83,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onInfbutButprt () { async onInfbutButprt() {
let rtnmsg = await this.executeRule("infbut.butprt") let rtnmsg = await this.executeRule("infbut.butprt")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -78,7 +93,7 @@ export default { ...@@ -78,7 +93,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onInfbutExi () { async onInfbutExi() {
let rtnmsg = await this.executeRule("infbut.exi") let rtnmsg = await this.executeRule("infbut.exi")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -88,7 +103,7 @@ export default { ...@@ -88,7 +103,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onRecpanButgetref () { async onRecpanButgetref() {
let rtnmsg = await this.executeRule("recpan.butgetref") let rtnmsg = await this.executeRule("recpan.butgetref")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -98,7 +113,7 @@ export default { ...@@ -98,7 +113,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onBenpDet () { async onBenpDet() {
let rtnmsg = await this.executeRule("benp.det") let rtnmsg = await this.executeRule("benp.det")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -108,7 +123,7 @@ export default { ...@@ -108,7 +123,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onAplpDet () { async onAplpDet() {
let rtnmsg = await this.executeRule("aplp.det") let rtnmsg = await this.executeRule("aplp.det")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -118,7 +133,7 @@ export default { ...@@ -118,7 +133,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onLcrdftatButtxmsel () { async onLcrdftatButtxmsel() {
let rtnmsg = await this.executeRule("lcrdftat.buttxmsel") let rtnmsg = await this.executeRule("lcrdftat.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -128,7 +143,7 @@ export default { ...@@ -128,7 +143,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onPreperButtxmsel () { async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper.buttxmsel") let rtnmsg = await this.executeRule("preper.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -138,7 +153,7 @@ export default { ...@@ -138,7 +153,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onLcrgodButtxmsel () { async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule("lcrgod.buttxmsel") let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -148,7 +163,7 @@ export default { ...@@ -148,7 +163,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onLcrdocButtxmsel () { async onLcrdocButtxmsel() {
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel") let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -158,7 +173,7 @@ export default { ...@@ -158,7 +173,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onAdlcndButtxmsel () { async onAdlcndButtxmsel() {
let rtnmsg = await this.executeRule("adlcnd.buttxmsel") let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -168,7 +183,7 @@ export default { ...@@ -168,7 +183,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onInsbnkButtxmsel () { async onInsbnkButtxmsel() {
let rtnmsg = await this.executeRule("insbnk.buttxmsel") let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -178,7 +193,7 @@ export default { ...@@ -178,7 +193,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onInfconButshw () { async onInfconButshw() {
let rtnmsg = await this.executeRule("infcon.butshw") let rtnmsg = await this.executeRule("infcon.butshw")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -188,7 +203,7 @@ export default { ...@@ -188,7 +203,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onInfconButshword () { async onInfconButshword() {
let rtnmsg = await this.executeRule("infcon.butshword") let rtnmsg = await this.executeRule("infcon.butshword")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
...@@ -214,7 +214,7 @@ ...@@ -214,7 +214,7 @@
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<c-col :span="24"> <c-col :span="24" style="margin-top: 30px">
<c-col :span="11"> <c-col :span="11">
<c-edit-table :model="model" v-bind="docgrd"> <c-edit-table :model="model" v-bind="docgrd">
</c-edit-table> </c-edit-table>
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label=" " prop="bodgrp.rec.matperbeg"> <el-form-item label=" " prop="bodgrp.rec.matperbeg">
<c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" <c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled> placeholder="请选择Start of Maturity Period MATBEG" disabled :code="codes.matperbeg">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
</c-input> </c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" type="primary" <c-button size="small" type="primary"
@click="showGridPromptDialog('botp.proins.buttxmsel',null,null,{TXT:'bodgrp.blk.resrej'},{TXT:false},'doxpDialog')"> @click="showGridPromptDialog('botp.resrej.buttxmsel',null,null,{TXT:'bodgrp.blk.resrej'},{TXT:false},'doxpDialog')">
... ...
</c-button> </c-button>
</template> </template>
......
...@@ -174,6 +174,7 @@ ...@@ -174,6 +174,7 @@
:argadr="{ :argadr="{
title: '', title: '',
trans: 'brdgrp', trans: 'brdgrp',
trans1:'brtp',
}" }"
:rol="[ :rol="[
{ {
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<c-select <c-select
v-model="model.brdgrp.cbs.max.cur" v-model="model.brdgrp.cbs.max.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择附加金额" placeholder="请选择单据金额"
disabled disabled
> >
<el-option <el-option
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
> >
<c-input <c-input
v-model="model.brdgrp.cbs.max.amt" v-model="model.brdgrp.cbs.max.amt"
placeholder="请输入附加金额" placeholder="请输入单据金额"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -41,9 +41,9 @@ ...@@ -41,9 +41,9 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="Drawn Add.Amount" prop="brdgrp.cbs.max2.cur"> <el-form-item label="Drawn Add.Amount" prop="brdgrp.cbs.opn2.cur">
<c-select <c-select
v-model="model.brdgrp.cbs.max2.cur" v-model="model.brdgrp.cbs.opn2.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择附加金额" placeholder="请选择附加金额"
disabled disabled
......
...@@ -5,17 +5,14 @@ ...@@ -5,17 +5,14 @@
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
:label="$t('brtp.S0000172')" label="Reference"
prop="lidgrp.rec.ownref" prop="lidgrp.rec.ownref"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.lidgrp.rec.ownref" v-model="model.lidgrp.rec.ownref"
maxlength="16" maxlength="16"
:placeholder=" placeholder=""
$t('other.please_enter') +
$t('brtp.S0000172')
"
disabled disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
...@@ -35,14 +32,6 @@ ...@@ -35,14 +32,6 @@
>i</span >i</span
> >
</c-button> </c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
>
获取
</c-button>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
...@@ -52,15 +41,13 @@ ...@@ -52,15 +41,13 @@
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-form-item <c-form-item
:label="$t('brtp.S0000183')" label="Name"
prop="lidgrp.rec.nam" prop="lidgrp.rec.nam"
> >
<c-input <c-input
v-model="model.lidgrp.rec.nam" v-model="model.lidgrp.rec.nam"
maxlength="40" maxlength="40"
:placeholder=" placeholder=""
$t('other.please_enter') + $t('brtp.S0000183')
"
disabled disabled
></c-input> ></c-input>
</c-form-item> </c-form-item>
...@@ -72,18 +59,15 @@ ...@@ -72,18 +59,15 @@
<!-- ---------------Left--------------- --> <!-- ---------------Left--------------- -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="9">
<el-form-item <el-form-item
:label="$t('brtp.S0000173')" label="L/C Amount"
prop="lidgrp.cbs.nom1.cur" prop="lidgrp.cbs.nom1.cur"
> >
<c-select <c-select
v-model="model.lidgrp.cbs.nom1.cur" v-model="model.lidgrp.cbs.nom1.cur"
style="width: 100%" style="width: 100%"
:placeholder=" placeholder=""
$t('other.please_enter') +
$t('brtp.S0000173')
"
:code="codes.cur" :code="codes.cur"
disabled disabled
> >
...@@ -91,7 +75,7 @@ ...@@ -91,7 +75,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="10">
<c-form-item <c-form-item
label="" label=""
label-width="5px" label-width="5px"
...@@ -99,28 +83,31 @@ ...@@ -99,28 +83,31 @@
> >
<c-input <c-input
v-model="model.lidgrp.cbs.nom1.amt" v-model="model.lidgrp.cbs.nom1.amt"
:placeholder=" placeholder=""
$t('other.please_enter') +
$t('brtp.S0000173')
"
disabled disabled
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="5" >
<c-form-item
label=""
label-width="20px"
>
<c-checkbox disabled v-model="model.brtp.aammod.addamtflg">Add.Amount</c-checkbox>
</c-form-item>
</c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="9">
<el-form-item <el-form-item
:label="$t('brtp.S0000174')" label="Open Amount"
prop="lidgrp.cbs.opn1.cur" prop="lidgrp.cbs.opn1.cur"
> >
<c-select <c-select
v-model="model.lidgrp.cbs.opn1.cur" v-model="model.lidgrp.cbs.opn1.cur"
style="width: 100%" style="width: 100%"
:placeholder=" placeholder=""
$t('other.please_enter') +
$t('brtp.S0000174')
"
:code="codes.cur" :code="codes.cur"
disabled disabled
> >
...@@ -128,7 +115,7 @@ ...@@ -128,7 +115,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="10">
<c-form-item <c-form-item
label="" label=""
label-width="5px" label-width="5px"
...@@ -136,147 +123,135 @@ ...@@ -136,147 +123,135 @@
> >
<c-input <c-input
v-model="model.lidgrp.cbs.opn1.amt" v-model="model.lidgrp.cbs.opn1.amt"
:placeholder=" placeholder=""
$t('other.please_enter') +
$t('brtp.S0000173')
"
disabled disabled
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="5">
<c-form-item
label=""
label-width="20px"
>
<c-checkbox disabled v-model="model.lidgrp.rec.revflg">Revolving L/C</c-checkbox>
</c-form-item>
</c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item <c-form-item
:label="$t('brtp.S0000176')" label="Available With"
prop="lidgrp.avbnam" prop="lidgrp.avbnam"
> >
<c-input <c-input
v-model="model.lidgrp.avbnam" v-model="model.lidgrp.avbnam"
maxlength="40" maxlength="40"
:placeholder=" placeholder=""
$t('other.please_enter') + $t('brtp.S0000176')
"
disabled disabled
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="19">
<el-form-item label="Available by" prop="lidgrp.rec.avbby"> <el-form-item label="by" prop="lidgrp.rec.avbby">
<c-select <c-select
v-model="model.lidgrp.rec.avbby" v-model="model.lidgrp.rec.avbby"
style="width: 100%" style="width: 100%"
:placeholder=" placeholder=""
$t('other.please_enter') + 'Available by'
"
disabled disabled
:code="codes.avbby" :code="codes.avbby"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item label=""> <c-col :span="5">
<c-col :span="8"> <c-form-item
<c-checkbox disabled v-model="model.brtp.aammod.addamtflg">{{ label=""
$t("brtp.CF000171") label-width="20px"
}}</c-checkbox> >
</c-col> <c-checkbox disabled v-model="model.lidgrp.rec.redclsflg">Red/Green Clause</c-checkbox>
<c-col :span="8"> </c-form-item>
<c-checkbox disabled v-model="model.lidgrp.rec.revflg">{{
$t("brtp.CF000170")
}}</c-checkbox>
</c-col>
<c-col :span="8">
<c-checkbox disabled v-model="model.lidgrp.rec.redclsflg">{{
$t("brtp.CF000169")
}}</c-checkbox>
</c-col>
</el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item <el-form-item
:label="$t('brtp.S0000182')" label="Date Issued"
prop="lidgrp.rec.opndat" prop="lidgrp.rec.opndat"
> >
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.lidgrp.rec.opndat" v-model="model.lidgrp.rec.opndat"
style="width: 100%" style="width: 100%"
:placeholder=" placeholder=""
$t('other.please_enter') + $t('brtp.S0000182')
"
disabled disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="12">
<el-form-item <el-form-item
:label="$t('brtp.S0000185')" label="Shipment Date"
prop="lidgrp.rec.shpdat" prop="lidgrp.rec.shpdat"
> >
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.lidgrp.rec.shpdat" v-model="model.lidgrp.rec.shpdat"
style="width: 100%" style="width: 100%"
:placeholder=" placeholder=""
$t('other.please_enter') + $t('brtp.S0000185')
"
disabled disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="12">
<el-form-item <el-form-item
:label="$t('brtp.S0000179')" label="Date/Place of Expiry"
prop="lidgrp.rec.expdat" prop="lidgrp.rec.expdat"
> >
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.lidgrp.rec.expdat" v-model="model.lidgrp.rec.expdat"
style="width: 100%" style="width: 100%"
:placeholder=" placeholder=""
$t('other.please_enter') + $t('brtp.S0000179')
"
disabled disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24">
<c-form-item <c-form-item
:label="$t('brtp.S0000179')" label=""
prop="lidgrp.rec.expplc" prop="lidgrp.rec.expplc"
label-width="5px"
> >
<c-input <c-input
v-model="model.lidgrp.rec.expplc" v-model="model.lidgrp.rec.expplc"
maxlength="29" maxlength="29"
:placeholder=" placeholder=""
$t('other.please_enter') + $t('brtp.S0000179')
"
disabled disabled
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
:label="$t('brtp.S0000178')" label="Form of L/C"
prop="lidgrp.rec.lcrtyp" prop="lidgrp.rec.lcrtyp"
> >
<c-select <c-select
v-model="model.lidgrp.rec.lcrtyp" v-model="model.lidgrp.rec.lcrtyp"
style="width: 100%" style="width: 100%"
:placeholder=" placeholder=""
$t('other.please_enter') + $t('brtp.S0000178') :code="codes.lcrtyp1"
"
:code="codes.lcrtyp"
disabled disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-appBenPre <c-appBenPre
:model="model" :model="model"
...@@ -286,15 +261,15 @@ ...@@ -286,15 +261,15 @@
}" }"
:rol="[ :rol="[
{ {
title: '申请人', title: 'Applicant',
trans: 'apl', trans: 'apl',
}, },
{ {
title: '开证行', title: 'Beneficiary',
trans: 'ben', trans: 'ben',
}, },
{ {
title: '交单行', title: 'Presented by',
trans: 'prb', trans: 'prb',
}, },
]" ]"
...@@ -309,17 +284,14 @@ ...@@ -309,17 +284,14 @@
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
:label="$t('brtame.S0000079')" label="Document Set Ref."
prop="brdgrp.rec.ownref" prop="brdgrp.rec.ownref"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.lidgrp.rec.ownref" v-model="model.brdgrp.rec.ownref"
maxlength="16" maxlength="16"
:placeholder=" placeholder=""
$t('other.please_enter') +
$t('brtame.S0000079')
"
disabled disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
...@@ -339,48 +311,19 @@ ...@@ -339,48 +311,19 @@
>i</span >i</span
> >
</c-button> </c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
>
获取
</c-button>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item <c-form-item
:label="$t('brtame.SG000213')" label="SG Reference"
prop="brdgrp.rec.shgref" prop="brdgrp.rec.shgref"
> >
<c-input <c-input
v-model="model.brdgrp.rec.shgref" v-model="model.brdgrp.rec.shgref"
maxlength="16" maxlength="16"
:placeholder=" placeholder=""
$t('other.please_enter') + $t('brtame.SG000213')
"
disabled
></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-col :span="24">
<c-form-item
:label="$t('brtame.S0000078')"
prop="brdgrp.rec.nam"
>
<c-input
v-model="model.brdgrp.rec.nam"
maxlength="40"
:placeholder="
$t('other.please_enter') + $t('brtame.S0000078')
"
disabled disabled
></c-input> ></c-input>
</c-form-item> </c-form-item>
...@@ -389,18 +332,16 @@ ...@@ -389,18 +332,16 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<c-form-item <c-form-item
:label="$t('brtame.SF000060')" label="Amount of Shipment"
prop="brdgrp.cbs.max.cur" prop="brdgrp.cbs.max.cur"
> >
<c-input <c-select
v-model="model.brdgrp.cbs.max.cur" v-model="model.brdgrp.cbs.max.cur"
maxlength="3" style="width: 100%"
:placeholder=" placeholder=""
$t('other.please_enter') + :code="codes.cur"
$t('brtame.SF000060')
"
disabled disabled
></c-input> ></c-select>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
...@@ -411,14 +352,29 @@ ...@@ -411,14 +352,29 @@
> >
<c-input <c-input
v-model="model.brdgrp.cbs.max.amt" v-model="model.brdgrp.cbs.max.amt"
:placeholder=" placeholder=""
$t('other.please_enter') + 'Balance'
"
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-col :span="24">
<c-form-item
label="Name"
prop="brdgrp.rec.nam"
>
<c-input
v-model="model.brdgrp.rec.nam"
maxlength="40"
placeholder=""
disabled
></c-input>
</c-form-item>
</c-col>
</c-col>
</c-col> </c-col>
</div> </div>
</template> </template>
......
...@@ -62,8 +62,8 @@ ...@@ -62,8 +62,8 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Mode of Transport" prop="brdgrp.rec.tramod"> <el-form-item label="Mode of Transport" prop="brdgrp.rec.tramod">
<c-select v-model="model.brdgrp.rec.tramod" disabled style="width:100%" placeholder="请选择Mode of Transport"> <c-input v-model="model.brdgrp.rec.tramod" disabled maxlength="40" placeholder="请选择Mode of Transport">
</c-select> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Port of loading" prop="brdgrp.blk.porlod"> <el-form-item label="Port of loading" prop="brdgrp.blk.porlod">
<c-input v-model="model.brdgrp.blk.porlod" maxlength="40" placeholder="请输入Port of loading"></c-input> <c-input v-model="model.brdgrp.blk.porlod" disabled maxlength="40" placeholder="请输入Port of loading"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.brdgrp.rec.rtoaplflg" disabled <c-checkbox v-model="model.brdgrp.rec.rtoaplflg" disabled
style="margin-left:140px;padding: 0 10px;" style="margin-left:140px;padding: 0 10px;"
>Release Goods to Applicant </c-checkbox> >To Applicant </c-checkbox>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="External Key of Address" prop="brdgrp.shp.pts.extkey"> <el-form-item label="Shipping company" prop="brdgrp.shp.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input v-model="model.brdgrp.shp.pts.extkey" disabled maxlength="16" placeholder="请输入External Key of Address"></c-input> <c-input v-model="model.brdgrp.shp.pts.extkey" disabled maxlength="16" placeholder="请输入External Key of Address"></c-input>
<template slot="footer"> <template slot="footer">
...@@ -154,11 +154,12 @@ ...@@ -154,11 +154,12 @@
<span style="font-family: '宋体'; font-weight: bold">i</span> <span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button> </c-button>
<c-button <c-button
disabled
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
> >
获取 Details
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
...@@ -168,7 +169,7 @@ ...@@ -168,7 +169,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Address Block" prop="brdgrp.shp.pts.adrblk"> <el-form-item label="" prop="brdgrp.shp.pts.adrblk">
<c-input <c-input
:rows="4" :rows="4"
type="textarea" disabled v-model="model.brdgrp.shp.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> type="textarea" disabled v-model="model.brdgrp.shp.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
......
...@@ -30,33 +30,41 @@ ...@@ -30,33 +30,41 @@
v-model="tabVal" v-model="tabVal"
ref="elment" ref="elment"
type="card" type="card"
@tab-click="myTabClick" @tab-click="tabClick"
> >
<!--brtame PD000057 Release Goods --> <!--brtame PD000057 Release Goods -->
<el-tab-pane label="Release Goods" name="rog"> <el-tab-pane label="Release Goods" name="rog">
<c-content>
<m-rog :model="model" :codes="codes" /> <m-rog :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Shipping Details" name="shpdet"> <el-tab-pane label="Shipping Details" name="shpdet">
<c-content>
<m-shpdet :model="model" :codes="codes" /> <m-shpdet :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--liaall PD000027 Liability --> <!--liaall PD000027 Liability -->
<el-tab-pane label="或有" name="engp"> <el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--setmod PD000000 Settlement --> <!--setmod PD000000 Settlement -->
<el-tab-pane label="账务" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--coninf PD000000 Completion --> <!--coninf PD000000 Completion -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000529 &Messages --> <!--trndoc PD000529 &Messages -->
<el-tab-pane label="面函" name="docpan"> <el-tab-pane label="Messages" 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="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--limmod PD000001 统一授信 --> <!--limmod PD000001 统一授信 -->
...@@ -120,12 +128,12 @@ export default { ...@@ -120,12 +128,12 @@ export default {
}; };
}, },
methods: { methods: {
myTabClick(tab) { // myTabClick(tab) {
this.tabClick(tab); // this.tabClick(tab);
/** /**
* do it yourself * do it yourself
**/ **/
}, // },
}, },
created: async function () { created: async function () {
console.log("进入brtame交易"); console.log("进入brtame交易");
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24">
<c-col :span="12"> <!-- ---------------Left--------------- -->
<el-form-item label="Drag Drop Sender" prop="brtp0.lidget.sdamod.dadsnd">
<c-input v-model="model.brtp0.lidget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="12">
<c-col :span="24">
<el-form-item label="Import L/C Ref." prop="lidgrp.rec.ownref"> <el-form-item label="Import L/C Ref." prop="lidgrp.rec.ownref">
<c-input v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="请输入Import L/C Ref."></c-input> <c-fullbox>
</el-form-item> <c-input
</c-col> v-model="model.lidgrp.rec.ownref"
maxlength="16"
<c-col :span="12"> placeholder=""
<el-form-item label="" prop="brtp0.lidget.sdamod.seainf"> disabled
<c-input v-model="model.brtp0.lidget.sdamod.seainf" placeholder="请输入"></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col> <c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
<c-col :span="12"> size="small"
<el-form-item label="Date of Expiry" prop="lidgrp.rec.expdat"> type="primary"
<c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width:100%" placeholder="请选择Date of Expiry"></c-date-picker> >
</el-form-item> <span style="font-family: '宋体'; font-weight: bold">i</span>
</c-col> </c-button>
</template>
<c-col :span="12"> </c-fullbox>
<el-form-item label="Currency" prop="lidgrp.cbs.opn1.cur"> </el-form-item>
<c-input v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Currency"></c-input> </c-col>
</el-form-item>
</c-col> <c-col :span="24">
<c-col :span="12">
<el-form-item label="Balance" prop="lidgrp.cbs.opn1.amt">
<c-input v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="SG Reference" prop="brdgrp.rec.shgref"> <el-form-item label="SG Reference" prop="brdgrp.rec.shgref">
<c-input v-model="model.brdgrp.rec.shgref" maxlength="16" placeholder="请输入SG Reference"></c-input> <c-input
disabled
v-model="model.brdgrp.rec.shgref"
maxlength="16"
placeholder="请输入SG Reference"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Drag Drop Sender" prop="brtp0.recget.sdamod.dadsnd">
<c-input v-model="model.brtp0.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Bill Set Reference" prop="brdgrp.rec.ownref"> <el-form-item label="Bill Set Reference" prop="brdgrp.rec.ownref">
<c-input v-model="model.brdgrp.rec.ownref" maxlength="16" placeholder="请输入Bill Set Reference"></c-input> <c-fullbox>
</el-form-item> <c-input
</c-col> v-model="model.brdgrp.rec.ownref"
maxlength="16"
<c-col :span="12"> placeholder="请输入单据参考号"
<el-form-item label="" prop="brtp0.recget.sdamod.seainf"> disabled
<c-input v-model="model.brtp0.recget.sdamod.seainf" placeholder="请输入"></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col> <c-button
style="
<c-col :span="12"> margin: 0 10px 0 10px;
<el-form-item label="Name of Bill Contract" prop="brdgrp.rec.nam"> padding: 0 12px;
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract"></c-input> "
</el-form-item> size="small"
</c-col> type="primary"
>
<c-col :span="12"> <span
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur"> style="
<c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount"> font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-col :span="10">
<el-form-item label="Open Amt.L/C" prop="lidgrp.cbs.opn1.cur">
<c-select
v-model="model.lidgrp.cbs.opn1.cur"
style="width: 100%"
placeholder=""
:code="codes.cur"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="14">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.amt"> <c-form-item label="" label-width="5px" prop="lidgrp.cbs.opn1.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入Document Amount"></c-input> <c-input
</el-form-item> v-model="model.lidgrp.cbs.opn1.amt"
</c-col> placeholder=""
disabled
<c-col :span="12"> ></c-input>
<el-form-item label="Applicant" prop="brdgrp.apl.pts.ref"> </c-form-item>
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="brdgrp.cbs.opn1.cur">
<c-input v-model="model.brdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Open Amount"></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Balance" prop="brdgrp.cbs.opn1.amt"> <el-form-item label="Expiry" prop="lidgrp.rec.expdat">
<c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input> <c-date-picker
disabled
type="date"
v-model="model.lidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择Date of Expiry"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Name of Party" prop="brdgrp.apl.pts.nam"> <el-form-item label="Name" prop="brdgrp.rec.nam">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> <c-input
disabled
v-model="model.brdgrp.rec.nam"
maxlength="40"
placeholder="请输入Name of Bill Contract"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Received on" prop="brdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.rcvdat" style="width:100%" placeholder="请选择Received on"></c-date-picker>
</el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Date of Advice of Payment" prop="brdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.advdat" style="width:100%" placeholder="请选择Date of Advice of Payment"></c-date-picker>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <!-- ----------------------------------------------------------------- -->
<el-form-item label="Beneficiary" prop="brdgrp.ben.pts.ref"> <c-col :span="24">
<c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary"></c-input> <c-litTemp
</el-form-item> :model="model"
</c-col> :argadr="{
title: '',
<c-col :span="12"> trans: 'brdgrp',
<span v-text="model.brtp0.matp.mattxtlab" data-path=".brtp0.matp.mattxtlab" > </span> trans1:'brtp0',
</c-col> }"
:rol="[
<c-col :span="12"> {
<el-form-item label="Maturity Date" prop="brdgrp.rec.matdat"> title: 'Applicant',
<c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker> trans: 'apl',
</el-form-item> },
</c-col> {
title: 'Beneficiary',
<c-col :span="12"> trans: 'ben',
<el-form-item label="Maturity Date" prop="brdgrp.ben.pts.nam"> },
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder="请输入Maturity Date"></c-input> {
</el-form-item> title: 'Presenting Bank',
</c-col> trans: 'prb',
},
<c-col :span="12"> ]"
<el-form-item label="Document Type" prop="brdgrp.rec.docflg"> :isAdvdat="true"
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请选择Document Type"> :isMattxtlab="false"
</c-select> :isTenmaxday="false"
</el-form-item> >
</c-col> </c-litTemp>
<c-col :span="12">
<el-form-item label="Presenting Bank" prop="brdgrp.prb.pts.ref">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入Presenting Bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Set Status" prop="brdgrp.rec.docsta">
<c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请选择Document Set Status">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.prb.pts.nam">
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
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/Brtcsg/Event" import Event from "~/model/Brtcsg/Event";
import LitTemp from "~/views/Public/LitTemp";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ components: {
return { "c-litTemp": LitTemp,
}
}, },
methods:{...Event}, data() {
created:function(){ return {};
},
} methods: { ...Event },
} created: function () {},
};
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<div class="bus-button"> <c-function-btn
<c-button type="primary" v-on:click="handleSave">{{ $t("buttons.save") }}</c-button> :handleSubmit="handleSubmit"
<c-button type="primary" v-on:click="handleCheck">{{ $t("buttons.check") }}</c-button> :handleCheck="handleCheck"
</div> :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">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000016 --> <!--PD000016 -->
<el-tab-pane label="PD000016" name="canp"> <el-tab-pane label="Cancelation" name="canp">
<c-content>
<m-canp :model="model" :codes="codes"/> <m-canp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="PD000027" name="engp"> <el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="PD000000" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="PD000001" name="glepan"> <el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/> <m-glepan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="PD000000" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="PD000529" name="docpan"> <el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--PD000546 -->
<el-tab-pane label="PD000546" name="doctre"> <el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="PD000001" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
...@@ -102,12 +116,12 @@ export default { ...@@ -102,12 +116,12 @@ export default {
} }
}, },
methods:{ methods:{
myTabClick(tab){ // myTabClick(tab){
this.tabClick(tab) // this.tabClick(tab)
/** /**
* do it yourself * do it yourself
**/ **/
}, // },
async handleSave() { async handleSave() {
let result = await this.save(); let result = await this.save();
if (result.respCode == SUCCESS && Object.keys(result.fieldErrors).length == 0) { if (result.respCode == SUCCESS && Object.keys(result.fieldErrors).length == 0) {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<el-form-item label="Discrepancies" prop="brdgrp.blk.docdis"> <el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<c-fullbox> <c-fullbox>
<c-input <c-input
:disabled="model.advrefflg==''" :disabled="model.advrefflg=='' && model.advdisflg==''"
type="textarea" type="textarea"
v-model="model.brdgrp.blk.docdis" v-model="model.brdgrp.blk.docdis"
maxlength="3500" maxlength="3500"
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
placeholder="请输入Discrepancies" placeholder="请输入Discrepancies"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button :disabled="model.advrefflg==''" size="small" type="primary" icon="el-icon-search" <c-button :disabled="model.advrefflg=='' && model.advdisflg==''" size="small" type="primary" icon="el-icon-search"
@click="showGridPromptDialog('brtp.docdis.buttxmsel', null, null,{TXT: 'brdgrp.blk.docdis'}, {TXT: false},'doxpDialog')" @click="showGridPromptDialog('brtp.docdis.buttxmsel', null, null,{TXT: 'brdgrp.blk.docdis'}, {TXT: false},'doxpDialog')"
> >
... ...
......
...@@ -41,9 +41,9 @@ ...@@ -41,9 +41,9 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="Drawn Add.Amount" prop="brdgrp.cbs.max2.cur"> <el-form-item label="Drawn Add.Amount" prop="brdgrp.cbs.opn2.cur">
<c-select <c-select
v-model="model.brdgrp.cbs.max2.cur" v-model="model.brdgrp.cbs.opn2.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择附加金额" placeholder="请选择附加金额"
disabled disabled
......
...@@ -161,6 +161,7 @@ ...@@ -161,6 +161,7 @@
:argadr="{ :argadr="{
title: '', title: '',
trans: 'brdgrp', trans: 'brdgrp',
trans1:'brtp',
}" }"
:rol="[ :rol="[
{ {
...@@ -305,7 +306,7 @@ ...@@ -305,7 +306,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="advrefflg"> <el-form-item label="" >
<c-col :span="12"> <c-col :span="12">
<c-checkbox :disabled="model.brdgrp.blk.disdocflg =='X'" v-model="model.advrefflg" <c-checkbox :disabled="model.brdgrp.blk.disdocflg =='X'" v-model="model.advrefflg"
@change="advrefflgChange" >Send Advice of Refusal MT734</c-checkbox @change="advrefflgChange" >Send Advice of Refusal MT734</c-checkbox
...@@ -320,7 +321,7 @@ ...@@ -320,7 +321,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="brdgrp.rec.advdocflg"> <el-form-item label="" >
<c-col :span="12"> <c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.advdocflg" <c-checkbox v-model="model.brdgrp.rec.advdocflg"
@change="advdocflgChange">Return of Documents</c-checkbox @change="advdocflgChange">Return of Documents</c-checkbox
...@@ -419,6 +420,14 @@ export default { ...@@ -419,6 +420,14 @@ export default {
this.model.brdgrp.rec.advdocflg = val ? "X" : ""; this.model.brdgrp.rec.advdocflg = val ? "X" : "";
}, },
}, },
advdisflg: {
get() {
return this.model.advdisflg === "X";
},
set(val) {
this.model.advdisflg = val ? "X" : "";
},
},
}, },
methods: { ...Event, methods: { ...Event,
async advrefflgChange() { async advrefflgChange() {
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Advice of Discrepancy" name="mt750p"> <el-tab-pane v-if="model.advdisflg=='X'" label="Advice of Discrepancy" name="mt750p">
<c-content> <c-content>
<m-mt750p :model="model" :codes="codes"/> <m-mt750p :model="model" :codes="codes"/>
</c-content> </c-content>
......
...@@ -226,7 +226,14 @@ ...@@ -226,7 +226,14 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="21"> <c-col :span="21">
<el-form-item label="External Key of Address" prop="brdgrp.prb.pts.extkey"> <el-form-item label="External Key of Address" prop="brdgrp.prb.pts.extkey">
<c-input v-model="model.brdgrp.prb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> <c-input
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('brdgrp.prb.pts.extkey')
"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="3"> <c-col :span="3">
......
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog <c-grid-ety-prompt-dialog
        ref="doxpDialog"         ref="doxpDialog"
        :isPty="false"         :isPty="false"
......
...@@ -37,11 +37,9 @@ ...@@ -37,11 +37,9 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--
<el-tab-pane label="分录" name="glepan"> <el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" /> <m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane> </el-tab-pane>
-->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
v-model="model.cpdgrp.ori.pts.ref" v-model="model.cpdgrp.ori.pts.ref"
maxlength="16" maxlength="16"
placeholder="" placeholder=""
:disabled=this.flag1
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -26,6 +27,7 @@ ...@@ -26,6 +27,7 @@
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('cpdgrp.ori.pts.extkey') showGridPromptDialog('cpdgrp.ori.pts.extkey')
" "
:disabled=this.flag1
></c-input> ></c-input>
</el-form-item> </el-form-item>
<template slot="footer"> <template slot="footer">
...@@ -78,6 +80,7 @@ ...@@ -78,6 +80,7 @@
v-model="model.cpdgrp.orc.pts.ref" v-model="model.cpdgrp.orc.pts.ref"
maxlength="16" maxlength="16"
placeholder="" placeholder=""
:disabled=this.flag1
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -88,6 +91,7 @@ ...@@ -88,6 +91,7 @@
v-model="model.cpdgrp.rec.orcact" v-model="model.cpdgrp.rec.orcact"
maxlength="35" maxlength="35"
placeholder="汇款人账号" placeholder="汇款人账号"
:disabled=this.flag1
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -101,6 +105,7 @@ ...@@ -101,6 +105,7 @@
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('cpdgrp.orc.pts.extkey') showGridPromptDialog('cpdgrp.orc.pts.extkey')
" "
:disabled=this.flag1
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
...@@ -1123,7 +1128,7 @@ ...@@ -1123,7 +1128,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="17"> <c-col :span="17">
<el-form-item label=""> <el-form-item label="">
<c-input placeholder=""></c-input> <c-input placeholder="" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="7"> <c-col :span="7">
...@@ -1166,6 +1171,7 @@ ...@@ -1166,6 +1171,7 @@
style="width: 90%" style="width: 90%"
maxlength="16" maxlength="16"
placeholder="" placeholder=""
:disabled=this.flag1
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -1177,6 +1183,7 @@ ...@@ -1177,6 +1183,7 @@
style="width: 90%" style="width: 90%"
maxlength="35" maxlength="35"
placeholder="" placeholder=""
:disabled=this.flag1
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -1403,6 +1410,7 @@ ...@@ -1403,6 +1410,7 @@
style="width: 90%" style="width: 90%"
maxlength="16" maxlength="16"
placeholder="" placeholder=""
:disabled=this.flag1
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -1414,6 +1422,7 @@ ...@@ -1414,6 +1422,7 @@
style="width: 90%" style="width: 90%"
maxlength="35" maxlength="35"
placeholder="" placeholder=""
:disabled=this.flag1
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -2408,6 +2417,7 @@ export default { ...@@ -2408,6 +2417,7 @@ export default {
data() { data() {
return { return {
infptaVisible: false, infptaVisible: false,
flag1:true,
}; };
}, },
watch:{ watch:{
...@@ -2418,6 +2428,16 @@ export default { ...@@ -2418,6 +2428,16 @@ export default {
this.model.cptp.fwtgyh = 'CHASUS33XXX'; this.model.cptp.fwtgyh = 'CHASUS33XXX';
console.log(this.model.cptp.fwtgyh) console.log(this.model.cptp.fwtgyh)
} }
},
"model.cpdgrp.rec.swftyp":{
immediate:true,
handler(val ,oldVal){
if(this.model.cpdgrp.rec.swftyp == ''){
this.flag1=true;
}else{
this.flag1=false;
}
}
} }
}, },
methods: { methods: {
......
...@@ -110,12 +110,13 @@ ...@@ -110,12 +110,13 @@
label="汇款金额" label="汇款金额"
previewLabel="汇款金额币种" previewLabel="汇款金额币种"
prop="cpdgrp.cbs.nom1.cur" prop="cpdgrp.cbs.nom1.cur"
> >
<c-select <c-select
v-model="model.cpdgrp.cbs.nom1.cur" v-model="model.cpdgrp.cbs.nom1.cur"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
@change="onNom1CurChange" @change="commonExecuteRule('cpdgrp.cbs.nom1.cur')"
> >
<el-option <el-option
v-for="item in codes.currencycode" v-for="item in codes.currencycode"
...@@ -475,6 +476,13 @@ export default { ...@@ -475,6 +476,13 @@ export default {
...Event, ...Event,
onCptpGetref() {}, onCptpGetref() {},
onCptpGetmod() {}, onCptpGetmod() {},
commonExecuteRule(ruleName) {
this.executeRule(ruleName).then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
}, },
watch:{ watch:{
"model.cpdgrp.rec.ischktyp":{ "model.cpdgrp.rec.ischktyp":{
......
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!-- <el-tab-pane label="Additional Info" name="AdditionalInfo"> <el-tab-pane label="Additional Info" name="AdditionalInfo" v-if="this.model.cpdgrp.rec.swftyp != ''">
<m-AdditionalInfo :model="model" :codes="codes" /> <m-AdditionalInfo :model="model" :codes="codes" />
</el-tab-pane> --> </el-tab-pane>
<el-tab-pane label="费用及账务" name="setpan"> <el-tab-pane label="费用及账务" name="setpan">
<!--PD000000 --> <!--PD000000 -->
......
...@@ -3,63 +3,34 @@ ...@@ -3,63 +3,34 @@
<c-list-search @form-reset="handleReset" @form-search="handleSearch"> <c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 --> <!-- 持续展示区 -->
<template v-slot="searchSlot"> <template v-slot="searchSlot">
<el-form <el-form class="m-table-search-form" ref="paramsForm" label-position="right" label-width="110px"
class="m-table-search-form" size="small">
ref="paramsForm"
label-position="right"
label-width="110px"
size="small"
>
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Own Reference" prop="infcon.seaownref">
label="Own Reference" <c-input v-model="model.infcon.seaownref" maxlength="16"
prop="infcon.seaownref" placeholder="请输入Own Reference"></c-input>
>
<c-input
v-model="model.infcon.seaownref"
maxlength="16"
placeholder="请输入Own Reference"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Name" prop="infcon.nam"> <el-form-item label="Name" prop="infcon.nam">
<c-input <c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入Name"></c-input>
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入Name"
></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="Opening between" prop="infcon.opndatfrom" style="width: 100%">
label="Opening between"
prop="infcon.opndatfrom"
style="width: 100%"
>
<c-col :span="11"> <c-col :span="11">
<c-date-picker <c-date-picker type="date" v-model="model.infcon.opndatfrom" style="width: 100%"
type="date" placeholder="请选择Opening between" value-format="yyyy-MM-dd"></c-date-picker>
v-model="model.infcon.opndatfrom"
style="width: 100%"
placeholder="请选择Opening between"
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col> </c-col>
<c-col :span="2" style="text-align: center"> <c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label> <label style="display: inline-block; width: 100%">-</label>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<c-date-picker <c-date-picker type="date" v-model="model.infcon.opndatto" style="width: 100%"
type="date" placeholder="请选择Open Date to" value-format="yyyy-MM-dd"></c-date-picker>
v-model="model.infcon.opndatto"
style="width: 100%"
placeholder="请选择Open Date to"
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -71,61 +42,36 @@ ...@@ -71,61 +42,36 @@
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Select Single Party" prop="infcon.pty.extkey">
label="Select Single Party" <c-input v-model="model.infcon.pty.extkey" maxlength="24"
prop="infcon.pty.extkey" placeholder="请输入Select Single Party"></c-input>
>
<c-input
v-model="model.infcon.pty.extkey"
maxlength="24"
placeholder="请输入Select Single Party"
></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="Party Name" prop="infcon.pty.nam">
label="Party Name" <c-input v-model="model.infcon.pty.nam" maxlength="40"
prop="infcon.pty.nam" placeholder="请输入Party Name"></c-input>
>
<c-input
v-model="model.infcon.pty.nam"
maxlength="40"
placeholder="请输入Party Name"
></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="Party Name/BIC" prop="infcon.seapty">
label="Party Name/BIC" <c-input v-model="model.infcon.seapty" maxlength="24"
prop="infcon.seapty" placeholder="请输入Party Name/BIC"></c-input>
>
<c-input
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入Party Name/BIC"
></c-input>
</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="8"> <c-col :span="8">
<el-form-item <el-form-item label="Role" prop="infcon.searol">
label="Role" <c-select v-model="model.infcon.searol" style="width: 100%"
prop="infcon.searol" placeholder="请选择Role" :code="codes.payrol">
>
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择Role"
:code="codes.payrol"
>
</c-select> </c-select>
</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="Opening between" label="Opening between"
...@@ -141,27 +87,15 @@ ...@@ -141,27 +87,15 @@
</c-col> --> </c-col> -->
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Party Reference" prop="infcon.searef">
label="Party Reference" <c-input v-model="model.infcon.searef" maxlength="16"
prop="infcon.searef" placeholder="请输入Party Reference"></c-input>
>
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入Party Reference"
></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="Amount to" prop="infcon.seaamtto">
label="Amount to" <c-input v-model="model.infcon.seaamtto" placeholder="请输入Amount to"></c-input>
prop="infcon.seaamtto"
>
<c-input
v-model="model.infcon.seaamtto"
placeholder="请输入Amount to"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -182,44 +116,24 @@ ...@@ -182,44 +116,24 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="User ID" prop="infcon.usr.extkey">
label="User ID" <c-input v-model="model.infcon.usr.extkey" maxlength="8"
prop="infcon.usr.extkey" placeholder="请输入User ID"></c-input>
>
<c-input
v-model="model.infcon.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
></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="Status" prop="infcon.seasta">
label="Status" <c-select v-model="model.infcon.seasta" style="width: 100%"
prop="infcon.seasta" placeholder="请选择Status" :code="codes.seasta">
>
<c-select
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择Status"
:code="codes.seasta"
>
</c-select> </c-select>
</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="Currency" prop="infcon.seacur">
label="Currency" <c-select v-model="model.infcon.seacur" style="width: 100%"
prop="infcon.seacur" placeholder="请选择Currency" :code="codes.curtxt1">
>
<c-select
v-model="model.infcon.seacur"
style="width: 100%"
placeholder="请选择Currency"
:code="codes.curtxt1"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -227,56 +141,32 @@ ...@@ -227,56 +141,32 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Amount between" prop="infcon.seaamtfr">
label="Amount between" <c-input v-model="model.infcon.seaamtfr" placeholder="请输入Amount between">
prop="infcon.seaamtfr" </c-input>
>
<c-input
v-model="model.infcon.seaamtfr"
placeholder="请输入Amount between"
></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="是否通过电证系统" prop="elcflg">
label="是否通过电证系统" <c-select v-model="model.elcflg" style="width: 100%" placeholder="请选择是否通过电证系统"
prop="elcflg" :code="codes.elcflg">
>
<c-select
v-model="model.elcflg"
style="width: 100%"
placeholder="请选择是否通过电证系统"
:code="codes.elcflg"
>
</c-select> </c-select>
</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="" <c-checkbox v-model="model.infcon.forflg">转卖单据</c-checkbox>
>
<c-checkbox
v-model="model.infcon.forflg"
>转卖单据</c-checkbox
>
</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="8"> <c-col :span="8">
<el-form-item <el-form-item label="Document Type" prop="seadoctypcod">
label="Document Type" <c-select v-model="model.seadoctypcod" style="width: 100%"
prop="seadoctypcod" placeholder="请选择Document Type" :code="codes.brdtyp">
>
<c-select
v-model="model.seadoctypcod"
style="width: 100%"
placeholder="请选择Document Type"
:code="codes.brdtyp"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -300,79 +190,44 @@ ...@@ -300,79 +190,44 @@
--> -->
<c-col :span="24"> <c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns"> <c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column <el-table-column fixed="right" prop="op" label="操作" width="150px">
fixed="right"
prop="op"
label="操作"
width="150px"
>
<template slot="header"> <template slot="header">
<c-col :span="11" style="text-align: left" <c-col :span="11" style="text-align: left"><span>操作</span></c-col>
><span>操作</span></c-col <c-col :span="12" style="text-align: right">
> <c-button icon="el-icon-s-tools"></c-button>
<c-col :span="12" style="text-align: right" </c-col>
><c-button icon="el-icon-s-tools"></c-button
></c-col>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<el-popover <el-popover placement="top-start" title="历史信息" width="800" trigger="click"
placement="top-start" :ref="'popover_' + scope.row.IDX">
title="历史信息" <div style="
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div
style="
text-align: right; text-align: right;
margin-top: -30px; margin-top: -30px;
margin-right: 5px; margin-right: 5px;
font-size: 16px; font-size: 16px;
" ">
> <span class="el-icon-close" @click="
<span
class="el-icon-close"
@click="
closeTrn('popover_' + scope.row.IDX) closeTrn('popover_' + scope.row.IDX)
" " />
/>
</div> </div>
<c-istream-table <c-istream-table :list="trnData.data" :columns="trnData.columns">
:list="trnData.data" <el-table-column prop="op" label="操作" width="0">
:columns="trnData.columns"
>
<el-table-column
prop="op"
label="操作"
width="0"
>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button <c-button style="margin-left: 0" size="small"
style="margin-left: 0" @click="display(scope.row['INR'])">
size="small"
@click="display(scope.row['INR'])"
>
详情 详情
</c-button> </c-button>
</template> </template>
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
<c-button <c-button style="margin-left: 0" size="small" @click="getTrnInfo(scope.$index, scope.row)"
style="margin-left: 0" slot="reference">
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>
详情 详情
</c-button> </c-button>
</el-popover> </el-popover>
<c-button <c-button style="margin-left: 0" size="small" type="primary"
style="margin-left: 0" @click="getButtons(scope.row['Reference'])">
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>
处理 处理
</c-button> </c-button>
<!-- <!--
...@@ -447,8 +302,8 @@ ...@@ -447,8 +302,8 @@
</c-col> </c-col>
</c-row> </c-row>
--> -->
<m-busbtn ref="childs" :ownref="ownref" trnCode="detsel" ownrefPath="bfdgrp" tabIndex=3 :model="detselModel" @onChoose="onChoose"></m-busbtn <m-busbtn ref="childs" :ownref="ownref" trnCode="detsel" ownrefPath="bfdgrp" tabIndex=3 :model="detselModel"
> @onChoose="onChoose"></m-busbtn>
</div> </div>
</template> </template>
...@@ -469,7 +324,7 @@ export default { ...@@ -469,7 +324,7 @@ export default {
components: { "m-busbtn": BusNavbar }, components: { "m-busbtn": BusNavbar },
data() { data() {
return { return {
detselModel:new DetselModel().data, detselModel: new DetselModel().data,
ownref: "", ownref: "",
initdialog: false, initdialog: false,
dialogTableVisible: false, dialogTableVisible: false,
...@@ -501,8 +356,8 @@ export default { ...@@ -501,8 +356,8 @@ export default {
'4 12 "Opened" 150 ', '4 12 "Opened" 150 ',
'5 13 "Closed" 150 ', '5 13 "Closed" 150 ',
'14 14 "Cur" 50 ', '14 14 "Cur" 50 ',
'16 15 "Cur" 50 ', '15 15 "Doc.Amount" 150 ',
'15 16 "Doc.Amount" 150 ', '16 16 "Cur" 50 ',
'17 17 "Open Amount" 150 ', '17 17 "Open Amount" 150 ',
], ],
data: [], data: [],
...@@ -520,17 +375,17 @@ export default { ...@@ -520,17 +375,17 @@ export default {
*/ */
methods: { methods: {
...Event, ...Event,
async getButtons(ownref){ async getButtons(ownref) {
this.ownref = ownref this.ownref = ownref
this.$refs.childs.initdialog = true this.$refs.childs.initdialog = true
console.log("ownref:" +ownref); console.log("ownref:" + ownref);
}, },
async onChoose(code){ async onChoose(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false this.$refs.childs.initdialog = false
} , },
async getDitSelInfo(code){ async getDitSelInfo(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false this.$refs.childs.initdialog = false
...@@ -552,6 +407,6 @@ export default { ...@@ -552,6 +407,6 @@ export default {
this.$refs[refId].doClose(); this.$refs[refId].doClose();
}, },
}, },
created: function () {}, created: function () { },
}; };
</script> </script>
...@@ -318,10 +318,19 @@ export default { ...@@ -318,10 +318,19 @@ export default {
closeTrn(refId) { closeTrn(refId) {
this.$refs[refId].doClose(); this.$refs[refId].doClose();
}, },
async getTrnInfo(code) { async getTrnInfo(idx, row) {
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false this.model.infcon.objinr = row["INR"];
this.model.bodgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true;
let rtnmsg = await this.executeDefault("infcon.chksubcon");
if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
console.log(this.trnData.data);
}
}, },
async getDitSelInfo(idx, row) { async getDitSelInfo(idx, row) {
//TD中选中行触发 //TD中选中行触发
......
...@@ -506,8 +506,8 @@ export default { ...@@ -506,8 +506,8 @@ export default {
label: "Closed", label: "Closed",
}, },
'20 18 "1.Cur" 80', '20 18 "1.Cur" 80',
'22 19 "2.Cur" 80', '21 19 "Paym.Amount" 150',
'21 20 "Paym.Amount" 150', '22 20 "2.Cur" 80',
'23 21 "Amount rcvd." 150', '23 21 "Amount rcvd." 150',
'6 22 "Pyectycod" 120', '6 22 "Pyectycod" 120',
'7 23 "Orcctycod" 120', '7 23 "Orcctycod" 120',
......
...@@ -696,8 +696,8 @@ export default { ...@@ -696,8 +696,8 @@ export default {
'5 11 "Expired" 150 ', '5 11 "Expired" 150 ',
'6 12 "Closed" 150 ', '6 12 "Closed" 150 ',
'13 13 "Cur" 150 ', '13 13 "Cur" 150 ',
'15 14 "Cur" 150 ', '15 15 "Cur" 150 ',
'14 15 "L/C Amount" 150 ', '14 14 "L/C Amount" 150 ',
'16 16 "Open Amount" 150 ', '16 16 "Open Amount" 150 ',
], ],
data: [], data: [],
......
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<div style="float: right;"> <div style="float: right;">
<span class="add_del_button add_button" @click="addTableValue" v-if="ifShowAdd">+</span> <c-button @click="addTableValue" v-if="ifShowAdd">+</c-button><br>
<span class="add_del_button" @click="deleteTable" v-if="ifShowDelete">-</span> <c-button @click="deleteTable" v-if="ifShowDelete">-</c-button>
</div> </div>
</c-col> </c-col>
</c-row> </c-row>
......
...@@ -59,14 +59,14 @@ ...@@ -59,14 +59,14 @@
<template slot-scope="scope" slot="header"> <template slot-scope="scope" slot="header">
<el-button <el-button
circle circle
style="padding: 4px" style="padding:4px"
class="el-icon-plus" class="el-icon-plus"
size="mini" size="mini"
@click="addRow(scope)" @click="addRow(scope)"
> >
</el-button> </el-button>
<el-button <el-button
style="padding: 4px" style="padding:4px"
circle circle
class="el-icon-minus" class="el-icon-minus"
size="mini" size="mini"
...@@ -75,12 +75,12 @@ ...@@ -75,12 +75,12 @@
</el-button> </el-button>
</template> </template>
<template slot-scope="scoped"> <template slot-scope="scoped">
<el-button <c-button
style="margin-left: 0" style="margin-left:0"
size="small" size="small"
type="primary" type="primary"
@click="detail1(scoped.$index, scoped.row)" @click="detail1(scoped.$index, scoped.row)"
>详情</el-button >详情</c-button
> >
</template> </template>
</el-table-column> </el-table-column>
......
...@@ -114,12 +114,12 @@ ...@@ -114,12 +114,12 @@
<c-col :span="13"> <c-col :span="13">
<el-form-item <el-form-item
label="Maturity Date" label="Maturity Date"
prop="brtp.matp.mattxtlab" :prop="`${argadr.trans1}.matp.mattxtlab`"
> >
<c-date-picker <c-date-picker
type="date" type="date"
disabled disabled
v-model="model.brtp.matp.mattxtlab" v-model="model[argadr.trans1].matp.mattxtlab"
style="width: 100%" style="width: 100%"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
...@@ -143,12 +143,12 @@ ...@@ -143,12 +143,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="Maturity Date" label="Maturity Date"
prop="brtp.matp.mattxtlab" :prop="`${argadr.trans1}.matp.mattxtlab`"
> >
<c-date-picker <c-date-picker
type="date" type="date"
disabled disabled
v-model="model.brtp.matp.mattxtlab" v-model="model[argadr.trans1].matp.mattxtlab"
style="width: 100%" style="width: 100%"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
...@@ -178,12 +178,10 @@ ...@@ -178,12 +178,10 @@
label-width="90px" label-width="90px"
:prop="`${argadr.trans}.rec.tenmaxday`" :prop="`${argadr.trans}.rec.tenmaxday`"
> >
<c-date-picker <c-input
type="date"
disabled disabled
v-model="model[argadr.trans].rec.tenmaxday" v-model="model[argadr.trans].rec.tenmaxday"
style="width: 100%" ></c-input>
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</div> </div>
...@@ -259,6 +257,7 @@ export default { ...@@ -259,6 +257,7 @@ export default {
return { return {
title: "", //角色名称 title: "", //角色名称
trans: "", //所属模块 trans: "", //所属模块
trans1:"",//所属模块
}; };
}, },
}, },
......
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