Commit 5c171af5 by hulei

fix bugs

parent 5853b278
......@@ -6,31 +6,7 @@ export default class Bdtset{
constructor () {
this.data = {
liaall: new Pub().data.Liaall,
setmod:{
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
setamt:"", // 扣费后付款金额 .setmod.setamt
redamt:"", // 扣减金额 .setmod.redamt
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
},
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
},
setmod: new Pub().data.Setmod,
trtcre:{
crefinflg:"", // Create Financing .trtcre.crefinflg
trdgrp:{
......
......@@ -580,13 +580,13 @@ export default {
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
......
......@@ -289,30 +289,7 @@ export default class Ditdck{
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll:[]
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog:{
setfol:[]
},
setfeg:{
setfel:[]
},
glemod:{
gleshwstm: {}
}
},
setmod: new Pub().data.Setmod,
infcon:{
objinr:"",
chksubcon:"",
......
......@@ -110,6 +110,9 @@ export default {
sessionStorage.setItem('InftrnpsDetail', JSON.stringify(this.model));
// this.$router.push({ path: "business/inftrnpsDetail", query: { idx: idx}});
this.$router.push({ path: viewurl, query: {} });
}else{
const h = this.$createElement
this.$notify.error({ title: '请求失败', message: h('p',{style: 'word-break:break-all;'}, res.respMsg) })
}
});
},
......@@ -125,6 +128,9 @@ export default {
sessionStorage.setItem('InftrnpsDetail', JSON.stringify(this.model));
// this.$router.push({ path: "business/inftrnpsDetail", query: { idx: idx}});
this.$router.push({ path: viewurl, query: {} });
}else{
const h = this.$createElement
this.$notify.error({ title: '请求失败', message: h('p',{style: 'word-break:break-all;'}, res.respMsg) })
}
});
},
......
......@@ -508,7 +508,8 @@ export default {
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' })
const h = this.$createElement
this.$notify.error({ title: '失败', message: h('p',{style: 'word-break:break-all;'}, rtnmsg.respMsg) })
}
}
}
......
......@@ -508,7 +508,8 @@ export default {
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' })
const h = this.$createElement
this.$notify.error({ title: '失败', message: h('p',{style: 'word-break:break-all;'}, rtnmsg.respMsg) })
}
}
}
......
......@@ -524,7 +524,7 @@ export default {
})
},
// 第个表格
// 第个表格
detail2(index, row) {
const that = this;
const rule = "setmod.setfeg.setfel("+(index+1)+").det";
......
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