Commit 01ac92b1 by 吴佳

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

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