Commit 0f129d7a by liuxin

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 3268af96 04564ea4
......@@ -6552,7 +6552,7 @@ const CodeTable = {
],
label5: [
{ label: "额度已切分,结算系统将自动扣除余额,保证金(如需)符合要求;", value: "A" },
{ label: "额度已切分,结算系统将自动扣减额度,保证金(如需)符合要求;", value: "A" },
{ label: "额度未切分,《信贷业务通知书》符合要求;", value: "B" },
],
currencycode: [
......@@ -18515,6 +18515,8 @@ const CodeTable = {
],
typgar: [
{ label: "农民工工资保函", value: "1" },
{ label: "", value: "P" },
{ label: "", value: "C" },
],
gtxinr: [
{ label: "Performance Guaratee2", value: "00000008" },
......@@ -132,6 +132,9 @@ export default {
if(name === 'basp'){
rulePath = "bopmod.dbcp.basp"
}
if(name === 'basp1'){
rulePath = "bopmod.dbfp.basp"
}
if (!!rulePath) {
// if(rulePath == "setmod.setpan"){
// this.executeCustomRule(rulePath).then(res => {
......
......@@ -7,7 +7,11 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.model.ledgrp.rec.ownref = rtnmsg.data.ledgrp_rec_ownref
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
{
......
......@@ -48,11 +48,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"ledgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
......@@ -495,15 +491,14 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"ledgrp.cbs.nom1.cur":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
// {max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.nom1.amt":[
{type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"ledgrp.cbs.nom1.amt": [
{ required: true, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......
......@@ -27,7 +27,7 @@ export default {
"lidgrp.rec.rmbflg" :Utils.defaultFunction,
"lidgrp.ben.pts.extkey" :Utils.defaultFunction,
"lidgrp.adv.pts.extkey" :Utils.defaultFunction,
"lidgrp.avb.pts.extkey" :Utils.defaultFunction,
// "lidgrp.avb.pts.extkey" :Utils.defaultFunction,
"hmdmod2.bennam" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
......@@ -39,7 +39,7 @@ export default {
"lidgrp.avb.adrelc" :Utils.defaultFunction,
"lidgrp.avb.namelc" :Utils.defaultFunction,
"lidgrp.avb.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.avb.pts.adrblk" :Utils.defaultFunction,
//"lidgrp.avb.pts.adrblk" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction,
"trnmod.trndia.dspstm" :Utils.defaultFunction,
"lidgrp.a2b.pts.extkey" :Utils.defaultFunction,
......
......@@ -186,7 +186,8 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.model.lidgrp.blk.adlcnd=rtnmsg.data.lidgrp_blk_adlcnd
this.updateModel("rtnmsg.data")
}
else
{
......
......@@ -191,29 +191,36 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"lidgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "lidgrp.cbs.max2.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"lidgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "lidgrp.cbs.opn2.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"lidgrp.blk.addamtcov":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.blk.preper":[
"lidgrp.rec.avbby":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.prepers18":[
"lidgrp.rec.stacty":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.blk.preper":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.prepers18":[
{ required: false, },
],
"litp.avbp.ptsget.sdamod.dadsnd":[
......@@ -238,7 +245,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"lidgrp.avb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 180,message:"长度不能超过180"}
],
"lidgrp.avb.dbfadrblkcn":[
......@@ -255,19 +262,19 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"lidgrp.blk.feetxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 80,message:"80"}
],
"lidgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"lidgrp.blk.dftat":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
......@@ -289,7 +296,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"lidgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 135,message:"长度不能超过135"}
],
"lidgrp.drw.dbfadrblkcn":[
......@@ -297,20 +304,24 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"lidgrp.blk.mixdet":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.drw.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.avbwth":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.shpfro":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lidgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{ required: true, },
],
"lidgrp.rec.porloa":[
{type: "string", required: false, message: "必输项"},
......@@ -325,7 +336,7 @@ export default {
{max: 65,message:"长度不能超过65"}
],
"lidgrp.blk.shpper":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lidgrp.ini.pts.ref":[
......@@ -670,7 +681,7 @@ export default {
{max: 20,message:"长度不能超过20"}
],
"cnybop.cnylib.sbanktrano":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"cnybop.cnylib.sbankorgcode":[
......@@ -684,19 +695,19 @@ export default {
"cnybop.cnylib.sforbankswiftbic":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"cnybop.sorgname":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnylib.sorgcode":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"cnybop.sforeignorgname":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnylib.sforeigncountrycode":[
......@@ -705,17 +716,23 @@ export default {
],
"cnybop.cnylib.doccurdate":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "string", required: true, message: "输入正确的日期"}
],
"cnybop.cnylib.denddate":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "string", required: true, message: "输入正确的日期"}
],
"cnybop.cnylib.dcreditenddate":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "string", required: true, message: "输入正确的日期"}
],
"cnybop.cnylib.currencycode":[
{type: "string", required: true,}
],
"cnybop.cnylib.stermtype":[
{type: "string", required: true,}
],
"cnybop.cnylib.famt":[
{type: "number", required: false, message: "必输项"},
{type: "number", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
export default class Blk {
constructor() {
this.data = {
stamet:"", // 声明 .didgrp.blk.stsament
revcls: "", // Revolving Clause .didgrp.blk.revcls
revnotes: "", // Notes to Applicant .didgrp.blk.revnotes
lcrgod: "", // Description of Goods .didgrp.blk.lcrgod
......
......@@ -131,6 +131,9 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
if(this.isInDisplay){
this.restoreDisplay();
}
//TODO 处理数据逻辑
}
......
......@@ -448,17 +448,18 @@
v-model="model.setmod.redamt"
placeholder="请输入扣减金额"
:disabled="frepayflg"
@change="selectOrCheckboxChangeExecuteRule('setmod.redamt')"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="SG000254" prop="bpdgrp.rec.ffttyp">
<el-form-item label="福费廷转卖类型" prop="bpdgrp.rec.ffttyp">
<c-input
v-model="model.bpdgrp.rec.ffttyp"
maxlength="40"
placeholder="请输入SG000254"
placeholder="请输入福费廷转卖类型"
disabled
></c-input>
</el-form-item>
......@@ -880,10 +881,11 @@ export default {
},
frepayflg: {
get() {
return this.model.bfdgrp.rec.frepayflg === "O";
return this.model.bfdgrp.rec.frepayflg === "X";
},
set(val) {
this.model.bfdgrp.rec.frepayflg = val ? "C" : "O";
this.model.bfdgrp.rec.frepayflg = val ? "X" : "";
this.model.setmod.redamt = "";
},
},
flag() {
......@@ -910,6 +912,10 @@ export default {
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}else{
// this.model.setmod.docamt = "";
// this.model.setmod.setamt = "";
// this.model.aamset.utlamt = "";
}
},
},
......
......@@ -49,7 +49,7 @@
</c-col>
<c-col :span="11">
<c-form-item previewLabel="信用证金额" style="text-align: left;" label-width="5px" prop="didgrp.cbs.nom1.amt">
<c-input-currency v-model="model.didgrp.cbs.nom1.amt" placeholder="请输入信用证金额"
<c-input-currency v-model="model.didgrp.cbs.nom1.amt" placeholder="请输入信用证金额" @change="ditpAmt"
@keyup.enter.native="defaultFunction('didgrp.cbs.nom1.amt', model.didgrp.cbs.nom1.amt)">
</c-input-currency>
</c-form-item>
......@@ -191,7 +191,7 @@
<c-col :span="24">
<el-form-item label="假远期信用证" prop="didgrp.rec.jyqflg">
<c-select v-model="model.didgrp.rec.jyqflg" style="width: 100%" placeholder="请选择假远期信用证">
<el-option v-for="item in codes.jyqflg" :key="item.value" :label="item.label" :value="item.value">
<el-option v-for="item in jyqflg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
......@@ -502,12 +502,23 @@ export default {
mixins: [commonProcess],
data() {
return {
jyqflg: [
{ label: "否", value: "" },
{ label: "是", value: "X" },
],
jigomcFlag: false,
trade: "",
};
},
methods: {
...Event,
ditpAmt(){
this.executeDefault("ditp.amt").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
mytypeChange() {
if (this.model.didgrp.rec.mytype == "F") {
this.model.didgrp.rec.tratyp = "";
......@@ -519,11 +530,11 @@ export default {
}
},
nom1CurEvent() {
this.executeDefault("didgrp.cbs.nom1.cur").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
// this.executeDefault("didgrp.cbs.nom1.cur").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
},
},
created: function () {
......
<template>
<div class="eibs-tab">
<!-- <c-col :span="22">
<el-form-item label="声明" prop="didgrp.blk.stamet">
<c-input
type="textarea"
v-model="model.didgrp.blk.stamet"
maxlength="65"
:row="15"
show-word-limit
placeholder="请输入声明"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="22">
<el-form-item label="声明" prop="didgrp.blk.stamet">
<c-input
type="textarea"
v-model="model.didgrp.blk.stamet"
maxlength="65"
show-word-limit
placeholder="请输入声明"
:rows="15"
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {
// this.executeDefault("DIDGRP.BLK.STAMET").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
},
};
</script>
<style>
</style>
......@@ -2,11 +2,7 @@
<c-page title="买方信用证开立">
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
......@@ -15,21 +11,14 @@
<!-- <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 :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="基本信息" name="ovwp">
<!--PD000001 -->
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--
......@@ -47,7 +36,7 @@
<el-tab-pane label="其他当事人" name="detp1">
<!--PD000452 -->
<c-content>
<m-detp1 :model="model" :codes="codes" />
<m-detp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="详细信息" name="detp">
......@@ -57,7 +46,7 @@
<el-tab-pane label="单据要求" name="tk">
<!--PD000342 -->
<c-content>
<m-tk :model="model" :codes="codes" />
<m-tk :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
......@@ -81,8 +70,8 @@
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
<el-tab-pane label="声明" name="stamet">
<m-stamet :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="表外" name="engp">
......@@ -108,7 +97,7 @@
<m-docpan :model="model" :codes="codes" ref="docpan" />
</el-tab-pane>
<el-tab-pane label="MT799" name="mt799">
<el-tab-pane label="MT799" name="mt799" >
<!--PD000361 -->
<m-mt799 :model="model" :codes="codes" />
</el-tab-pane>
......@@ -119,7 +108,7 @@
</c-tabs>
</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>
</div>
</c-page>
</template>
......@@ -147,7 +136,7 @@ import Litrmbl1 from "./Litrmbl1";
import Addbcb from "./Addbcb";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Stamet from "./Stamet";
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Coninfp from "~/views/Public/Coninfp";
......@@ -168,7 +157,7 @@ export default {
"m-litapll1": Litapll1,
"m-litrmbl1": Litrmbl1,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-stamet": Stamet,
"m-engp": Engp,
"m-addbcb": Addbcb,
"m-docpan": Docpan,
......@@ -181,7 +170,7 @@ export default {
root: this,
};
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data() {
return {
......@@ -193,17 +182,18 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
codes: {
...CodeTable,
avbby0: [
{ label: "即期付款", value: "P" },
{ label: "远期付款", value: "D" },
],
],
},
};
},
methods: {},
created: async function() {
methods: {
},
created: async function () {
console.log("进入ditopn交易");
let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) {
......@@ -239,4 +229,5 @@ export default {
},
};
</script>
<style></style>
<style>
</style>
......@@ -93,11 +93,14 @@
<c-col :span="24">
<el-form-item label="Incoming Purpose" prop="gidgrp.rec.purposin">
<c-input
<c-select
v-model="model.gidgrp.rec.purposin"
placeholder="请输入Incoming Purpose"
style="width: 100%"
placeholder="请选择Incoming Purpose "
:code="codes.purposin"
disabled
></c-input>
>
</c-select>
</el-form-item>
</c-col>
......@@ -107,7 +110,8 @@
v-model="model.gidgrp.rec.purpos"
style="width: 100%"
placeholder="请选择Outgoing Purpose"
disabled
:code="codes.purpos"
>
</c-select>
</el-form-item>
......@@ -119,6 +123,7 @@
v-model="model.gidgrp.rec.gartyp"
style="width: 100%"
placeholder="请选择Type of Undertaking"
:code="codes.typgar"
disabled
>
</c-select>
......@@ -143,12 +148,13 @@
label-width="5px"
prop="gidgrp.rec.exptyp"
>
<c-input-currency
<c-select
v-model="model.gidgrp.rec.exptyp"
style="text-align: left; width: 100%"
placeholder=""
disabled
></c-input-currency>
style="width: 100%"
placeholder="请选择Expiry Type"
:code="codes.exptyp"
>
</c-select>
</el-form-item>
</c-col>
......@@ -174,6 +180,7 @@
v-model="model.gidgrp.rec.liatypc"
style="width: 100%"
placeholder="请选择Liability Type "
:code="codes.liatypc"
disabled
>
</c-select>
......@@ -186,6 +193,7 @@
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
:code="codes.hndtyp"
disabled
>
</c-select>
......@@ -198,6 +206,7 @@
v-model="model.gidgrp.rec.cnfsta"
style="width: 100%"
placeholder="请选择Confirmation Status "
:code="codes.cnfsta"
disabled
>
</c-select>
......@@ -664,9 +673,9 @@ export default {
data() {
return {};
},
methods: {
methods: {
...Event,
onSeainf(data) {
onSeainf(data) {
this.$emit("onSeainf", data);
},
},
......
......@@ -78,9 +78,6 @@ export default {
mixins: [commonProcess],
data() {
return {
codes: {
...CodeTable,
},
};
},
methods: { ...Event },
......
......@@ -220,6 +220,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay){
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -16,53 +16,59 @@
<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">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000019 -->
<el-tab-pane label="Charges" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<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">
<!--PD000019 -->
<el-tab-pane label="Charges" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Gitcom from "~/model/Gitcom"
import commonProcess from "~/mixin/commonProcess"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Gitcom from "~/model/Gitcom";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Gitcom/Check"
import Default from "~/model/Gitcom/Default"
import Pattern from "~/model/Gitcom/Pattern"
import Gitsetp1 from "./Gitsetp1"
import Check from "~/model/Gitcom/Check";
import Default from "~/model/Gitcom/Default";
import Pattern from "~/model/Gitcom/Pattern";
import Gitsetp1 from "./Gitsetp1";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
......@@ -70,61 +76,58 @@ import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Gitcom",
components:{
"m-gitsetp1" : Gitsetp1,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "gitsetp1",
trnName: "gitcom",
model: new Gitcom().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
name: "Gitcom",
components: {
"m-gitsetp1": Gitsetp1,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "gitsetp1",
trnName: "gitcom",
model: new Gitcom().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入gitcom交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入gitcom交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
......@@ -106,6 +106,7 @@ import Ordpan from "./Ordpan"
export default {
name: 'Infbfd',
components:{
"m-infsea" : Infsea,
"m-ovwp" : Ovwp,
......
......@@ -646,7 +646,7 @@
-->
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose"
<m-busbtn ref="childs" :ownref="ownref" trnCode="detsel" ownrefPath="dedgrp" :model="detselModel" @onChoose="onChoose"
>11</m-busbtn
>
</div>
......@@ -659,8 +659,9 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infdet/Event";
import DetselModel from "~/model/Detsel"
//交易跳转逻辑
import BusNavbar from "~/views/Business/Infdet/BusNavbar";
import BusNavbar from "~/views/Public/BusNavbar";
export default {
inject: ["root"],
......@@ -669,6 +670,7 @@ export default {
components: { "m-busbtn": BusNavbar },
data() {
return {
detselModel:new DetselModel().data,
ownref: "",
initdialog: false,
dialogTableVisible: false,
......
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button style="margin-left:7px;" size="medium" type="primary" class="medium_bcs" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Gitsel from "~/model/Gitsel"
import commonProcess from "~/mixin/commonProcess"
export default {
props:["ownref"],
components:{
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
trnName:'gitsel',
model:new Gitsel().data,
navcode:[
// {code:"",label:"",isDis:"",title:""},
],
}
},
methods:{
//各入口按钮请求
async onNarBtnClick(code,i){
this.model.cfgfil.subtrn1= code
let rtnmsg = await this.executeRule("cfgfil.hotsub1")
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){
this.navcode = []
this.$emit("onChoose",code.toLowerCase());
}else{
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
},
computed:{
codeList(){
//将model中的数据映射成数组
return this.navcode.map(item=>{
let entireItem = {...item}
this.navcode = [];
//TODO 根据数据判断当前的code,是否可以继续
// entireItem.enable = item.isDis
return entireItem
})
}
},
watch:{
"ownref":async function(n, o){
if(!this.ownref){
console.log("11111")
// onTigger()
return;
}
}
},
mounted(){
this.$nextTick(function(){
this.$on('childmethods',async function(){
this.navcode = []
//请求按钮数据
this.model.gidgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg = await this.executeRule("gidgrp.rec.ownref");//gidgrp_rec_ownref
if(rtnmsg.respCode == SUCCESS){
//重置数组
this.navcode = []
this.updateModel(rtnmsg.data)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model.gidgrp.rec.inr = rtnmsg.data.gidgrp_rec_inr
const length = this.model.cfgfil.btnstm.rows.length
let btnStr = this.model.cfgfil.btnstm.rows
let j = 0;
let m = 0;
// const buttonIndex = ['保证金收取','保证金注销','保证金调整','开立信用证','信用证修改','减额修改接受','修改通知行','到单']
const buttonIndex = ['信用证修改','减额修改接受','到单','修改通知行']
for(let i=0; i < length; i++){
//获取数组中每行的数据
if(!( btnStr[i].indexOf("保证金") >= 0) && !(btnStr[i].indexOf("开立信用证") >= 0)){
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
m++;
j = buttonIndex.indexOf(arr[1].replace(/(^\s*)|(\s*$)/g, ""));
if(j<0){
j = m;
}
//添加到navcode数组中
this.navcode.splice(j,0,newList)
}
}
}else{
this.navcode = []
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
})
})
}
}
</script>
<style>
</style>
......@@ -348,9 +348,8 @@
v-model="model.seagtyp"
style="width: 100%"
placeholder="请选择Undertaking Type"
:code="codes.seagtyp"
:code="codes.typgar"
>
</c-select>
</el-form-item>
</c-col>
......@@ -439,88 +438,116 @@
</c-list-search>
<el-row>
<c-col :span="24" style="margin-top: 10px">
<c-button
class="medium_bcs"
size="medium"
type="primary"
@click="toGitopn"
>进口保函开立</c-button
>
</c-col>
<c-col :span="24" style="margin-top: 10px">
<c-button
class="medium_bcs"
size="medium"
type="primary"
@click="toGitopn"
>进口保函开立</c-button
>
<c-button
style="margin-left: 20"
class="medium_bcs"
size="medium"
type="primary"
@click="toGetopn"
>出口保函通知</c-button
>
</c-col>
<c-col :span="24" style="text-align: right; height: 100px">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: left">
<span>操作</span>
</c-col>
<c-col :span="12" style="text-align: right">
<c-button icon="el-icon-s-tools"></c-button>
</c-col>
</template>
<template slot-scope="scope">
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
<c-col :span="24" style="text-align: right; height: 100px">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: left">
<span>操作</span>
</c-col>
<c-col :span="12" style="text-align: right">
<c-button icon="el-icon-s-tools"></c-button>
</c-col>
</template>
<template slot-scope="scope">
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<span
class="el-icon-close"
@click="closeTrn('popover_' + scope.row.IDX)"
/>
</div>
<c-istream-table :list="trnData.data" :columns="trnData.columns">
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['INR'])"
>详情</c-button
>
</template>
</el-table-column>
</c-istream-table>
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class="el-icon-close"
@click="closeTrn('popover_' + scope.row.IDX)"
/>
</div>
<c-istream-table
:list="trnData.data"
:columns="trnData.columns"
>
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['INR'])"
>详情</c-button
>
</template>
</el-table-column>
</c-istream-table>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>详情</c-button
>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>详情</c-button
type="primary"
@click="getButtons(scope.row['Reference'])"
>处理</c-button
>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>处理</c-button
>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</el-row>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div v-if="dialogFlag" class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" trnCode="gitsel" ownrefPath="gidgrp" :model="gitselModel" tabIndex=1 @onChoose="onChoose">11</m-busbtn>
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="gitsel"
ownrefPath="gidgrp"
:model="gitselModel"
tabIndex="1"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
<div v-else >
<m-busbtn ref="childs" :ownref="ownref" trnCode="getsel" ownrefPath="gidgrp" :model="getselModel" tabIndex=1 @onChoose="onChoose">11</m-busbtn>
<div v-else>
<m-busbtn
ref="childs"
:ownref="ownref"
trnCode="getsel"
ownrefPath="gidgrp"
:model="getselModel"
tabIndex="1"
@onChoose="onChoose"
>11</m-busbtn
>
</div>
</el-dialog>
......@@ -699,7 +726,6 @@
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
......@@ -739,7 +765,15 @@ export default {
columns: [
'1 1 "Reference" 150',
'2 2 "Resp. User" 150',
'8 3 "保函品种" 150',
// '8 3 "保函品种" 150',
{
index: 8,
position: 3,
width: 150,
pattern: "code",
label: "保函品种",
code: this.codes.typgar,
},
'11 4 "Party Number" 150',
'12 5 "Applicant" 150',
'15 6 "Cur" 150',
......@@ -756,7 +790,15 @@ export default {
'21 17 "Cur" 150',
'16 18 "Guar. Amount" 150',
'20 19 "Open Amount" 150',
'9 20 "Handling Type" 150',
// '9 20 "Handling Type" 150',
{
index: 9,
position: 20,
width: 150,
pattern: "code",
label: "Handling Type",
code: this.codes.hndtyp,
},
'6 21"电子渠道类型" 150',
'7 22"OTHERSNO" 150',
],
......@@ -773,8 +815,8 @@ export default {
console.log("dialogFlag:" + this.dialogFlag);
console.log("ownref:" + ownref);
setTimeout(() => {
this.$refs.childs.$emit("childmethods")
}, 10)
this.$refs.childs.$emit("childmethods");
}, 10);
},
async onChoose(code) {
//跳转交易
......@@ -800,6 +842,9 @@ export default {
toGitopn() {
this.$router.history.push("/business/gitopn");
},
toGetopn() {
this.$router.history.push("/business/getopn");
},
handleReset: function () {
this.model = {
instNo: "",
......@@ -808,10 +853,8 @@ export default {
},
},
created: function () {},
watch:{
"model.gidgrp.rec.ownref":function(){
}
watch: {
"model.gidgrp.rec.ownref": function () {},
},
};
</script>
......
......@@ -8,7 +8,7 @@
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane> -->
<c-content>
<c-content :height="180">
<m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content>
......
......@@ -106,7 +106,6 @@
</c-col>
<c-col :span="4">
<c-checkbox
:disabled="true"
v-model="model.ledgrp.rec.collflg"
style="margin-left: 10px"
>抵押信用证</c-checkbox
......@@ -130,6 +129,12 @@
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt">
<!-- <el-form-item label="Balance" prop="ledgrp.cbs.nom1.amt">
<c-input
v-model="model.ledgrp.cbs.nom1.amt"
placeholder="请输入Balance"
></c-input>
</el-form-item> -->
<c-input-currency
v-model="model.ledgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
......@@ -1101,6 +1106,8 @@ export default {
},
methods: {
...Event,
onSeainf(){},
onExtkey(){},
nom1CurEvent() {
this.executeDefault('ledgrp.cbs.nom1.cur').then((res) => {
if (res.respCode == SUCCESS) {
......
<template>
<div class="eibs-tab">
<c-col :span="20">
<c-col :span="10">
<el-form-item label="Additional Amount" prop="lidgrp.cbs.max2.cur">
<c-select
v-model="model.lidgrp.cbs.max2.cur"
style="width: 100%"
placeholder="请选择Currency"
disabled
>
<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="12">
<c-col :span="10">
<el-form-item label="Additional Amount" prop="lidgrp.cbs.max2.cur">
<c-select
v-model="model.lidgrp.cbs.max2.cur"
style="width: 100%"
placeholder="请选择Currency"
disabled
@keyup.enter.native="max2CurEvent"
>
<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="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.max2.amt"
>
<c-input
v-model="model.lidgrp.cbs.max2.amt"
style="text-align: left; width: 100%"
placeholder="请输入Additional Amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.max2.amt"
>
<c-input
v-model="model.lidgrp.cbs.max2.amt"
style="text-align: left; width: 100%"
placeholder="请输入Additional Amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="Open Add. Amount" prop="lidgrp.cbs.opn2.cur">
<c-select
v-model="model.lidgrp.cbs.opn2.cur"
style="width:100%"
<c-select
v-model="model.lidgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择Open Add. Amount"
disabled
>
</c-select>
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.opn2.amt"
</c-col>
<c-col :span="12">
<el-form-item
label=""
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.opn2.amt"
>
<c-input
v-model="model.lidgrp.cbs.opn2.amt"
style="text-align: left; width: 100%"
placeholder="请输入Open Add. Amount"
disabled
></c-input>
<c-input
v-model="model.lidgrp.cbs.opn2.amt"
style="text-align: left; width: 100%"
placeholder="请输入Open Add. Amount"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="24">
<el-form-item label="Covered" prop="lidgrp.blk.addamtcov">
<c-input
type="textarea"
v-model="model.lidgrp.blk.addamtcov"
maxlength="35"
:rows="4"
show-word-limit
placeholder="请输入Covered" ></c-input>
<c-input
type="textarea"
v-model="model.lidgrp.blk.addamtcov"
maxlength="35"
:rows="4"
show-word-limit
placeholder="请输入Covered"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
......@@ -94,12 +92,21 @@ export default {
}
},
methods:{...Event},
methods:{...Event,
max2Amt(){
this.executeDefault("max2.amt").then(
(res) => {
if (res.respCode == SUCCESS){
Utils.copyValueFromVO(this.model, res.data);
}
}
);
}
},
created:function(){
}
}
</script>
<style>
</style>
......@@ -16,6 +16,7 @@
<c-col :span="24" >
<c-checkbox
style="margin-left:150px;padding: 0 10px;"
:disabled="this.model.lidgrp.blk.spcrcb !='' "
v-model="model.lidgrp.rec.spcbenflg"
>Special payment conditions for beneficiary exists</c-checkbox>
......@@ -24,6 +25,7 @@
<c-col :span="24" >
<c-checkbox
style="margin-left:150px;padding: 0 10px;"
:disabled="this.model.lidgrp.blk.spcben !='' "
v-model="model.lidgrp.rec.spcrcbflg">Special Payment Conditions for specified Bank only</c-checkbox>
</c-col>
......
......@@ -12,7 +12,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24" v-if="flag4">
<el-form-item label="Extkey" prop="lidgrp.avb.pts.extkey">
<c-fullbox>
<c-input
......@@ -58,8 +58,10 @@
</c-col> -->
<c-col :span="24">
<el-form-item label="Available in" prop="lidgrp.blk.avbwthtxt">
<c-input type="textarea" v-model="model.lidgrp.blk.avbwthtxt" maxlength="35" :rows="4" show-word-limit placeholder="请输入Available in" ></c-input>
<el-form-item label="Available in" prop="lidgrp.avb.pts.adrblk">
<c-input
disabled
type="textarea" v-model="model.lidgrp.avb.pts.adrblk" maxlength="135" :rows="4" show-word-limit placeholder="请输入Available in" ></c-input>
</el-form-item>
</c-col>
<!--
......@@ -351,6 +353,7 @@ export default {
flag1:true,
flag2:true,
flag3:true,
flag4:true,
}
},
methods:{...Event,
......@@ -362,6 +365,18 @@ export default {
},
watch:{
"model.lidgrp.rec.avbwth":{
immediate:true,
handler(val,oldVal){
if(val == 'O'){
this.flag4=false;
}else{
this.flag4=true;
}
}
},
"model.lidgrp.rec.avbby": {
immediate:true,
handler(val,oldVal){
......
......@@ -118,17 +118,21 @@
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox v-model="model.litp.aamp.aammod.addamtflg"
<template>
<c-checkbox
@change="open"
v-model="model.litp.aamp.aammod.addamtflg"
style="margin-left:11px;padding: 0 10px;"
>Add. Amount</c-checkbox
>
>Add. Amount</c-checkbox>
</template>
</c-col>
</el-col>
<c-col :span="14">
<el-form-item label="Amount Tolerance +/-" prop="lidgrp.rec.nomtop">
<c-input
v-model="model.lidgrp.rec.nomtop"
maxlength="9"
maxlength="2"
placeholder="请输入Amount Tolerance - Positive"
></c-input>
</el-form-item>
......@@ -142,7 +146,7 @@
>
<c-input
v-model="model.lidgrp.rec.nomton"
maxlength="9"
maxlength="2"
placeholder="请输入Amount Tolerance - Negative"
></c-input>
</el-form-item>
......@@ -155,6 +159,7 @@
style="width: 100%"
disabled
placeholder="请选择Amount Specification"
:code="codes.nomspc"
>
</c-select>
</el-form-item>
......@@ -280,7 +285,7 @@
v-model="model.lidgrp.rec.shptrss18"
style="width: 100%"
placeholder="请选择Transhipment"
:code="codes.shppar"
:code="codes.shppars18"
>
</c-select>
</el-form-item>
......@@ -702,7 +707,34 @@ export default {
flag:true,
};
},
methods: { ...Event },
methods: { ...Event,
open(val){
if(val ==='' && !(this.model.lidgrp.cbs.max2.amt =='0.000'&& this.model.lidgrp.cbs.opn2.amt =='0.000' && this.model.lidgrp.blk.addamtcov==='') ){
this.$confirm('Do you really want to delete the additional amount of this contract?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.model.lidgrp.cbs.max2.amt ='0.000';
this.model.lidgrp.blk.addamtcov = '';
this.model.lidgrp.cbs.opn2.amt ='0.000';
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {//No的功能在这里写
this.model.litp.aamp.aammod.addamtflg ='X'
this.$message({
type: 'info',
message: '已取消删除'
});
});
}
}
},
created: function () {},
watch:{
"model.lidgrp.rec.apprul": {
......
......@@ -226,7 +226,7 @@
<c-input
type="textarea"
v-model="model.lidgrp.con.pts.adrblk"
maxlength="35"
maxlength="150"
:rows="4"
show-word-limit
placeholder="请输入Address Block"
......@@ -317,7 +317,7 @@
<c-input
type="textarea"
v-model="model.lidgrp.a2b.pts.adrblk"
maxlength="35"
maxlength="135"
:rows="4"
show-word-limit
placeholder="请输入Address Block"
......@@ -364,9 +364,7 @@
v-model="model.lidgrp.avb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('lidgrp.avb.pts.extkey')
"
@keyup.enter.native="showGridPromptDialog('lidgrp.avb.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
......@@ -411,6 +409,7 @@
v-model="model.lidgrp.avb.pts.adrblk"
maxlength="135"
:rows="4"
disabled
show-word-limit
placeholder="请输入Address Block"
></c-input>
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<c-col :span="18">
<el-form-item label="Special Payment Conditions" prop="lidgrp.blk.spcben">
<el-form-item label="Special Payment Conditions for Beneficiary" prop="lidgrp.blk.spcben">
<c-input type="textarea" v-model="model.lidgrp.blk.spcben" maxlength="65" :rows="30" show-word-limit placeholder="请输入Special Payment Conditions" ></c-input>
</el-form-item>
</c-col>
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<c-col :span="18">
<el-form-item label="Special Payment " prop="lidgrp.blk.spcrcb">
<el-form-item label="Special Payment Conditions for Bank Only" prop="lidgrp.blk.spcrcb">
<c-input type="textarea" v-model="model.lidgrp.blk.spcrcb" maxlength="65" :rows="30" show-word-limit placeholder="请输入Special Payment " ></c-input>
</el-form-item>
</c-col>
......
......@@ -2,17 +2,10 @@
<c-page title="进口信用证开立">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form
:model="model"
......@@ -77,10 +70,10 @@
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Cash Cover" name="ccvpan">
......@@ -96,10 +89,8 @@
<!--PD000001 -->
<el-tab-pane label="Bookings" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查表" name="addbcb">
......@@ -127,7 +118,11 @@
</el-tab-pane>
<!--PD000110 -->
<el-tab-pane label="2106银行跟单结算及表外融资" name="libp">
<el-tab-pane
label="2106银行跟单结算及表外融资"
name="libp"
v-if="this.model.cnybop.libflg == '1'"
>
<m-libp :model="model" :codes="codes" />
</el-tab-pane>
......@@ -225,6 +220,7 @@ import Glepan from "~/views/Public/Glepan";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Litopn",
components: {
"m-ovwp": Ovwp,
"m-aamp": Aamp,
......@@ -271,19 +267,19 @@ export default {
};
},
methods: {
//>==== 该目录下的tabclick要注释掉不然会将commonProcess里的覆盖 ===<
// tabClick(tab) {
// // const name = tab.name;
// // let rulePath;
// // if (name === "libp") {
// // rulePath = "cnybop.libp";
// // }
// // this.executeRule(rulePath).then((res) => {
// // if (res.respCode == SUCCESS) {
// // this.updateModel(res.data);
// // }
// // });
// },
//>==== 该目录下的tabclick要注释掉不然会将commonProcess里的覆盖 ===<
// tabClick(tab) {
// // const name = tab.name;
// // let rulePath;
// // if (name === "libp") {
// // rulePath = "cnybop.libp";
// // }
// // this.executeRule(rulePath).then((res) => {
// // if (res.respCode == SUCCESS) {
// // this.updateModel(res.data);
// // }
// // });
// },
},
created: async function () {
console.log("进入litopn交易");
......@@ -292,7 +288,7 @@ export default {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
if (this.isInDisplay){
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
......
<template>
<ReviewWrapper>
<Bftdrv></Bftdrv>
</ReviewWrapper>
</template>
<script>
import Bftdrv from "~/views/Business/Bftdrv";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBftsnd",
components: { ReviewWrapper, Bftdrv },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Getamc></Getamc>
</ReviewWrapper>
</template>
<script>
import Getamc from "~/views/Business/Getamc";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGetamc",
components: { ReviewWrapper, Getamc },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Gitcom></Gitcom>
</ReviewWrapper>
</template>
<script>
import Gitcom from "~/views/Business/Gitcom";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitcom",
components: { ReviewWrapper, Gitcom },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -24,6 +24,9 @@ import ReviewBftsnd from "./Business/ReviewBftsnd.vue";
import ReviewBftdcr from "./Business/ReviewBftdcr.vue";
import ReviewLitopn from "./Business/ReviewLitopn.vue";
import ReviewBftset from "./Business/ReviewBftset.vue";
import ReviewGitcom from "./Business/ReviewGitcom.vue";
import ReviewGetamc from "./Business/ReviewGetamc.vue";
import ReviewBftdrv from "./Business/ReviewBftdrv.vue";
const ReviewRouter = [
......@@ -71,6 +74,9 @@ const ReviewRouter = [
{ path: "litopn", component: ReviewLitopn, name: "ReviewLitopn", meta: { title: "复核-Litopn" } },
{ path: "bftset", component: ReviewBftset, name: "ReviewBftset", meta: { title: "复核-Bftset" } },
{ path: "litame", component: ReviewLitame, name: "ReviewLitame", meta: { title: "复核-Litame" } },
{ path: "gitcom", component: ReviewGitcom, name: "ReviewGitcom", meta: { title: "复核-Gitcom" } },
{ path: "getamc", component: ReviewGetamc, name: "ReviewGetamc", meta: { title: "复核-Getamc" } },
{ path: "bftdrv", component: ReviewBftdrv, name: "ReviewBftdrv", meta: { title: "复核-Bftdrv" } },
];
......
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