Commit 69b6ab0a by wangyanjiao

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 61aab642 6a36e599
......@@ -6402,7 +6402,7 @@ const CodeTable = {
],
dspflg: [
{ label: "final", value: "CG" },
{ label: "", value: "C" },
{ label: "temporary", value: "C" },
],
apftxt: [
{ label: "BOL-Englisch", value: "BOL001" },
......@@ -6717,7 +6717,12 @@ const CodeTable = {
{ label: "新西兰元", value: "NZD" },
{ label: "美元", value: "USD" },
],
gitopn_cur:[
{ label: "CNY-人民币", value: "CNY" },
{ label: "KRW-韩圆", value: "KRW" },
{ label: "NZD-新西兰元", value: "NZD" },
{ label: "USD-美元", value: "USD" },
],
cnfflg1: [
{ label: "WITHOUT", value: "W" },
{ label: "CONFIRM", value: "C" },
......
......@@ -26,6 +26,7 @@ export default class Botsel{
rcvdat:"", // Order Date .bodgrp.rec.rcvdat
predat:"", // Presentation Date .bodgrp.rec.predat
docsta:"", // Document Set Status .bodgrp.rec.docsta
inr: "",
},
cbs:{
max:{
......
......@@ -21,7 +21,7 @@ export default {
"lidgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{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":[
{type: "string", required: false, message: "必输项"},
......
......@@ -220,5 +220,7 @@ export default {
"gitp.lettername" :Utils.defaultFunction,
"gidgrp.blk.apprulc" :Utils.defaultFunction,
"gidgrp.rec.autrnwflg" :Utils.defaultFunction,
"setmod.glemod.glepan" :Utils.defaultFunction,
"cfagit.cfap" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -223,7 +223,7 @@
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label-width="0" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount" :disabled="isDisabled">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount" :disabled="model.bodgrp.rec.focflg? true:false">
</c-input>
</el-form-item>
</c-col>
......@@ -300,7 +300,6 @@ export default {
mixins: [commonProcess],
data() {
return {
isDisabled: false,
stmData: {
columns: [
'1 1 "Type" 80',
......@@ -357,12 +356,12 @@ export default {
selIds = [];
this.model.setmod.docamt = "0.000";
this.model.liaall.tensetstm.rows = [];
this.isDisabled = false;
this.model.bodgrp.rec.focflg = '';
// this.model.liaall.tenstm.rows = []
} else {
selIds = [selection[0] + 1];
this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt;
this.isDisabled = true;
this.model.bodgrp.rec.focflg = 'X';
}
//
......
......@@ -16,7 +16,9 @@
<!--PD000027 -->
<el-tab-pane label="Funds Settlement" name="setp">
<c-content>
<m-setp ref="setp" :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000049 -->
......
......@@ -114,7 +114,7 @@ export default {
console.log("进入brtacp交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -139,7 +139,7 @@ export default {
console.log("进入brtame交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -152,7 +152,7 @@ export default {
console.log("进入brtcan交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -156,7 +156,7 @@ export default {
console.log("进入brtcsg交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -169,7 +169,7 @@ export default {
console.log("进入brtdcr交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -215,7 +215,7 @@ export default {
console.log("进入brtlat交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -211,7 +211,7 @@ export default {
console.log("进入brtset交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
this.model.mtabut.clsflg="X";
if (this.isInDisplay) {
this.restoreDisplay();
......
......@@ -183,7 +183,7 @@ export default {
console.log("进入brtsnd交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -8,7 +8,7 @@
<el-form-item label="数据采集标志" prop="cfagit.cfaflg">
<c-select v-model="model.cfagit.cfaflg"
style="width:100%"
placeholder="请选择数据采集标志">
placeholder="请选择数据采集标志" >
<el-option
v-for="item in codes.cfaflg1"
:key="item.value"
......@@ -81,6 +81,7 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitopn/Event"
import Utils from "~/utils";
export default {
inject: ['root'],
......@@ -97,6 +98,12 @@ export default {
},
methods:{
...Event,
// async cfaChange(){
// let rtnmsg = await this.executeRule("cfagit.cfap")
// if (rtnmsg.respCode == SUCCESS) {
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// }
// }
},
created:function(){
......
<template>
<div class="eibs-tab">
<!-- ==================================左边-外债编号================================ -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="外债编号" prop="cfagit.recp.dclp.exdebtcode">
<c-input
v-model="model.cfagit.recp.dclp.exdebtcode"
maxlength="28"
placeholder="请输入外债编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="变动编号" prop="cfagit.recp.dclp.changeno">
<c-input
v-model="model.cfagit.recp.dclp.changeno"
maxlength="4"
placeholder="请输入变动编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="cfagit.recp.dclp.actiontype">
<c-select
v-model="model.cfagit.recp.dclp.actiontype"
style="width: 100%"
placeholder="请选择操作类型"
disabled
:code="codes.actiontype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行业务参号" prop="cfagit.recp.dclp.buscode">
<c-input
v-model="model.cfagit.recp.dclp.buscode"
maxlength="32"
placeholder="请输入银行业务参号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="变动类型" prop="cfagit.recp.dclp.changtype">
<c-select
v-model="model.cfagit.recp.dclp.changtype"
style="width: 100%"
placeholder="请选择变动类型"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="变动日期" prop="cfagit.recp.dclp.chdate">
<c-date-picker
type="date"
v-model="model.cfagit.recp.dclp.chdate"
style="width: 100%"
placeholder="请选择变动日期"
value-format="yyyy-MM-dd"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="变动币种" prop="cfagit.recp.dclp.chcurrency">
<c-select
v-model="model.cfagit.recp.dclp.chcurrency"
style="width: 100%"
placeholder="请选择变动币种"
:code="codes.curtxt"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="变动金额" prop="cfagit.recp.dclp.chamount">
<c-input
v-model="model.cfagit.recp.dclp.chamount"
placeholder="请输入变动金额"
class="m-input-currency"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="公允价值" prop="cfagit.recp.dclp.fairvalue">
<c-input
v-model="model.cfagit.recp.dclp.fairvalue"
placeholder="请输入公允价值"
class="m-input-currency"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="备注" prop="cfagit.recp.dclp.remark">
<c-input
type="textarea"
v-model="model.cfagit.recp.dclp.remark"
maxlength="248"
show-word-limit
placeholder="请输入备注"
:rows="5"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ==================================右边-删除原因================================ -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="删除原因" prop="cfagit.recp.dclp.actiondesc">
<c-input
type="textarea"
v-model="model.cfagit.recp.dclp.actiondesc"
maxlength="248"
show-word-limit
placeholder="请输入删除原因"
:rows="5"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onSav"> &Save </c-button>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onChk"> &Check </c-button>
</c-col> -->
<c-col :span="17" :offset="7">
<c-checkbox v-model="model.cfagit.recp.dclp.acp" disabled>确认</c-checkbox>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Gitopn/Event'
export default {
inject: ['root'],
props: ['model', 'codes'],
mixins: [commonProcess],
data() {
return {}
},
methods: { ...Event },
created: function () {},
}
</script>
<style></style>
......@@ -77,14 +77,8 @@
v-model="model.gidgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Guarantee Amount"
:code="codes.gitopn_cur"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -607,7 +601,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="是否分离式保函" prop="gidgrp.rec.fenlishi">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="分离式保函" prop="gidgrp.rec.fenlishi">
<c-select
:disabled="model.gidgrp.rec.hndtyp=='OT'"
v-model="model.gidgrp.rec.fenlishi"
......@@ -867,7 +861,7 @@
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Old Reference" prop="gidgrp.rec.oldref">
<c-input
v-model="model.gidgrp.rec.oldref"
......@@ -875,9 +869,9 @@
placeholder="请输入Old Reference"
></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Inure Date" prop="gidgrp.rec.inudat">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="保函生效日" prop="gidgrp.rec.inudat">
<c-date-picker
type="date"
v-model="model.gidgrp.rec.inudat"
......@@ -1049,7 +1043,7 @@
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="被保证人" prop="gidgrp.gidcxm.warran">
<c-input
:disabled="model.gidgrp.rec.hndtyp!='OT'"
:disabled="model.gidgrp.rec.fenlishi==''"
v-model="model.gidgrp.gidcxm.warran"
maxlength="40"
placeholder="请输入被保证人"
......@@ -1057,12 +1051,12 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Valid from" prop="gidgrp.rec.opndat">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Issuance Date" prop="gidgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.gidgrp.rec.opndat"
style="width: 100%"
placeholder="请选择Valid from"
placeholder="请选择Issuance Date"
></c-date-picker>
</el-form-item>
</c-col>
......
<template >
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<c-col :span="14">
<el-form-item label="Reference" prop="gidgrp.rec.ownref">
<c-input
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
</el-form-item>
</c-col>
<!-- <el-form-item label="" label-width="5px"> -->
<c-col :span="6 ">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
<c-button
style="margin: 0 0"
:disabled="this.flag"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox v-model="model.gidgrp.rec.resflg"
>Reserved Contract</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Guarantee Amount" prop="gidgrp.cbs.max.cur">
<c-select
v-model="model.gidgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Guarantee Amount"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<c-input
v-model="model.gidgrp.cbs.max.amt"
style="margin: 0 0 0 10px; width: 80%"
placeholder="请输入Guarantee Amount"
></c-input>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Open Amount" prop="gidgrp.cbs.opn1.cur">
<c-input disabled
v-model="model.gidgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请输入Open Amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<!-- <el-form-item label="" prop="gidgrp.cbs.opn1.amt"> -->
<c-input disabled
v-model="model.gidgrp.cbs.opn1.amt"
style="margin: 0 0 0 10px; width: 80%"
placeholder="请输入Balance"
></c-input>
<!-- </el-form-item> -->
</c-col>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Type of Request" prop="gidgrp.rec.drpreflg">
<c-select
v-model="model.gidgrp.rec.drpreflg"
style="width: 100%"
placeholder="请选择Type of Request"
>
<el-option
v-for="item in codes.drpreflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Incoming Purpose " prop="gidgrp.rec.purposin">
<c-select :disabled="model.gitp.inc760==''" v-model="model.gidgrp.rec.purposin" style="width:100%" placeholder="请选择Incoming Purpose ">
<el-option
v-for="item in codes.purposin"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Outgoing Purpose" prop="gidgrp.rec.purpos">
<c-select v-model="model.gidgrp.rec.purpos" style="width:90%" placeholder="请选择Outgoing Purpose">
<el-option
v-for="item in codes.purpos"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="4" class="centerLable">
<c-checkbox v-model="model.gidgrp.rec.revflg">Declaration of Indemnity</c-checkbox>
</c-col> -->
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 90%"
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.hndtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="4" class="centerLable">
<c-checkbox v-model="model.gidgrp.rec.autrnwflg">Auto-Renewal</c-checkbox>
</c-col> -->
</c-col>
<c-col :span="24">
<el-form-item label="Type of Undertaking" prop="gidgrp.rec.gartyp">
<c-select
v-model="model.gidgrp.rec.gartyp"
style="width: 100%"
placeholder="请选择Type of Undertaking"
>
<el-option
v-for="item in codes.typgar"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Form of Undertaking" prop="gidgrp.rec.legfrm">
<c-select v-model="model.gidgrp.rec.legfrm" style="width:90%" placeholder="请选择Form of Undertaking">
<el-option
v-for="item in codes.legfrm"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="4" class="centerLable">
<c-checkbox v-model="model.gidgrp.rec.rmbflg">Reimbursement Information</c-checkbox>
</c-col> -->
</c-col>
<c-col :span="24">
<el-form-item label="Demand Indicator" prop="gidgrp.rec.demand">
<c-select v-model="model.gidgrp.rec.demand" style="width:100%" placeholder="请选择Demand Indicator">
<el-option
v-for="item in codes.demand"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item
label="Language of Undertak."
prop="gidgrp.rec.giduil"
>
<c-select
v-model="model.gidgrp.rec.giduil"
style="width: 90%"
placeholder="请选择Language of Undertak."
>
<el-option
v-for="item in codes.uiltxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="4" class="centerLable">
<c-checkbox v-model="model.gidgrp.rec.secuilflg">Bilingual Guarantee</c-checkbox>
</c-col> -->
</c-col>
<!-- v-model="model.gidgrp.rec.gtxinr" -->
<c-col :span="24">
<el-form-item label="Choice of Text" prop="gidgrp.rec.gtxinr">
<c-select
:disabled="model.gidgrp.rec.purposin=='ISSU'"
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择Choice of Text"
>
<el-option
v-for="item in codes.gtxinr"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Applicable Rules" prop="gidgrp.blk.apprul">
<c-select
v-model="model.gidgrp.blk.apprul"
width="100%"
placeholder="请选择Applicable Rules"
>
<el-option
v-for="item in codes.apprulc"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<c-input
style="margin: 0 0 0 10px; width: 80%"
v-model="model.gidgrp.blk.apprultxt"
placeholder="请输入Applicable Rules"
></c-input>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox v-model="model.gidgrp.rec.expflg"
>Unlimited Guarantee</c-checkbox
>
</c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Old Reference" prop="gidgrp.rec.oldref">
<c-input
v-model="model.gidgrp.rec.oldref"
maxlength="16"
placeholder="请输入Old Reference"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="16">
<el-form-item label="Responsible User" prop="gitp.usr.extkey">
<c-input
v-model="model.gitp.usr.extkey"
maxlength="8"
placeholder="请输入Responsible User"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox v-model="model.gitp.inc760">incoming lose</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="18">
<el-form-item label="Order Date" prop="gidgrp.rec.orddat">
<c-date-picker
type="date"
v-model="model.gidgrp.rec.orddat"
style="width: 80%"
placeholder="请选择Order Date"
></c-date-picker>
</el-form-item>
</c-col>
<!-- <c-col :span="6" class="centerLable">
<c-checkbox v-model="model.gitp.inccormsgflg">Incoming corporate order</c-checkbox>
</c-col> -->
</c-col>
<c-col :span="24">
<el-form-item label="Valid from" prop="gidgrp.rec.opndat">
<c-date-picker type="date" v-model="model.gidgrp.rec.opndat" style="width:100%" placeholder="请选择Valid from"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Expiry Type" prop="gidgrp.rec.exptyp">
<c-select v-model="model.gidgrp.rec.exptyp" style="width:100%" placeholder="请选择Expiry Type">
<el-option
v-for="item in codes.exptyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Validity until" prop="gidgrp.rec.expdat">
<c-date-picker :disabled="model.gidgrp.rec.exptyp=='OPEN'"
type="date"
v-model="model.gidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择Validity until"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Expiry Condition/ Evt." prop="gidgrp.blk.exptxt">
<c-input type="textarea" rows="4" :disabled="model.gitp.exptxtmodflg==''" v-model="model.gidgrp.blk.exptxt" maxlength="65" show-word-limit placeholder="请输入Expiry Condition/ Evt." ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.gitp.exptxtmodflg" :disabled="model.gidgrp.rec.exptyp=='FIXD'||model.gidgrp.rec.exptyp=='OPEN'||model.gidgrp.rec.exptyp==''" style="margin:0 0 0 10px">Modify Text</c-checkbox>
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifexptxt">
vs. &System
</c-button>
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifhisexptxt">
vs. &History
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Liability Type " prop="gidgrp.rec.liatypc">
<c-select :disabled="model.gidgrp.rec.purpos=='ISSU'" v-model="model.gidgrp.rec.liatypc" style="width:100%" placeholder="请选择Liability Type ">
<el-option
v-for="item in codes.liatypc"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item
label="Our Liability until"
prop="gidgrp.rec.liadat"
>
<c-date-picker :disabled="model.gidgrp.rec.liatypc=='OPEN'"
type="date"
v-model="model.gidgrp.rec.liadat"
style="width: 90%"
placeholder="请选择Our Liability until"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox v-model="model.gidgrp.rec.liaflg"
>Unlimited Liability</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Liability Condition" prop="gidgrp.blk.liatxtc">
<c-input type="textarea" :disabled="model.gitp.liatxtcmodflg==''" rows="4" v-model="model.gidgrp.blk.liatxtc" maxlength="65" show-word-limit placeholder="请输入Liability Condition" ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox :disabled="model.gidgrp.rec.liatypc=='OPEN'||model.gidgrp.rec.liatypc=='FIXD'||model.gidgrp.rec.liatypc==''" v-model="model.gitp.liatxtcmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox>
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifliatxtc">
vs. &System
</c-button>
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifhisliatxtc">
vs. &History
</c-button>
</c-col>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpop/Event";
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model"],
mixins: [commonProcess],
data() {
return {
codes: {
...CodeTable,
},
};
},
computed: {
// gtxinr:{
// get(){
// return this.model.gidgrp.rec.purposin=="ISSU";
// },
// set(val){
// this.model.gidgrp.rec.gtxinr="<NILTXT>";
// }
// },
flag() {
return this.model.gidgrp.apl.pts.extkey == "";
},
},
methods: { ...Event },
created: function () {},
watch: {
declareParams() {},
},
};
</script>
<style>
</style>
......@@ -12,14 +12,7 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Guarantee Amount" prop="gidgrp.cbs.mac.cur">
<c-select v-model="model.gidgrp.cbs.mac.cur" style="width:100%" placeholder="请选择Guarantee Amount">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
<c-select :code="codes.gitopn_cur" v-model="model.gidgrp.cbs.mac.cur" style="width:100%" placeholder="请选择Guarantee Amount">
</c-select>
</el-form-item>
</c-col>
......
......@@ -3,13 +3,14 @@
<c-row>
<c-col :span="24">
<c-col :span="11">
<!-- 不为swift格式左边 -->
<c-col :span="24">
<el-form-item label="Applicant Ref." prop="gidgrp.apl.pts.ref">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Applicant Ref." prop="gidgrp.apl.pts.ref">
<c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Applicant" prop="gidgrp.apl.pts.extkey">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Applicant" prop="gidgrp.apl.pts.extkey">
<c-fullbox>
<c-input v-model="model.gidgrp.apl.pts.extkey"
maxlength="16"
......@@ -33,26 +34,12 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input disabled rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap v-if="model.gitp.swiftflg=='Y'"
:model="model"
:argadr="{
title: 'Accountee/ObI.',
grp: 'gidgrp',
rol: 'ctr',
}"
@onAplpDet="onConpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Confirming Bank Ref." prop="gidgrp.con.pts.ref">
<c-input disabled v-model="model.gidgrp.con.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input>
</el-form-item>
......@@ -88,30 +75,138 @@
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-ptap v-if="model.gitp.swiftflg=='N'"
<!-- 为swift格式左边 -->
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&(model.gidgrp.rec.purposin=='ISCO'||model.gidgrp.rec.purposin=='ICCO')" label="Issuing Bank's Ref." prop="gidgrp.apl.pts.ref">
<c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Issuing Bank's Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&(model.gidgrp.rec.purposin=='ISCO'||model.gidgrp.rec.purposin=='ICCO')" label="Issuing Bank" prop="gidgrp.apl.pts.extkey">
<c-fullbox>
<c-input v-model="model.gidgrp.apl.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`)
"></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button disabled size="small" type="primary" @click="onAplpDet">
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&(model.gidgrp.rec.purposin=='ISCO'||model.gidgrp.rec.purposin=='ICCO')" label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input disabled rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&(model.gidgrp.rec.purposin=='ISCO'||model.gidgrp.rec.purposin=='ICCO')" label="Applicant's Ref." prop="gidgrp.ctr.pts.ref">
<c-input v-model="model.gidgrp.ctr.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&(model.gidgrp.rec.purposin=='ISCO'||model.gidgrp.rec.purposin=='ICCO')" label="Applicant" prop="gidgrp.ctr.pts.extkey">
<c-fullbox>
<c-input v-model="model.gidgrp.ctr.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ctr.pts.extkey`)
"></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button size="small" type="primary" @click="onCtrpDet">
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&(model.gidgrp.rec.purposin=='ISCO'||model.gidgrp.rec.purposin=='ICCO')" label="地址名称" prop="gidgrp.ctr.pts.adrblk">
<c-input rows="4" type="textarea" v-model="model.gidgrp.ctr.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&(model.gidgrp.rec.purposin=='ISSU'||model.gidgrp.rec.purposin=='')" label="Applicant's Ref." prop="gidgrp.apl.pts.ref">
<c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&(model.gidgrp.rec.purposin=='ISSU'||model.gidgrp.rec.purposin=='')" label="Applicant" prop="gidgrp.apl.pts.extkey">
<c-fullbox>
<c-input v-model="model.gidgrp.apl.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`)
"></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button size="small" type="primary" @click="onAplpDet">
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&(model.gidgrp.rec.purposin=='ISSU'||model.gidgrp.rec.purposin=='')" label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap v-if="model.gitp.swiftflg=='Y'&&(model.gidgrp.rec.purposin=='ISSU'||model.gidgrp.rec.purposin=='')"
:model="model"
:argadr="{
title: 'Confirming Bank',
title: 'Accountee/ObI.',
grp: 'gidgrp',
rol: 'con',
rol: 'ctr',
}"
:disabled="true"
@onAplpDet="onConpDet"
>
</c-ptap>
</c-col> -->
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<!-- 不为swift格式右边 -->
<c-col :span="24">
<el-form-item label="受益人" prop="gidgrp.ben.pts.ref">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="受益人" prop="gidgrp.ben.pts.ref">
<c-input v-model="model.gidgrp.ben.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人" prop="gidgrp.ben.pts.extkey">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="受益人" prop="gidgrp.ben.pts.extkey">
<c-fullbox>
<c-input v-model="model.gidgrp.ben.pts.extkey"
maxlength="16"
......@@ -135,12 +230,11 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.ben.pts.adrblk">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.ben.pts.adrblk">
<c-input :disabled="model.gidgrp.rec.hndtyp=='OT'" rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="(model.gidgrp.rec.hndtyp=='OC'||model.gidgrp.rec.hndtyp=='OT')&&model.gitp.swiftflg!='Y'" label="Issuing Bank" prop="gidgrp.iss.pts.ref">
<c-input v-model="model.gidgrp.iss.pts.ref" maxlength="16" placeholder="请输入Issuing Bank"></c-input>
......@@ -176,6 +270,42 @@
</el-form-item>
</c-col>
<!-- 为swift格式右边 -->
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Beneficiary's Ref." prop="gidgrp.ben.pts.ref">
<c-input v-model="model.gidgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary's Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Beneficiary" prop="gidgrp.ben.pts.extkey">
<c-fullbox>
<c-input v-model="model.gidgrp.ben.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ben.pts.extkey`)
"></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button size="small" type="primary" @click="onBenpDet">
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="地址名称" prop="gidgrp.ben.pts.adrblk">
<c-input rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap v-if="model.gitp.swiftflg=='Y'"
:model="model"
......@@ -184,7 +314,7 @@
grp: 'gidgrp',
rol: 'atb',
}"
@onAplpDet="onConpDet"
@onAplpDet="onAtbpDet"
>
</c-ptap>
</c-col>
......
......@@ -5,18 +5,18 @@
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Applicant Ref." prop="gidgrp.apl.pts.ref">
<c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input>
<el-form-item label="Applicant Ref." prop="gidgrp.apc.pts.ref">
<c-input v-model="model.gidgrp.apc.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Applicant" prop="gidgrp.apl.pts.extkey">
<el-form-item label="Applicant" prop="gidgrp.apc.pts.extkey">
<c-fullbox>
<c-input v-model="model.gidgrp.apl.pts.extkey"
<c-input v-model="model.gidgrp.apc.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`)
showGridPromptDialog(`gidgrp.apc.pts.extkey`)
"></c-input>
<template slot="footer">
<c-button
......@@ -27,7 +27,7 @@
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button size="small" type="primary" @click="onAplpDet">
<c-button size="small" type="primary" @click="onApcpDet">
Details
</c-button>
</template>
......@@ -35,8 +35,8 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
<el-form-item label="地址名称" prop="gidgrp.apc.pts.adrblk">
<c-input rows="4" type="textarea" v-model="model.gidgrp.apc.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
......
......@@ -69,13 +69,13 @@
</c-content>
</el-tab-pane>
<el-tab-pane label="Settlement" name="Settlement">
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Bookings" name="Booking">
<el-tab-pane v-if="this.flag" label="Bookings" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes"/>
</c-content>
......@@ -135,6 +135,12 @@
<m-conp1 :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="对外担保-责任余额信息" name="dclpp" v-if="model.cfagit.cfaflg==1">
<c-content>
<m-dclpp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Overview" name="ovwpc">
<c-content>
<m-ovwpc :model="model" :codes="codes"/>
......@@ -223,11 +229,11 @@ import Ptypc from "./Ptypc"
import Detpc from "./Detpc"
import Gidtxtpc from "./Gidtxtpc"
import Preperpc from "./Preperpc"
import Ovwp20 from "./Ovwp20"
import Confp from "./Confp"
import Conp from "./Conp"
import Conp1 from "./Conp1"
import Aacp from "./Aacp"
import Dclpp from "./Dclpp"
import Engp from "~/views/Public/Engp";
......@@ -259,10 +265,10 @@ export default {
"m-detpc" : Detpc,
"m-gidtxtpc" : Gidtxtpc,
"m-preperpc" : Preperpc,
"m-ovwp20" : Ovwp20,
"m-confp" : Confp,
"m-conp" : Conp,
"m-conp1":Conp1,
"m-dclpp" : Dclpp,
"m-engp" :Engp,
"m-ccvpan" :Ccvpan,
......@@ -292,6 +298,7 @@ export default {
codes: {
...CodeTable,
},
flag:false,
}
},
methods:{
......@@ -305,21 +312,12 @@ export default {
if(name==="voup"){
rulePath = "cnybop.voup";
}
// if (name === "glepan") {
// rulePath = "glepan";
// }
// if (name === "coninfp") {
// rulePath = "coninfp";
// }
// if (name === "docpan") {
// rulePath = "oit.inftxt";
// }
// if (name === "doctre") {
// rulePath = "doctre";
// }
// if (name === "sbxx") {
// rulePath = "trd.ownref,cnyp";
// }
if(name==="setpan"){
this.flag=true;
}
if(name==='cfap'){
rulePath = "cfagit.cfap";
}
if (!!rulePath) {
this.executeRule(rulePath).then(res => {
if (res.respCode == SUCCESS) {
......@@ -334,6 +332,9 @@ export default {
// * do it yourself
// **/
// }
// async gleClick(){
// this.flag=true;
// },
},
created:async function(){
console.log("进入gitopn交易");
......
......@@ -165,7 +165,7 @@ export default {
console.log("进入litacp交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -249,7 +249,7 @@ export default {
console.log("进入litame交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -124,7 +124,7 @@ export default {
console.log("进入litcan交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -148,7 +148,7 @@ export default {
{
//TODO 处理数据逻辑
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -146,7 +146,7 @@ export default {
console.log("进入litdck交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -220,7 +220,7 @@ export default {
console.log("进入litdla交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -160,7 +160,7 @@ export default {
console.log("进入litrog交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
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