Commit 01ac92b1 by 吴佳

2022.02.08 wujia 汇款查询 界面按钮调整

parent ef2e6aec
......@@ -32,7 +32,6 @@ export default {
async onNarBtnClick(code,i){
this.model.cfgfil.subtrn1= code
let rtnmsg = await this.executeRule("cfgfil.hotsub1")
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){
this.navcode = []
this.$emit("onChoose",code.toLowerCase());
......@@ -71,8 +70,6 @@ export default {
this.navcode = []
//请求按钮数据
this.model.cpdgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg = await this.executeRule("cpdgrp.rec.ownref");//didgrp_rec_ownref
if(rtnmsg.respCode == SUCCESS){
//重置数组
......@@ -84,39 +81,39 @@ export default {
const length = this.model.cfgfil.btnstm.rows.length
let btnStr = this.model.cfgfil.btnstm.rows
// let j = 0;
// let m = 0;
let m = 0;
// const buttonIndex = ['信用证修改','减额修改接受','到单','修改通知行']
for(let i=0; i < length; i++){
//获取数组中每行的数据
// if(!( btnStr[i].indexOf("保证金") >= 0) && !(btnStr[i].indexOf("开立信用证") >= 0)){
// let arr = btnStr[i].split("\t");
// let newList = {
// code:arr[0],
// label:arr[1],
// isDis:arr[2],
// title:arr[3]
// }
// m++;
if(!( btnStr[i].indexOf("payment") >= 0) && !(btnStr[i].indexOf("境内外币") >= 0)){
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
m++;
// j = buttonIndex.indexOf(arr[1].replace(/(^\s*)|(\s*$)/g, ""));
// if(j<0){
// j = m;
// }
// //添加到navcode数组中
// this.navcode.splice(j,0,newList)
// }
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
this.navcode.splice(m,0,newList)
}
this.navcode.splice(i,0,newList)
// let arr = btnStr[i].split("\t");
// let newList = {
// code:arr[0],
// label:arr[1],
// isDis:arr[2],
// title:arr[3]
// }
// this.navcode.splice(i,0,newList)
}
this.navcode.push({code:"",label:"退汇",isDis:"N",title:""})
//屏蔽cptsel sptcpt
this.navcode.splice(5,2)
this.navcode.splice(1,2)
}else{
......
......@@ -303,7 +303,19 @@
<!-- </c-infsearch-group> -->
<c-col style="margin-top: 10px">
<c-button size="small" type="primary" style="margin-left: 0"
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 0"
@click="toCptopn">swift汇入</c-button
>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 0"
@click="toCptadv">swift汇出</c-button
>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 0"
>境内外币汇入</c-button
>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 0"
>境内外币汇出</c-button
>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 0"
>导Excel</c-button
>
<!-- <c-button size="small" type="primary" style="margin-left: 0"
......@@ -503,7 +515,6 @@ export default {
async getButtons(ownref){
this.initdialog = true
this.ownref = ownref
console.log("ownref:" +ownref);
setTimeout(()=>{
this.$refs.childs.$emit("childmethods")
},10)
......@@ -514,8 +525,6 @@ export default {
this.initdialog = false
} ,
async getTrnInfo(idx, row) {
console.log(row)
this.model.infcon.objinr = row["INR"];
this.model.cpdgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X";
......@@ -531,6 +540,12 @@ export default {
this.$refs[refId].doClose();
},
handleReset() {},
toCptopn(){
this.$router.history.push("/business/cptopn")
},
toCptadv(){
this.$router.history.push("/business/cptadv")
}
},
created: function () {},
};
......
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