Commit 62e56280 by panziyi

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 6a2f3aa2 5d7e694d
......@@ -4126,6 +4126,9 @@ const CodeTable = {
{ label: "8th Third Party", value: "TP8" },
{ label: "9th Third Party", value: "TP9" },
],
searol2:[
{ label: "Collecting Bank", value: "COL" },
],
seacur:[
{ label: `CNY-人民币`, value: `CNY` },
{ label: `KRW-韩元`, value: `KRW` },
......
......@@ -52,7 +52,12 @@ export default {
if (!this.getRoot().$refs.modelForm) {
return
}
this.getRoot().$refs.modelForm.clearValidate();
if (!this.isChecking) {
this.getRoot().$refs.modelForm.clearValidate();
} else {
// 当 checkAll 操作时,由面板切换所触发的 executeRule 请求时,不清空 checkAll 的错误信息
this.isChecking = false;
}
const fields = this.getRoot().$refs.modelForm.fields;
const tab = Utils.positioningErrorMsg(fieldErrors, fields);
return tab;
......
......@@ -92,7 +92,10 @@ export default {
const tab = this.showBackendErrors(fieldErrors)
if (tab) {
// tab切换之后,需出发tab-click的事件
this.tabClick(tab);
if (tab.name !== this.tabVal) {
this.isChecking = true
this.myTabClick ? this.myTabClick(tab) : this.tabClick(tab);
}
this.$notify({
title: "错误",
message: "校核失败",
......
......@@ -14,7 +14,8 @@ export default {
columnStr: '',
data: [],
rulePath: ''
}
},
isChecking: false
}
},
created() {
......@@ -122,7 +123,7 @@ export default {
* Tabs切换事件
* @param {VM} tab
*/
tabClick(tab) {
async tabClick(tab) {
if (this.isInDisplay) {
return
}
......
......@@ -182,5 +182,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
}
\ 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
......@@ -170,5 +170,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
}
\ No newline at end of file
......@@ -242,5 +242,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
}
\ No newline at end of file
......@@ -326,5 +326,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
}
\ No newline at end of file
......@@ -115,6 +115,7 @@ let checkObj = {
"cnybop.cnyinc.cpayeraccttyp" :null,
"mtabut.clsflg" :null,
"cnybop.vouflg" :null,
"lendoc.actflg" :null,
}
for (const key in checkObj) {
......
......@@ -80,5 +80,7 @@ export default {
"cnybop.outflg" :Utils.defaultFunction,
"bodgrp.rec.docsta" :Utils.defaultFunction,
"bopmod.outchargeamt" :Utils.defaultFunction,
"bopmod.dbap.baspp.acp" :Utils.defaultFunction,
"bopmod.dbdp.baspp.acp" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -230,5 +230,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
}
\ No newline at end of file
......@@ -170,5 +170,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
}
\ No newline at end of file
......@@ -362,5 +362,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
}
\ No newline at end of file
......@@ -218,5 +218,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
}
\ No newline at end of file
......@@ -542,5 +542,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
}
\ No newline at end of file
......@@ -158,5 +158,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
}
\ No newline at end of file
......@@ -247,5 +247,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
}
\ No newline at end of file
......@@ -18,6 +18,7 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf(){},
async onBenpDet(){
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
......@@ -510,5 +511,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
}
\ No newline at end of file
......@@ -495,7 +495,7 @@ export default {
// {max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.nom1.amt": [
{ required: true, message: "必输项" },
{ type: 'string', required: true, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -326,5 +326,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
}
\ No newline at end of file
......@@ -371,5 +371,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
}
\ No newline at end of file
......@@ -153,6 +153,9 @@ export default class Utils {
}
static positioningErrorMsg(fieldErrors, formFields) {
if (Object.keys(fieldErrors).length === 0) {
return null;
}
let firstErrorItem = null
// 顺序
for (let i = 0; i < formFields.length; i++) {
......@@ -190,7 +193,7 @@ export default class Utils {
}
if (firstErrorTab) {
const tabs = firstErrorTab.$parent
tabs.currentName = firstErrorTab.paneName
tabs.value = firstErrorTab.name
}
setTimeout(() => {
// 滚动到指定节点
......
<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,
......
......@@ -217,7 +217,9 @@
<c-col :span="24">
<c-checkbox style=" margin: 0px 0 10px 150px;" disabled v-model="model.bopmod.dbap.baspp.acp">确认</c-checkbox>
<el-form-item label="" prop="bopmod.dbap.baspp.acp">
<c-checkbox style=" margin: 0px 0 10px 150px;" disabled v-model="model.bopmod.dbap.baspp.acp">确认</c-checkbox>
</el-form-item>
</c-col>
......@@ -295,16 +297,27 @@ export default {
}
},
computed: {
acp: {
get() {
return this.model.bopmod.dbap.baspp.acp === "X";
},
set(val) {
this.model.bopmod.dbap.baspp.acp = val ? "X" : "";
},
},
},
// computed: {
// acp: {
// get() {
// return this.model.bopmod.dbap.baspp.acp === "X";
// },
// set(val) {
// this.model.bopmod.dbap.baspp.acp = val ? "X" : "";
// },
// },
// },
// watch:{
// "model.bopmod.dbap.baspp.acp" :{
// immediate: true,
// handler(val,oldval){
// if(this.model.bopmod.dbap.baspp.acp==""){
// this.model.bopmod.dbap.baspp.acp="X"
// }
// }
// },
// },
methods:{
// async change() {
// if(this.model.bopmod.szflg=="1"){
......
......@@ -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"
......@@ -208,11 +209,11 @@ const BusRouter = [
{ path: 'sptpopup', component: Sptpopup, name: 'Sptpopup', meta: { title: '待经办详情' } },
{ path: 'trnfndsDetail', component: TrnfndsDetail, name: 'TrnfndsDetail', meta: { title: '已完成详情' } },
{ path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
{ path: 'infcld', component: Infcld, name: 'Infcld', meta: { title: '打包托收查询' } },
{ path: 'cltdav', component: Cltdav, name: 'Cltdav', meta: { title: '打包托收开立' } },
{ path: 'clttra', component: Clttra, name: 'Clttra', meta: { title: '打包托收催收' } },
{ path: 'cltset', component: Cltset, name: 'Cltset', meta: { title: '打包托收解包' } },
{ path: 'infccd', component: Infccd, name: 'Infccd', meta: { title: '光票托收查询' } },
{ path: 'infcld', component: Infcld, name: 'Infcld', meta: { title: '光票托收查询2' } },
{ path: 'ccttra', component: Ccttra, name: 'Ccttra', meta: { title: '光票托收催收' } },
{ path: 'cctdav', component: Cctdav, name: 'Cctdav', meta: { title: '光票托收开立' } },
{ path: 'cctset', component: Cctset, name: 'Cctset', meta: { title: '光票托收收汇' } },
......@@ -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: '出口信用证单据出口收汇' } },
......
......@@ -8,11 +8,11 @@
</el-form-item>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="stream of CBBs" prop="infcon.cbbstm">
<c-input v-model="model.infcon.cbbstm" placeholder="请输入stream of CBBs"></c-input>
</el-form-item>
</c-col>
</c-col> -->
</div>
</template>
<script>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Fee Code" prop="infcon.fepfeecod">
<c-select v-model="model.infcon.fepfeecod" style="width:100%" placeholder="请选择Fee Code">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Disposition" prop="infcon.fepdsp">
<c-select v-model="model.infcon.fepdsp" style="width:100%" placeholder="请选择Disposition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream for FEPs to selected contract" prop="infcon.fepstm">
<c-input v-model="model.infcon.fepstm" placeholder="请输入stream for FEPs to selected contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.infcon.feptxtlbl" data-path=".infcon.feptxtlbl" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Disposition" prop="infcon.fcpdsp">
<c-select v-model="model.infcon.fcpdsp" style="width:100%" placeholder="请选择Disposition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream of foreign charges" prop="infcon.fcpstm">
<c-input v-model="model.infcon.fcpstm" placeholder="请输入stream of foreign charges"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.infcon.fcptxtlbl" data-path=".infcon.fcptxtlbl" > </span>
</c-col>
</div>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Fee Code" prop="infcon.fepfeecod">
<c-select v-model="model.infcon.fepfeecod" style="width:100%" placeholder="请选择Fee Code">
<el-option v-for="item in codes.fepfeecod" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Disposition" prop="infcon.fepdsp">
<c-select v-model="model.infcon.fepdsp" style="width:100%" placeholder="请选择Disposition">
<el-option v-for="item in codes.fepdsp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream for FEPs to selected contract" prop="infcon.fepstm">
<c-input v-model="model.infcon.fepstm" placeholder="请输入stream for FEPs to selected contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Fee Text" prop="infcon.fepfeecod">
<c-input v-model="model.infcon.fepfeecod" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.infcon.feptxtlbl" data-path=".infcon.feptxtlbl"> </span>
</c-col>
<c-col :span="12">
<el-form-item label="stream of foreign charges" prop="infcon.fcpstm">
<c-input v-model="model.infcon.fcpstm" placeholder="请输入stream of foreign charges"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.infcon.fcptxtlbl" data-path=".infcon.fcptxtlbl"> </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -51,19 +54,18 @@ import Event from "~/model/Infcld/Event"
export default {
inject: ['root'],
props:["model","codes"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
data() {
return {
}
},
methods:{...Event},
created:function(){
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
......@@ -7,6 +7,11 @@
<el-tab-pane label="Selection" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000013 -->
<el-tab-pane label="Transactions" name="trnpan">
......@@ -32,12 +37,7 @@
<el-tab-pane label="SEP Info" name="sepinfp">
<m-sepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Details of Temporary" name="sepp0">
<m-sepp0 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000177 -->
<el-tab-pane label="GLE Bookings" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/>
......@@ -129,12 +129,14 @@ import Fecp from "./Fecp"
import Cips from "./Cips"
import Cips2 from "./Cips2"
import Cips3 from "./Cips3"
import Coninfp from "~/views/Public/Coninfp"
export default {
name: "Infcld",
components:{
"m-infsea" : Infsea,
"m-coninfp": Coninfp,
"m-trnpan" : Trnpan,
"m-cbsinfp" : Cbsinfp,
"m-cbeinfp" : Cbeinfp,
......@@ -162,7 +164,7 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "infsea",
trnName: "infcld",
model: new Infcld().data,
checkRules: Check,
......@@ -170,6 +172,7 @@ export default {
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
......
......@@ -12,8 +12,7 @@
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max2.amt">
<c-input v-model="model.ledgrp.cbs.max2.amt" placeholder="请输入Additional Amount"
@keyup.enter.native="
defaultFunction('ledgrp.cbs.max2.amt', model.ledgrp.cbs.max2.amt)"></c-input>
@keyup.enter.native="$event.target.blur()"></c-input>
</el-form-item>
</c-col>
......
......@@ -207,7 +207,7 @@
maxlength="3"
placeholder="请输入Confirmation"
:code="codes.curtxt1"
@keyup.enter.native="cnfCurEvent" style="width:100%"
style="width:100%"
disabled
></c-select>
</el-form-item>
......@@ -218,7 +218,7 @@
v-model="model.ledgrp.cbs.cnf.amt"
class="m-input-currency"
placeholder="请输入Balance"
@keyup.enter.native="defaultFunction('ledgrp.cbs.cnf.amt', model.ledgrp.cbs.cnf.amt)"
@keyup.enter.native="$event.target.blur()"
></c-input>
</el-form-item>
</c-col>
......@@ -228,7 +228,7 @@
<c-input
v-model="model.ledgrp.rec.partcon"
placeholder="请输入Partial Confirmation"
@keyup.enter.native="defaultFunction('ledgrp.rec.partcon', model.ledgrp.rec.partcon)"
@keyup.enter.native="$event.target.blur()"
></c-input>
<!-- <span>%</span> -->
<template slot="footer">%</template>
......@@ -385,13 +385,6 @@ export default {
},
methods: {
...Event,
cnfCurEvent() {
this.executeDefault("didgrp.cbs.cnf.cur").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
created: function () {},
}
......
......@@ -57,16 +57,15 @@
<c-col :span="12">
<el-form-item label="Nominal Amount" prop="ledgrp.cbs.nom1.cur">
<c-select v-model="model.ledgrp.cbs.nom1.cur" style="width: 100%" placeholder="请选择币种"
@keyup.enter.native="nom1CurEvent" :code="codes.curtxt1">
:code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt">
<c-input-currency v-model="model.ledgrp.cbs.nom1.amt" style="text-align: left; width: 95%"
placeholder="请输入Nominal Amount" @keyup.enter.native="
defaultFunction('ledgrp.cbs.nom1.amt', model.ledgrp.cbs.nom1.amt)
" ></c-input-currency>
placeholder="请输入Nominal Amount" @keyup.enter.native="$event.target.blur()" ></c-input-currency>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
<!-- <c-input-currency v-model="model.ledgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
placeholder="请输入Nominal Amount"></c-input-currency> -->
</el-form-item>
......@@ -690,13 +689,6 @@ export default {
},
},
methods: { ...Event,
nom1CurEvent() {
this.executeDefault("ledgrp.cbs.nom1.cur").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
apprulChange(v) {
if (v !== "OTHR") {
this.model.ledgrp.rec.apprultxt = "";
......
......@@ -20,9 +20,7 @@
placeholder="请输入Additional Amount"
class="m-input-currency"
disabled
@keyup.enter.native="
defaultFunction('ledgrp.cbs.max2.amt', model.ledgrp.cbs.max2.amt)
"
@keyup.enter.native="$event.target.blur()"
></c-input>
</el-form-item>
</c-col>
......
......@@ -368,12 +368,7 @@
placeholder="请输入"
:disabled="model.ledgrp.rec.avbby == 'P'"
maxlength="4"
@keyup.enter.native="
defaultFunction(
'ledgrp.rec.tenmaxday',
model.ledgrp.rec.tenmaxday
)
"
@keyup.enter.native="$event.target.blur()"
></c-input>
</el-form-item>
</c-col>
......
......@@ -100,7 +100,7 @@
<c-col :span="12">
<el-form-item label="Nominal Amount" prop="ledgrp.cbs.nom1.cur">
<c-select v-model="model.ledgrp.cbs.nom1.cur" style="width: 100%" placeholder="请选择币种"
@keyup.enter.native="nom1CurEvent" :code="codes.curtxt1"
:code="codes.curtxt1"
disabled>
</c-select>
</el-form-item>
......@@ -108,10 +108,9 @@
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt">
<c-input-currency v-model="model.ledgrp.cbs.nom1.amt" style="text-align: left; width: 95%"
placeholder="请输入Nominal Amount" @keyup.enter.native="
defaultFunction('ledgrp.cbs.nom1.amt', model.ledgrp.cbs.nom1.amt)
"
placeholder="请输入Nominal Amount" @keyup.enter.native="$event.target.blur()"
disabled></c-input-currency>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
<!-- <c-input-currency v-model="model.ledgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
placeholder="请输入Nominal Amount"></c-input-currency> -->
</el-form-item>
......@@ -408,13 +407,6 @@ export default {
...Event,
onSeainf(){},
onExtkey(){},
nom1CurEvent() {
this.executeDefault('ledgrp.cbs.nom1.cur').then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data)
}
})
},
apprulChange(v) {
if (v !== "OTHR") {
this.model.ledgrp.rec.apprultxt = "";
......
......@@ -40,7 +40,6 @@
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择币种"
@keyup.enter.native="nom1CurEvent"
:code="codes.curtxt1"
disabled
>
......@@ -54,14 +53,10 @@
style="text-align: left; width: 100%"
class="m-input-currency"
placeholder="请输入信用证金额"
@keyup.enter.native="
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
@keyup.enter.native="$event.target.blur()"
disabled
></c-input-currency>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
......@@ -606,13 +601,6 @@ export default {
},
methods: {
...Event,
nom1CurEvent() {
this.executeDefault('ledgrp.cbs.nom1.cur').then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data)
}
})
},
},
created: function () {},
}
......
......@@ -67,7 +67,6 @@
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择币种"
@keyup.enter.native="nom1CurEvent"
:code="codes.cur"
disabled
>
......@@ -81,15 +80,11 @@
style="text-align: left; width: 100%"
class="m-input-currency"
placeholder="请输入信用证金额"
@keyup.enter.native="
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
@keyup.enter.native="$event.target.blur()"
disabled
></c-input-currency>
</el-form-item>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
<c-col :span="5">
......
......@@ -18,11 +18,10 @@
<c-input
v-model="model.ledgrp.cbs.max2.amt"
placeholder="请输入Additional Amount"
@keyup.enter.native="
defaultFunction('ledgrp.cbs.max2.amt', model.ledgrp.cbs.max2.amt)
"
@keyup.enter.native="$event.target.blur()"
></c-input>
</el-form-item>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
<c-col :span="13">
......
......@@ -361,13 +361,9 @@
placeholder="请输入"
:disabled="model.ledgrp.rec.avbby == 'P'"
maxlength="4"
@keyup.enter.native="
defaultFunction(
'ledgrp.rec.tenmaxday',
model.ledgrp.rec.tenmaxday
)
"
@keyup.enter.native="$event.target.blur()"
></c-input>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
</c-col>
......
......@@ -37,7 +37,6 @@
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择币种"
@keyup.enter.native="nom1CurEvent"
:code="codes.curtxt1"
disabled
>
......@@ -51,14 +50,10 @@
style="text-align: left; width: 100%"
class="m-input-currency"
placeholder="请输入信用证金额"
@keyup.enter.native="
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
@keyup.enter.native="$event.target.blur()"
disabled
></c-input-currency>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
......@@ -629,13 +624,6 @@ export default {
},
methods: {
...Event,
nom1CurEvent() {
this.executeDefault('ledgrp.cbs.nom1.cur').then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data)
}
})
},
},
created: function () {},
}
......
......@@ -121,7 +121,6 @@
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择币种"
@keyup.enter.native="nom1CurEvent"
:code="codes.curtxt1"
>
</c-select>
......@@ -139,12 +138,7 @@
v-model="model.ledgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入信用证金额"
@keyup.enter.native="
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
@keyup.enter.native="$event.target.blur()"
></c-input-currency>
</el-form-item>
</c-col>
......@@ -1108,13 +1102,6 @@ export default {
...Event,
onSeainf(){},
onExtkey(){},
nom1CurEvent() {
this.executeDefault('ledgrp.cbs.nom1.cur').then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data)
}
})
},
apprulChange(v) {
if (v !== 'OTHR') {
this.model.ledgrp.rec.apprultxt = ''
......
......@@ -11,9 +11,9 @@
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max2.amt">
<c-input v-model="model.ledgrp.cbs.max2.amt" placeholder="请输入Additional Amount"
@keyup.enter.native="
defaultFunction('ledgrp.cbs.max2.amt', model.ledgrp.cbs.max2.amt)"></c-input>
</el-form-item>
@keyup.enter.native="$event.target.blur()"></c-input>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
<c-col :span="13">
......
......@@ -362,13 +362,9 @@
placeholder="请输入"
:disabled="model.ledgrp.rec.avbby == 'P'"
maxlength="4"
@keyup.enter.native="
defaultFunction(
'ledgrp.rec.tenmaxday',
model.ledgrp.rec.tenmaxday
)
"
@keyup.enter.native="$event.target.blur()"
></c-input>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
</c-col>
......
......@@ -121,7 +121,6 @@
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择币种"
@keyup.enter.native="nom1CurEvent"
:code="codes.curtxt1"
>
</c-select>
......@@ -133,13 +132,9 @@
v-model="model.ledgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入信用证金额"
@keyup.enter.native="
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
@keyup.enter.native="$event.target.blur()"
></c-input-currency>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
<!-- <c-input-currency v-model="model.ledgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
placeholder="请输入信用证金额"></c-input-currency> -->
</el-form-item>
......@@ -495,13 +490,6 @@ export default {
},
methods: {
...Event,
nom1CurEvent() {
this.executeDefault('ledgrp.cbs.nom1.cur').then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data)
}
})
},
apprulChange(v) {
if (v !== 'OTHR') {
this.model.ledgrp.rec.apprultxt = ''
......
......@@ -18,11 +18,10 @@
<c-input
v-model="model.ledgrp.cbs.max2.amt"
placeholder="请输入Additional Amount"
@keyup.enter.native="
defaultFunction('ledgrp.cbs.max2.amt', model.ledgrp.cbs.max2.amt)
"
@keyup.enter.native="$event.target.blur()"
></c-input>
</el-form-item>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
<c-col :span="13">
......
......@@ -362,13 +362,9 @@
placeholder="请输入"
:disabled="model.ledgrp.rec.avbby == 'P'"
maxlength="4"
@keyup.enter.native="
defaultFunction(
'ledgrp.rec.tenmaxday',
model.ledgrp.rec.tenmaxday
)
"
@keyup.enter.native="$event.target.blur()"
></c-input>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</el-form-item>
</c-col>
</c-col>
......
......@@ -121,7 +121,6 @@
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择币种"
@keyup.enter.native="nom1CurEvent"
:code="codes.curtxt1"
>
</c-select>
......@@ -133,12 +132,7 @@
v-model="model.ledgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入信用证金额"
@keyup.enter.native="
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
@keyup.enter.native="$event.target.blur()"
></c-input-currency>
<!-- <c-input-currency v-model="model.ledgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
placeholder="请输入信用证金额"></c-input-currency> -->
......@@ -469,13 +463,6 @@ export default {
},
methods: {
...Event,
nom1CurEvent() {
this.executeDefault("ledgrp.cbs.nom1.cur").then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
apprulChange(v) {
if (v !== "OTHR") {
this.model.ledgrp.rec.apprultxt = "";
......
......@@ -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: "服务请求失败!" });
......
......@@ -113,6 +113,7 @@ export default {
{ inifrm: "infltd", ininam: "转让信用证查询", pntmiu: "7" },
{ inifrm: "infbtd", ininam: "转让信用证单据查询", pntmiu: "7" },
{ inifrm: "8", ininam: "打包托收", pntmiu: "" },
{ inifrm: "infcld", ininam: "打包托收查询", pntmiu: "8" },
{ inifrm: "cltdav", ininam: "打包托收开立", pntmiu: "8" },
{ inifrm: "clttra", ininam: "打包托收催收", pntmiu: "8" },
{ inifrm: "cltset", ininam: "打包托收解包", pntmiu: "8" },
......
......@@ -81,7 +81,7 @@ export default {
return i;
}
}
return 0;
return 1;
},
opened() {
this.$emit("childmethods");
......
......@@ -15,15 +15,17 @@
</el-table-column>
<el-table-column prop="matdat" label="Maturity" width="150px">
<template slot-scope="scope">
<c-date-picker
type="date"
v-model="scope.row.matdat"
value-format="yyyy-MM-dd"
placeholder="请选择Date"
style="width: 100%"
@change="executeDefault('liaall.liaallg.matdat')"
>
</c-date-picker>
<el-form-item label-width="0" :prop="'liaall.liaallg.' + scope.$index + '.matdat'">
<c-date-picker
type="date"
v-model="scope.row.matdat"
value-format="yyyy-MM-dd"
placeholder="请选择Date"
style="width: 100%"
@change="executeDefault('liaall.liaallg.matdat')"
>
</c-date-picker>
</el-form-item>
</template>
</el-table-column>
<el-table-column prop="tenday" label="Tenor" width="70px">
......
<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