Commit 63683712 by WF1020

修改gitopn的model字段

parent 2371d292
......@@ -5,11 +5,45 @@ export default class Gitopn {
constructor() {
this.data = {
addbcb: {
label1: '',
label2: '',
label3: '',
label4: '',
label5: '',
addbcbl1blk:"",
name:"", // �'�物简称及税号 .addbcb.name
godnam:"", // �'�物简称 .addbcb.godnam
pwtyp1:"", // 进口许可证 .addbcb.pwtyp1
pwtyp2:"", // 机电产品进口许可证 .addbcb.pwtyp2
pwtyp3:"", // 一般商品进口配额证明 .addbcb.pwtyp3
pwtyp4:"", // 特定商品进口登记证明 .addbcb.pwtyp4
pwtyp5:"", // 重要工业品自动进口许可证 .addbcb.pwtyp5
pwtyp6:"", // 凭保开证,批文后补 .addbcb.pwtyp6
pwtyp7:"", // 不需要 .addbcb.pwtyp7
pwtyp8:"", // 其他 .addbcb.pwtyp8
pwtyp9:"", // 批文类型填写文本框 .addbcb.pwtyp9
bcbtyp1:"", // 不在名录 .addbcb.bcbtyp1
bcbtyp2:"", // 异地付汇 .addbcb.bcbtyp2
bcbtyp3:"", // 转口�'�易 .addbcb.bcbtyp3
bcbtyp4:"", // 90天以上信用证 .addbcb.bcbtyp4
bcbtyp5:"", // 不需要 .addbcb.bcbtyp5
bcbtyp6:"", // 其它 .addbcb.bcbtyp6
bcbtyp7:"", // 备查表类型填写文本框 .addbcb.bcbtyp7
label1:"", // 国际部意见 .addbcb.label1
label2:"", // 国际部意见 .addbcb.label2
label3:"", // 国际部意见 .addbcb.label3
label6:"", // 国际部意见 .addbcb.label6
label4:"", // 国际部意见 .addbcb.label4
label5:"", // 国际部意见 .addbcb.label5
pwdat:"", // 批文效期 .addbcb.pwdat
bcbdat:"", // 备案表效期 .addbcb.bcbdat
gitamecho:"", // GITAMECHO .addbcb.gitamecho
gitamermk:"", // GITAMERMK .addbcb.gitamermk
bgftktyp:"", // 不规范条款类型 .addbcb.bgftktyp
modtyp:"", // 修改信用证类型 .addbcb.modtyp
litameadv:"", // 特殊规定 .addbcb.litameadv
ameadvrmk:"", // 特殊规定条件 .addbcb.ameadvrmk
bccls1:"", // 效期是否敞口 .addbcb.bccls1
bccls3:"", // 保函期限超过三年,已经总行贸易金融部批准办理 .addbcb.bccls3
preexpdat:"", // 预计效期为 .addbcb.preexpdat
expdat:"", // 效期为 .addbcb.expdat
bccls2:"", // 合同尚未签订或生效 .addbcb.bccls2
bccls4:"", // 以下两个选项二选一 .addbcb.bccls4
},
gitp: {
swiftflg: '', // 是否SWIFT格式 .gitp.swiftflg
......
import Api from '~/service/Api';
import moment from 'moment';
export default {
methods: {
async handleReset() {
this.model.chkinc = '';
this.model.chkdzt = '';
this.model.chkpen = '';
this.model.chkcor = '';
this.model.chkaut = '';
this.model.chkdel = '';
this.model.chktco = '';
this.model.chkcan = '';
this.model.selobj = '';
this.model.seltxt = '';
this.model.usfmod.flt = '';
this.model.inidatfro = '';
this.model.inidattil = '';
this.model.dflg = '1';
this.model.chkypt = '';
this.model.yptinf = '';
},
//点击查询按钮时,判断“来源”是否有数据
async handleSearch() {
console.log('this', this.sourceList);
if (!this.sourceList.length) {
this.$notify.error({ title: '错误', message: '来源不能为空!' });
return;
}
const params = {
...this.model,
sourceList: this.sourceList,
userId: window.sessionStorage.userId || 'ZL',
inidatfro: moment(this.model.inidatfro).format('YYYY-MM-DD'),
inidattil: moment(this.model.inidattil).format('YYYY-MM-DD'),
};
const res = await Api.post('/service/sptsel/list', params);
if (res.respCode === SUCCESS) {
this.stmData.data = res.data.sptselVos;
this.$store.commit('setTaskList', {
key: 'sptsel',
val: this.stmData.data.length,
});
}
},
async onDetails(idx, row) {
let id = row.id
this.$router.push({ path: 'business-new/sptpopup', query: {id}});
},
async continueEdit(row, scope) {
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
//if (rtnmsg.respCode == SUCCESS) {
//var cacheFileName = rtnmsg.data.cacheFileName;
// this.model.selsptinr = row['INR'];
// const selIds = [];
// selIds.push(row['IDX']);
// let params = { selDst: "sptstm", selIds: selIds };
// let rtnmsg = await this.executeRule("tak", params)
// if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
let trnName = row.frm.toLowerCase();
// let viewurl = "/business/ditopn?selsptinr=" + row[0];
//let viewurl = "/business/"+trnName+"?selsptinr=" + row['INR'];
this.$router.push({ name: trnName.charAt(0).toUpperCase() + trnName.substring(1), params: { prePageId: this.model.pageId } });
// }
// else {
// this.$notify.error({ title: '错误', message: '服务请求失败!' });
// }
}
},
};
import Api from '~/service/Api';
export default class Sptsel {
constructor() {
this.data = {
selobj: '', // Reference .selobj
inidatfro: '', // Date of entry of Transaction .inidatfro
inidattil: new Date(), // Date of entry of Transaction until .inidattil
seltxt: '', // Selection Name .seltxt
dflg: '', // 国内国际标志 .dflg
sourceList: [],
usfmod:'',
}
}
}
\ No newline at end of file
import Api from '~/service/Api';
export default class Sptsel {
constructor() {
this.data = {
spt: {
frm: '',
sta: '',
objnam: '',
inftxt: '',
ownusr: '',
ownusg: '',
tardattim: '',
infdsp: '',
inr: '',
txt: '',
dattim: '',
usr: '',
hldflg: '',
cretrn: ''
}
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- <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">
<el-row>
<c-col :span="24" style="">
<c-col :span="8">
<el-form-item label="业务编号" prop="selobj" style="width: 100%">
<c-input style="width: 100%" v-model="model.selobj" maxlength="32" placeholder="请输入业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="创建时间" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.inidatfro" style="width: 100%" placeholder="请选择创建时间">
</c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.inidattil" style="width: 100%" placeholder="请选择创建时间">
</c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="来源" style="width: 100%" prop="sourceList">
<el-select clearable v-model="sourceList" style="width: 100%" placeholder="请选择来源" multiple collapse-tags>
<el-option v-for="item in sourceData" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
<el-row>
<c-col :span="24" style="">
<c-col :span="8">
<el-form-item label="选择用户" prop="usfmod" style="width: 100%">
<!-- <c-col :span="20"> -->
<c-select v-model="model.usfmod" style="width: 100%" placeholder="请选择选择用户">
<el-option label="所有用户" value="ALL"></el-option>
<el-option label="所选用户" value="SELU"></el-option>
<el-option label="所选分支" value="SELB"></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务描述" prop="seltxt" style="width: 100%">
<c-input v-model="model.seltxt" maxlength="32" placeholder="请输入业务描述"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务标志" prop="dflg" style="width: 100%">
<c-select v-model="model.dflg" style="width: 100%" placeholder="请选择国内国际标志">
<el-option label="所有业务" value="1"></el-option>
<el-option label="国内业务" value="2"></el-option>
<el-option label="国际业务" value="3"></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" style="">
<c-col :span="8" v-if="model.usfmod.flt === '<SELU>'">
<el-form-item label="经办柜员" style="width: 100%">
<c-input></c-input>
</el-form-item>
</c-col>
<c-col :span="8" v-else-if="model.usfmod.flt === '<SELB>'">
<el-form-item label="归属机构" style="width: 100%">
<c-input></c-input>
</el-form-item>
</c-col>
<c-col :span="8" v-else>
<el-form-item label="" style="width: 100%; height: 36.8px; margin: 0 0 0 0">
</el-form-item>
</c-col>
<c-col :span="16" style="text-align: right">
<el-button size="small" @click="handleReset">重置</el-button>
<el-button type="primary" icon="el-icon-search" size="small" @click="handleSearch">查询</el-button>
</c-col>
</c-col>
</el-row>
</el-form>
<c-col :span="24" style="">
<div style="border-bottom: 10px solid rgb(232, 232, 232)"></div>
</c-col>
<c-col :span="24">
<el-table
: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"
></el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="250px" >
<template slot="header">
<c-col :span="11" style="text-align:center"><span>操作</span></c-col>
</template>
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="onDetails(scope.$index, scope.row)">详情
</c-button>
<c-button style="margin-left: 5px" size="small" type="primary" @click="continueEdit(scope.row)">处理
</c-button>
<!-- 更改按钮暂时隐藏 -->
<!-- <c-button style="margin-left: 5px" size="small" @click="onChange(scope.row)" :disabled="scope.row.状态!='INC'">更改
</c-button> -->
<el-popover placement="top-start" width="50" trigger="click">
<ul class="table-button-item-list">
<li>
<c-button size="small" style="margin-left: 0">指派</c-button>
</li>
<li>
<c-button size="small" style="margin-left: 0">删除</c-button>
</li>
</ul>
<a slot="reference" href="javascript:void(0)" style="margin-left: 5px"><i class="el-icon-more"></i></a>
</el-popover>
</template>
</el-table-column>
</el-table>
</c-col>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns"></div>
</el-dialog>
</div>
</template>
<script>
import Api from '~/service/Api';
import event from '../event'
export default {
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {
// saveColumns: [],
sourceList: [],
sourceData: [],
initdialog: false,
// detailDialog: false,
// setColumnFlg: false,
// saveColumnFlg: true,
transactionStatus: {
busiNo: '',
modTimes: 0,
postCount: 0,
accCount: 0,
earnCount: 0,
earnAmt: 0,
},
stmData: {
columns: [
{
label: '交易代码',
prop: 'frm'
},
{
label: '交易名称',
prop: 'txt'
},
{
label: '业务摘要',
prop: 'objnam'
},
{
label: '创建人',
prop: 'usr'
},
{
label: '创建时间',
prop: 'dattim'
},
],
data: [],
},
};
},
async mounted() {
this.sourceData = [
{ label: '传入', value: 'chkinc' },
{ label: '电子贸易', value: 'chkdzt' },
// { label: 'Break', value: 'chkpen' },
{ label: '修改', value: 'chkcor' },
{ label: '自动', value: 'chkaut' },
{ label: '拒绝', value: 'chkdel' },
{ label: '网银', value: 'chktco' },
{ label: '归档', value: 'chkcan' },
{ label: '云平台', value: 'chkypt' },
];
// await this.handleSearch()
// this.$store.commit('setTaskList', {key: 'sptsel', val: this.stmData.data.length})
},
methods: {
// async choose(idx,row){
// var params = {selDst:"sptstm",selrow:[idx+1]}
// let rtnmsg = await this.executeRule("sptstm" , params) //SPTSTM
// if(rtnmsg.respCode == SUCCESS)
// {
// this.stmData.data = rtnmsg.data.sptstm.rows;
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// },
getInidatfro() {
let datetime = new Date();
datetime = datetime.setDate(datetime.getDate() - 10);
this.model.inidatfro = new Date(datetime);
}
},
created: function () {
this.getInidatfro();
},
};
</script>
<style scoped>
.table-button-item-list {
padding: 0;
margin: 0;
}
.table-button-item-list li {
list-style: none;
padding: 5px 0;
text-align: center;
color: #606266;
cursor: pointer;
}
c-istream-table label {
text-align: right;
color: yellow;
}
</style>
<template>
<div class="eContainer">
<c-page title="">
<c-content :height="120">
<div class="eibs-tab">
<el-form
:model="model"
ref="modelForm"
tokenKey="modelForm"
:validate-on-rule-change="false"
label-width="150px"
size="small"
>
<c-col :span="21" style="height:24px">
<el-form-item label="基本信息" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="2" style="text-align:right">
<c-button type="primary" size="small" @click="exit">返回</c-button>
</c-col>
<c-col :span="24" style="height: 10px">
<el-divider></el-divider>
</c-col>
<c-col :span="11">
<el-form-item label="类型" prop="spt.sta" style="width: 100%">
<c-select
v-model="model.spt.sta"
style="width: 100%"
placeholder="请选择类型"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="交易状态" prop="spt.hldflg" style="width: 100%">
<c-select
v-model="model.spt.hldflg"
style="width: 100%"
placeholder="请选择交易状态"
:code="codes.hldflg"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="业务编号" prop="spt.objnam" style="width: 100%">
<c-input
v-model="model.spt.objnam"
maxlength="40"
style="width: 100%"
placeholder="请输入业务编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="SPT主键" prop="spt.inr" style="width: 100%">
<c-input
v-model="model.spt.inr"
maxlength="8"
style="width: 100%"
placeholder=""
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="交易关键字名称" prop="spt.txt" style="width: 100%">
<c-input
v-model="model.spt.txt"
maxlength="40"
style="width: 100%"
placeholder="请输入交易关键字名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="13">
<el-form-item label="交易" prop="spt.frm">
<c-input
v-model="model.spt.frm"
maxlength="6"
style="width: 95%"
placeholder="请输入交易"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="spt.frm" label-width="0">
<c-select
v-model="model.spt.frm"
maxlength="16"
placeholder="请输入交易"
:code="codes.frm"
style="width:100%"
disabled
></c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11">
<el-form-item label="客户经理代码" prop="spt.ownusr">
<c-input
v-model="model.spt.ownusr"
maxlength="8"
placeholder="请输入客户经理代码 "
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="责任小组" prop="spt.ownusg">
<c-select
v-model="model.spt.ownusg"
style="width: 100%"
placeholder="请选择责任小组"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<c-col :span="19">
<el-form-item label="信息文本" prop="spt.inftxt">
<c-input
type="textarea"
v-model="model.spt.inftxt"
maxlength="65"
style="width: 100%"
show-word-limit
placeholder="请输入信息文本"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="" prop="spt.infdsp" label-width="5px">
<c-select
v-model="model.spt.infdsp"
style="width: 100%; padding-left: 0px"
placeholder="请选择信息文本"
:code="codes.infdsp"
disabled
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="10">
<el-form-item label="经办柜员" prop="spt.usr">
<c-input
v-model="model.spt.usr"
maxlength="8"
placeholder="请输入经办人"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="在" prop="spt.dattim" label-width="50px">
<c-input
v-model="model.spt.dattim"
placeholder="请输入创建时间"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="创建交易" prop="spt.cretrn" label-width="70px">
<c-input
v-model="model.spt.cretrn"
maxlength="6"
placeholder="请输入创建交易码"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="完成目标" prop="spt.tardattim">
<c-input
v-model="model.spt.tardattim"
placeholder="请输入完成目标"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" style="height:24px;margin-top:8px">
<el-form-item label="报文信息" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="">
<!-- <el-form-item label-width="500px"> -->
<c-table :paginationShow="false" :border="true">
<el-table-column
label="编号"
prop="groseq"
width="auto"
></el-table-column>
<el-table-column
label="消息类型"
prop="cortyp"
width="auto"
></el-table-column>
<el-table-column
label="消息引用"
prop="nam"
width="150px"
></el-table-column>
<el-table-column
label="用户"
prop="creusr"
width="auto"
></el-table-column>
<el-table-column
label="长度"
prop="msglen"
width="auto"
></el-table-column>
<el-table-column
label="文件名"
prop="docfil"
width="auto"
></el-table-column>
<el-table-column
label="文件扩展名"
prop="docfxt"
width="100"
></el-table-column>
<el-table-column
label="DB-INR"
prop="inr"
width="auto"
></el-table-column>
<el-table-column
label="创建交易"
prop="crefrm"
width="auto"
></el-table-column>
<el-table-column
label="创建时间"
prop="credattim"
width="120px"
></el-table-column>
<el-table-column
label="PARTFLG"
prop=""
width="partflg"
></el-table-column>
<el-table-column
label="报文类型"
prop="msgtyp"
width="auto"
></el-table-column>
<el-table-column
label="复核币种"
prop="relcur"
width="auto"
></el-table-column>
<el-table-column
label="复核金额"
prop="relamt"
width="auto"
></el-table-column>
<el-table-column
label="SYSNO"
prop="sysno"
width="auto"
></el-table-column>
<el-table-column
label="状态"
prop="staflg"
width="auto"
></el-table-column>
<el-table-column
label="F20"
prop="f20"
width="auto"
></el-table-column>
<el-table-column
label="STP"
prop="spt"
width="auto"
></el-table-column>
</c-table>
<!-- </el-form-item> -->
</c-col>
<c-col :span="24" style="height:24px;margin-top:20px">
<el-form-item label="工作流信息" class="messageLabel">
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="">
<c-istream-table :list="stmData2.data" :columns="stmData2.columns" :paginationShow="false" style="width:100%">
</c-istream-table>
</c-col>
</el-form>
</div>
</c-content>
</c-page>
</div>
</template>
<script>
import Sptsel from "~/model/Sptsel";
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptsel/Event";
export default {
// inject: ['root'],
// props:["model","codes"],
mixins: [commonProcess],
data() {
return {
model: new Sptsel().data,
codes:{ hldflg: CodeTable.hldflg ,...CodeTable},
trnName:"sptsel",
stmData2:{
columns:[
// "7 1 \"Start\" 0",
{index:1,position:1,width:140,pattern:'time',label:'开始时间'},
// "2 2 \"类型\" 0",
{index:2,position:2,width:'auto',pattern:'code',label:'类型',code:CodeTable.sptDetSta},
"3 3 \"用户\" auto",
"4 4 \"交易代码\" auto",
// "7 5 \"End\" 0",
{index:5,position:5,width:140,pattern:'time',label:'结束时间'},
"8 6 \"文本\" auto",
],
data:[],
}
};
},
mounted() {
this.loadData();
},
methods: {
...Event,
loadData() {
this.model = JSON.parse(sessionStorage.getItem("Sptpopup"));
let rtnmsg1 = this.executeRule("inc")
let rtnmsg2 = this.executeRule("sptp.butord")
this.executeRule("sptp.ordp0.butore").then((res) => {
this.stmData2.data=res.data.vals.rows;
});
},
exit() {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.history.push("/taskList");
},
},
created: function () {},
};
</script>
<style scoped>
.el-col >>> .el-divider--horizontal {
margin-top: 5px;
}
.messageLabel >>> .el-form-item__label{
text-align: left;
font-weight:bold;
font-size: 15px;
color:#1561E0;
width: auto!important;
}
</style>
<template>
<div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" tokenKey="modelForm" label-width="120px" size="small"
:validate-on-rule-change="false">
<!-- <c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane :value="tabVal" label="待办任务查询" name="menu"> -->
<c-content>
<m-menu :model="model" :codes="codes" ref="菜单" />
</c-content>
<!-- </el-tab-pane>
</c-tabs> -->
</el-form>
</div>
</template>
<script>
import CodeTable from '~/config/CodeTable'
import event from '../event'
import Menu from './Menu';
import Sptsel from '../model'
export default {
name: 'Sptsel',
components: {
'm-menu': Menu,
},
provide() {
return {
root: this,
};
},
mixins: [event], // 里面包含了Default、Check等的公共处理
computed: {},
data() {
return {
tabVal: 'menu',
trnName: 'sptsel',
model: new Sptsel().data,
rules: null,
codes: {
flt: CodeTable.flt,
dflg: CodeTable.dflg,
sptrelstatus: CodeTable.sptrelstatus,
},
};
},
methods: {},
};
</script>
<style>
</style>
......@@ -84,7 +84,7 @@
</template>
<script>
import Sptsel from "~/views/Business/Sptsel";
import Sptsel from "~/business/sptsel/views";
import Sptbrk from "~/views/Business/Sptsel/Sptbrk";
import Trnrel from "~/views/Business/Trnrel";
import Trnfnd from "~/views/Business/Trnrel/Trnfnd";
......
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