Commit 65b722dd by 潘际乾
parents 81a416c7 2f38675a
......@@ -3526,18 +3526,16 @@ const CodeTable = {
{label:"汇款项下交易",value:"CPTXXX" },
],
jyqflg:[
{label:"否",value:"N" },
{label:"是",value:"Y" },
{label:"否",value:"" },
{label:"是",value:"X" },
],
key2:[
{label:"Transaction",value:"TRN" },
{label:"Database",value:"DBF" },
],
lcrtyp:[
{label:"IRREVOCABLE ",value:"I" },
{label:"IRREVOCABLE TRANSFERABLE",value:"IT" },
{label:"REVOCABLE",value:"R" },
{label:"REVOCABLE TRANSFERABLE",value:"RT" },
{label:"可转让",value:"IT" },
{label:"不可转让",value:"I" },
],
lcselflg:[
{label:"信用证闭卷",value:"1" },
......@@ -3923,6 +3921,7 @@ const CodeTable = {
mytype:[
{label:"服务贸易",value:"F" },
{label:"货物贸易",value:"H" },
{label:"货服混合",value:"3" },
],
namtyp:[
{label:"Constant",value:"CONST" },
......@@ -3945,7 +3944,7 @@ const CodeTable = {
{label:"Full Edit",value:"" },
],
nonrevflg1:[
{label:"公开授信",value:"1" },
{label:"综合授信",value:"1" },
{label:"单笔单批",value:"2" },
],
nonrevflg:[
......@@ -4418,11 +4417,9 @@ const CodeTable = {
{label:"SENT",value:"S" },
],
relflg:[
{label:"待复核",value:"W" },
{label:"退汇已处理",value:"P" },
{label:"已退回",value:"C" },
{label:"已复核",value:"R" },
{label:"完成",value:"F" },
{label:"Preliminary",value:"P" },
{label:"Entered",value:"E" },
{label:"Released",value:"R" },
],
relgrp:[
{label:"Authorized",value:"A" },
......@@ -5647,6 +5644,21 @@ const CodeTable = {
{ label: `请选择`, value: `` },
{ label: `现收`, value: `X` },
{ label: `缓收`, value: `P` },
]
],
elcflg:[
{label:"否",value:"N" },
{label:"是",value:"Y" },
],
dkflg:[
{label:"本行开证",value:"N" },
{label:"代理开证",value:"Y" },
],
bdflg:[
{label:"否",value:"N" },
{label:"是",value:"Y" },
],
dspflg:[
{label:"final",value:"CG" },
],
}
export default CodeTable;
\ No newline at end of file
export default class Pts{
constructor()
{
this.data={
export default class Pts {
constructor() {
this.data = {
inr: '',
objtyp: '',
objinr: '',
......
......@@ -16,6 +16,13 @@ export default {
"dflg": defaultDflg,
"yptinf": defaultYptinf,
"usfmod.usr.extkey": defaultUsfmodUsrExtkey,
"chkinc": defaultCheckbox,
"chkpen": defaultCheckbox,
"chkcor": defaultCheckbox,
"chkaut": defaultCheckbox,
"chkdel": defaultCheckbox,
"chktco": defaultCheckbox,
"chkcan": defaultCheckbox,
}
function defaultSptstm() {
......@@ -34,7 +41,7 @@ function defaultButimg() {
}
async function defaultDflg() {
let rtnmsg = await Api.post("sptsel/default/dflg", Utils.flatObject(this.model))
if (rtnmsg.retcod == "AAAAAA") {
if (rtnmsg.respCode == "AAAAAA") {
//TODO 处理数据逻辑
this.model = Utils.copyValueFromVO(this.model, rtnmsg.data);
}
......@@ -42,8 +49,25 @@ async function defaultDflg() {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
function defaultYptinf() {
console.log(this.model.yptinf)
async function defaultYptinf() {
let rtnmsg = await Api.post("sptsel/default/yptinf", Utils.flatObject(this.model))
if (rtnmsg.respCode == "AAAAAA") {
//TODO 处理数据逻辑
this.model = Utils.copyValueFromVO(this.model, rtnmsg.data);
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
function defaultUsfmodUsrExtkey() {
}
async function defaultCheckbox() {
let rtnmsg = await Api.post("sptsel/default/sptstm", Utils.flatObject(this.model))
if (rtnmsg.respCode == "AAAAAA") {
//TODO 处理数据逻辑
//this.model = Utils.copyValueFromVO(this.model, rtnmsg.data);
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
import Api from "~/service/Api";
export default class Sptsel{
constructor () {
this.data = {
chkinc:"", // Incoming .chkinc
chkpen:"", // Pending .chkpen
chkcor:"", // Correction .chkcor
chkaut:"", // Automatic .chkaut
selobj:"", // Reference .selobj
seltxt:"", // Selection Name .seltxt
usfmod:{
labtxt:"", // Text of Label .usfmod.labtxt
usftxt:"", // Text of Selection Text .usfmod.usftxt
flt:"", // Filter .usfmod.flt
selusg:"", // Selected User Group .usfmod.selusg
selusgset:"", // Selected User Group Set .usfmod.selusgset
usr:{
extkey:"", // User ID .usfmod.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .usfmod.usrget.sdamod.seainf
},
},
selusb:"", // Select user branch .usfmod.selusb
},
chkdel:"", // Deleted .chkdel
sptstm:"", // List of SPT records .sptstm
yptinf:"", // 退回原因 .yptinf
chkypt:"", // 云平台 .chkypt
inidatfro:"", // Date of entry of Transaction .inidatfro
inidattil:"", // Date of entry of Transaction until .inidattil
routxt:"", // 已转报 .routxt
dflg:"", // 国内国际标志 .dflg
chktco:"", // 网银 .chktco
chkcan:"", // 归档 .chkcan
chkdzt:"", // E-Trade .chkdzt
}
}
export default class Sptsel {
constructor() {
this.data = {
chkinc: "", // Incoming .chkinc
chkpen: "", // Pending .chkpen
chkcor: "", // Correction .chkcor
chkaut: "", // Automatic .chkaut
selobj: "", // Reference .selobj
seltxt: "", // Selection Name .seltxt
usfmod: {
labtxt: "", // Text of Label .usfmod.labtxt
usftxt: "", // Text of Selection Text .usfmod.usftxt
flt: "", // Filter .usfmod.flt
selusg: "", // Selected User Group .usfmod.selusg
selusgset: "", // Selected User Group Set .usfmod.selusgset
usr: {
extkey: "", // User ID .usfmod.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .usfmod.usrget.sdamod.seainf
},
},
selusb: "", // Select user branch .usfmod.selusb
},
chkdel: "", // Deleted .chkdel
sptstm: "", // List of SPT records .sptstm
yptinf: "", // 退回原因 .yptinf
chkypt: "", // 云平台 .chkypt
inidatfro: "", // Date of entry of Transaction .inidatfro
inidattil: "", // Date of entry of Transaction until .inidattil
routxt: "", // 已转报 .routxt
dflg: "", // 国内国际标志 .dflg
chktco: "", // 网银 .chktco
chkcan: "", // 归档 .chkcan
chkdzt: "", // E-Trade .chkdzt
}
}
}
\ No newline at end of file
......@@ -16,7 +16,10 @@
<el-col :span="12">
<el-form-item label="Display Type">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:50%" placeholder="请选择Infotext Level">
</c-select>
<el-option v-for="item in codes.inflev" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</el-col>
</el-col>
......@@ -31,7 +34,10 @@
<el-col :span="12">
<el-form-item label="Display Type">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:50%" placeholder="请选择Infotext Level">
</c-select>
<el-option v-for="item in codes.inflev" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</el-col>
</el-col>
......
......@@ -58,6 +58,9 @@
<el-col :span="12">
<el-form-item label="额度类型">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width:100%" placeholder="请选择Flag to Mark Non-revolving Limits">
<el-option v-for="item in codes.nonrevflg1" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</el-col>
......
......@@ -55,6 +55,9 @@
<el-col :span="6">
<el-form-item label="信用证金额">
<c-select v-model="model.didgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择Currency">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</el-col>
......@@ -193,7 +196,10 @@
<el-col :span="12">
<el-form-item label="贸易类型">
<c-select v-model="model.didgrp.rec.mytype" style="width:100%" placeholder="请选择贸易类型">
</c-select>
<el-option v-for="item in codes.mytype" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</el-col>
......@@ -300,7 +306,10 @@
<el-col :span="12">
<el-form-item label="是否通过电证系统">
<c-select v-model="model.didgrp.rec.elcflg" style="width:100%" placeholder="请选择是否通过电证系统">
</c-select>
<el-option v-for="item in codes.elcflg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</el-col>
......@@ -318,7 +327,10 @@
<el-col :span="12">
<el-form-item label="开证类型">
<c-select v-model="model.didgrp.rec.dkflg" style="width:100%" placeholder="请选择开证类型">
</c-select>
<el-option v-for="item in codes.dkflg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</el-col>
......@@ -343,7 +355,10 @@
<el-col :span="12">
<el-form-item label="货押标识">
<c-select v-model="model.didgrp.rec.guaflg" style="width:100%" placeholder="请选择货押标识">
</c-select>
<el-option v-for="item in codes.guaflg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</el-col>
......@@ -356,7 +371,10 @@
<el-col :span="12">
<el-form-item label="假远期信用证">
<c-select v-model="model.didgrp.rec.jyqflg" style="width:100%" placeholder="请选择假远期信用证">
</c-select>
<el-option v-for="item in codes.jyqflg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</el-col>
......
......@@ -15,8 +15,7 @@
<el-col :span="8">
<el-form-item label="结算金额">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
<c-input v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency" disabled="disabled"></c-input>
</el-form-item>
</el-col>
......@@ -29,6 +28,9 @@
<el-col :span="8">
<el-form-item label="类型">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
<el-option v-for="item in codes.dspflg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</el-col>
......@@ -49,8 +51,8 @@
<el-col :span="3">
<el-form-item label="" label-width="20px">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
细节
</c-button>
</el-form-item>
</el-col>
<el-col :span="24">
......
......@@ -150,6 +150,22 @@ export default {
pattern: Pattern,
rules:null,
codes:{
cur:CodeTable.cur,
mytype:CodeTable.mytype,
elcflg:CodeTable.elcflg,
dkflg:CodeTable.dkflg,
guaflg:CodeTable.guaflg,
jyqflg:CodeTable.jyqflg,
fenctg:CodeTable.fenctg,
bdflg:CodeTable.bdflg,
avbwth:CodeTable.avbwth,
lcrtyp:CodeTable.lcrtyp,
avbby:CodeTable.avbby,
shppar:CodeTable.shppar,
tratyp:CodeTable.tratyp,
dspflg:CodeTable.dspflg,
inflev:CodeTable.inflev,
nonrevflg1:CodeTable.nonrevflg1
},
}
},
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" tokenKey="modelForm" label-width="170px" size="small">
<el-tabs ref="elment" type="border-card" @tab-click="tabClick">
<el-tab-pane label="经办夹查询">
<m-menu :model="model" :codes="codes"/>
</el-tab-pane>
</el-tabs>
</el-form>
</div>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" tokenKey="modelForm" label-width="170px" size="small">
<el-tabs ref="elment" type="border-card" @tab-click="tabClick">
<el-tab-pane label="经办夹查询">
<m-menu :model="model" :codes="codes" />
</el-tab-pane>
</el-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -37,6 +37,8 @@ export default {
pattern: Pattern,
rules:null,
codes:{
flt:CodeTable.flt,
dflg:CodeTable.dflg
},
}
},
......@@ -47,7 +49,7 @@ export default {
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
//this.model = Utils.copyValueFromVO(this.model, rtnmsg.data)
this.model = Utils.copyValueFromVO(this.model, rtnmsg.data)
//console.log(this.model)
}
else
......@@ -58,5 +60,4 @@ export default {
}
</script>
<style>
</style>
......@@ -17,9 +17,9 @@
<el-col :span="12">
<el-form-item label="Status">
<c-select v-model="model.trncorco.relflg" style="width:100%" placeholder="请选择Status">
<el-option label="All" value=" "></el-option>
<el-option label="Waiting" value="W"></el-option>
<el-option label="Release" value="R"></el-option>
<el-option v-for="item in codes.relflg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</el-col>
......@@ -65,9 +65,9 @@
<el-col :span="12">
<el-form-item label="信用证标志">
<c-select v-model="model.trncorco.dflg" style="width:100%" placeholder="请选择信用证标志">
<el-option label="All" value="1"></el-option>
<el-option label="国内业务" value="2"></el-option>
<el-option label="国际业务" value="3"></el-option>
<el-option v-for="item in codes.dflg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</el-col>
......
......@@ -53,6 +53,8 @@ export default {
pattern: Pattern,
rules: null,
codes: {
relflg:CodeTable.relflg,
dflg:CodeTable.dflg,
},
}
},
......
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