Commit b13edddc by WF1020

公共页面字段修改

parent 4596fbd7
......@@ -3,6 +3,7 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Gitopn {
constructor() {
this.data = {
busType: 'gid',
addbcb: {
label1: '', // 国际部意见 .addbcb.label1
label2: '', // 国际部意见 .addbcb.label2
......
......@@ -28,7 +28,6 @@ export default {
let rtnmsg = await Api.post('/service/infbrd/getList', params);
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = [];
// debugger
this.stmData.data = rtnmsg.data.list;
// debugger
this.pagination.total = rtnmsg.data.total;
......@@ -55,7 +54,6 @@ export default {
this.model.infcon.nam = '';
this.model.infcon.seapty = '';
this.model.infcon.searef = '';
this.model.brdgrp.rec.inr = '';
this.model.seagodcod = '';
this.model.seadocflg = '';
......
......@@ -25,7 +25,8 @@
</c-col>
<c-col :span="8">
<el-form-item label="创建日期"
<el-form-item
label="创建日期"
prop="infcon.opndatfrom"
style="width: 100%"
>
......@@ -52,7 +53,11 @@
</c-col>
<c-col :span="8">
<el-form-item label="业务简略信息" prop="infcon.nam" style="width: 100%">
<el-form-item
label="业务简略信息"
prop="infcon.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.nam"
maxlength="40"
......@@ -62,11 +67,11 @@
</c-col>
</el-row>
<el-row v-show="searchSlot.searchToggle">
<!--line 1-->
<c-col :span="8">
<el-form-item label="提货担保编号"
<el-form-item
label="提货担保编号"
prop="infcon.seashgref"
style="width: 100%"
>
......@@ -79,7 +84,11 @@
</c-col>
<c-col :span="8">
<el-form-item style="width: 100%" label="当事人参考号" prop="infcon.searef">
<el-form-item
style="width: 100%"
label="当事人参考号"
prop="infcon.searef"
>
<c-input
v-model="model.infcon.searef"
maxlength="16"
......@@ -88,7 +97,8 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item style="width: 100%"
<el-form-item
style="width: 100%"
label="当事人编号"
prop="infcon.pty.extkey"
>
......@@ -102,7 +112,11 @@
<!--line 2-->
<c-col :span="8">
<el-form-item style="width: 100%" label="当事人名称" prop="infcon.pty.nam">
<el-form-item
style="width: 100%"
label="当事人名称"
prop="infcon.pty.nam"
>
<c-input
v-model="model.infcon.pty.nam"
maxlength="40"
......@@ -112,7 +126,11 @@
</c-col>
<c-col :span="8">
<el-form-item style="width: 100%" label="当事人BIC编码" prop="infcon.seapty">
<el-form-item
style="width: 100%"
label="当事人BIC编码"
prop="infcon.seapty"
>
<c-input
v-model="model.infcon.seapty"
maxlength="24"
......@@ -121,10 +139,7 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="当事人角色"
style="width: 100%"
>
<el-form-item label="当事人角色" style="width: 100%">
<c-select
v-model="model.infcon.searol"
style="width: 100%"
......@@ -143,7 +158,11 @@
<!--line 3-->
<c-col :span="8">
<el-form-item style="width: 100%" label="客户经理" prop="infcon.usr.extkey">
<el-form-item
style="width: 100%"
label="客户经理"
prop="infcon.usr.extkey"
>
<c-input
v-model="model.infcon.usr.extkey"
maxlength="8"
......@@ -152,7 +171,11 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item style="width: 100%" label="单据状态" prop="infcon.seasta">
<el-form-item
style="width: 100%"
label="单据状态"
prop="infcon.seasta"
>
<c-select
v-model="model.infcon.seasta"
style="width: 100%"
......@@ -164,12 +187,17 @@
</c-col>
<c-col :span="8">
<el-form-item style="width: 100%" label="单据类型" prop="seadocflg">
<el-form-item
style="width: 100%"
label="单据类型"
prop="seadocflg"
>
<c-select
v-model="model.seadocflg"
style="width: 100%"
placeholder="请选择单据类型"
:code="codes.docflg">
:code="codes.docflg"
>
</c-select>
</el-form-item>
</c-col>
......@@ -177,19 +205,26 @@
<!--line 4-->
<c-col :span="8">
<el-form-item style="width: 100%" label="币种" prop="infcon.seacur">
<el-form-item
style="width: 100%"
label="币种"
prop="infcon.seacur"
>
<c-select
v-model="model.infcon.seacur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.currencycode"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item style="width: 100%" label="金额区间" prop="infcon.seaamtfr">
<el-form-item
style="width: 100%"
label="金额区间"
prop="infcon.seaamtfr"
>
<c-col :span="11">
<c-input
v-model="model.infcon.seaamtfr"
......@@ -210,7 +245,11 @@
</c-col>
<c-col :span="8">
<el-form-item style="width: 100%" label="货物类型" prop="seagodcod">
<el-form-item
style="width: 100%"
label="货物类型"
prop="seagodcod"
>
<c-select
v-model="model.seagodcod"
style="width: 100%"
......@@ -221,16 +260,14 @@
</el-form-item>
</c-col>
</el-row>
</el-form>
</template>
</c-list-search>
<div style="height: 90%">
<c-col :span="24">
<el-table
:list="stmData.data"
:data="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
......@@ -254,7 +291,14 @@
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div style="text-align: right;margin-top: -30px;margin-right: 5px;font-size: 16px;">
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class="el-icon-close"
style="cursor: pointer"
......@@ -276,7 +320,12 @@
<div>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="250px" >
<el-table-column
fixed="right"
prop="op"
label="操作"
width="250px"
>
<template slot-scope="scope">
<c-button
style="margin-left: 0"
......@@ -291,7 +340,8 @@
style="margin-left: 0"
size="small"
slot="reference"
@click="details(scope.row)">
@click="details(scope.row)"
>
详情
</c-button>
</el-popover>
......@@ -307,14 +357,15 @@
</el-table>
<div class="pagination-box">
<el-pagination
style="margin-right: 30px;"
style="margin-right: 30px"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pagination.pageIndex"
:page-sizes="[10, 20, 50, 100, 500]"
:page-size="pagination.pageSize"
layout="sizes, prev, pager, next"
:total="pagination.total">
:total="pagination.total"
>
</el-pagination>
</div>
</c-col>
......@@ -328,7 +379,11 @@
>
<div class="dialog-wrap">
<div class="btn-group-wrap">
<div class="btn-item" v-for="(item, index) in handlerDataList" :key="index">
<div
class="btn-item"
v-for="(item, index) in handlerDataList"
:key="index"
>
<el-button
type="primary"
:disabled="item.value === 'N'"
......@@ -351,42 +406,41 @@ export default {
components: {},
data() {
return {
inr: '',
inr: "",
ownref: "",
trnData: {
columns: [
{
label: '交易id',
prop: 'inr'
label: "交易id",
prop: "inr",
},
{
label: '保函编号',
prop: 'ownref'
label: "保函编号",
prop: "ownref",
},
{
label: '交易名称',
prop: 'ininam'
label: "交易名称",
prop: "ininam",
},
{
label: '条目',
prop: 'inidattim'
label: "条目",
prop: "inidattim",
},
{
label: '状态',
prop: 'relflg'
label: "状态",
prop: "relflg",
},
{
label: '币种',
prop: 'reloricur'
label: "币种",
prop: "reloricur",
},
{
label: '相关金额',
prop: 'reloriamt'
label: "相关金额",
prop: "reloriamt",
},
{
label: '标识',
prop: 'relres'
label: "标识",
prop: "relres",
},
],
data: [],
......@@ -394,48 +448,48 @@ export default {
stmData: {
columns: [
{
label: '单据编号',
prop: 'ownref'
label: "单据编号",
prop: "ownref",
},
{
label: '客户经理',
prop: 'ownusr'
label: "客户经理",
prop: "ownusr",
},
{
label: '单据币种',
prop: 'maxcur'
label: "单据币种",
prop: "maxcur",
},
{
label: '单据金额',
prop: 'maxamt'
label: "单据金额",
prop: "maxamt",
},
{
label: '创建日期',
prop: 'opndat'
label: "创建日期",
prop: "opndat",
},
{
label: '申请人编号',
prop: 'aplref'
label: "申请人编号",
prop: "aplref",
},
{
label: '申请人名称',
prop: 'aplnam'
label: "申请人名称",
prop: "aplnam",
},
{
label: '受益人名称',
prop: 'benefi'
label: "受益人名称",
prop: "benefi",
},
{
label: '交单行编号',
prop: 'bankno'
label: "交单行编号",
prop: "bankno",
},
{
label: '关闭日期',
prop: 'clsdat'
label: "关闭日期",
prop: "clsdat",
},
{
label: '货物类型',
prop: 'stagod'
label: "货物类型",
prop: "stagod",
},
// {
// label: '操作',
......@@ -447,12 +501,12 @@ export default {
pagination: {
pageIndex: 1,
pageSize: 10,
total: 0
total: 0,
},
initdialog: false,
handlerDataList: [],
currentHandleRow: {}
currentHandleRow: {},
};
},
methods: {},
......
......@@ -14,13 +14,13 @@ export default class Litame {
bcbdat: '',
litp: {
usr: {
extkey: ''
extkey: '',
},
aamp: {
aammod: {
addamtflg: ''
}
}
addamtflg: '',
},
},
},
bgftktyp: '',
litamep: {
......@@ -31,37 +31,37 @@ export default class Litame {
lcrdocamep: {
modflg: '',
modmanflg: '',
usrblk: ''
usrblk: '',
},
spcbenamep: {
modflg: '',
modmanflg: '',
usrblk: ''
usrblk: '',
},
spcrcbamep: {
modflg: '',
modmanflg: '',
usrblk: ''
usrblk: '',
},
lcrgodamep: {
modflg: '',
modmanflg: '',
usrblk: ''
usrblk: '',
},
maxamt: '',
adlcndamep: {
modflg: '',
modmanflg: '',
usrblk: ''
usrblk: '',
},
engamt: ''
engamt: '',
},
number: '',
litameadv: '',
ameadvrmk: '',
oldlidgrp: {
blk: {
narhis: ''
narhis: '',
},
rec: {
expdat: '',
......@@ -69,17 +69,17 @@ export default class Litame {
shpdat: '',
nomtop: '',
prepertxts18: '',
prepers18: ''
prepers18: '',
},
cbs: {
max: {
cur: '',
amt: ''
amt: '',
},
nom1: {
amt: ''
}
}
amt: '',
},
},
},
lidgrp: {
a2b: {
......@@ -103,7 +103,7 @@ export default class Litame {
spcbename: '',
spcrcbame: '',
spcrcb: '',
lcrgodame: ''
lcrgodame: '',
},
rec: {
tenmaxday: '',
......@@ -156,20 +156,20 @@ export default class Litame {
cbs: {
opn2: {
cur: '',
amt: ''
amt: '',
},
max: {
cur: '',
amt: ''
amt: '',
},
nom1: {
cur: '',
amt: ''
amt: '',
},
max2: {
cur: '',
amt: ''
}
amt: '',
},
},
rmb: {
pts: new Pts().data,
......@@ -185,7 +185,7 @@ export default class Litame {
},
avb: {
pts: new Pts().data,
}
},
},
liaall: {
limmod: {
......@@ -201,14 +201,14 @@ export default class Litame {
pfcod1: '',
pfcod2: '',
nonrevflg1: '',
nonrevflg2: ''
nonrevflg2: '',
},
comamt: '',
ccvamt: '',
limgrd: '',
lmegrd: '',
tygrd: ''
}
tygrd: '',
},
},
trnmod: {
swiadd: {
......@@ -231,8 +231,8 @@ export default class Litame {
newcur: '',
prepertxts18: '',
nomspc: '',
reqcan: ''
}
reqcan: '',
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
......
......@@ -3,24 +3,25 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Litopn {
constructor() {
this.data = {
gidgrp:{
rec:{
purpos:''
}
busType: 'lid',
gidgrp: {
rec: {
purpos: '',
},
},
gitp:{
swiftflg:''
gitp: {
swiftflg: '',
},
litp: {
avblab: '',
usr: {
extkey: ''
extkey: '',
},
aamp: {
aammod: {
addamtflg: ''
}
}
addamtflg: '',
},
},
},
bccls5: '',
godnam: '',
......@@ -31,7 +32,7 @@ export default class Litopn {
bccls7: '',
label6: '',
hmdmod2: {
bennam: ''
bennam: '',
},
bccls1: '',
bccls2: '',
......@@ -55,7 +56,7 @@ export default class Litopn {
denddate: '',
dexchangedate: '',
stransattr: '',
sforeigncountrycode: ''
sforeigncountrycode: '',
},
fexchangeamt: '',
sbankname: '',
......@@ -66,7 +67,7 @@ export default class Litopn {
saddwordlib: '',
vouflg: '',
libflg: '',
sorgname: ''
sorgname: '',
},
bcbtyp7: '',
bcbtyp4: '',
......@@ -95,7 +96,7 @@ export default class Litopn {
lcrgod: '',
spcben: '',
dftat: '',
spcrcb: ''
spcrcb: '',
},
rec: {
tenmaxday: '',
......@@ -134,7 +135,7 @@ export default class Litopn {
cnfdet: '',
regref: '',
porloa: '',
apprultxt: ''
apprultxt: '',
},
adv: {
pts: new Pts().data,
......@@ -148,20 +149,20 @@ export default class Litopn {
cbs: {
opn2: {
cur: '',
amt: '0.00'
amt: '0.00',
},
max: {
cur: '',
amt: '0.00'
amt: '0.00',
},
nom1: {
cur: '',
amt:'0.00'
amt: '0.00',
},
max2: {
cur: '',
amt: '0.00'
}
amt: '0.00',
},
},
rmb: {
pts: new Pts().data,
......@@ -177,7 +178,7 @@ export default class Litopn {
},
apl: {
pts: new Pts().data,
}
},
},
statusInfo: '',
setmod: new Pub().data.Setmod,
......
......@@ -501,15 +501,6 @@ export default {
columns: [],
data: [],
},
gitopn: {
gidgrp: {},
gitp: {},
trnmodVo: {},
addbcb: {},
cnybop: {},
codcny: {},
doceot: {},
},
suppress: false,
};
},
......@@ -562,6 +553,8 @@ export default {
);
},
async handleDisplay(index, row) {
console.log('row', row)
console.log('ind', index)
//后续要根据快照模式切换请求方式
let cortyp = row.cortyp;
let docnam = row.docnam;
......@@ -580,17 +573,16 @@ export default {
// }
let params = {
docVo: row,
[this.model.busType + 'grp']: this.model[this.model.busType + 'grp'],
[this.model.busType + 'p']: this.model[this.model.busType + 'p'],
trnmodVo: this.model.trnmod,
addbcb: this.model.addbcb,
cnybop: this.model.cnybop,
doceot: this.model.doceot,
};
this.gitopn.gidgrp = this.model.gidgrp;
this.gitopn.gitp = this.model.gitp;
this.gitopn.trnmodVo = this.model.trnmod;
this.gitopn.addbcb = this.model.addbcb;
this.gitopn.cnybop = this.model.cnybop;
this.gitopn.doceot = this.model.docpan.doceot;
console.log(this.gitopn);
rtnmsg = await Api.post(
`${this.requestPrefix}/executeDocpan`,
this.gitopn
params
);
if (rtnmsg.respCode == SUCCESS) {
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
......
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