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 = '';
......
......@@ -3,38 +3,39 @@
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<template v-slot="searchSlot">
<el-form
class="m-table-search-form"
ref="paramsForm"
label-position="right"
label-width="110px"
size="small"
class="m-table-search-form"
ref="paramsForm"
label-position="right"
label-width="110px"
size="small"
>
<el-row>
<c-col :span="8">
<el-form-item
label="单据编号"
prop="infcon.seaownref"
style="width: 100%"
label="单据编号"
prop="infcon.seaownref"
style="width: 100%"
>
<c-input
v-model="model.infcon.seaownref"
maxlength="16"
placeholder="请输入单据编号"
v-model="model.infcon.seaownref"
maxlength="16"
placeholder="请输入单据编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="创建日期"
prop="infcon.opndatfrom"
style="width: 100%"
<el-form-item
label="创建日期"
prop="infcon.opndatfrom"
style="width: 100%"
>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.infcon.opndatfrom"
style="width: 100%"
placeholder="请选择起始日期"
type="date"
v-model="model.infcon.opndatfrom"
style="width: 100%"
placeholder="请选择起始日期"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
......@@ -42,99 +43,113 @@
</c-col>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.infcon.opndatto"
style="width: 100%"
placeholder="请选择截至日期"
type="date"
v-model="model.infcon.opndatto"
style="width: 100%"
placeholder="请选择截至日期"
></c-date-picker>
</c-col>
</el-form-item>
</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"
placeholder="请输入业务简略信息"
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入业务简略信息"
></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row v-show="searchSlot.searchToggle">
<!--line 1-->
<c-col :span="8">
<el-form-item label="提货担保编号"
prop="infcon.seashgref"
style="width: 100%"
<el-form-item
label="提货担保编号"
prop="infcon.seashgref"
style="width: 100%"
>
<c-input
v-model="model.infcon.seashgref"
maxlength="16"
placeholder="请输入提货担保编号"
v-model="model.infcon.seashgref"
maxlength="16"
placeholder="请输入提货担保编号"
></c-input>
</el-form-item>
</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"
placeholder="请输入当事人参考号"
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入当事人参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item style="width: 100%"
label="当事人编号"
prop="infcon.pty.extkey"
<el-form-item
style="width: 100%"
label="当事人编号"
prop="infcon.pty.extkey"
>
<c-input
v-model="model.infcon.pty.extkey"
maxlength="24"
placeholder="请输入当事人编号"
v-model="model.infcon.pty.extkey"
maxlength="24"
placeholder="请输入当事人编号"
></c-input>
</el-form-item>
</c-col>
<!--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"
placeholder="请输入当事人名称"
v-model="model.infcon.pty.nam"
maxlength="40"
placeholder="请输入当事人名称"
></c-input>
</el-form-item>
</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"
placeholder="请输入当事人BIC编码"
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入当事人BIC编码"
></c-input>
</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%"
placeholder="请选择当事人角色"
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择当事人角色"
>
<el-option
v-for="item in codes.payrol"
:key="item.value"
:label="item.label"
:value="item.value"
v-for="item in codes.payrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
......@@ -143,33 +158,46 @@
<!--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"
placeholder="请输入客户经理"
v-model="model.infcon.usr.extkey"
maxlength="8"
placeholder="请输入客户经理"
></c-input>
</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%"
placeholder="请选择单据状态"
:code="codes.seasta"
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择单据状态"
:code="codes.seasta"
>
</c-select>
</el-form-item>
</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">
v-model="model.seadocflg"
style="width: 100%"
placeholder="请选择单据类型"
:code="codes.docflg"
>
</c-select>
</el-form-item>
</c-col>
......@@ -177,23 +205,30 @@
<!--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"
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"
placeholder="请输入金额下限"
v-model="model.infcon.seaamtfr"
placeholder="请输入金额下限"
></c-input>
</c-col>
......@@ -202,138 +237,158 @@
</c-col>
<c-col :span="11">
<c-input
v-model="model.infcon.seaamtto"
placeholder="请输入金额上限"
v-model="model.infcon.seaamtto"
placeholder="请输入金额上限"
></c-input>
</c-col>
</el-form-item>
</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%"
placeholder="请选择货物类型"
:code="codes.godcod"
v-model="model.seagodcod"
style="width: 100%"
placeholder="请选择货物类型"
:code="codes.godcod"
>
</c-select>
</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"
:columns="stmData.columns"
:showButtonFlg="true"
:data="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, key) in stmData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
v-for="(item, key) in stmData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
></el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center">
<span>操作</span>
</c-col>
</template>
<template slot-scope="scope">
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div style="text-align: right;margin-top: -30px;margin-right: 5px;font-size: 16px;">
<span
class="el-icon-close"
style="cursor: pointer"
@click="closeDetailsDialog('popover_' + scope.row.IDX)"
></span>
</div>
<el-table
:data="trnData.data"
:columns="trnData.columns"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, key) in trnData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
>
<template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="250px" >
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['inr'])"
>详情</c-button
>
</template>
</el-table-column>
</el-table>
<c-button
style="margin-left: 0"
size="small"
slot="reference"
@click="details(scope.row)">
详情
</c-button>
</el-popover>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="handler(scope.row)"
>处理
</c-button>
</template>
</el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center">
<span>操作</span>
</c-col>
</template>
<template slot-scope="scope">
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class="el-icon-close"
style="cursor: pointer"
@click="closeDetailsDialog('popover_' + scope.row.IDX)"
></span>
</div>
<el-table
:data="trnData.data"
:columns="trnData.columns"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, key) in trnData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
>
<template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column
fixed="right"
prop="op"
label="操作"
width="250px"
>
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['inr'])"
>详情</c-button
>
</template>
</el-table-column>
</el-table>
<c-button
style="margin-left: 0"
size="small"
slot="reference"
@click="details(scope.row)"
>
详情
</c-button>
</el-popover>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="handler(scope.row)"
>处理
</c-button>
</template>
</el-table-column>
</el-table>
<div class="pagination-box">
<el-pagination
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">
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"
>
</el-pagination>
</div>
</c-col>
</div>
<!-- 点击处理ba弹框 -->
<el-dialog
:visible.sync="initdialog"
title="交易列表"
append-to-body
width="60%"
:visible.sync="initdialog"
title="交易列表"
append-to-body
width="60%"
>
<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'"
@click="handleClick(item)"
>{{ item.label }}
type="primary"
:disabled="item.value === 'N'"
@click="handleClick(item)"
>{{ item.label }}
</el-button>
</div>
</div>
......@@ -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: {},
......
......@@ -4,242 +4,242 @@ export default class Litame {
constructor() {
this.data = {
bcbtyp6: '',
modtyp: '',
bcbtyp7: '',
bcbtyp4: '',
bcbtyp5: '',
bcbtyp2: '',
bcbtyp3: '',
bcbtyp1: '',
bcbdat: '',
litp: {
usr: {
extkey: ''
},
aamp: {
aammod: {
addamtflg: ''
}
}
},
bgftktyp: '',
litamep: {
amenbr: '',
cre707flg: '',
maxcur: '',
engcur: '',
lcrdocamep: {
modflg: '',
modmanflg: '',
usrblk: ''
},
spcbenamep: {
modflg: '',
modmanflg: '',
usrblk: ''
},
spcrcbamep: {
modflg: '',
modmanflg: '',
usrblk: ''
},
lcrgodamep: {
modflg: '',
modmanflg: '',
usrblk: ''
},
maxamt: '',
adlcndamep: {
modflg: '',
modmanflg: '',
usrblk: ''
},
engamt: ''
},
number: '',
litameadv: '',
ameadvrmk: '',
oldlidgrp: {
blk: {
narhis: ''
},
rec: {
expdat: '',
nomton: '',
shpdat: '',
nomtop: '',
prepertxts18: '',
prepers18: ''
},
cbs: {
max: {
cur: '',
amt: ''
},
nom1: {
amt: ''
}
}
},
lidgrp: {
a2b: {
pts: new Pts().data,
},
blk: {
insbnk: '',
feetxt: '',
mixdet: '',
shpper: '',
adlcnd: '',
addamtcov: '',
avbwthtxt: '',
defdet: '',
lcrdoc: '',
lcrgod: '',
spcben: '',
lcrdocame: '',
dftat: '',
adlcndame: '',
spcbename: '',
spcrcbame: '',
spcrcb: '',
lcrgodame: ''
},
rec: {
tenmaxday: '',
nomton: '',
expplc: '',
stacty: '',
dkflg: '',
rmbflg: '',
nomtop: '',
avbwth: '',
opndat: '',
revflg: '',
spcbenflg: '',
shpdat: '',
nam: '',
prepertxts18: '',
redclsflg: '',
nomspc: '',
shptrss18: '',
spcrcbflg: '',
shpfro: '',
lcrtyp: '',
ownref: '',
preadvdt: '',
avbby: '',
pordis: '',
shppar: '',
apprul: '',
prepers18: '',
guaflg: '',
expdat: '',
shpto: '',
rptref: '',
chato: '',
cnfdet: '',
regref: '',
porloa: '',
apprultxt: '',
},
adv: {
pts: new Pts().data,
},
con: {
namelc: '',
pts: new Pts().data,
},
ini: {
pts: new Pts().data,
},
cbs: {
opn2: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
},
nom1: {
cur: '',
amt: ''
},
max2: {
cur: '',
amt: ''
}
},
rmb: {
pts: new Pts().data,
},
drw: {
pts: new Pts().data,
},
ben: {
modtyp: '',
bcbtyp7: '',
bcbtyp4: '',
bcbtyp5: '',
bcbtyp2: '',
bcbtyp3: '',
bcbtyp1: '',
bcbdat: '',
litp: {
usr: {
extkey: '',
},
aamp: {
aammod: {
addamtflg: '',
},
},
},
bgftktyp: '',
litamep: {
amenbr: '',
cre707flg: '',
maxcur: '',
engcur: '',
lcrdocamep: {
modflg: '',
modmanflg: '',
usrblk: '',
},
spcbenamep: {
modflg: '',
modmanflg: '',
usrblk: '',
},
spcrcbamep: {
modflg: '',
modmanflg: '',
usrblk: '',
},
lcrgodamep: {
modflg: '',
modmanflg: '',
usrblk: '',
},
maxamt: '',
adlcndamep: {
modflg: '',
modmanflg: '',
usrblk: '',
},
engamt: '',
},
number: '',
litameadv: '',
ameadvrmk: '',
oldlidgrp: {
blk: {
narhis: '',
},
rec: {
expdat: '',
nomton: '',
shpdat: '',
nomtop: '',
prepertxts18: '',
prepers18: '',
},
cbs: {
max: {
cur: '',
amt: '',
},
nom1: {
amt: '',
},
},
},
lidgrp: {
a2b: {
pts: new Pts().data,
},
blk: {
insbnk: '',
feetxt: '',
mixdet: '',
shpper: '',
adlcnd: '',
addamtcov: '',
avbwthtxt: '',
defdet: '',
lcrdoc: '',
lcrgod: '',
spcben: '',
lcrdocame: '',
dftat: '',
adlcndame: '',
spcbename: '',
spcrcbame: '',
spcrcb: '',
lcrgodame: '',
},
rec: {
tenmaxday: '',
nomton: '',
expplc: '',
stacty: '',
dkflg: '',
rmbflg: '',
nomtop: '',
avbwth: '',
opndat: '',
revflg: '',
spcbenflg: '',
shpdat: '',
nam: '',
prepertxts18: '',
redclsflg: '',
nomspc: '',
shptrss18: '',
spcrcbflg: '',
shpfro: '',
lcrtyp: '',
ownref: '',
preadvdt: '',
avbby: '',
pordis: '',
shppar: '',
apprul: '',
prepers18: '',
guaflg: '',
expdat: '',
shpto: '',
rptref: '',
chato: '',
cnfdet: '',
regref: '',
porloa: '',
apprultxt: '',
},
adv: {
pts: new Pts().data,
},
con: {
namelc: '',
pts: new Pts().data,
},
ini: {
pts: new Pts().data,
},
cbs: {
opn2: {
cur: '',
amt: '',
},
max: {
cur: '',
amt: '',
},
nom1: {
cur: '',
amt: '',
},
max2: {
cur: '',
amt: '',
},
},
rmb: {
pts: new Pts().data,
},
drw: {
pts: new Pts().data,
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
avb: {
pts: new Pts().data,
},
},
liaall: {
limmod: {
ownref: '',
dggrd: '',
limpts: {
wrk: {
pts: new Pts().data,
},
apl: {
oth: {
pts: new Pts().data,
},
avb: {
pts: new Pts().data,
}
},
liaall: {
limmod: {
ownref: '',
dggrd: '',
limpts: {
wrk: {
pts: new Pts().data,
},
oth: {
pts: new Pts().data,
},
pfcod1: '',
pfcod2: '',
nonrevflg1: '',
nonrevflg2: ''
},
comamt: '',
ccvamt: '',
limgrd: '',
lmegrd: '',
tygrd: ''
}
},
trnmod: {
swiadd: {
trnchato: '',
newnomtop: '',
purpos: '',
amedat: '',
addamtcov: '',
newnomton: '',
prepers18: '',
amenbr: '',
nartxt: '',
addamt: '',
amecur: '',
newshpdat: '',
newamt: '',
newexpdat: '',
trnfeetxt: '',
ameamt: '',
newcur: '',
prepertxts18: '',
nomspc: '',
reqcan: ''
}
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
};
pfcod1: '',
pfcod2: '',
nonrevflg1: '',
nonrevflg2: '',
},
comamt: '',
ccvamt: '',
limgrd: '',
lmegrd: '',
tygrd: '',
},
},
trnmod: {
swiadd: {
trnchato: '',
newnomtop: '',
purpos: '',
amedat: '',
addamtcov: '',
newnomton: '',
prepers18: '',
amenbr: '',
nartxt: '',
addamt: '',
amecur: '',
newshpdat: '',
newamt: '',
newexpdat: '',
trnfeetxt: '',
ameamt: '',
newcur: '',
prepertxts18: '',
nomspc: '',
reqcan: '',
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
};
}
}
......@@ -3,59 +3,60 @@ 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: ''
}
}
},
bccls5: '',
godnam: '',
label4: '',
bccls6: '',
number: '',
label5: '',
bccls7: '',
label6: '',
hmdmod2: {
bennam: ''
},
bccls1: '',
bccls2: '',
bccls3: '',
bccls4: '',
bcbtyp6: '',
cnybop: {
aammod: {
addamtflg: '',
},
},
},
bccls5: '',
godnam: '',
label4: '',
bccls6: '',
number: '',
label5: '',
bccls7: '',
label6: '',
hmdmod2: {
bennam: '',
},
bccls1: '',
bccls2: '',
bccls3: '',
bccls4: '',
bcbtyp6: '',
cnybop: {
cnylib: {
doccurdate: '',
stermtype: '',
sorgcode: '',
dcreditenddate: '',
dexchangeenddate: '',
sbankorgcode: '',
sbanktrano: '',
currencycode: '',
stranstype: '',
famt: '',
sforbankswiftbic: '',
spk: '',
denddate: '',
dexchangedate: '',
stransattr: '',
sforeigncountrycode: ''
doccurdate: '',
stermtype: '',
sorgcode: '',
dcreditenddate: '',
dexchangeenddate: '',
sbankorgcode: '',
sbanktrano: '',
currencycode: '',
stranstype: '',
famt: '',
sforbankswiftbic: '',
spk: '',
denddate: '',
dexchangedate: '',
stransattr: '',
sforeigncountrycode: '',
},
fexchangeamt: '',
sbankname: '',
......@@ -66,75 +67,75 @@ export default class Litopn {
saddwordlib: '',
vouflg: '',
libflg: '',
sorgname: ''
},
bcbtyp7: '',
bcbtyp4: '',
bcbtyp5: '',
bcbtyp2: '',
bcbtyp3: '',
bcbtyp1: '',
bcbdat: '',
label1: '',
label2: '',
label3: '',
lidgrp: {
sorgname: '',
},
bcbtyp7: '',
bcbtyp4: '',
bcbtyp5: '',
bcbtyp2: '',
bcbtyp3: '',
bcbtyp1: '',
bcbdat: '',
label1: '',
label2: '',
label3: '',
lidgrp: {
a2b: {
pts: new Pts().data,
},
blk: {
insbnk: '',
feetxt: '',
mixdet: '',
shpper: '',
adlcnd: '',
addamtcov: '',
avbwthtxt: '',
defdet: '',
lcrdoc: '',
lcrgod: '',
spcben: '',
dftat: '',
spcrcb: ''
insbnk: '',
feetxt: '',
mixdet: '',
shpper: '',
adlcnd: '',
addamtcov: '',
avbwthtxt: '',
defdet: '',
lcrdoc: '',
lcrgod: '',
spcben: '',
dftat: '',
spcrcb: '',
},
rec: {
tenmaxday: '',
expplc: '',
nomton: '',
stacty: '',
dkflg: '',
rmbflg: '',
avbwth: '',
opndat: '',
nomtop: '',
revflg: '',
stagod: '',
spcbenflg: '',
shpdat: '',
oppbnk: '',
nam: '',
prepertxts18: '',
redclsflg: '',
nomspc: '',
shptrss18: '',
spcrcbflg: '',
shpfro: '',
lcrtyp: '',
ownref: '',
preadvdt: '',
avbby: '',
pordis: '',
shppar: '',
apprul: '',
prepers18: '',
guaflg: '',
expdat: '',
shpto: '',
rptref: '',
cnfdet: '',
regref: '',
porloa: '',
apprultxt: ''
tenmaxday: '',
expplc: '',
nomton: '',
stacty: '',
dkflg: '',
rmbflg: '',
avbwth: '',
opndat: '',
nomtop: '',
revflg: '',
stagod: '',
spcbenflg: '',
shpdat: '',
oppbnk: '',
nam: '',
prepertxts18: '',
redclsflg: '',
nomspc: '',
shptrss18: '',
spcrcbflg: '',
shpfro: '',
lcrtyp: '',
ownref: '',
preadvdt: '',
avbby: '',
pordis: '',
shppar: '',
apprul: '',
prepers18: '',
guaflg: '',
expdat: '',
shpto: '',
rptref: '',
cnfdet: '',
regref: '',
porloa: '',
apprultxt: '',
},
adv: {
pts: new Pts().data,
......@@ -146,22 +147,22 @@ export default class Litopn {
pts: new Pts().data,
},
cbs: {
opn2: {
cur: '',
amt: '0.00'
},
max: {
cur: '',
amt: '0.00'
},
nom1: {
cur: '',
amt:'0.00'
},
max2: {
cur: '',
amt: '0.00'
}
opn2: {
cur: '',
amt: '0.00',
},
max: {
cur: '',
amt: '0.00',
},
nom1: {
cur: '',
amt: '0.00',
},
max2: {
cur: '',
amt: '0.00',
},
},
rmb: {
pts: new Pts().data,
......@@ -177,8 +178,8 @@ export default class Litopn {
},
apl: {
pts: new Pts().data,
}
},
},
},
statusInfo: '',
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
......
......@@ -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