Commit 4ef6f954 by 李少勇

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents 8dcf9433 396a604d
...@@ -5,11 +5,45 @@ export default class Gitopn { ...@@ -5,11 +5,45 @@ export default class Gitopn {
constructor() { constructor() {
this.data = { this.data = {
addbcb: { addbcb: {
label1: '', addbcbl1blk:"",
label2: '', name:"", // �'�物简称及税号 .addbcb.name
label3: '', godnam:"", // �'�物简称 .addbcb.godnam
label4: '', pwtyp1:"", // 进口许可证 .addbcb.pwtyp1
label5: '', 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: { gitp: {
swiftflg: '', // 是否SWIFT格式 .gitp.swiftflg 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-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>
...@@ -46,7 +46,7 @@ export default class Gitopn{ ...@@ -46,7 +46,7 @@ export default class Gitopn{
gitamecho:"", // GITAMECHO .addbcb.gitamecho gitamecho:"", // GITAMECHO .addbcb.gitamecho
gitamermk:"", // GITAMERMK .addbcb.gitamermk gitamermk:"", // GITAMERMK .addbcb.gitamermk
bgftktyp:"", // 不规范条款类型 .addbcb.bgftktyp bgftktyp:"", // 不规范条款类型 .addbcb.bgftktyp
modtyp:"", // 修改信用证类型 .addbcb.modtyp modtyp:"", // 修改信用证类型 .addbcb.modtyp
litameadv:"", // 特殊规定 .addbcb.litameadv litameadv:"", // 特殊规定 .addbcb.litameadv
ameadvrmk:"", // 特殊规定条件 .addbcb.ameadvrmk ameadvrmk:"", // 特殊规定条件 .addbcb.ameadvrmk
bccls1:"", // 效期是否敞口 .addbcb.bccls1 bccls1:"", // 效期是否敞口 .addbcb.bccls1
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
</template> </template>
<script> <script>
import Sptsel from "~/views/Business/Sptsel"; import Sptsel from "~/business/sptsel/views";
import Sptbrk from "~/views/Business/Sptsel/Sptbrk"; import Sptbrk from "~/views/Business/Sptsel/Sptbrk";
//import Trnrel from "~/views/Business/Trnrel"; //import Trnrel from "~/views/Business/Trnrel";
import Trnrel from "~/business/trnrel/views"; import Trnrel from "~/business/trnrel/views";
......
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