Commit 1ac55762 by liuxin

下拉框调整

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