Commit b1379fdf by WH

feat:inftrd处理接口

parent 4d917732
......@@ -20,7 +20,8 @@
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.infcon.opndatto" placeholder="请选择截至日期" style="width: 100%"
<c-date-picker type="date" v-model="model.infcon.opndatto" placeholder="请选择截至日期"
style="width: 100%"
value-format="yyyy-MM-dd"></c-date-picker>
</c-col>
</el-form-item>
......@@ -56,7 +57,8 @@
</c-col>
<c-col :span="8">
<el-form-item label="当事人角色" prop="infcon.searol" style="width: 100%">
<c-select v-model="model.infcon.searol" style="width: 100%" placeholder="请选择当事人角色" :code="codes.payrol">
<c-select v-model="model.infcon.searol" style="width: 100%" placeholder="请选择当事人角色"
:code="codes.payrol">
</c-select>
</el-form-item>
</c-col>
......@@ -104,7 +106,8 @@
</c-col>
<c-col :span="8">
<el-form-item label="信用证类型" prop="sealcrtyp" style="width: 100%">
<c-select v-model="model.sealcrtyp" :code="codes.lcrtyp" style="width: 100%" placeholder="请选择信用证类型">
<c-select v-model="model.sealcrtyp" :code="codes.lcrtyp" style="width: 100%"
placeholder="请选择信用证类型">
</c-select>
</el-form-item>
</c-col>
......@@ -177,13 +180,14 @@
<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"
size="small"
@click="display(scope.row['inr'])"
>详情</c-button
>详情
</c-button
>
</template>
</el-table-column>
......@@ -234,7 +238,8 @@
type="primary"
:disabled="item.value === 'N'"
@click="handleClick(item)"
>{{ item.label }}</el-button>
>{{ item.label }}
</el-button>
</div>
</div>
</div>
......@@ -267,12 +272,12 @@ export default {
return {
ownref: "",
isGuarantee: "",
litdckdialog:false,
dckData:[],
litdckdialog: false,
dckData: [],
dckColumns: [
{ label: 'inr', prop: 'inr', width: '120' },
{ label: '单据申请号', prop: 'ownref', width: '120' },
{ label:'Nam',prop:'nam',width:'120'}
{label: 'inr', prop: 'inr', width: '120'},
{label: '单据申请号', prop: 'ownref', width: '120'},
{label: 'Nam', prop: 'nam', width: '120'}
],
// 表格相关
stmData: {
......@@ -387,51 +392,51 @@ export default {
route: '/business-new/litcrq'
},
{
label:'保函收费',
route:'/business-new/litfee'
label: '保函收费',
route: '/business-new/litfee'
},
{
label:'绑定电子凭证',
route:'/business-new/litatt'
label: '绑定电子凭证',
route: '/business-new/litatt'
},
{
label:'保证金收取',
route:'/business-new/lctopn'
label: '保证金收取',
route: '/business-new/lctopn'
},
{
label:'到单',
route:'/business-new/litdck'
label: '到单',
route: '/business-new/litdck'
},
{
label:'通知到单',
route:'/business-new/litdav'
label: '通知到单',
route: '/business-new/litdav'
},
{
label:'减额修改接收',
route:'/business-new/litdla'
label: '减额修改接收',
route: '/business-new/litdla'
},
{
label:'通知到单',
route:'/business-new/litdav'
label: '通知到单',
route: '/business-new/litdav'
},
{
label:'提货担保',
route:'/business-new/litrog'
label: '提货担保',
route: '/business-new/litrog'
},
],
currentHandleRow: {}
};
},
methods: {
methods: {},
created: function () {
},
created: function () { },
};
</script>
<style scope>
.m-table-search {
padding:
20px 0px 10px 0px;
padding: 20px 0px 10px 0px;
}
.pagination-box {
width: 100%;
height: 30px;
......@@ -442,6 +447,7 @@ export default {
background: #fff;
margin-top: 5px;
}
.el-dialog__body {
padding: 10px 5px 50px;
}
......@@ -459,6 +465,7 @@ export default {
justify-content: flex-start;
flex-wrap: wrap;
}
.btn-item {
margin-bottom: 10px;
margin-right: 10px;
......
......@@ -412,6 +412,27 @@
</c-col>
</div>
<!-- 点击处理弹框 -->
<el-dialog
: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">
<el-button
type="primary"
:disabled="item.value === 'N'"
@click="handleClick(item)"
>{{ item.label }}
</el-button>
</div>
</div>
</div>
</el-dialog>
<m-busbtn
ref="childs"
:ownref="ownref"
......@@ -515,24 +536,50 @@ export default {
},
trnData: {
columns: [
'1 1 "编号" 200',
'2 2 "交易名称" 130',
// '3 3 "日期" 200',
{index: 3, position: 3, width: 110, pattern: "date", label: "日期"},
// '4 4 "状态" 50',
{
index: 4,
position: 4,
width: 100,
pattern: "code",
label: "状态",
code: this.codes.relstaEN,
},
'5 5 "币种" 80',
'6 6 "金额" 100',
label: '交易id',
prop: 'inr'
},
{
label: '信用证编号',
prop: 'seaownref'
},
{
label: '交易名称',
prop: 'ininam'
},
{
label: '条目',
prop: 'inidattim'
},
{
label: '状态',
prop: 'relflg'
},
{
label: '币种',
prop: 'reloricur'
},
{
label: '相关金额',
prop: 'reloriamt'
},
{
label: '标识',
prop: 'relres'
},
],
data: [],
},
// 处理
handlerDataList: [],
btnRouteMap: [
{
label: '进口融资还款',
route: '/business-new/trtset'
}
],
currentHandleRow: {}
};
},
......
......@@ -276,11 +276,11 @@ export default {
if (menuItem.pntmiu === undefined || menuItem.pntmiu === "") {
const children = [];
// 此处为了兼容新的保函模块
if (['4', '13','3','6','5'].includes(menuItem.inifrm)) {
// if (['4', '13','3','6','5','17'].includes(menuItem.inifrm)) {
menuItem.path = "/business-new";
} else {
menuItem.path = "/business";
}
// } else {
// menuItem.path = "/business";
// }
this.generateMenuTree(children, menuItem);
const child = {
name: menuItem.ininam,
......
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