Commit e7b4b2a4 by nanrui

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 4106de93 2c2cbaa8
...@@ -34,19 +34,28 @@ export default { ...@@ -34,19 +34,28 @@ export default {
"bcdgrp.dre.pts.adrblk" :Utils.defaultFunction, "bcdgrp.dre.pts.adrblk" :Utils.defaultFunction,
"bcdgrp.drr.pts.nam" :Utils.defaultFunction, "bcdgrp.drr.pts.nam" :Utils.defaultFunction,
"bcdgrp.drr.pts.adrblk" :Utils.defaultFunction, "bcdgrp.drr.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bcdgrp.co2.adrelc" :Utils.defaultFunction, "bcdgrp.co2.adrelc" :Utils.defaultFunction,
"bcdgrp.co2.namelc" :Utils.defaultFunction, "bcdgrp.co2.namelc" :Utils.defaultFunction,
"bcdgrp.co2.dbfadrblkcn" :Utils.defaultFunction, "bcdgrp.co2.dbfadrblkcn" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bcdgrp.rmi.pts.nam" :Utils.defaultFunction, "bcdgrp.rmi.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bcdgrp.cbs.max.amt" :Utils.defaultFunction, "bcdgrp.cbs.max.amt" :Utils.defaultFunction,
"bcdgrp.dre.pts.nam" :Utils.defaultFunction, "bcdgrp.dre.pts.nam" :Utils.defaultFunction,
"bcdgrp.cbs.max.cur" :Utils.defaultFunction, "bcdgrp.cbs.max.cur" :Utils.defaultFunction,
"bcdgrp.rec.ownref" :Utils.defaultFunction, "bcdgrp.rec.ownref" :Utils.defaultFunction,
"bcdgrp.co2.pts.adrblk" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"bcdgrp.drr.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"bcdgrp.drr.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -334,4 +334,8 @@ export default { ...@@ -334,4 +334,8 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
} }
\ No newline at end of file
import Utils from "~/utils"
/**
* Betamc Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Betamc Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ledgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.rec.partcon" :Utils.defaultFunction,
"bedgrp.cbs.max.amt" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction,
"amcamt" :Utils.defaultFunction,
"bedgrp.ben.pts.nam" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
onSeainf() {},
onDetpButgetref() {}
}
\ No newline at end of file
export default {
"betp0.ledget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ledgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"betp0.ledget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"betp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bedgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"betp0.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bedgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bedgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bedgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bedgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bedgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bedgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bedgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bedgrp.iss.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bedgrp.rec.doctypcod":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"bedgrp.iss.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bedgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bedgrp.rec.orddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bedgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bedgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bedgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bedgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bedgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.rec.partcon":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"amcamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"newcnfamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Betamc{
constructor () {
this.data = {
bedgrp:{
rec:{
ownref:"", // 单据编号 .bedgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .bedgrp.rec.nam
doctypcod:"", // 单据类型 .bedgrp.rec.doctypcod
matdat:"", // Maturity Date .bedgrp.rec.matdat
orddat:"", // 到期日 .bedgrp.rec.orddat
rcvdat:"", // 到单日期 .bedgrp.rec.rcvdat
predat:"", // Presentation Date .bedgrp.rec.predat
docsta:"", // 单据状态 .bedgrp.rec.docsta
},
cbs:{
max:{
cur:"", // 单据所占的保兑额度 .bedgrp.cbs.max.cur
amt:"", // 单据金额 .bedgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .bedgrp.cbs.opn1.cur
amt:"", // Balance .bedgrp.cbs.opn1.amt
},
opn2:{
amt:"", // Balance .bedgrp.cbs.opn2.amt
},
},
ben:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
apl:{
pts:new Pts().data,
},
},
betp0:{
recget:{
sdamod:{
seainf:"", // .betp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .betp0.recget.sdamod.dadsnd
},
},
ledget:{
sdamod:{
seainf:"", // .betp0.ledget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .betp0.ledget.sdamod.dadsnd
},
},
matp:{
mattxtlab:"", // Label for MATTXT .betp0.matp.mattxtlab
},
},
ledgrp:{
rec:{
ownref:"", // 参考号 .ledgrp.rec.ownref
partcon:"", // 信用证保兑比例 .ledgrp.rec.partcon
},
cbs:{
opn1:{
cur:"", // Currency .ledgrp.cbs.opn1.cur
amt:"", // Balance .ledgrp.cbs.opn1.amt
},
cnf:{
cur:"", // 释放后保兑金额余额 .ledgrp.cbs.cnf.cur
},
},
},
amcamt:"", // 单据所占的保兑额度 .amcamt
newcnfamt:"", // 释放后保兑金额余额 .newcnfamt
mtabut: {
coninf: {
oitinf: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat: "", // 执行日期 .mtabut.coninf.conexedat
usr: {
extkey: "", // User ID .mtabut.coninf.usr.extkey
},
},
},
pageId: "" , // ctx的key
trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall,
}
}
}
\ No newline at end of file
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"strinf":[ "strinf":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 50,message:"长度不能超过50"}
], ],
......
...@@ -262,7 +262,6 @@ ...@@ -262,7 +262,6 @@
<el-form-item label="Maturity Text" prop="bcdgrp.blk.bcgdet"> <el-form-item label="Maturity Text" prop="bcdgrp.blk.bcgdet">
<c-input <c-input
type="textarea" type="textarea"
disabled
:rows="4" :rows="4"
v-model="model.bcdgrp.blk.bcgdet" v-model="model.bcdgrp.blk.bcgdet"
maxlength="45" maxlength="45"
......
...@@ -37,6 +37,10 @@ ...@@ -37,6 +37,10 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--Completion --> <!--Completion -->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
...@@ -74,7 +78,7 @@ ...@@ -74,7 +78,7 @@
import Coninfp from "~/views/Public/Coninfp" import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan" import Docpan from "~/views/Public/Docpan"
import Doctre from "~/views/Public/Doctre" import Doctre from "~/views/Public/Doctre"
import Glepan from "~/views/Public/Glepan"
export default { export default {
name: "Bctrad", name: "Bctrad",
...@@ -87,6 +91,7 @@ ...@@ -87,6 +91,7 @@
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
"m-glepan": Glepan
}, },
provide() { provide() {
return { return {
...@@ -109,7 +114,30 @@ ...@@ -109,7 +114,30 @@
} }
}, },
methods: { methods: {
tabClick() {} tabClick(tab) {
if (this.isInDisplay) {
return
}
const name = tab.name
let rulePath;
if (name === "setpan") {
rulePath = "setmod.setpan";
}
if (name === "glepan") {
rulePath = "setmod.glemod.glepan";
}
if (name === "docpan") {
rulePath = "trnmod.trndoc.docpan"
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
}
}, },
created: async function () { created: async function () {
console.log("进入bctrad交易"); console.log("进入bctrad交易");
......
...@@ -227,7 +227,7 @@ ...@@ -227,7 +227,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" class="bctdav_bctp_bctovw_cheak"> <c-col :span="24" class="bctdav_bctp_bctovw_cheak">
<c-checkbox v-model="model.bcdgrp.rec.focflg" <c-checkbox v-model="model.bcdgrp.rec.focflg" @change="focflgChange"
>Free of Payment</c-checkbox >Free of Payment</c-checkbox
> >
</c-col> </c-col>
...@@ -279,8 +279,7 @@ ...@@ -279,8 +279,7 @@
<c-select <c-select
v-model="model.trnmod.cmtflg" v-model="model.trnmod.cmtflg"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
:disabled="model.gcdgrp.rec.frepaylg=='X'"
> >
<el-option <el-option
v-for="item in codes.cmtflg" v-for="item in codes.cmtflg"
...@@ -376,6 +375,7 @@ import Api from "~/service/Api"; ...@@ -376,6 +375,7 @@ 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/Bctset/Event"; import Event from "~/model/Bctset/Event";
import Utils from "~/utils";
import Docpre from "~/views/Public/Docpre"; import Docpre from "~/views/Public/Docpre";
export default { export default {
...@@ -466,6 +466,13 @@ export default { ...@@ -466,6 +466,13 @@ export default {
} }
} }
}, },
async focflgChange() {
let rtnmsg = await this.executeDefault("bcdgrp.rec.focflg");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<!-- 左边 --> <!-- 左边 -->
<c-col :span="14"> <c-col :span="14">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="不符点"> <el-form-item label="不符点" prop="bddgrp.blk.docdis">
<c-input type="textarea" <c-input type="textarea"
:disabled="model.bddgrp.blk.docdisflg ? false : true" :rows="6" :disabled="model.bddgrp.blk.docdisflg ? false : true" :rows="6"
v-model="model.bddgrp.blk.docdis" maxlength="65" show-word-limit placeholder="请输入不符点"></c-input> v-model="model.bddgrp.blk.docdis" maxlength="65" show-word-limit placeholder="请输入不符点"></c-input>
......
<template>
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
: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>
<!-- <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"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000033 -->
<el-tab-pane label="OverView" name="betamcp">
<m-betamcp :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>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<m-engp :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 Betamc from "~/model/Betamc";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Betamc/Check";
import Default from "~/model/Betamc/Default";
import Pattern from "~/model/Betamc/Pattern";
import Betamcp from "./Betamcp";
import Engp from "~/views/Public/Engp";
import Doctre from "~/views/Public/Doctre";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Betamc",
components: {
"m-betamcp": Betamcp,
"m-setpan": Setpan,
"m-engp": Engp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "betamcp",
trnName: "betamc",
model: new Betamc().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入betamc交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
...@@ -47,6 +47,13 @@ ...@@ -47,6 +47,13 @@
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Booking" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion --> <!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<c-content> <c-content>
...@@ -99,6 +106,7 @@ import Canp from './Canp' ...@@ -99,6 +106,7 @@ import Canp from './Canp'
// import Limitbody from './Limitbody' // import Limitbody from './Limitbody'
import Engp from "~/views/Public/Engp" import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan"
import Glepan from "~/views/Public/Glepan"
import Coninfp from "~/views/Public/Coninfp" import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan" import Docpan from "~/views/Public/Docpan"
import Doctre from '~/views/Public/Doctre' import Doctre from '~/views/Public/Doctre'
...@@ -110,6 +118,7 @@ export default { ...@@ -110,6 +118,7 @@ export default {
'm-canp': Canp, 'm-canp': Canp,
'm-engp': Engp, 'm-engp': Engp,
'm-setpan': Setpan, 'm-setpan': Setpan,
'm-glepan': Glepan,
'm-coninfp': Coninfp, 'm-coninfp': Coninfp,
'm-docpan': Docpan, 'm-docpan': Docpan,
'm-doctre': Doctre, 'm-doctre': Doctre,
......
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
disabled disabled
> >
<el-option <el-option
v-for="item in codes.docsta1" v-for="item in codes.docsta"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
......
...@@ -59,6 +59,13 @@ ...@@ -59,6 +59,13 @@
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Booking" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion --> <!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<c-content> <c-content>
...@@ -142,6 +149,7 @@ import Libp from './Libp' ...@@ -142,6 +149,7 @@ import Libp from './Libp'
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Doctre from '~/views/Public/Doctre'; import Doctre from '~/views/Public/Doctre';
...@@ -155,6 +163,7 @@ export default { ...@@ -155,6 +163,7 @@ export default {
'm-rgfdet': Rgfdet, 'm-rgfdet': Rgfdet,
'm-engp': Engp, 'm-engp': Engp,
'm-setpan': Setpan, 'm-setpan': Setpan,
'm-glepan': Glepan,
'm-coninfp': Coninfp, 'm-coninfp': Coninfp,
'm-docpan': Docpan, 'm-docpan': Docpan,
'm-doctre': Doctre, 'm-doctre': Doctre,
......
...@@ -121,6 +121,7 @@ import Bttdcr from "./Bttdcr" ...@@ -121,6 +121,7 @@ import Bttdcr from "./Bttdcr"
import Bttset from "./Bttset" import Bttset from "./Bttset"
import Bttrcl from "./Bttrcl" import Bttrcl from "./Bttrcl"
import Betacc from "./Betacc" import Betacc from "./Betacc"
import Betamc from "./Betamc"
import Betrcl from "./Betrcl" import Betrcl from "./Betrcl"
import InftrnpsDetail from "./Trnrel/InftrnpsDetail" import InftrnpsDetail from "./Trnrel/InftrnpsDetail"
import TrnfndsDetail from "./Trnrel/Trnfnd/TrnfndsDetail" import TrnfndsDetail from "./Trnrel/Trnfnd/TrnfndsDetail"
...@@ -278,6 +279,8 @@ const BusRouter = [ ...@@ -278,6 +279,8 @@ const BusRouter = [
{ path: 'bptcan', component: Bptcan, name: 'Bptcan', meta: { title: '出口融资注销' } }, { path: 'bptcan', component: Bptcan, name: 'Bptcan', meta: { title: '出口融资注销' } },
{ path: 'betacc', component: Betacc, name: 'Betacc', meta: { title: '出口信用证单据承兑' } }, { path: 'betacc', component: Betacc, name: 'Betacc', meta: { title: '出口信用证单据承兑' } },
{ path: 'betamc', component: Betamc, name: 'Betamc', meta: { title: '出口信用证保兑额度释放' } },
{ path: 'betrcl', component: Betrcl, name: 'Betrcl', meta: { title: '出口信用证单据索汇' } }, { path: 'betrcl', component: Betrcl, name: 'Betrcl', meta: { title: '出口信用证单据索汇' } },
{ path: 'betrcl', component: Betrcl, name: 'Betrcl', meta: { title: '出口信用证单据出口单据索汇' } }, { path: 'betrcl', component: Betrcl, name: 'Betrcl', meta: { title: '出口信用证单据出口单据索汇' } },
{ path: 'betset', component: Betset, name: 'Betset', meta: { title: '出口信用证单据出口收汇' } }, { path: 'betset', component: Betset, name: 'Betset', meta: { title: '出口信用证单据出口收汇' } },
......
...@@ -58,7 +58,18 @@ export default { ...@@ -58,7 +58,18 @@ export default {
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
},
watch:{
"model.lendoc.actflg":{
immediate:true,
handler(){
if(this.model.lendoc.actflg==false){
this.model.lendoc.account==""
}
}
}
} }
} }
</script> </script>
<style> <style>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
:disabled="flag" :disabled="flag"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('attp.atd.sbkact') showGridPromptDialog('cpdgrp.ori.pts.extkey')
" "
></c-input> ></c-input>
</el-form-item> </el-form-item>
......
...@@ -60,9 +60,9 @@ ...@@ -60,9 +60,9 @@
</el-tab-pane> </el-tab-pane>
<!-- Messages --> <!-- Messages -->
<el-tab-pane label="Messages" name="docpan1"> <el-tab-pane label="Messages" name="docpan">
<c-content> <c-content>
<m-docpan1 :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -90,9 +90,9 @@ ...@@ -90,9 +90,9 @@
</el-tab-pane> </el-tab-pane>
<!--收账通知 --> <!--收账通知 -->
<el-tab-pane label="收账通知" name="docpan"> <el-tab-pane label="收账通知" name="docpan1">
<c-content> <c-content>
<m-docpan :model="model" :codes="codes" /> <m-docpan1 :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -134,8 +134,8 @@ import Setpan from "~/views/Public/Setpan"; ...@@ -134,8 +134,8 @@ import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Addinf from "./Addinf"; import Addinf from "./Addinf";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Docpan1 from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Docpan from "./Docpan"; import Docpan1 from "./Docpan";
import Wg from "./Wg"; import Wg from "./Wg";
import Dbe from "./Dbe.vue"; import Dbe from "./Dbe.vue";
import Dbb from "./Dbb.vue"; import Dbb from "./Dbb.vue";
...@@ -151,8 +151,8 @@ export default { ...@@ -151,8 +151,8 @@ export default {
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-addinf": Addinf, "m-addinf": Addinf,
"m-doctre": Doctre, "m-doctre": Doctre,
"m-docpan1": Docpan1,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-docpan1": Docpan1,
"m-wg": Wg, "m-wg": Wg,
"m-dbe": Dbe, "m-dbe": Dbe,
"m-dbb": Dbb, "m-dbb": Dbb,
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Our Referance" prop="cpdgrp.rec.ownref"> <el-form-item label="Our Referance" prop="cpdgrp.rec.ownref">
<c-fullbox> <c-fullbox>
<c-input v-model="model.cpdgrp.rec.ownref"></c-input> <c-input v-model="model.cpdgrp.rec.ownref" disabled></c-input>
<template slot="footer"> <template slot="footer">
<c-button type="primary" <c-button type="primary"
><span style="font-family: '宋体'; font-weight: bold" ><span style="font-family: '宋体'; font-weight: bold"
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="Payment Amount" prop="cpdgrp.cbs.nom1.cur"> <el-form-item label="Payment Amount" prop="cpdgrp.cbs.nom1.cur">
<c-input v-model="model.cpdgrp.cbs.nom1.cur"></c-input> <c-input v-model="model.cpdgrp.cbs.nom1.cur" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
v-model="model.cpdgrp.cbs.nom1.amt" v-model="model.cpdgrp.cbs.nom1.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="请输入汇款金额" placeholder="请输入汇款金额"
disabled
@keyup.enter.native=" @keyup.enter.native="
defaultFunction( defaultFunction(
'cpdgrp.cbs.nom1.amt', 'cpdgrp.cbs.nom1.amt',
...@@ -48,7 +49,7 @@ ...@@ -48,7 +49,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="Received Amount" prop="cpdgrp.cbs.max.cur"> <el-form-item label="Received Amount" prop="cpdgrp.cbs.max.cur">
<c-input v-model="model.cpdgrp.cbs.max.cur"></c-input> <c-input v-model="model.cpdgrp.cbs.max.cur" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -61,6 +62,7 @@ ...@@ -61,6 +62,7 @@
<c-input-currency <c-input-currency
v-model="model.cpdgrp.cbs.max.amt" v-model="model.cpdgrp.cbs.max.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
disabled
@keyup.enter.native=" @keyup.enter.native="
defaultFunction( defaultFunction(
'cpdgrp.cbs.nom1.amt', 'cpdgrp.cbs.nom1.amt',
...@@ -78,13 +80,14 @@ ...@@ -78,13 +80,14 @@
type="date" type="date"
v-model="model.cpdgrp.rec.valdat" v-model="model.cpdgrp.rec.valdat"
style="width: 100%" style="width: 100%"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Payment Type" prop="cpdgrp.rec.paytyp"> <el-form-item label="Payment Type" prop="cpdgrp.rec.paytyp">
<c-input v-model="model.cpdgrp.rec.paytyp"></c-input> <c-input v-model="model.cpdgrp.rec.paytyp" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -92,42 +95,42 @@ ...@@ -92,42 +95,42 @@
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Name" prop="cpdgrp.rec.nam"> <el-form-item label="Name" prop="cpdgrp.rec.nam">
<c-input v-model="model.cpdgrp.rec.nam"></c-input> <c-input v-model="model.cpdgrp.rec.nam" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Ordering Customer" prop="cpdgrp.orc.pts.nam"> <el-form-item label="Ordering Customer" prop="cpdgrp.orc.pts.nam">
<c-input type="textarea" v-model="model.cpdgrp.orc.pts.nam"></c-input> <c-input type="textarea" v-model="model.cpdgrp.orc.pts.nam" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Ordering Institution" prop="cpdgrp.ori.pts.nam"> <el-form-item label="Ordering Institution" prop="cpdgrp.ori.pts.nam">
<c-input type="textarea" v-model="model.cpdgrp.ori.pts.nam"></c-input> <c-input type="textarea" v-model="model.cpdgrp.ori.pts.nam" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Pay Bank" prop="cpdgrp.pyb.pts.pts"> <el-form-item label="Pay Bank" prop="cpdgrp.pyb.pts.pts">
<c-input type="textarea" v-model="model.cpdgrp.pyb.pts.pts"></c-input> <c-input type="textarea" v-model="model.cpdgrp.pyb.pts.pts" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Payee" prop="cpdgrp.pye.pts.nam"> <el-form-item label="Payee" prop="cpdgrp.pye.pts.nam">
<c-input type="textarea" v-model="model.cpdgrp.pye.pts.nam"></c-input> <c-input type="textarea" v-model="model.cpdgrp.pye.pts.nam" disabled></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="18"> <c-col :span="11">
<el-form-item label="Narrative" prop="strinf"> <el-form-item label="Narrative" prop="strinf">
<c-input type="textarea" v-model="model.strinf"></c-input> <c-input type="textarea" v-model="model.strinf" rows="4"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6" :offset="1">
<c-checkbox v-model="model.sndsmg">Send Message</c-checkbox> <c-checkbox v-model="model.sndsmg">Send Message</c-checkbox>
</c-col> </c-col>
</c-col> </c-col>
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-function-btn
: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" :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="myTabClick">
<!--cptcan PD000016 Cancelation --> <!--cptcan PD000016 Cancelation -->
...@@ -40,6 +55,7 @@ import Coninfp from "~/views/Public/Coninfp"; ...@@ -40,6 +55,7 @@ import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import commonFuncs from "~/mixin/commonFuncs";
export default { export default {
name: "Cptcan", name: "Cptcan",
...@@ -55,7 +71,7 @@ export default { ...@@ -55,7 +71,7 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "canp", tabVal: "canp",
......
...@@ -18,12 +18,18 @@ ...@@ -18,12 +18,18 @@
style="width: 100%" style="width: 100%"
> >
<c-col :span="16"> <c-col :span="16">
<c-input <c-select
v-model="model.trncorco.usfmod.flt" v-model="model.trncorco.usfmod.flt"
maxlength="16" maxlength="16"
placeholder="请输入Selection of User" placeholder="请输入Selection of User"
><el-option
v-for="item in flt"
:key="item.value"
:label="item.label"
:value="item.value"
> >
</c-input> </el-option>
</c-select>
</c-col> </c-col>
<c-button size="small" type="primary">Show_Set</c-button> <c-button size="small" type="primary">Show_Set</c-button>
...@@ -58,7 +64,7 @@ ...@@ -58,7 +64,7 @@
placeholder="请选择汇款性质" placeholder="请选择汇款性质"
> >
<el-option <el-option
v-for="item in codes.trntyp" v-for="item in trntyp"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -108,12 +114,12 @@ ...@@ -108,12 +114,12 @@
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Currency" prop="relcur" style="width: 100%"> <el-form-item label="支持币种" prop="relcur" style="width: 100%">
<c-select <c-select
v-model="model.relcur" v-model="model.relcur"
style="width: 100%" style="width: 100%"
placeholder="请选择Currency" placeholder="请选择Currency"
:code="codes.currencycode" :code="currencycode"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -184,19 +190,36 @@ ...@@ -184,19 +190,36 @@
<c-col :span="8"> <c-col :span="8">
<el-form-item label="branch" prop="branch" style="width: 100%"> <el-form-item label="branch" prop="branch" style="width: 100%">
<c-input <c-select
v-model="model.branch" v-model="model.branch"
maxlength="24" maxlength="24"
style="width: 100%"
placeholder="请输入Select Single Party" placeholder="请输入Select Single Party"
> ><el-option
</c-input> v-for="item in branch"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="8">
<el-form-item label="Transaction Type" prop="atp.cod"> <el-form-item label="Transaction Type" prop="atp.cod" style="width: 100%">
<c-input v-model="model.atp.cod"></c-input> <c-fullbox>
<c-input v-model="model.atp.cod" style="width: 100%"></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>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
...@@ -564,6 +587,58 @@ export default { ...@@ -564,6 +587,58 @@ export default {
data: [], data: [],
}, },
searchToggle: true, searchToggle: true,
flt: [
{ label: "All Users", value: "<ALL>" },
{ label: "Selected User", value: "<SELU>" },
],
branch:[
{label:"LM ADD", value:"00001047"}
],
currencycode:[
{label:"ASF 记账瑞士法郎",value:"ASF"},
{label:"ATS 先令",value:"ATS"},
{label:"AUD 澳大利亚元",value:"AUD"},
{label:"BEF 比利时法郎",value:"BEF"},
{label:"CAD 加元",value:"CAD"},
{label:"CHF 瑞士法郎",value:"CHF"},
{label:"CNY 人民币元",value:"CNY"},
{label:"DEM 德国马克",value:"DEM"},
{label:"DKK 丹麦克朗",value:"DKK"},
{label:"EUR 欧元",value:"EUR"},
{label:"FIM 马克",value:"FIM"},
{label:"FRF 法国法郎",value:"FRF"},
{label:"GBP 英镑",value:"GBP"},
{label:"HKD 香港元",value:"HKD"},
{label:"ITL 意大利里拉",value:"ITL"},
{label:"JPY 日元",value:"JPY"},
{label:"KRW 园",value:"KRW"},
{label:"MOP 澳门元",value:"MOP"},
{label:"NLG 荷兰盾",value:"NLG"},
{label:"NOK 挪威克朗",value:"NOK"},
{label:"NZD 新西兰元",value:"NZD"},
{label:"SEK 瑞典克朗",value:"SEK"},
{label:"SGD 新加坡元",value:"SGD"},
{label:"THB 铢",value:"THB"},
{label:"TWD 新台湾元",value:"TWD"},
{label:"USD 美元",value:"USD"},
{label:"XEU 欧洲货币单元(E.C.U)",value:"XEU"}
],
relflg: [
{ label: "<all>", value: "" },
{ label: "Correct", value: "C" },
{ label: "Final", value: "F" },
{ label: "Picked up", value: "P" },
{ label: "Rejected", value: "N" },
{ label: "Released", value: "R" },
{ label: "Waiting", value: "W" },
],
trntyp:[
{label:"ALL",value:""},
{label:"贸易",value:"0"},
{label:"非贸易",value:"1"},
{label:"资本",value:"2"},
{label:"非资本",value:"3"},
],
}; };
}, },
methods: { methods: {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</el-tab-pane> </el-tab-pane>
<!-- 控制展示页面 --> <!-- 控制展示页面 -->
<el-tab-pane label="Transaction Header" name="trnp0" v-if="true"> <!-- <el-tab-pane label="Transaction Header" name="trnp0" v-if="true">
<m-trnp0 :model="model" :codes="codes"></m-trnp0> <m-trnp0 :model="model" :codes="codes"></m-trnp0>
</el-tab-pane> </el-tab-pane>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<el-tab-pane label="传票打印" name="subpena" v-if="true"> <el-tab-pane label="传票打印" name="subpena" v-if="true">
<m-subpena :model="model" :codes="codes"></m-subpena> <m-subpena :model="model" :codes="codes"></m-subpena>
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane label="流程记录" name="orerec" v-if="true"> <el-tab-pane label="流程记录" name="orerec" v-if="true">
<m-orerec :model="model" :codes="codes"></m-orerec> <m-orerec :model="model" :codes="codes"></m-orerec>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="eibs-tab"> <div class="eibs-tab">
<!-- =================左边====================== --> <!-- =================左边====================== -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="不符点"> <el-form-item label="不符点" prop="bddgrp.blk.docdis">
<c-col :span="21"> <c-col :span="21">
<c-input type="textarea" v-model="model.bddgrp.blk.docdis" :disabled="!model.bddgrp.blk.docdisflg" <c-input type="textarea" v-model="model.bddgrp.blk.docdis" :disabled="!model.bddgrp.blk.docdisflg"
maxlength="50" show-word-limit placeholder="请输入不符点"></c-input> maxlength="50" show-word-limit placeholder="请输入不符点"></c-input>
...@@ -17,14 +17,14 @@ ...@@ -17,14 +17,14 @@
</el-form-item> </el-form-item>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="注释和结论"> <el-form-item label="注释和结论" prop="bddgrp.blk.comcon">
<c-input type="textarea" v-model="model.bddgrp.blk.comcon" maxlength="65" show-word-limit <c-input type="textarea" v-model="model.bddgrp.blk.comcon" maxlength="65" show-word-limit
placeholder="请输入注释和结论"></c-input> placeholder="请输入注释和结论"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="到期付款确认备注"> <el-form-item label="到期付款确认备注" prop="bddgrp.blk.accrmk">
<c-input type="textarea" v-model="model.bddgrp.blk.accrmk" maxlength="65" show-word-limit <c-input type="textarea" v-model="model.bddgrp.blk.accrmk" maxlength="65" show-word-limit
placeholder="请输入到期付款确认备注"></c-input> placeholder="请输入到期付款确认备注"></c-input>
</el-form-item> </el-form-item>
...@@ -34,11 +34,19 @@ ...@@ -34,11 +34,19 @@
<!-- =================右边====================== --> <!-- =================右边====================== -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-col :span="12">
<c-col :span="12">
<el-form-item label="" prop="bddgrp.rec.igndisflg"> <el-form-item label="" prop="bddgrp.rec.igndisflg">
<c-checkbox v-model="model.bddgrp.rec.igndisflg">忽略不符点</c-checkbox> <c-checkbox v-model="model.bddgrp.rec.igndisflg">忽略不符点</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bddgrp.blk.docdisflg">
<c-checkbox v-model="model.bddgrp.blk.docdisflg" @change="docdis">录入不符点</c-checkbox> <c-checkbox v-model="model.bddgrp.blk.docdisflg" @change="docdis">录入不符点</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
</c-col>
<!-- <c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="" prop="bddgrp.blk.docdisflg"> <el-form-item label="" prop="bddgrp.blk.docdisflg">
...@@ -67,11 +75,21 @@ ...@@ -67,11 +75,21 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12">
<c-col :span="12">
<el-form-item label="" prop="bddgrp.rec.approvcod"> <el-form-item label="" prop="bddgrp.rec.approvcod">
<c-checkbox v-model="model.bddgrp.rec.approvcod">议付行担保协议</c-checkbox> <c-checkbox v-model="model.bddgrp.rec.approvcod">议付行担保协议</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bdtp.cre732flg">
<c-checkbox v-model="model.bdtp.cre732flg" disabled>Create MT 732</c-checkbox> <c-checkbox v-model="model.bdtp.cre732flg" disabled>Create MT 732</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
</c-col>
<!-- <c-col :span="8"> <!-- <c-col :span="8">
<c-checkbox v-model="model.bdtp.cre752flg">Create MT 752</c-checkbox> <c-checkbox v-model="model.bdtp.cre752flg">Create MT 752</c-checkbox>
......
...@@ -488,6 +488,13 @@ ...@@ -488,6 +488,13 @@
:code="codes.payrol" :code="codes.payrol"
@change="eventFunction('bedgrp.rec.payrol')" @change="eventFunction('bedgrp.rec.payrol')"
> >
<!-- <el-option
v-for="item in codeTable"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> -->
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -1089,7 +1096,12 @@ export default { ...@@ -1089,7 +1096,12 @@ export default {
props: ['model', 'codes'], props: ['model', 'codes'],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {} return {
// codeTable: [
// { label: "Issuing Bank", value: "ISS" },
// { label: "Further Party", value: "OTH" },
// ],
}
}, },
methods: { methods: {
...Event, ...Event,
......
...@@ -3,40 +3,40 @@ ...@@ -3,40 +3,40 @@
<!-- S0000042 : 是否报送跨境人民币2101表 --> <!-- S0000042 : 是否报送跨境人民币2101表 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('cnybop.S0000042')" prop="cnybop.cnyflg"> <el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000042')"> <c-select v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请输入是否报送跨境人民币2101表 " :code="codes.cnyflg" disabled>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000045 : 是否报送跨境人民币2107表 --> <!-- S0000045 : 是否报送跨境人民币2107表 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('cnybop.S0000045')" prop="cnybop.traflg"> <el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg">
<c-select v-model="model.cnybop.traflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000045')"> <c-select v-model="model.cnybop.traflg" style="width:100%" placeholder="请输入是否报送跨境人民币2107表" :code="codes.cnyflg" disabled>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000077 : 是否报送跨境人民币2111表 --> <!-- S0000077 : 是否报送跨境人民币2111表 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('cnybop.S0000077')" prop="cnybop.outflg"> <el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg">
<c-select v-model="model.cnybop.outflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000077')"> <c-select v-model="model.cnybop.outflg" style="width:100%" placeholder="请输入是否报送跨境人民币2111表" :code="codes.cnyflg" disabled>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000113 : 是否报送跨境人民币2106表 --> <!-- S0000113 : 是否报送跨境人民币2106表 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('cnybop.S0000113')" prop="cnybop.libflg"> <el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000113')"> <c-select v-model="model.cnybop.libflg" style="width:100%" placeholder="请输入是否报送跨境人民币2106表" :code="codes.cnyflg" disabled>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000142 : 是否报送跨境人民币2122表 --> <!-- S0000142 : 是否报送跨境人民币2122表 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('cnybop.S0000142')" prop="cnybop.vouflg"> <el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg">
<c-select v-model="model.cnybop.vouflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000142')"> <c-select v-model="model.cnybop.vouflg" style="width:100%" placeholder="请输入是否报送跨境人民币2122表" :code="codes.cnyflg" disabled>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
v-model="model.ledgrp.rec.ownref" v-model="model.ledgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="Please input Reference" placeholder="Please input Reference"
style="width: 95%" style="width: 100%"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
v-model="model.ledgrp.cbs.nom1.amt" v-model="model.ledgrp.cbs.nom1.amt"
style="width: 50%" style="width: 50%"
placeholder="Please input Balance" placeholder="Please input Balance"
class="m-input-currency"
disabled disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
...@@ -68,6 +69,7 @@ ...@@ -68,6 +69,7 @@
v-model="model.ledgrp.cbs.opn1.amt" v-model="model.ledgrp.cbs.opn1.amt"
style="width: 50%" style="width: 50%"
placeholder="Please input Balance" placeholder="Please input Balance"
class="m-input-currency"
disabled disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
...@@ -101,6 +103,7 @@ ...@@ -101,6 +103,7 @@
style="width: 100%" style="width: 100%"
placeholder="Please input by" placeholder="Please input by"
disabled disabled
:code="codes.avbby"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-checkbox <c-checkbox
...@@ -244,13 +247,93 @@ ...@@ -244,13 +247,93 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item style="margin-left: 0px"> <el-form-item style="margin-left: 0px">
<el-divider /> <el-divider />
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<!-- 底部表格 --> <!-- 底部表格 -->
<c-col :span="23" style="height: 24px; margin-left: 9px">
<el-form-item
class="formItemLabel"
label="Other Transfers and Back to Back L/Cs using Above"
label-width="300px"
>
</el-form-item>
</c-col>
<c-col :span="23" style="margin:0 0 10px 9px">
<c-istream-table
:list="model.lttp.leltb2b.litb2bstm.rows || []"
:columns="columns"
></c-istream-table>
</c-col>
<!-- 底部 -->
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="This L/C" prop="ltdgrp.cbs.max.cur">
<c-select
v-model="model.ltdgrp.cbs.max.cur"
style="width: 100%"
placeholder="Please select This L/C"
disabled
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="20px" prop="ltdgrp.cbs.opn1.amt">
<c-input
v-model="model.ltdgrp.cbs.opn1.amt"
placeholder="Please input This L/C"
class="m-input-currency"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Total Amount" prop="lttp.totamt">
<c-input
v-model="model.lttp.totamt"
style="width: 100%"
placeholder="Please select Total Amount"
class="m-input-currency"
disabled
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Shipment Date" prop="ltdgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.ltdgrp.rec.shpdat"
style="width: 100%"
placeholder="Please select Shipment Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Expiry Date" prop="ltdgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.ltdgrp.rec.expdat"
style="width: 100%"
placeholder="Please select Expiry Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</div> </div>
</template> </template>
<script> <script>
...@@ -267,6 +350,26 @@ export default { ...@@ -267,6 +350,26 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
columns: [
// '2 1 "D/C" 60 1 0',
// '6 2 "Account Number" 140',
// '3 3 "Cur" 80',
// '4 4 "Amount" 180 2 8:1 2 5',
// '5 5 "Value Date" 140',
// '7 6 "Rate Type" 160',
// '8 7 "Rate" 120 2 0 1 0',
// '9 8 "Term" 80',
// '0 9 "PN" 80 1 0',
'2 1 "Type" 145',
'4 2 "Reference" 150',
'7 3 "Cur." 140',
'8 4 "Open Amount" 150 2 8 1 7',
'5 5 "Shipm. dat" 150 4 7 1',
'6 6 "Expired" 150 4 7 1',
'3 7 "Name" 150',
'9 8 "Info" 150 5 6:1 0 I',
],
data: [],
}; };
}, },
methods: { ...Event }, methods: { ...Event },
...@@ -274,4 +377,8 @@ export default { ...@@ -274,4 +377,8 @@ export default {
}; };
</script> </script>
<style> <style>
.formItemLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
}
</style> </style>
...@@ -203,6 +203,9 @@ export default { ...@@ -203,6 +203,9 @@ export default {
let rtnmsg = await this.init({}); let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
......
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
return i; return i;
} }
} }
return 0; return 1;
}, },
opened() { opened() {
this.$emit("childmethods"); this.$emit("childmethods");
......
<template>
<ReviewWrapper>
<Lttopn></Lttopn>
</ReviewWrapper>
</template>
<script>
import Lttopn from "~/views/Business/Lttopn";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLttopn",
components: { ReviewWrapper, Lttopn },
created() {},
mounted() {},
};
</script>
<style></style>
...@@ -68,6 +68,7 @@ import ReviewGetame from "./Business/ReviewGetame.vue"; ...@@ -68,6 +68,7 @@ import ReviewGetame from "./Business/ReviewGetame.vue";
import ReviewCctdav from "./Business/ReviewCctdav.vue"; import ReviewCctdav from "./Business/ReviewCctdav.vue";
import ReviewCctdcr from "./Business/ReviewCctdcr.vue"; import ReviewCctdcr from "./Business/ReviewCctdcr.vue";
import ReviewCcttra from "./Business/ReviewCcttra.vue"; import ReviewCcttra from "./Business/ReviewCcttra.vue";
import ReviewLttopn from "./Business/ReviewLttopn.vue";
const ReviewRouter = [ const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } }, { path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
...@@ -154,6 +155,7 @@ const ReviewRouter = [ ...@@ -154,6 +155,7 @@ const ReviewRouter = [
{ path: "cctdav", component: ReviewCctdav, name: "ReviewCctdav", meta: { title: "复核-Cctdav" } }, { path: "cctdav", component: ReviewCctdav, name: "ReviewCctdav", meta: { title: "复核-Cctdav" } },
{ path: "cctdcr", component: ReviewCctdcr, name: "ReviewCctdcr", meta: { title: "复核-Cctdcr" } }, { path: "cctdcr", component: ReviewCctdcr, name: "ReviewCctdcr", meta: { title: "复核-Cctdcr" } },
{ path: "ccttra", component: ReviewCcttra, name: "ReviewCcttra", meta: { title: "复核-Ccttra" } }, { path: "ccttra", component: ReviewCcttra, name: "ReviewCcttra", meta: { title: "复核-Ccttra" } },
{ path: "lttopn", component: ReviewLttopn, name: "ReviewLttopn", meta: { title: "复核-Lttopn" } },
]; ];
export default ReviewRouter; export default ReviewRouter;
\ No newline at end of file
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