Commit d811d516 by fukai

合并冲突

parents 878ed045 89688815
......@@ -13,6 +13,7 @@ export default {
data(){
return{
}
},
methods:{
......@@ -43,7 +44,7 @@ export default {
}
</script>
<style>
.bus-button{
text-align: center;
.bus-button {
text-align: center;
}
</style>
\ No newline at end of file
......@@ -75,7 +75,6 @@ export default {
pageSize: 5
};
},
mounted: {},
methods: {
sizeChange(size) {
this.pageSize = size;
......
......@@ -3,6 +3,7 @@
* Ditopn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"didgrp.rec.resflg" :defaultDidgrpRecResflg,
......
import Api from "~/service/Api"
import Utils from "~/utils/index"
export default {
onDitpButgetref(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/ditp_butgetref",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/ditp_butgetref",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -20,8 +21,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/aplp_det",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/aplp_det",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -36,8 +37,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/benp_det",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/benp_det",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -52,8 +53,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/revclause_buttxmsel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/revclause_buttxmsel",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -68,8 +69,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/lcrgod_buttxmsel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/lcrgod_buttxmsel",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -84,8 +85,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/lcrdoc_buttxmsel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/lcrdoc_buttxmsel",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -100,8 +101,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/adlcnd_buttxmsel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/adlcnd_buttxmsel",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -116,8 +117,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/insbnk_buttxmsel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/insbnk_buttxmsel",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -132,8 +133,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/rmbp_det",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/rmbp_det",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -148,8 +149,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/defdet_buttxmsel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/defdet_buttxmsel",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -164,8 +165,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/preper_buttxmsel",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/preper_buttxmsel",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -180,8 +181,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/setmod_det",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/setmod_det",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -196,8 +197,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/liaall_butmisamt",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/liaall_butmisamt",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -212,8 +213,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/liaall_butmissig",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/liaall_butmissig",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -228,8 +229,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/wrkp_det",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/wrkp_det",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -244,8 +245,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/othp_det",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/othp_det",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -260,8 +261,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/limpts_get1",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/limpts_get1",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -276,8 +277,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/limpts_get2",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/limpts_get2",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -292,8 +293,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/limmod_trycal",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/limmod_trycal",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -308,8 +309,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/liaccv_add",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/liaccv_add",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......@@ -324,8 +325,8 @@ export default {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("ditopn/liaccv_del",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
let rtnmsg = await Api.post("ditopn/liaccv_del",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
......
......@@ -3,46 +3,47 @@
* Sptsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"sptstm" :defaultSptstm,
"dlaxq" :defaultDlaxq,
"usfmod.labtxt" :defaultUsfmodLabtxt,
"usfmod.flt" :defaultUsfmodFlt,
"usfmod.shwflt" :defaultUsfmodShwflt,
"dlmft" :defaultDlmft,
"butimg" :defaultButimg,
"dflg" :defaultDflg,
"yptinf" :defaultYptinf,
"usfmod.usr.extkey" :defaultUsfmodUsrExtkey,
}
function defaultSptstm()
{
"sptstm": defaultSptstm,
"dlaxq": defaultDlaxq,
"usfmod.labtxt": defaultUsfmodLabtxt,
"usfmod.flt": defaultUsfmodFlt,
"usfmod.shwflt": defaultUsfmodShwflt,
"dlmft": defaultDlmft,
"butimg": defaultButimg,
"dflg": defaultDflg,
"yptinf": defaultYptinf,
"usfmod.usr.extkey": defaultUsfmodUsrExtkey,
}
function defaultSptstm() {
}
function defaultDlaxq()
{
function defaultDlaxq() {
}
function defaultUsfmodLabtxt()
{
function defaultUsfmodLabtxt() {
}
function defaultUsfmodFlt()
{
function defaultUsfmodFlt() {
}
function defaultUsfmodShwflt()
{
function defaultUsfmodShwflt() {
}
function defaultDlmft()
{
function defaultDlmft() {
}
function defaultButimg()
{
function defaultButimg() {
}
function defaultDflg()
{
async function defaultDflg() {
let rtnmsg = await Api.post("sptsel/default/dflg", Utils.flatObject(this.model))
if (rtnmsg.retcod == "AAAAAA") {
//TODO 处理数据逻辑
this.model = Utils.copyValueFromVO(this.model, rtnmsg.data);
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
function defaultYptinf()
{
function defaultYptinf() {
console.log(this.model.yptinf)
}
function defaultUsfmodUsrExtkey()
{
function defaultUsfmodUsrExtkey() {
}
import Api from "~/service/Api"
import Utils from "~/utils/index"
export default {
onUsfmodShwflt() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("sptsel/usfmod_shwflt", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
onUsfmodShwflt(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/usfmod_shwflt",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onButypt() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("sptsel/butypt", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onButypt(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/butypt",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onDlmft() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("sptsel/dlmft", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onDlmft(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/dlmft",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onDlaxq() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("sptsel/dlaxq", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onDlaxq(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/dlaxq",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onButimg() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("sptsel/butimg", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onButimg(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("sptsel/butimg",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
tabClick() {
},
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
}
\ No newline at end of file
......@@ -3,122 +3,102 @@
* Trnrel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index";
export default {
"relcor" :defaultRelcor,
"recpan.butspt" :defaultRecpanButspt,
"recpan.ackstm" :defaultRecpanAckstm,
"seaown" :defaultSeaown,
"trn.inftxt" :defaultTrnInftxt,
"numtrn" :defaultNumtrn,
"recpan.butord" :defaultRecpanButord,
"recpan.inftxt.buttxmsel" :defaultRecpanInftxtButtxmsel,
"trn.infdsp" :defaultTrnInfdsp,
"recpan.incben" :defaultRecpanIncben,
"usrcon" :defaultUsrcon,
"imgmod.hisimg" :defaultImgmodHisimg,
"recpan.con" :defaultRecpanCon,
"seajbh" :defaultSeajbh,
"recpan.det" :defaultRecpanDet,
"trncorco.trnstm" :defaultTrncorcoTrnstm,
"imgmod.newhisimg" :defaultImgmodNewhisimg,
"recpan.cpltxt" :defaultRecpanCpltxt,
"trncorco.dflg" :defaultTrncorcoDflg,
"orddsp" :defaultOrddsp,
"recpan.usr.extkey" :defaultRecpanUsrExtkey,
"atptxt" :defaultAtptxt,
"recpan.ackgrp.rec.sndref" :defaultRecpanAckgrpRecSndref,
"syswrn.butshw" :defaultSyswrnButshw,
"imgmod.newimg" :defaultImgmodNewimg,
"recpan.inc" :defaultRecpanInc,
"printe" :defaultPrinte,
"trn.inr" :defaultTrnInr,
"imgmod.image" :defaultImgmodImage,
"relcor": defaultRelcor,
"recpan.butspt": defaultRecpanButspt,
"recpan.ackstm": defaultRecpanAckstm,
"seaown": defaultSeaown,
"trn.inftxt": defaultTrnInftxt,
"numtrn": defaultNumtrn,
"recpan.butord": defaultRecpanButord,
"recpan.inftxt.buttxmsel": defaultRecpanInftxtButtxmsel,
"trn.infdsp": defaultTrnInfdsp,
"recpan.incben": defaultRecpanIncben,
"usrcon": defaultUsrcon,
"imgmod.hisimg": defaultImgmodHisimg,
"recpan.con": defaultRecpanCon,
"seajbh": defaultSeajbh,
"recpan.det": defaultRecpanDet,
"trncorco.trnstm": defaultTrncorcoTrnstm,
"imgmod.newhisimg": defaultImgmodNewhisimg,
"recpan.cpltxt": defaultRecpanCpltxt,
"trncorco.dflg": defaultTrncorcoDflg,
"orddsp": defaultOrddsp,
"recpan.usr.extkey": defaultRecpanUsrExtkey,
"atptxt": defaultAtptxt,
"recpan.ackgrp.rec.sndref": defaultRecpanAckgrpRecSndref,
"syswrn.butshw": defaultSyswrnButshw,
"imgmod.newimg": defaultImgmodNewimg,
"recpan.inc": defaultRecpanInc,
"printe": defaultPrinte,
"trn.inr": defaultTrnInr,
"imgmod.image": defaultImgmodImage,
}
function defaultRelcor()
{
function defaultRelcor() {
}
function defaultRecpanButspt()
{
function defaultRecpanButspt() {
}
function defaultRecpanAckstm()
{
function defaultRecpanAckstm() {
}
function defaultSeaown()
{
function defaultSeaown() {
}
function defaultTrnInftxt()
{
function defaultTrnInftxt() {
}
function defaultNumtrn()
{
function defaultNumtrn() {
}
function defaultRecpanButord()
{
function defaultRecpanButord() {
}
function defaultRecpanInftxtButtxmsel()
{
function defaultRecpanInftxtButtxmsel() {
}
function defaultTrnInfdsp()
{
function defaultTrnInfdsp() {
}
function defaultRecpanIncben()
{
function defaultRecpanIncben() {
}
function defaultUsrcon()
{
function defaultUsrcon() {
}
function defaultImgmodHisimg()
{
function defaultImgmodHisimg() {
}
function defaultRecpanCon()
{
function defaultRecpanCon() {
}
function defaultSeajbh()
{
function defaultSeajbh() {
}
function defaultRecpanDet()
{
function defaultRecpanDet() {
}
function defaultTrncorcoTrnstm()
{
function defaultTrncorcoTrnstm() {
}
function defaultImgmodNewhisimg()
{
function defaultImgmodNewhisimg() {
}
function defaultRecpanCpltxt()
{
function defaultRecpanCpltxt() {
}
function defaultTrncorcoDflg()
{
async function defaultTrncorcoDflg() {
let rtnmsg = await Api.post("trnrel/default/trncorco.dflg", Utils.flatObject(this.model))
if (rtnmsg.respCode == "AAAAAA") {
//TODO 处理数据逻辑
this.model = Utils.copyValueFromVO(this.model, rtnmsg.data);
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
function defaultOrddsp()
{
function defaultOrddsp() {
}
function defaultRecpanUsrExtkey()
{
function defaultRecpanUsrExtkey() {
}
function defaultAtptxt()
{
function defaultAtptxt() {
}
function defaultRecpanAckgrpRecSndref()
{
function defaultRecpanAckgrpRecSndref() {
}
function defaultSyswrnButshw()
{
function defaultSyswrnButshw() {
}
function defaultImgmodNewimg()
{
function defaultImgmodNewimg() {
}
function defaultRecpanInc()
{
function defaultRecpanInc() {
}
function defaultPrinte()
{
function defaultPrinte() {
}
function defaultTrnInr()
{
function defaultTrnInr() {
}
function defaultImgmodImage()
{
function defaultImgmodImage() {
}
import Api from "~/service/Api"
import Utils from "~/utils/index"
export default {
onSeaown() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/seaown", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
onSeaown() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/seaown", Utils.flatObject(this.model))
if (rtnmsg.respCode == "AAAAAA") {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.trncorco_trnstm.rows;
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onSeajbh(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/seajbh",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onSeajbh() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/seajbh", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onSeactr(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/seactr",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onSeactr() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/seactr", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onSearow(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/searow",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onSearow() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/searow", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onDsp(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/dsp",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onDsp() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/dsp", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onImgmodNewimg(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod_newimg",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onImgmodNewimg() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod_newimg", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onImgmodNewhisimg(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod_newhisimg",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onImgmodNewhisimg() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod_newhisimg", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onDiaconButdia(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/diacon_butdia",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onDiaconButdia() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/diacon_butdia", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onImgmodHisimg(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod_hisimg",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onImgmodHisimg() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod_hisimg", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRelrow(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/relrow",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onRelrow() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/relrow", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onPrinte(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/printe",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onPrinte() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/printe", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onReprow(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/reprow",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onReprow() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/reprow", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRejrow(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/rejrow",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onRejrow() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/rejrow", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRelcor(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/relcor",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onRelcor() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/relcor", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onExi(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/exi",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onExi() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/exi", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanDet(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_det",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onRecpanDet() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_det", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onSyswrnButshw(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/syswrn_butshw",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onSyswrnButshw() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/syswrn_butshw", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanNotmap(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_notmap",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onRecpanNotmap() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_notmap", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanButspt(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_butspt",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onRecpanButspt() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_butspt", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanInc(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_inc",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onRecpanInc() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_inc", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanButord(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_butord",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onRecpanButord() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_butord", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onImgmodImage(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod_image",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onImgmodImage() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod_image", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanIncben(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_incben",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onRecpanIncben() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_incben", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onInftxtButtxmsel(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/inftxt_buttxmsel",Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onInftxtButtxmsel() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/inftxt_buttxmsel", { data: this.model })
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
onSeainf() {
},
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
}
\ No newline at end of file
......@@ -82,7 +82,7 @@ export default class Api
if(data && data[CODE_KEY] == 'L0003'){
window.sessionStorage.removeItem("token")
window.sessionStorage.removeItem("userId")
MessageBox.alert({
MessageBox.alert({
title:'会话超时',
message:'即将退出,请重新登录',
showClose:false,
......
export default class Utils{
static toDepthObject(obj)
{
export default class Utils {
static toDepthObject(obj) {
var target = {};
for(var key in obj)
{
for (var key in obj) {
var keyArr = key.split("_"); //以下划线或分割
var tempobj = target;
for(var i=0;i<keyArr.length - 1;i++)
{
if(tempobj[keyArr[i]])
for (var i = 0; i < keyArr.length - 1; i++) {
if (tempobj[keyArr[i]])
tempobj = tempobj[keyArr[i]];
else
{
else {
tempobj[keyArr[i]] = {};
tempobj = tempobj[keyArr[i]];
}
}
}
//给叶子元素赋值
tempobj[keyArr[keyArr.length - 1]]=obj[key];
tempobj[keyArr[keyArr.length - 1]] = obj[key];
}
return target;
}
static flatObject(obj,target,pkey)
{
target = target||{};
for(var key in obj)
{
var nkey = pkey?pkey+"_"+key:key;
if(!obj[key])
target[nkey] = obj[key];
else if(obj[key] instanceof Array)
static flatObject(obj, target, pkey) {
target = target || {};
for (var key in obj) {
var nkey = pkey ? pkey + "_" + key : key;
if (!obj[key])
target[nkey] = obj[key];
else if(obj[key] instanceof Date)
else if (obj[key] instanceof Array)
target[nkey] = obj[key];
else if(typeof obj[key] == "object")
Utils.flatObject(obj[key],target,nkey); //递归赋值
else
target[nkey] = obj[key];
}
return target;
else if (obj[key] instanceof Date)
target[nkey] = obj[key];
else if (typeof obj[key] == "object")
Utils.flatObject(obj[key], target, nkey); //递归赋值
else
target[nkey] = obj[key];
}
return target;
}
static copyValueFromVO(model,vo)
{
static copyValueFromVO(model, vo) {
var target = model;
for(var key in vo)
{
for (var key in vo) {
var keyArr = key.split("_"); //以下划线或分割
var tempobj = target;
for(var i=0;i<keyArr.length - 1;i++)
{
if(tempobj[keyArr[i]])
for (var i = 0; i < keyArr.length - 1; i++) {
if (tempobj[keyArr[i]])
tempobj = tempobj[keyArr[i]];
else
{
else {
tempobj = null;
break;
}
}
}
//给叶子元素赋值
if(tempobj )
{
if (tempobj) {
let leafProp = keyArr[keyArr.length - 1];
if(tempobj.hasOwnProperty(leafProp))
tempobj[leafProp]=vo[key];
if (tempobj.hasOwnProperty(leafProp))
tempobj[leafProp] = vo[key];
}
}
return target;
......
......@@ -4,7 +4,7 @@
<el-col :span="24">
<el-form-item label="货物/服务名称">
<c-input v-model="model.godnam" maxlength="40" style="width:40%" placeholder="货物服务名称"></c-input>
<c-input v-model="model.godnam" maxlength="40" style="width:80%" placeholder="货物服务名称"></c-input>
</el-form-item>
</el-col>
......@@ -12,7 +12,7 @@
<el-col :span="24">
<el-form-item label="特殊规定">
<c-select v-model="model.litameadv" style="width:40%" placeholder="请选择特殊规定">
<c-select v-model="model.litameadv" style="width:80%" placeholder="请选择特殊规定">
</c-select>
</el-form-item>
</el-col>
......@@ -21,7 +21,7 @@
<el-col :span="24">
<el-form-item label="">
<c-input type="textarea" v-model="model.ameadvrmk" maxlength="34" style="width:40%" show-word-limit placeholder="请输入特殊规定条件" ></c-input>
<c-input type="textarea" v-model="model.ameadvrmk" maxlength="34" style="width:80%" show-word-limit placeholder="请输入特殊规定条件" ></c-input>
</el-form-item>
</el-col>
......@@ -29,7 +29,7 @@
<el-col :span="24">
<el-form-item label="开证行">
<c-input v-model="model.bchname" maxlength="40" style="width:40%" placeholder="请输入branch name"></c-input>
<c-input v-model="model.bchname" maxlength="40" style="width:80%" placeholder="请输入branch name"></c-input>
</el-form-item>
</el-col>
</div>
......
......@@ -34,15 +34,21 @@
</el-col>
-->
<el-col :span="12">
<el-col :span="10">
<el-form-item label="开证授信额度主体编号">
<c-input style="width:70%;margin-right:20px" v-model="model.liaall.limmod.limpts.wrk.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</el-col>
<el-col :span="2">
<el-form-item label="" label-width="20px">
<c-button size="small" type="primary" icon="el-icon-search" @click="onPreperButtxmsel">
Details
</c-button>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="开证授信额度主体名称">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
......@@ -143,58 +149,56 @@
</el-form-item>
</el-col>
<el-row>
<el-col :span="24">
<c-table style="text-align:center">
<el-table-column
label="可否串用"
width=60
>
</el-table-column>
<el-table-column
label="序号"
width=60
>
</el-table-column>
<el-table-column
label="额度类型"
width=50
>
</el-table-column>
<el-table-column
label="入账机构"
width=70
>
</el-table-column>
<el-table-column
label="额度编号"
width=100
>
</el-table-column>
<el-table-column
label="额度明细编号"
width=100
>
</el-table-column>
<el-table-column
label="额度品种代码"
width=30
>
</el-table-column>
<el-table-column
label="品种代码描述"
width=100
>
</el-table-column>
<el-table-column
label=""
width=50
>
</el-table-column>
</c-table>
</el-col>
</el-row>
<el-col :span="24">
<c-table style="text-align:center" :data="tableData">
<el-table-column
label="可否串用"
width="60"
>
</el-table-column> -->
<el-table-column
label="序号"
width="60"
>
</el-table-column>
<el-table-column
label="额度类型"
width="50"
>
</el-table-column>
<el-table-column
label="入账机构"
width="70"
>
</el-table-column>
<el-table-column
label="额度编号"
width="100"
>
</el-table-column>
<el-table-column
label="额度明细编号"
width="100"
>
</el-table-column>
<el-table-column
label="额度品种代码"
width="30"
>
</el-table-column>
<el-table-column
label="品种代码描述"
width="100"
>
</el-table-column>
<el-table-column
label=""
width="50"
>
</el-table-column>
</c-table>
</el-col>
</div>
</template>
<script>
......@@ -206,7 +210,9 @@
props:["model","codes"],
data(){
return {
tableData:{
}
}
},
methods:{...Event},
......
......@@ -12,10 +12,12 @@
</el-form-item>
</el-col>
<el-col :span="4">
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
<c-button size="small" type="primary" @click="onDitpButgetref">
获取
</c-button>
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
<c-button size="small" type="primary" @click="onDitpButgetref">
获取
</c-button>
</el-form-item>
</el-col>
<!--
......@@ -34,13 +36,15 @@
</el-col>
<el-col :span="8">
<el-form-item label="所属客户经理">
<c-input v-model="model.ditp.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
<el-form-item label="所属客户经理">
<c-input v-model="model.ditp.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</el-col>
<el-col :span="4" style="text-align:center">
<c-checkbox v-model="model.didgrp.rec.resflg">Reserved Contract</c-checkbox>
</el-col>
<el-col :span="4">
<el-form-item label="" label-width="15px">
<c-checkbox v-model="model.didgrp.rec.resflg">Reserved Contract</c-checkbox>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="申请人 参考号">
......@@ -48,17 +52,17 @@
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="信用证金额">
<c-select v-model="model.didgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择Currency">
</c-select>
</el-form-item>
</el-col>
<el-col :span="8" >
<el-form-item style="text-align:left">
<c-input v-model="model.didgrp.cbs.nom1.amt" style="text-align:left;width:100%" placeholder="请输入信用证金额"></c-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="信用证金额">
<c-select v-model="model.didgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择Currency">
</c-select>
</el-form-item>
</el-col>
<el-col :span="6" >
<el-form-item style="text-align:left" label-width="20px">
<c-input v-model="model.didgrp.cbs.nom1.amt" style="text-align:left;width:100%" placeholder="请输入信用证金额"></c-input>
</el-form-item>
</el-col>
<!--
<el-col :span="12">
......@@ -80,10 +84,12 @@
</el-form-item>
</el-col>
<el-col :span="4">
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
<c-button size="small" type="primary" @click="onAplpDet">
Details
</c-button>
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
<c-button size="small" type="primary" @click="onAplpDet">
Details
</c-button>
</el-form-item>
</el-col>
<!--
......@@ -126,7 +132,7 @@
</el-col>
<el-col :span="6" style="text-align:left" >
<el-form-item label="-" style="text-align:left">
<el-form-item label="-" style="text-align:left;margin-left: 12px;" label-width="20px">
<c-input v-model="model.didgrp.rec.nomton" maxlength="6" placeholder="请输入Amount Tolerance - Negative"></c-input>
</el-form-item>
</el-col>
......@@ -142,13 +148,13 @@
</el-form-item>
</el-col>
<el-col :span="5">
<el-col :span="7">
<el-form-item label="邮编">
<c-input v-model="model.didgrp.apl.pts.youzbm" maxlength="6" placeholder="请输入邮编"></c-input>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="电话">
<el-col :span="5">
<el-form-item label="电话" label-width="40px" style="margin-left: 12px;">
<c-input v-model="model.didgrp.apl.pts.dihdig" maxlength="16" placeholder="请输入电话"></c-input>
</el-form-item>
</el-col>
......@@ -165,15 +171,15 @@
</el-form-item>
</el-col>
<el-col :span="4">
<el-col :span="7">
<el-form-item label="信用证最大金额">
<c-select v-model="model.didgrp.cbs.max.cur" style="width:100%" placeholder="请选择Currency">
</c-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="">
<el-col :span="5">
<el-form-item label="" label-width="20px">
<c-input v-model="model.didgrp.cbs.max.amt" placeholder="请输入信用证最大金额"></c-input>
</el-form-item>
</el-col>
......@@ -225,10 +231,12 @@
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="" label-width="12px">
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
<c-button size="small" type="primary" @click="onBenpDet">
Details
</c-button>
</el-form-item>
</el-col>
<el-col :span="12">
......@@ -296,13 +304,13 @@
</el-form-item>
</el-col>
<el-col :span="6">
<el-col :span="7">
<el-form-item label="邮编">
<c-input v-model="model.didgrp.ben.pts.youzbm" maxlength="6" placeholder="请输入邮编 电证用"></c-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="电话">
<el-col :span="5">
<el-form-item label="电话" label-width="40px" style="margin-left: 12px;">
<c-input v-model="model.didgrp.ben.pts.dihdig" maxlength="16" placeholder="请输入邮编"></c-input>
</el-form-item>
</el-col>
......
<template>
<div class="eibs-tab">
<el-col :span="12">
<el-form-item label="参考号">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</el-col>
<div class="eibs-tab">
<el-col :span="8">
<el-form-item label="参考号">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</el-col>
<!--
<!--
<el-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</el-col>
-->
<el-col :span="5">
<el-form-item label="结算金额">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="类型">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</el-col>
<!--
<el-col :span="8">
<el-form-item label="结算金额">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="" label-width="20px">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="类型">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</el-col>
<!--
<el-col :span="12">
<el-form-item label="自贸区账号">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自贸区账号"></c-input>
......@@ -45,200 +45,112 @@
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</el-col>
-->
<el-col :span="12" style="text-align:right">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</el-col>
<el-col :span="3">
<el-form-item label="" label-width="20px">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="Foreign Commission/Charges:">
</el-form-item>
<el-form-item label="Foreign Commission/Charges:" label-width="210px">
</el-form-item>
</el-col>
<el-col :span="24">
<c-table style="text-align:center">
<el-table-column
label="Payer"
width=60
>
<el-table-column label="Payer" width=60>
</el-table-column>
<el-table-column
label="Payee"
width=60
>
<el-table-column label="Payee" width=60>
</el-table-column>
<el-table-column
label="Source"
width=50
>
<el-table-column label="Source" width=50>
</el-table-column>
<el-table-column
label="Disp"
width=70
>
<el-table-column label="Disp" width=70>
</el-table-column>
<el-table-column
label="Text for Payer"
width=100
>
<el-table-column label="Text for Payer" width=100>
</el-table-column>
<el-table-column
label="Text for Payee"
width=100
>
<el-table-column label="Text for Payee" width=100>
</el-table-column>
<el-table-column
label="Currency"
width=30
>
<el-table-column label="Currency" width=30>
</el-table-column>
<el-table-column
label="Amount"
width=100
>
<el-table-column label="Amount" width=100>
</el-table-column>
<el-table-column
label=""
width=50
>
<el-table-column label="" width=50>
</el-table-column>
</c-table>
</el-col>
</el-col>
<el-col :span="24" style="text-align:left">
<el-form-item label="Own Commission/Charges:">
</el-form-item>
<el-form-item label="Own Commission/Charges:">
</el-form-item>
</el-col>
<el-col :span="24">
<c-table style="text-align:center">
<el-table-column
label="Role"
width=50
>
<el-table-column label="Role" width=50>
</el-table-column>
<el-table-column
label="Code"
width=60
>
<el-table-column label="Code" width=60>
</el-table-column>
<el-table-column
label="Source"
width=50
>
<el-table-column label="Source" width=50>
</el-table-column>
<el-table-column
label="Disp"
width=70
>
<el-table-column label="Disp" width=70>
</el-table-column>
<el-table-column
label="Units"
width=50
>
<el-table-column label="Units" width=50>
</el-table-column>
<el-table-column
label="Long Fee Text"
width=120
>
<el-table-column label="Long Fee Text" width=120>
</el-table-column>
<el-table-column
label="Currency"
width=30
>
<el-table-column label="Currency" width=30>
</el-table-column>
<el-table-column
label="Original Amount"
width=100
>
<el-table-column label="Original Amount" width=100>
</el-table-column>
<el-table-column
label="Fee Amount"
width=100
>
<el-table-column label="Fee Amount" width=100>
</el-table-column>
<el-table-column
label="Details"
width=50
>
<el-table-column label="Details" width=50>
</el-table-column>
</c-table>
</el-col>
</el-col>
<el-col :span="24" style="text-align:left">
<el-form-item label="Settlement ">
</el-form-item>
<el-form-item label="Settlement:">
</el-form-item>
</el-col>
<el-col :span="24">
<c-table style="text-align:center">
<el-table-column
label="Mod"
width=30
>
<el-table-column label="Mod" width=30>
</el-table-column>
<el-table-column
label="Role"
width=50
>
<el-table-column label="Role" width=50>
</el-table-column>
<el-table-column
label="in"
width=50
>
<el-table-column label="in" width=50>
</el-table-column>
<el-table-column
label="Amount Paid"
width=100
>
<el-table-column label="Amount Paid" width=100>
</el-table-column>
<el-table-column
label="Disp."
width=50
>
<el-table-column label="Disp." width=50>
</el-table-column>
<el-table-column
label="Account"
width=100
>
<el-table-column label="Account" width=100>
</el-table-column>
<el-table-column
label="C"
width=30
>
<el-table-column label="C" width=30>
</el-table-column>
<el-table-column
label="Curr."
width=30
>
<el-table-column label="Curr." width=30>
</el-table-column>
<el-table-column
label="Original Amount"
width=100
>
<el-table-column label="Original Amount" width=100>
</el-table-column>
<el-table-column
label="Rate"
width=50
>
<el-table-column label="Rate" width=50>
</el-table-column>
<el-table-column
label=""
width=50
>
<el-table-column label="" width=50>
</el-table-column>
</c-table>
</el-col>
<el-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</el-col>
<el-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</el-col>
<el-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</el-col>
</div>
</el-col>
<el-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg"> </span>
</el-col>
<el-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab"> </span>
</el-col>
<el-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg"> </span>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -259,5 +171,4 @@ export default {
}
</script>
<style>
</style>
......@@ -43,7 +43,7 @@ export default {
methods:{...Event},
mounted:async function(){
console.log("进入sptsel交易");
let rtnmsg = await Api.post(this,"init",{params:{}})
let rtnmsg = await Api.post("sptsel/init",{params:{}})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
<template>
<div class="eibs-tab">
<div class="eibs-tab">
<el-col :span="12">
<el-form-item label="Branch">
<c-select v-model="model.bchcon" style="width:100%" placeholder="请选择Branch">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Reference">
<c-input v-model="model.trncorco.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Status">
<c-select v-model="model.trncorco.relflg" style="width:100%" placeholder="请选择Status">
<el-option label="All" value=" "></el-option>
<el-option label="Waiting" value="W"></el-option>
<el-option label="Release" value="R"></el-option>
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="User">
<c-select v-model="model.usrcon" style="width:100%" placeholder="请选择User">
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Branch">
<c-select v-model="model.bchcon" style="width:100%" placeholder="请选择Branch">
</c-select>
</el-form-item>
</el-col>
<!--
<el-col :span="12">
<el-form-item label="Reference">
<c-input v-model="model.trncorco.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Status">
<c-select v-model="model.trncorco.relflg" style="width:100%" placeholder="请选择Status">
<el-option label="All" value=" "></el-option>
<el-option label="Waiting" value="W"></el-option>
<el-option label="Release" value="R"></el-option>
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="User">
<c-select v-model="model.usrcon" style="width:100%" placeholder="请选择User">
</c-select>
</el-form-item>
</el-col>
<!--
<el-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.atpget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</el-col>
-->
<el-col :span="12">
<el-form-item label="Between">
<el-date-picker type="date" v-model="model.trncorco.inidatfro" style="width:45%" placeholder="请选择Date of entry of Transaction"></el-date-picker>
-
<el-date-picker type="date" v-model="model.trncorco.inidattil" style="width:45%" placeholder="请选择Date of entry of Transaction until"></el-date-picker>
</el-form-item>
</el-col>
-->
<el-col :span="12">
<el-form-item label="Between">
<el-date-picker type="date" v-model="model.trncorco.inidatfro" style="width:45%" placeholder="请选择Date of entry of Transaction"></el-date-picker>
-
<el-date-picker type="date" v-model="model.trncorco.inidattil" style="width:45%" placeholder="请选择Date of entry of Transaction until"></el-date-picker>
</el-form-item>
</el-col>
<!--
<el-col :span="12">
......@@ -59,33 +53,32 @@
</el-form-item>
</el-col> -->
<el-col :span="12">
<el-form-item label="Transaction Type ">
<c-input v-model="model.atp.cod" maxlength="6" style="width:50%" placeholder="请输入Transaction Type "></c-input>
<!-- <c-input v-model="model.atpget.sdamod.seainf" style="width:10%" placeholder="i"></c-input> -->
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="信用证标志">
<c-select v-model="model.trncorco.dflg" style="width:100%" placeholder="请选择信用证标志">
<el-option label="All" value="1"></el-option>
<el-option label="国内业务" value="2"></el-option>
<el-option label="国际业务" value="3"></el-option>
</c-select>
</el-form-item>
</el-col>
<el-form-item label="Transaction Type ">
<c-input v-model="model.atp.cod" maxlength="6" style="width:50%" placeholder="请输入Transaction Type "></c-input>
<!-- <c-input v-model="model.atpget.sdamod.seainf" style="width:10%" placeholder="i"></c-input> -->
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Transaction Text">
<c-input v-model="model.atptxt" maxlength="37" placeholder="请输入Transaction Text"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="信用证标志">
<c-select v-model="model.trncorco.dflg" style="width:100%" placeholder="请选择信用证标志">
<el-option label="All" value="1"></el-option>
<el-option label="国内业务" value="2"></el-option>
<el-option label="国际业务" value="3"></el-option>
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Transaction Text">
<c-input v-model="model.atptxt" maxlength="37" placeholder="请输入Transaction Text"></c-input>
</el-form-item>
</el-col>
<!--
<!--
<el-col :span="12">
<el-form-item label="List of transaction sfor display">
<c-input v-model="model.trncorco.trnstm" placeholder="请输入List of transaction sfor display"></c-input>
......@@ -97,18 +90,18 @@
<c-input v-model="model.numtrn" placeholder="请输入# of transactions"></c-input>
</el-form-item>
</el-col>
-->
-->
<el-col :span="24" style="text-align:center">
<c-button size="small" type="primary" @click="onSeaown">
<el-col :span="24" style="text-align:center">
<c-button size="small" type="primary" @click="onSeaown">
Search Own
</c-button>
<c-button size="small" type="primary" @click="onSearow">
<c-button size="small" type="primary" @click="onSeajbh">
Search All
</c-button>
<c-button size="small" type="primary" disabled="disabled" @click="onImgmodNewimg">
<c-button size="small" type="primary" disabled="disabled" @click="onImgmodNewimg">
Img
</c-button>
<c-button size="small" type="primary" disabled="disabled" @click="onImgmodNewhisimg">
......@@ -132,9 +125,9 @@
<c-button size="small" type="primary" @click="onExi">
Exit
</c-button>
</el-col>
</el-col>
<!--
<!--
<el-col :span="12">
<c-button size="small" type="primary" @click="onSeajbh">
Search All
......@@ -225,124 +218,12 @@
<c-button size="small" type="primary" @click="onExi">
Exit
</c-button>
</el-col> -->
<!--<p>{{model.trncorco.trnstm}}</p>-->
<c-table style="text-align:center"
:data="stmData"
>
<el-table-column
label="TRN"
width=60
prop="10"
>
</el-table-column>
<el-table-column
label="Own Reference"
width=60
prop="11"
>
</el-table-column>
<el-table-column
label="Addtional Text"
width=60
prop="17"
>
</el-table-column>
<el-table-column
label="Cur"
width=50
prop="12"
>
</el-table-column>
<el-table-column
label="Relevent Amount"
width=70
prop="13"
>
</el-table-column>
<el-table-column
label="Entry"
width=100
prop="14"
>
</el-table-column>
<el-table-column
label="Req"
width=50
prop="9"
>
</el-table-column>
<el-table-column
label="Sig"
width=50
prop="2"
>
</el-table-column>
<el-table-column
label="Rq0"
width=30
prop="6"
>
</el-table-column>
<el-table-column
label="Rel0"
width=100
prop="3"
>
</el-table-column>
<el-table-column
label="Rq1"
width=30
prop="7"
>
</el-table-column>
<el-table-column
label="Rel1"
width=100
prop="4"
>
</el-table-column>
<el-table-column
label="Rq2"
width=30
prop="8"
>
</el-table-column>
<el-table-column
label="Rel2"
width=100
prop="5"
>
</el-table-column>
<el-table-column
label="Branch"
width=50
prop="15"
>
</el-table-column>
<el-table-column
label=" User"
width=50
prop="16"
>
</el-table-column>
<el-table-column
label=""
width=50
prop="18"
>
</el-table-column>
<el-table-column
label="Status"
width=50
prop="0"
>
</el-table-column>
</c-table>
</el-col> -->
<!--<p>{{model.trncorco.trnstm}}</p>-->
<c-istream-table :list="stmData.data" :columns="stmData.columns"></c-istream-table>
</div>
<c-istream-table :list="testJson.data" :columns="testJson.columns"></c-istream-table>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -357,67 +238,20 @@ export default {
},
data(){
return {
testJson: {
stmData: {
columns: [
"10 1 \"TRN\" 50 1 tdViewTypeEdit:0 3 ATPTXT",
"11 2:1 \"Own Reference\" 112",
"17 2:2 \"Addtional Text\" 112",
"12 3 \"Cur\" 37",
"13 4 \"Relevant Amount\" 101 2 8:1 2 5",
"14 5 \"Entry\" 104 20 DateTime 1",
"9 6:1 \"Req\" 39",
"2 6:2 \"Sig\" 35",
"6 8:1 \"Rq0\" 40",
"3 8:2 \"Rel0\" 40",
"7 9:1 \"Rq1\" 40",
"4 9:2 \"Rel1\" 40",
"8 10:1 \"Rq2\" 40",
"5 10:2 \"Rel2\" 40",
"15 13 \"Branch\" 142",
"16 11:1 \"User\" 62",
"18 11:2 \"\" 62",
"0 12 \"Status\" 54 1 tdViewTypeEdit:0 1 RELSTA",
"P COLORED TRUE",
"P VERTLINES TRUE",
"P HORZLINES TRUE"
],
data: [
"DITOPN\t10.00 13213 2000007350 GUONEI\t00000101\t2021-04-23 11:26:54.444\tZL \tKZ3500210003AA \t10\tW\tNN \tOA \tNN \tNN \tCNY\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"BTTSND\t \t00000100\t2020-06-19 16:10:57.739\tZL \tBP3500200002AAT \t20000\tW\tNN \tOA \tNN \tNN \tUSD\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"BTTDCK\t \t00000099\t2020-06-19 16:03:34.871\tZL \tBP3500200002AAT \t20000\tW\tNN \tOA \tNN \tNN \tUSD\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"LTTDCK\t \t00000098\t2020-06-19 15:58:24.007\tZL \tBP3500200002AAT \t16000\tW\tNN \tOA \tNN \tNN \tUSD\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"LTTOPN\t \t00000096\t2020-06-19 15:54:14.219\tZL \tTC3500200001AA \t66000\tW\tNN \tOA \tNN \tNN \tUSD\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"LETOPN\t100,000.00\t00000095\t2020-06-19 15:42:45.222\tZL \tAD3500200002AA \t110000\tW\tNN \tOB \tNN \tNN \tUSD\t北京分行 \tO \tNN \tZHL \tNB \tNN ",
"BDTDCK\tGUONEI\t00000094\t2020-06-11 09:25:30.824\tZL \tDD3500190001AA02\t6\tW\tNN \tOA \tNN \tNN \tCNY\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"BDTDCR\tGUONEI\t00000093\t2020-06-11 09:12:19.237\tZL \tDD3500190001AA02\t8\tW\tNN \tOA \tNN \tNN \tCNY\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"BDTDCK\tGUONEI\t00000092\t2020-06-11 09:10:27.276\tZL \tDD3500190001AA02\t8\tW\tNN \tOA \tNN \tNN \tCNY\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"DITDCK\t0.00 北京三优机电设备有限公司 2000007350 GUONEI\t00000091\t2020-06-10 18:04:40.818\tZL \tDD3500190001AA02\t10\tW\tNN \tOA \tNN \tNN \tCNY\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"DITOPN\t100,000.00 北京宇宙中心第一家有限公司 2000007350 GUONEI\t00000087\t2020-06-10 15:42:44.7\tZL \tKZ3500200002AA \t100000\tW\tNN \tOA \tNN \tNN \tCNY\t北京分行 \tO \tNN \tZHL \tNA \tNN "
]
}
}
},
methods:{...Event},
created:function(){
},
computed:{
stmData(){
let data = this.model.trncorco.trnstm
if(!data)
return []
data = this.model.trncorco.trnstm.map(item=>{
let obj = {}
item.split("\t").forEach((item,index)=>{
obj[(index)+""]=item;
});
return obj;
})
return data;
}
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" tokenKey="modelForm" label-width="170px" size="small">
<el-tabs ref="elment" type="border-card" @tab-click="tabClick">
<el-tab-pane label="复核夹查询">
<m-inftrnps :model="model" :codes="codes" />
</el-tab-pane>
</el-tabs>
</el-form>
</div>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" tokenKey="modelForm" label-width="170px" size="small">
<el-tabs ref="elment" type="border-card" @tab-click="tabClick">
<el-tab-pane label="复核夹查询">
<m-inftrnps :model="model" :codes="codes" ref="inftrnps" />
</el-tab-pane>
</el-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -31,6 +30,7 @@ import Prtswtp from "./Prtswtp"
import Xmldoc from "./Xmldoc"
import Prtswtrp from "./Prtswtrp"
import Prtp from "./Prtp"
import Utils from "~/utils/index"
// import * as poinMessage from '@/util/poin-common/messageManage.js'
import { TabPane,Col,Table,Form,FormItem,Upload,TableColumn,Card,Input,Button,Dialog,Select,Tabs,Option,DatePicker,Row} from 'element-ui'
......@@ -55,7 +55,7 @@ export default {
codes: {
},
declareParams:{"fileName":"trnrel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/trnrel/init"},
}
},
methods:{
......@@ -67,14 +67,12 @@ export default {
console.log("进入trnrel交易");
let rtnmsg = await Api.post(this,"init",{params:{}})
if(rtnmsg.respCode == SUCCESS)
let rtnmsg = await Api.post("trnrel/init", Utils.flatObject(this.model))
if(rtnmsg.respCode == "AAAAAA")
{
//TODO 处理数据逻辑
this.model.trncorco.trnstm=rtnmsg.data.trncorco_trnstm.rows
this.model.trncorco.inidatfro = rtnmsg.data.trncorco_inidatfro
this.model.trncorco.inidattil = rtnmsg.data.trncorco_inidattil
this.model.trncorco.relflg = rtnmsg.data.trncorco_relflg
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.$refs.inftrnps.stmData.columns=rtnmsg.data.trncorco_trnstm.rows
}
else
{
......@@ -84,5 +82,4 @@ export default {
}
</script>
<style>
</style>
......@@ -17,27 +17,27 @@ module.exports = (options = {}) => ({
},
module: {
rules: [{
test: /\.vue$/,
use: ['vue-loader']
},
{
test: /\.js$/,
use: ['babel-loader'],
exclude: /node_modules/
},
{
test: /\.css$/,
use: ['style-loader', 'css-loader', 'postcss-loader']
},
{
test: /\.(png|jpg|jpeg|gif|eot|ttf|woff|woff2|svg|svgz)(\?.+)?$/,
use: [{
loader: 'url-loader',
options: {
limit: 10000
}
}]
}
test: /\.vue$/,
use: ['vue-loader']
},
{
test: /\.js$/,
use: ['babel-loader'],
exclude: /node_modules/
},
{
test: /\.css$/,
use: ['style-loader', 'css-loader', 'postcss-loader']
},
{
test: /\.(png|jpg|jpeg|gif|eot|ttf|woff|woff2|svg|svgz)(\?.+)?$/,
use: [{
loader: 'url-loader',
options: {
limit: 10000
}
}]
}
]
},
plugins: [
......
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