Commit 04b92297 by zhoujunpeng

头寸调拨交易入口修改

parent 995e2d2d
......@@ -24,7 +24,7 @@ export default {
}
this.load = true;
let rtnmsg = await Api.post("/funds/ftdsel/query", {
let rtnmsg = await Api.post("/funds/ftdsel/query"+this.activeTab, {
...this.model.infcon,
dir: ">",
pageNum: this.pagination.pageNum,
......@@ -35,7 +35,12 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
this.load = false;
this.stmData.data = [];
this.stmData.data = rtnmsg.data.list;
if(this.activeTab === "tcdb"){
this.stmDatatcdb.data = rtnmsg.data.list;
}else if(this.activeTab === "zjcj"){
this.stmData.data = rtnmsg.data.list;
}
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
......@@ -99,11 +104,6 @@ export default {
}
},
// closeDisplayDialog(){
// if(this.oldRefId){
// this.$refs[this.oldRefId].showPopper = false;
// }
// },
// 处理
async handler(row) {
this.handleModel = row;
......@@ -156,33 +156,6 @@ export default {
this.initdialog = false;
},
// /**
// * 打开快照页面头寸调拨
// */
// display(row) {
// if(this.oldRefId){
// this.$refs[this.oldRefId].showPopper = false;
// }
// // 历史快照
// if (row.inr.length == 8) {
// this.routerPush({
// path: '/business/HistoryRecord',
// query: {
// businessInr: row.inr,
// businessType: 'TRN',
// type:'view'
// }
// })
// } else if (row.inr.length == 4) {//TODO:修改为16 本地测试:4
// this.routerPush({
// path: `/display/fttpcm`,//${row.inifrm.toLowerCase()}
// query: {
// businessInr: row.inr,
// businessType: 'TRN'
// }
// });
// }
// },
/**
* 打开快照页面资金拆借
*/
......@@ -261,6 +234,27 @@ export default {
path: '/business/fttfcm',
});
},
//获取码表数据
getCodeTable(tbl,uil,value){
if(uil){
uil='EN'
}
let localCodes = localStorage.getItem('localCodes');
if (localCodes) {
let codeobj = JSON.parse(localCodes)[tbl + '_' + uil + '_COD'];
if(codeobj){
let codeobj = codeobj.filter(m => m.value === value);
return codeobj ? codeobj.label : value;
}else{
return value;
}
}else{
return value;
}
},
},
};
......@@ -8,7 +8,7 @@ export default class infftd {
nam: "", // Name客户名称 .infcon.nam
opndatfrom: new Date((new Date).getTime() - (7 * 24 * 60 * 60 * 1000)), // 有效日期自 .infcon.opndatfrom
opndatto: new Date(), // Open Date to .infcon.opndatto
opndat: "",
seacur: "", // 币种 .infcon.seacur
seaamtfr: "", // 金额自 .infcon.seaamtfr
seaamtto: "", // Amount to .infcon.seaamtto
......
......@@ -202,8 +202,8 @@
<el-tab-pane label="头寸调拨查询" name="tcdb">
<el-table
:data="stmData.data"
:columns="stmData.columns"
:data="stmDatatcdb.data"
:columns="stmDatatcdb.columns"
v-loading="load"
style="width: 100%"
size="small"
......@@ -212,7 +212,7 @@
:highlight-current-row="true"
>
<el-table-column
v-for="(item, key) in stmData.columns"
v-for="(item, key) in stmDatatcdb.columns"
:key="key"
:label="item.label"
:prop="item.prop"
......@@ -368,6 +368,46 @@ export default {
],
data:[],
},
stmDatatcdb:{
columns:[
{
label: "头寸调拨编号",
prop: "ownref",
width: "180px",
},
{
label: "业务名称",
prop: "nam",
width: "180px",
},
{
label: "开立日期",
prop: "opndat",
width: "120px",
},
{
label: "起息日",
prop: "valdat",
width: "120px",
},
{
label: "资金部负责人",
prop: "usr",
width: "120px",
},
{
label: "清算中心负责人",
prop: "usr",
width: "140px",
},
{
label: "定存拆借类型",
prop: "fttyp",
width: "120px",
},
],
data:[],
},
stmData: {
columns: [
{
......
......@@ -220,6 +220,9 @@ export default {
case 'FXD':
trnUrl = '/funds/fxtsel'
break;
case 'FTD':
trnUrl = '/funds/ftdsel'
break;
default:
break;
}
......
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