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 {
"bcdgrp.dre.pts.adrblk" :Utils.defaultFunction,
"bcdgrp.drr.pts.nam" :Utils.defaultFunction,
"bcdgrp.drr.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bcdgrp.co2.adrelc" :Utils.defaultFunction,
"bcdgrp.co2.namelc" :Utils.defaultFunction,
"bcdgrp.co2.dbfadrblkcn" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bcdgrp.rmi.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bcdgrp.cbs.max.amt" :Utils.defaultFunction,
"bcdgrp.dre.pts.nam" :Utils.defaultFunction,
"bcdgrp.cbs.max.cur" :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.inflev" :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处理
......@@ -334,4 +334,8 @@ export default {
{type: "string", required: false, message: "必输项"},
{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 {
{max: 40,message:"长度不能超过40"}
],
"strinf":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
......
......@@ -262,7 +262,6 @@
<el-form-item label="Maturity Text" prop="bcdgrp.blk.bcgdet">
<c-input
type="textarea"
disabled
:rows="4"
v-model="model.bcdgrp.blk.bcgdet"
maxlength="45"
......
......@@ -37,6 +37,10 @@
</c-content>
</el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
......@@ -74,7 +78,7 @@
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "~/views/Public/Doctre"
import Glepan from "~/views/Public/Glepan"
export default {
name: "Bctrad",
......@@ -87,6 +91,7 @@
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-glepan": Glepan
},
provide() {
return {
......@@ -109,7 +114,30 @@
}
},
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 () {
console.log("进入bctrad交易");
......
......@@ -227,7 +227,7 @@
</el-form-item>
</c-col>
<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
>
</c-col>
......@@ -280,7 +280,6 @@
v-model="model.trnmod.cmtflg"
style="width: 100%"
placeholder=""
:disabled="model.gcdgrp.rec.frepaylg=='X'"
>
<el-option
v-for="item in codes.cmtflg"
......@@ -376,6 +375,7 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctset/Event";
import Utils from "~/utils";
import Docpre from "~/views/Public/Docpre";
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 () {},
};
......
......@@ -4,7 +4,7 @@
<!-- 左边 -->
<c-col :span="14">
<c-col :span="20">
<el-form-item label="不符点">
<el-form-item label="不符点" prop="bddgrp.blk.docdis">
<c-input type="textarea"
:disabled="model.bddgrp.blk.docdisflg ? false : true" :rows="6"
v-model="model.bddgrp.blk.docdis" maxlength="65" show-word-limit placeholder="请输入不符点"></c-input>
......
<template>
<div class="eibs-tab">
<!-- ============================顶部================================ -->
<c-col :span="24">
<!--SF000044 : Reference参考号 Export L/C Ref. -->
<c-col :span="12">
<el-form-item label="Export L/C Ref." prop="ledgrp.rec.ownref">
<c-fullbox>
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" style="width: 95%" :disabled="true" @keyup.enter.native="eventFunction(
'ledgrp.rec.ownref'
)">
</c-input>
<template slot="footer">
<c-button style="margin: 0 0 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- SF000045 : Open Amt L/C 信用证余额-->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Open Amt.L/C" prop="ledgrp.cbs.opn1.cur">
<c-select v-model="model.ledgrp.cbs.opn1.cur" maxlength="3" placeholder="请选择币种" :code="codes.curtxt" disabled></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
<c-input v-model="model.ledgrp.cbs.opn1.amt" placeholder="请输入信用证余额" disabled class="m-input-currency"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<!-- SF000053 : 单据编号 单据参考号-->
<el-form-item label="Document Reference" prop="bedgrp.rec.ownref">
<c-fullbox>
<c-input v-model="model.bedgrp.rec.ownref" maxlength="16" placeholder="请输入单据编号" style="width: 95%" disabled></c-input>
<template slot="footer">
<c-button style="margin: 0 0 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- SF000073 : 摘要 Name Externally Displayed Name to Identify the Contract-->
<c-col :span="11" :offset="1">
<el-form-item label="Name" prop="bedgrp.rec.nam">
<c-input text-align="middle" v-model="model.bedgrp.rec.nam" maxlength="40" placeholder="请输入Externally Displayed Name to Identify the Contract" disabled>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ============================第三行开始,金额日期 =========================-->
<c-col :span="24">
<!-- 第三行开始-金额日期--左边- -->
<c-col :span="12">
<!-- Document Amount 单据金额-->
<c-col :span="24">
<c-col :span="10">
<el-form-item label="Document Amount" prop="bedgrp.cbs.max.cur">
<c-select v-model="model.bedgrp.cbs.max.cur" style="width: 100%" placeholder="请选择币种" @keyup.enter.native="maxCurEvent" :code="codes.curtxt" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.max.amt">
<c-input-currency v-model="model.bedgrp.cbs.max.amt" style="text-align: left; width: 100%" placeholder="请输入Balance" @keyup.enter.native="
defaultFunction(
'bedgrp.cbs.max.amt',
model.bedgrp.cbs.max.amt
)
" disabled></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="7">
</c-col>
</c-col>
<!-- Open Amount 单据余额-->
<c-col :span="24">
<c-col :span="10">
<el-form-item label="Open Amount" prop="bedgrp.cbs.opn1.cur">
<c-select v-model="model.bedgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Open Amount" style="width: 100%" disabled :code="codes.curtxt"></c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="bedgrp.cbs.opn1.amt">
<c-input-currency v-model="model.bedgrp.cbs.opn1.amt" style="text-align: left; width: 100%" placeholder="请输入Balance" disabled></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="7">
<c-form-item label="" label-width="5px" prop="bedgrp.cbs.opn2.amt">
<c-input v-model="model.bedgrp.cbs.opn2.amt" placeholder="请输入Balance" class="m-input-currency" disabled></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- Document Type 单据类型-->
<c-col :span="24">
<el-form-item label="Document Type" prop="bedgrp.rec.doctypcod">
<c-select v-model="model.bedgrp.rec.doctypcod" maxlength="1" style="width: 100%" placeholder="请选择Document Type" :code="codes.doctypcod1" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- Maturity Date SF000047 : 到期日-->
<!-- <c-col :span="12">
<span
v-text="model.betp0.matp.mattxtlab"
data-path=".betp0.matp.mattxtlab"
>
</span>
</c-col> -->
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bedgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bedgrp.rec.matdat" style="width: 100%" placeholder="请选择Maturity Date" value-format="yyyy-MM-dd" :disabled="true"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000079 : 寄单日期 -->
<c-col :span="12">
<el-form-item label="Order Date" prop="bedgrp.rec.orddat">
<c-date-picker type="date" v-model="model.bedgrp.rec.orddat" style="width: 100%" value-format="yyyy-MM-dd" placeholder="请选择寄单日期" :disabled="true"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<!-- Received on SF000046 :到单日期-->
<c-col :span="12">
<el-form-item label="Received on" prop="bedgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bedgrp.rec.rcvdat" style="width: 100%" placeholder="请选择Received on" value-format="yyyy-MM-dd" :disabled="true"></c-date-picker>
</el-form-item>
</c-col>
<!-- Presented on SF000049 :提示日期 -->
<c-col :span="12">
<el-form-item label="Presented on" prop="bedgrp.rec.predat">
<c-date-picker type="date" v-model="model.bedgrp.rec.predat" style="width: 100%" placeholder="请选择提示日期" value-format="yyyy-MM-dd" :disabled="true"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- Document Status SF000056 :单据状态 -->
<c-col :span="24">
<el-form-item label="Document Status" prop="bedgrp.rec.docsta">
<c-select v-model="model.bedgrp.rec.docsta" maxlength="40" style="width: 100%" placeholder="请输入单据状态" :code="codes.docsta" disabled></c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ========================第三行开始金额日期的右边======================= -->
<c-col :span="11" :offset="1">
<!-- SF000048 : 受益人 -->
<!-- SF000059 : 编号 -->
<c-col :span="24">
<c-form-item label="Beneficiary Ref." prop="bedgrp.ben.pts.ref">
<c-input v-model="model.bedgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人" disabled></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="bedgrp.ben.pts.nam">
<c-input v-model="model.bedgrp.ben.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<!-- SF000055 : 开证行 -->
<!-- SF000058 : 信用证编号 -->
<!-- 开证行 Issuing Bank Ref. -->
<c-col :span="24">
<el-form-item label="Issuing Bank L/C NO." prop="bedgrp.iss.pts.ref">
<c-input v-model="model.bedgrp.iss.pts.ref" maxlength="16" placeholder="请输入开证行" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="bedgrp.iss.pts.nam">
<c-input v-model="model.bedgrp.iss.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<!-- SF000050 : 申请人 -->
<!-- SF000057 : 编号 -->
<!--Applicant Ref. 申请人-->
<c-col :span="24">
<el-form-item label="Applicant Ref." prop="bedgrp.apl.pts.ref">
<c-input v-model="model.bedgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="bedgrp.apl.pts.nam">
<c-input v-model="model.bedgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- =================================上下两部分 分割线 ============================-->
<c-col :span="24">
<el-form-item style="margin-left: -150px">
<el-divider />
</el-form-item>
</c-col>
<!-- =================================下半部分 ============================-->
<c-col :span="24">
<!-- =================================左侧====-->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="信用证保兑比例" prop="ledgrp.rec.partcon">
<c-fullbox>
<c-input disabled v-model="model.ledgrp.rec.partcon" placeholder="请输入Partial Confirmation" @keyup.enter.native="defaultFunction('ledgrp.rec.partcon', model.ledgrp.rec.partcon)"></c-input>
<!-- <span>%</span> -->
<template slot="footer">%</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24">
<c-col :span="10">
<el-form-item label="单据所占的保兑额度" prop="bedgrp.cbs.max.cur">
<c-select v-model="model.bedgrp.cbs.max.cur" style="width: 100%" placeholder="请选择币种" @keyup.enter.native="maxCurEvent" :code="codes.curtxt" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="amcamt">
<c-input-currency v-model="model.amcamt" style="text-align: left; width: 100%" placeholder="0" @keyup.enter.native="
defaultFunction(
'amcamt',
model.amcamt
)
" disabled></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="7">
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<c-col :span="10">
<el-form-item label="释放后保兑金额余额" prop="ledgrp.cbs.cnf.cur">
<c-select v-model="model.ledgrp.cbs.cnf.cur" style="width: 100%" placeholder="请选择币种" @keyup.enter.native="maxCurEvent" :code="codes.curtxt" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="newcnfamt">
<c-input-currency v-model="model.newcnfamt" style="text-align: left; width: 100%" placeholder="0" @keyup.enter.native="
defaultFunction(
'newcnfamt',
model.newcnfamt
)
" disabled></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="7">
</c-col>
</c-col>
</c-col>
</c-col>
<!-- =================================右侧====-->
<c-col :span="12">
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betamc/Event"
import Ptsmsg from "~/views/Public/Ptsmsg";
export default {
components: {
"c-ptsmsg": Ptsmsg
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
computed: {
cre752flg: {
get() {
return this.model.betp.cre752flg != "";
},
set(val) {
this.model.betp.cre752flg = val ? "X" : "";
this.model.betp.furide = "";
},
},
flag() {
return this.model.mtabut.coninf.usr.extkey == "";
},
},
methods: {
...Event
},
created: function () {
}
}
</script>
<style>
</style>
<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 @@
<m-setpan :model="model" :codes="codes" />
</c-content>
</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 -->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
......@@ -99,6 +106,7 @@ import Canp from './Canp'
// import Limitbody from './Limitbody'
import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan"
import Glepan from "~/views/Public/Glepan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from '~/views/Public/Doctre'
......@@ -110,6 +118,7 @@ export default {
'm-canp': Canp,
'm-engp': Engp,
'm-setpan': Setpan,
'm-glepan': Glepan,
'm-coninfp': Coninfp,
'm-docpan': Docpan,
'm-doctre': Doctre,
......
......@@ -203,7 +203,7 @@
disabled
>
<el-option
v-for="item in codes.docsta1"
v-for="item in codes.docsta"
:key="item.value"
:label="item.label"
:value="item.value"
......
......@@ -59,6 +59,13 @@
<m-setpan :model="model" :codes="codes" />
</c-content>
</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 -->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
......@@ -142,6 +149,7 @@ import Libp from './Libp'
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from '~/views/Public/Doctre';
......@@ -155,6 +163,7 @@ export default {
'm-rgfdet': Rgfdet,
'm-engp': Engp,
'm-setpan': Setpan,
'm-glepan': Glepan,
'm-coninfp': Coninfp,
'm-docpan': Docpan,
'm-doctre': Doctre,
......
......@@ -121,6 +121,7 @@ import Bttdcr from "./Bttdcr"
import Bttset from "./Bttset"
import Bttrcl from "./Bttrcl"
import Betacc from "./Betacc"
import Betamc from "./Betamc"
import Betrcl from "./Betrcl"
import InftrnpsDetail from "./Trnrel/InftrnpsDetail"
import TrnfndsDetail from "./Trnrel/Trnfnd/TrnfndsDetail"
......@@ -278,6 +279,8 @@ const BusRouter = [
{ path: 'bptcan', component: Bptcan, name: 'Bptcan', 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: 'betset', component: Betset, name: 'Betset', meta: { title: '出口信用证单据出口收汇' } },
......
......@@ -58,7 +58,18 @@ export default {
methods:{...Event},
created:function(){
},
watch:{
"model.lendoc.actflg":{
immediate:true,
handler(){
if(this.model.lendoc.actflg==false){
this.model.lendoc.account==""
}
}
}
}
}
</script>
<style>
......
......@@ -36,7 +36,7 @@
placeholder="请输入External Key of Address"
:disabled="flag"
@keyup.enter.native="
showGridPromptDialog('attp.atd.sbkact')
showGridPromptDialog('cpdgrp.ori.pts.extkey')
"
></c-input>
</el-form-item>
......
......@@ -60,9 +60,9 @@
</el-tab-pane>
<!-- Messages -->
<el-tab-pane label="Messages" name="docpan1">
<el-tab-pane label="Messages" name="docpan">
<c-content>
<m-docpan1 :model="model" :codes="codes" />
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
......@@ -90,9 +90,9 @@
</el-tab-pane>
<!--收账通知 -->
<el-tab-pane label="收账通知" name="docpan">
<el-tab-pane label="收账通知" name="docpan1">
<c-content>
<m-docpan :model="model" :codes="codes" />
<m-docpan1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
......@@ -134,8 +134,8 @@ import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Addinf from "./Addinf";
import Doctre from "~/views/Public/Doctre";
import Docpan1 from "~/views/Public/Docpan";
import Docpan from "./Docpan";
import Docpan from "~/views/Public/Docpan";
import Docpan1 from "./Docpan";
import Wg from "./Wg";
import Dbe from "./Dbe.vue";
import Dbb from "./Dbb.vue";
......@@ -151,8 +151,8 @@ export default {
"m-coninfp": Coninfp,
"m-addinf": Addinf,
"m-doctre": Doctre,
"m-docpan1": Docpan1,
"m-docpan": Docpan,
"m-docpan1": Docpan1,
"m-wg": Wg,
"m-dbe": Dbe,
"m-dbb": Dbb,
......
......@@ -5,7 +5,7 @@
<c-col :span="24">
<el-form-item label="Our Referance" prop="cpdgrp.rec.ownref">
<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">
<c-button type="primary"
><span style="font-family: '宋体'; font-weight: bold"
......@@ -20,7 +20,7 @@
<c-col :span="24">
<c-col :span="13">
<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>
</c-col>
......@@ -34,6 +34,7 @@
v-model="model.cpdgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入汇款金额"
disabled
@keyup.enter.native="
defaultFunction(
'cpdgrp.cbs.nom1.amt',
......@@ -48,7 +49,7 @@
<c-col :span="24">
<c-col :span="13">
<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>
</c-col>
......@@ -61,6 +62,7 @@
<c-input-currency
v-model="model.cpdgrp.cbs.max.amt"
style="text-align: left; width: 100%"
disabled
@keyup.enter.native="
defaultFunction(
'cpdgrp.cbs.nom1.amt',
......@@ -78,13 +80,14 @@
type="date"
v-model="model.cpdgrp.rec.valdat"
style="width: 100%"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<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>
</c-col>
</c-col>
......@@ -92,42 +95,42 @@
<c-col :span="11" :offset="1">
<c-col :span="24">
<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>
</c-col>
<c-col :span="24">
<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>
</c-col>
<c-col :span="24">
<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>
</c-col>
<c-col :span="24">
<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>
</c-col>
<c-col :span="24">
<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>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="18">
<c-col :span="11">
<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>
</c-col>
<c-col :span="6">
<c-col :span="6" :offset="1">
<c-checkbox v-model="model.sndsmg">Send Message</c-checkbox>
</c-col>
</c-col>
......
<template>
<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">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cptcan PD000016 Cancelation -->
......@@ -40,6 +55,7 @@ import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import commonFuncs from "~/mixin/commonFuncs";
export default {
name: "Cptcan",
......@@ -55,7 +71,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "canp",
......
......@@ -18,12 +18,18 @@
style="width: 100%"
>
<c-col :span="16">
<c-input
<c-select
v-model="model.trncorco.usfmod.flt"
maxlength="16"
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-button size="small" type="primary">Show_Set</c-button>
......@@ -58,7 +64,7 @@
placeholder="请选择汇款性质"
>
<el-option
v-for="item in codes.trntyp"
v-for="item in trntyp"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -108,12 +114,12 @@
</c-col>
<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
v-model="model.relcur"
style="width: 100%"
placeholder="请选择Currency"
:code="codes.currencycode"
:code="currencycode"
>
</c-select>
</el-form-item>
......@@ -184,19 +190,36 @@
<c-col :span="8">
<el-form-item label="branch" prop="branch" style="width: 100%">
<c-input
<c-select
v-model="model.branch"
maxlength="24"
style="width: 100%"
placeholder="请输入Select Single Party"
>
</c-input>
><el-option
v-for="item in branch"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Transaction Type" prop="atp.cod">
<c-input v-model="model.atp.cod"></c-input>
<c-col :span="8">
<el-form-item label="Transaction Type" prop="atp.cod" style="width: 100%">
<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>
</c-col>
</c-row>
......@@ -564,6 +587,58 @@ export default {
data: [],
},
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: {
......
......@@ -9,7 +9,7 @@
</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>
</el-tab-pane>
......@@ -31,7 +31,7 @@
<el-tab-pane label="传票打印" name="subpena" v-if="true">
<m-subpena :model="model" :codes="codes"></m-subpena>
</el-tab-pane>
</el-tab-pane> -->
<el-tab-pane label="流程记录" name="orerec" v-if="true">
<m-orerec :model="model" :codes="codes"></m-orerec>
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<!-- =================左边====================== -->
<c-col :span="12">
<el-form-item label="不符点">
<el-form-item label="不符点" prop="bddgrp.blk.docdis">
<c-col :span="21">
<c-input type="textarea" v-model="model.bddgrp.blk.docdis" :disabled="!model.bddgrp.blk.docdisflg"
maxlength="50" show-word-limit placeholder="请输入不符点"></c-input>
......@@ -17,14 +17,14 @@
</el-form-item>
<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
placeholder="请输入注释和结论"></c-input>
</el-form-item>
</c-col>
<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
placeholder="请输入到期付款确认备注"></c-input>
</el-form-item>
......@@ -34,11 +34,19 @@
<!-- =================右边====================== -->
<c-col :span="12">
<c-col :span="24">
<c-col :span="12">
<c-col :span="12">
<el-form-item label="" prop="bddgrp.rec.igndisflg">
<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>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="" prop="bddgrp.blk.docdisflg">
......@@ -67,11 +75,21 @@
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-col :span="12">
<el-form-item label="" prop="bddgrp.rec.approvcod">
<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>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="8">
<c-checkbox v-model="model.bdtp.cre752flg">Create MT 752</c-checkbox>
......
......@@ -488,6 +488,13 @@
:code="codes.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>
</el-form-item>
</c-col>
......@@ -1089,7 +1096,12 @@ export default {
props: ['model', 'codes'],
mixins: [commonProcess],
data() {
return {}
return {
// codeTable: [
// { label: "Issuing Bank", value: "ISS" },
// { label: "Further Party", value: "OTH" },
// ],
}
},
methods: {
...Event,
......
......@@ -3,40 +3,40 @@
<!-- S0000042 : 是否报送跨境人民币2101表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000042')" prop="cnybop.cnyflg">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000042')">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请输入是否报送跨境人民币2101表 " :code="codes.cnyflg" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000045 : 是否报送跨境人民币2107表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000045')" prop="cnybop.traflg">
<c-select v-model="model.cnybop.traflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000045')">
<el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg">
<c-select v-model="model.cnybop.traflg" style="width:100%" placeholder="请输入是否报送跨境人民币2107表" :code="codes.cnyflg" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000077 : 是否报送跨境人民币2111表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000077')" prop="cnybop.outflg">
<c-select v-model="model.cnybop.outflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000077')">
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg">
<c-select v-model="model.cnybop.outflg" style="width:100%" placeholder="请输入是否报送跨境人民币2111表" :code="codes.cnyflg" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000113 : 是否报送跨境人民币2106表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000113')" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000113')">
<el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:100%" placeholder="请输入是否报送跨境人民币2106表" :code="codes.cnyflg" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000142 : 是否报送跨境人民币2122表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000142')" prop="cnybop.vouflg">
<c-select v-model="model.cnybop.vouflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000142')">
<el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg">
<c-select v-model="model.cnybop.vouflg" style="width:100%" placeholder="请输入是否报送跨境人民币2122表" :code="codes.cnyflg" disabled>
</c-select>
</el-form-item>
</c-col>
......
......@@ -21,7 +21,7 @@
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="Please input Reference"
style="width: 95%"
style="width: 100%"
disabled
></c-input>
</el-form-item>
......@@ -41,6 +41,7 @@
v-model="model.ledgrp.cbs.nom1.amt"
style="width: 50%"
placeholder="Please input Balance"
class="m-input-currency"
disabled
></c-input>
<template slot="footer">
......@@ -68,6 +69,7 @@
v-model="model.ledgrp.cbs.opn1.amt"
style="width: 50%"
placeholder="Please input Balance"
class="m-input-currency"
disabled
></c-input>
<template slot="footer">
......@@ -101,6 +103,7 @@
style="width: 100%"
placeholder="Please input by"
disabled
:code="codes.avbby"
></c-input>
<template slot="footer">
<c-checkbox
......@@ -244,13 +247,93 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item style="margin-left: 0px">
<el-divider />
</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>
</template>
<script>
......@@ -267,6 +350,26 @@ export default {
mixins: [commonProcess],
data() {
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 },
......@@ -274,4 +377,8 @@ export default {
};
</script>
<style>
.formItemLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
}
</style>
......@@ -203,6 +203,9 @@ export default {
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: "服务请求失败!" });
......
......@@ -81,7 +81,7 @@ export default {
return i;
}
}
return 0;
return 1;
},
opened() {
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";
import ReviewCctdav from "./Business/ReviewCctdav.vue";
import ReviewCctdcr from "./Business/ReviewCctdcr.vue";
import ReviewCcttra from "./Business/ReviewCcttra.vue";
import ReviewLttopn from "./Business/ReviewLttopn.vue";
const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
......@@ -154,6 +155,7 @@ const ReviewRouter = [
{ path: "cctdav", component: ReviewCctdav, name: "ReviewCctdav", meta: { title: "复核-Cctdav" } },
{ path: "cctdcr", component: ReviewCctdcr, name: "ReviewCctdcr", meta: { title: "复核-Cctdcr" } },
{ path: "ccttra", component: ReviewCcttra, name: "ReviewCcttra", meta: { title: "复核-Ccttra" } },
{ path: "lttopn", component: ReviewLttopn, name: "ReviewLttopn", meta: { title: "复核-Lttopn" } },
];
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