Commit 1473046a by 潘际乾

1、tabs添加name 2、在交易的index.vue父组件中注入自身,再其子组件中进行引用

parent 2379883d
......@@ -136,7 +136,7 @@ export default {
this.$emit("multipleSelect", this.getSelectedRowIndex(val))
},
getRowKey(row) {
return row['1']
return row['IDX']
},
getSelectedRowIndex(val) {
const indexArr = []
......@@ -144,7 +144,7 @@ export default {
const v = val[j];
for (let i = 0; i < this.tableData.length; i++) {
const data = this.tableData[i];
if (v[1] === data [1]) {
if (v['IDX'] === data ['IDX']) {
indexArr.push(i)
}
}
......
import Api from "~/service/Api"
export default {
onCptpGetref(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/cptp_getref",{data:this.model})
......@@ -17,7 +17,7 @@ export default {
})
},
onCptpGetinf(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/cptp_getinf",{data:this.model})
......@@ -33,7 +33,7 @@ export default {
})
},
onCptpGetuetr(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/cptp_getuetr",{data:this.model})
......@@ -49,7 +49,7 @@ export default {
})
},
onCptpSelbut(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/cptp_selbut",{data:this.model})
......@@ -65,7 +65,7 @@ export default {
})
},
onCptpSelbut1(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/cptp_selbut1",{data:this.model})
......@@ -81,7 +81,7 @@ export default {
})
},
onSndpDet(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/sndp_det",{data:this.model})
......@@ -97,7 +97,7 @@ export default {
})
},
onOripDet(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/orip_det",{data:this.model})
......@@ -113,7 +113,7 @@ export default {
})
},
onCptpGetmod(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/cptp_getmod",{data:this.model})
......@@ -129,7 +129,7 @@ export default {
})
},
onOrcpDet(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/orcp_det",{data:this.model})
......@@ -145,7 +145,7 @@ export default {
})
},
onPyepDet(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/pyep_det",{data:this.model})
......@@ -161,7 +161,7 @@ export default {
})
},
onCptpSerpty(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/cptp_serpty",{data:this.model})
......@@ -177,7 +177,7 @@ export default {
})
},
onSetmodDet(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/setmod_det",{data:this.model})
......@@ -193,7 +193,7 @@ export default {
})
},
onTrndocButshw(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/trndoc_butshw",{data:this.model})
......@@ -209,7 +209,7 @@ export default {
})
},
onTrndocButadd(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/trndoc_butadd",{data:this.model})
......@@ -225,7 +225,7 @@ export default {
})
},
onTrndocButnew(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/trndoc_butnew",{data:this.model})
......@@ -241,7 +241,7 @@ export default {
})
},
onTrndocButattto(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/trndoc_butattto",{data:this.model})
......@@ -257,7 +257,7 @@ export default {
})
},
onTrndocButdel(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/trndoc_butdel",{data:this.model})
......@@ -273,7 +273,7 @@ export default {
})
},
onTrndocButatt(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptadv/trndoc_butatt",{data:this.model})
......
......@@ -211,9 +211,25 @@ function defaultTrdgrpRecPntref()
}
function defaultCpdgrpCbsNom1Cur(rule, value, callback)
{
const that = this;
that.executeDefault("cpdgrp.cbs.max.cur").then(res => {
// that.model.cpdgrp.cbs.max.cur = value;
that.model.cpdgrp.rec.nam = res.data.cpdgrp_rec_nam;
callback()
})
}
function defaultCpdgrpCbsNom1Amt(rule, value, callback)
{
// const that = this;
// that.executeDefault("cpdgrp.cbs.max.amt").then(res => {
// that.model.cpdgrp.rec.nam = res.data.cpdgrp_rec_nam;
// callback()
// })
this.executeNotify().then(res => {
this.model.didgrp.cbs.max.amt = res.data.didgrp_cbs_max_amt;
this.model.cpdgrp.rec.nam = res.data.cpdgrp_rec_nam;
callback();
});
}
function defaultFinmodOvdintrat()
{
......@@ -407,6 +423,9 @@ function defaultFinmodIntdat()
function defaultCpdgrpOriPtsExtkey()
{
}
function defaultCpdgrpCbsMaxAmt()
{
}
function defaultCpdgrpSndPtsExtkey()
{
}
......@@ -425,21 +444,8 @@ function defaultCpdgrpOrcDbfadrblkcn()
function defaultCnybopLibflg()
{
}
function defaultCpdgrpCbsMaxCur(rule, value, callback)
{
const that = this;
that.executeDefault("cpdgrp.cbs.max.cur").then(res => {
that.model.cpdgrp.rec.nam = res.data.cpdgrp_rec_nam;
callback()
})
}
function defaultCpdgrpCbsMaxAmt(rule, value, callback)
function defaultCpdgrpCbsMaxCur()
{
const that = this;
that.executeDefault("cpdgrp.cbs.max.amt").then(res => {
that.model.cpdgrp.rec.nam = res.data.cpdgrp_rec_nam;
callback()
})
}
function defaultCpdgrpRecPrechkdat()
{
......
import Api from "~/service/Api"
export default {
onCptpGetref(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/cptp_getref",{data:this.model})
......@@ -17,7 +17,7 @@ export default {
})
},
onCptpGetinf(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/cptp_getinf",{data:this.model})
......@@ -33,7 +33,7 @@ export default {
})
},
onCptpGetuetr(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/cptp_getuetr",{data:this.model})
......@@ -49,7 +49,7 @@ export default {
})
},
onCptpSelbut(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/cptp_selbut",{data:this.model})
......@@ -65,7 +65,7 @@ export default {
})
},
onCptpSelbut1(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/cptp_selbut1",{data:this.model})
......@@ -81,7 +81,7 @@ export default {
})
},
onSndpDet(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/sndp_det",{data:this.model})
......@@ -97,7 +97,7 @@ export default {
})
},
onOripDet(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/orip_det",{data:this.model})
......@@ -113,7 +113,7 @@ export default {
})
},
onCptpGetmod(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/cptp_getmod",{data:this.model})
......@@ -129,7 +129,7 @@ export default {
})
},
onOrcpDet(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/orcp_det",{data:this.model})
......@@ -145,7 +145,7 @@ export default {
})
},
onPyepDet(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/pyep_det",{data:this.model})
......@@ -161,7 +161,7 @@ export default {
})
},
onCptpSerpty(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/cptp_serpty",{data:this.model})
......@@ -177,7 +177,7 @@ export default {
})
},
onSetmodDet(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/setmod_det",{data:this.model})
......@@ -193,7 +193,7 @@ export default {
})
},
onTrndocButshw(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/trndoc_butshw",{data:this.model})
......@@ -209,7 +209,7 @@ export default {
})
},
onTrndocButadd(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/trndoc_butadd",{data:this.model})
......@@ -225,7 +225,7 @@ export default {
})
},
onTrndocButnew(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/trndoc_butnew",{data:this.model})
......@@ -241,7 +241,7 @@ export default {
})
},
onTrndocButattto(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/trndoc_butattto",{data:this.model})
......@@ -257,7 +257,7 @@ export default {
})
},
onTrndocButdel(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/trndoc_butdel",{data:this.model})
......@@ -273,7 +273,7 @@ export default {
})
},
onTrndocButatt(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/trndoc_butatt",{data:this.model})
......@@ -289,7 +289,7 @@ export default {
})
},
onFippDet(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("cptopn/fipp_det",{data:this.model})
......
......@@ -50,7 +50,7 @@ export default {
"cpdgrp.rec.paydat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
......
......@@ -26,7 +26,7 @@ export default {
}
},
onBenpDet() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/benp_det", Utils.getRequestDataFn.call(this))
......@@ -40,7 +40,7 @@ export default {
})
},
onRevclauseButtxmsel() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/revclause_buttxmsel", Utils.getRequestDataFn.call(this))
......@@ -54,7 +54,7 @@ export default {
})
},
onLcrgodButtxmsel() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/lcrgod_buttxmsel", Utils.getRequestDataFn.call(this))
......@@ -68,7 +68,7 @@ export default {
})
},
onLcrdocButtxmsel() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/lcrdoc_buttxmsel", Utils.getRequestDataFn.call(this))
......@@ -82,7 +82,7 @@ export default {
})
},
onAdlcndButtxmsel() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/adlcnd_buttxmsel", Utils.getRequestDataFn.call(this))
......@@ -96,7 +96,7 @@ export default {
})
},
onInsbnkButtxmsel() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/insbnk_buttxmsel", Utils.getRequestDataFn.call(this))
......@@ -110,7 +110,7 @@ export default {
})
},
onRmbpDet() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/rmbp_det", Utils.getRequestDataFn.call(this))
......@@ -124,7 +124,7 @@ export default {
})
},
onDefdetButtxmsel() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/defdet_buttxmsel", Utils.getRequestDataFn.call(this))
......@@ -138,7 +138,7 @@ export default {
})
},
onPreperButtxmsel() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/preper_buttxmsel", Utils.getRequestDataFn.call(this))
......@@ -152,7 +152,7 @@ export default {
})
},
onSetmodDet() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/setmod_det", Utils.getRequestDataFn.call(this))
......@@ -166,7 +166,7 @@ export default {
})
},
onLiaallButmisamt() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/liaall_butmisamt", Utils.getRequestDataFn.call(this))
......@@ -180,7 +180,7 @@ export default {
})
},
onLiaallButmissig() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/liaall_butmissig", Utils.getRequestDataFn.call(this))
......@@ -194,7 +194,7 @@ export default {
})
},
onWrkpDet() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/wrkp_det", Utils.getRequestDataFn.call(this))
......@@ -208,7 +208,7 @@ export default {
})
},
onOthpDet() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/othp_det", Utils.getRequestDataFn.call(this))
......@@ -222,7 +222,7 @@ export default {
})
},
onLimptsGet1() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/limpts_get1", Utils.getRequestDataFn.call(this))
......@@ -236,7 +236,7 @@ export default {
})
},
onLimptsGet2() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/limpts_get2", Utils.getRequestDataFn.call(this))
......@@ -250,7 +250,7 @@ export default {
})
},
onLimmodTrycal() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("ditopn/limmod_trycal", Utils.getRequestDataFn.call(this))
......@@ -264,7 +264,7 @@ export default {
})
},
async onLiaccvAdd() {
// this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
// this.root.$refs.modelForm.validate(async valid => {
// if (!valid)
// return;
// let rtnmsg = await Api.post("ditopn/liaccv_add", Utils.getRequestDataFn.call(this))
......@@ -277,7 +277,7 @@ export default {
// }
// })
let rtnmsg = await Api.post("ditopn/executeRule/liaall.liaccv.add", Utils.getRequestDataFn.call(this))
//const that = this.$parent.$parent.$parent.$parent;
//const that = this.root;
if (rtnmsg.respCode == "AAAAAA") {
//TODO 处理数据逻辑
debugger;
......@@ -291,7 +291,7 @@ export default {
}
},
async onLiaccvDel() {
// this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
// this.root.$refs.modelForm.validate(async valid => {
// if (!valid)
// return;
// let rtnmsg = await Api.post("ditopn/executeRule/liaall.liaccv.del", Utils.getRequestDataFn.call(this))
......@@ -304,7 +304,7 @@ export default {
// }
// })
let rtnmsg = await Api.post("ditopn/executeRule/liaall.liaccv.del", Utils.getRequestDataFn.call(this))
//const that = this.$parent.$parent.$parent.$parent;
//const that = this.root;
if (rtnmsg.respCode == "AAAAAA") {
//TODO 处理数据逻辑
debugger;
......
......@@ -2,7 +2,7 @@ import Api from "~/service/Api"
import Utils from "~/utils/index"
export default {
onUsfmodShwflt() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("sptsel/usfmod_shwflt", Utils.getRequestDataFn.call(this))
......@@ -16,7 +16,7 @@ export default {
})
},
onButypt() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("sptsel/butypt", Utils.getRequestDataFn.call(this))
......@@ -30,7 +30,7 @@ export default {
})
},
onDlmft() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("sptsel/dlmft", Utils.getRequestDataFn.call(this))
......@@ -44,7 +44,7 @@ export default {
})
},
onDlaxq() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("sptsel/dlaxq", Utils.getRequestDataFn.call(this))
......@@ -58,7 +58,7 @@ export default {
})
},
onButimg() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("sptsel/butimg", Utils.getRequestDataFn.call(this))
......
......@@ -2,10 +2,10 @@ import Api from "~/service/Api"
import Utils from "~/utils/index"
export default {
onSeaown() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
const that = this.$parent.$parent.$parent.$parent;
const that = this.root;
that.executeRule("searow").then(res => {
//TODO 处理数据逻辑
that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
......@@ -22,10 +22,10 @@ export default {
})
},
onSeajbh() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
const that = this.$parent.$parent.$parent.$parent;
const that = this.root;
that.executeRule("seajbh").then(res => {
//TODO 处理数据逻辑
that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
......@@ -33,7 +33,7 @@ export default {
})
},
onSeactr() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/seactr", Utils.getRequestDataFn.call(this))
......@@ -47,7 +47,7 @@ export default {
})
},
onSearow() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
......@@ -62,7 +62,7 @@ export default {
})
},
onDsp() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/dsp", Utils.getRequestDataFn.call(this))
......@@ -76,7 +76,7 @@ export default {
})
},
onImgmodNewimg() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod_newimg", Utils.getRequestDataFn.call(this))
......@@ -90,7 +90,7 @@ export default {
})
},
onImgmodNewhisimg() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod_newhisimg", Utils.getRequestDataFn.call(this))
......@@ -104,7 +104,7 @@ export default {
})
},
onDiaconButdia() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/diacon_butdia", Utils.getRequestDataFn.call(this))
......@@ -118,7 +118,7 @@ export default {
})
},
onImgmodHisimg() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod_hisimg", Utils.getRequestDataFn.call(this))
......@@ -133,7 +133,7 @@ export default {
},
onRelrow() {
const that = this
that.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
that.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
that.model.trncorco.selinr = {
......@@ -166,7 +166,7 @@ export default {
})
},
onPrinte() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/printe", Utils.getRequestDataFn.call(this))
......@@ -180,7 +180,7 @@ export default {
})
},
onReprow() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/reprow", Utils.getRequestDataFn.call(this))
......@@ -197,7 +197,7 @@ export default {
console.log(this.getSelectedData())
this.model.trncorco.selinr['rows'] = this.getSelectedData();
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
// if (!valid)
// return;
let rtnmsg = await Api.post("trnrel/rejrow", Utils.getRequestDataFn.call(this))
......@@ -228,7 +228,7 @@ export default {
})
},
onRelcor() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/relcor", Utils.getRequestDataFn.call(this))
......@@ -242,7 +242,7 @@ export default {
})
},
onExi() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/exi", Utils.getRequestDataFn.call(this))
......@@ -257,7 +257,7 @@ export default {
},
onRecpanDet() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_det", Utils.getRequestDataFn.call(this))
......@@ -271,7 +271,7 @@ export default {
})
},
onSyswrnButshw() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/syswrn_butshw", Utils.getRequestDataFn.call(this))
......@@ -285,7 +285,7 @@ export default {
})
},
onRecpanNotmap() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_notmap", Utils.getRequestDataFn.call(this))
......@@ -299,7 +299,7 @@ export default {
})
},
onRecpanButspt() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_butspt", Utils.getRequestDataFn.call(this))
......@@ -313,7 +313,7 @@ export default {
})
},
onRecpanInc() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_inc", Utils.getRequestDataFn.call(this))
......@@ -327,7 +327,7 @@ export default {
})
},
onRecpanButord() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_butord", Utils.getRequestDataFn.call(this))
......@@ -341,7 +341,7 @@ export default {
})
},
onImgmodImage() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod_image", Utils.getRequestDataFn.call(this))
......@@ -355,7 +355,7 @@ export default {
})
},
onRecpanIncben() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/recpan_incben", Utils.getRequestDataFn.call(this))
......@@ -369,7 +369,7 @@ export default {
})
},
onInftxtButtxmsel() {
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
this.root.$refs.modelForm.validate(async valid => {
if (!valid)
return;
let rtnmsg = await Api.post("trnrel/inftxt_buttxmsel", Utils.getRequestDataFn.call(this))
......
......@@ -43,6 +43,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptadv/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -54,6 +54,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptadv/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -30,6 +30,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptadv/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -80,6 +80,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptadv/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -1125,6 +1125,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptadv/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {};
......
......@@ -66,6 +66,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptadv/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -54,6 +54,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptadv/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="100px" size="small">
<c-tabs ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="Overview">
<!--PD000020 -->
<m-opnp1 :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="账务">
<!--PD000006 -->
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="附言">
<!--PD000000 -->
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="报文及面函">
<!--PD000000 -->
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="附件">
<!--PD000529 -->
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="收账通知">
<!--PD000001 -->
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="外管信息">
<!--PD000546 -->
<m-wg :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="跨境人民币申报">
<!--PD000002 -->
<m-cnyp :model="model" :codes="codes"/>
</el-tab-pane>
<c-tabs ref="elment" :value="tabVal" type="card" @tab-click="tabClick">
<el-tab-pane label="Overview" name="opnp1">
<!--PD000020 -->
<m-opnp1 :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="账务" name="setpan">
<!--PD000006 -->
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<!--PD000000 -->
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="报文及面函" name="docpan1">
<!--PD000000 -->
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="附件" name="doctre">
<!--PD000529 -->
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="收账通知" name="docpan2">
<!--PD000001 -->
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="外管信息" name="wg">
<!--PD000546 -->
<m-wg :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="跨境人民币申报" name="cnyp">
<!--PD000002 -->
<m-cnyp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
......@@ -64,9 +64,15 @@ export default {
"m-docpan" : Docpan,
"m-cnyp" : Cnyp,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "opnp1",
model:new Cptadv().data,
// defaultRule:Default,
// rules:this.mergeRules(Pattern,Check),
......
......@@ -681,6 +681,7 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
inject: ['root'],
props: ['model', 'codes'],
data: function () {
return {
......
......@@ -181,6 +181,7 @@
import Api from "~/service/Api"
export default {
inject: ['root'],
props:['model', 'codes'],
computed: {
liqtyp: function () {
......
......@@ -133,6 +133,7 @@
</template>
<script>
export default {
inject: ['root'],
props:['model', 'codes'],
}
</script>
\ No newline at end of file
......@@ -72,6 +72,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {
......
......@@ -95,6 +95,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {};
......
......@@ -744,6 +744,7 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
inject: ['root'],
props: ['model', 'codes'],
data(){
return{
......
......@@ -666,6 +666,7 @@
</template>
<script>
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {
......
......@@ -313,6 +313,7 @@
</template>
<script>
export default {
inject: ['root'],
props: ['model', 'codes'],
methods: {
getOwnref () {
......
......@@ -292,6 +292,7 @@
</template>
<script>
export default {
inject: ['root'],
props: ['model', 'codes'],
methods: {
getOwnref () {
......
......@@ -210,6 +210,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {
......
......@@ -150,6 +150,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {
......
......@@ -510,6 +510,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {
......
......@@ -164,6 +164,7 @@
</template>
<script>
export default {
inject: ['root'],
props:['model', 'codes'],
methods: {
handleSearch () {
......
......@@ -32,6 +32,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -233,6 +233,7 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
inject: ['root'],
props:['model', 'codes'],
methods: {
async search_rmtp_ptysel () {
......
......@@ -155,6 +155,7 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
inject: ['root'],
props:['model', 'codes'],
methods: {
async search_orip_ptysel () {
......
......@@ -77,9 +77,9 @@
<el-col :span="24">
<el-col :span="10">
<el-form-item label="汇款金额" prop="cpdgrp.cbs.max.cur">
<el-form-item label="汇款金额" prop="cpdgrp.cbs.nom1.cur">
<c-select
v-model="model.cpdgrp.cbs.max.cur"
v-model="model.cpdgrp.cbs.nom1.cur"
style="width: 100%"
placeholder=""
>
......@@ -93,9 +93,9 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="" label-width="15px" prop="cpdgrp.cbs.max.amt">
<el-form-item label="" label-width="15px" prop="cpdgrp.cbs.nom1.amt">
<c-input
v-model="model.cpdgrp.cbs.max.amt"
v-model="model.cpdgrp.cbs.nom1.amt"
placeholder="请输入汇款金额"
></c-input>
</el-form-item>
......@@ -150,6 +150,7 @@
<c-date-picker
type="date"
v-model="model.cpdgrp.rec.paydat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder=""
></c-date-picker>
......
......@@ -200,6 +200,7 @@
<script>
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {
......
......@@ -55,6 +55,7 @@
</template>
<script>
export default {
inject: ['root'],
props:['model', 'codes']
}
</script>
......
......@@ -349,6 +349,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {
......
......@@ -69,6 +69,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {
......
......@@ -107,6 +107,11 @@ export default {
"m-dbb": Dbb,
"m-outp": Outp
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
......
......@@ -64,6 +64,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {};
......
......@@ -61,6 +61,7 @@
import Event from "~/model/Ditopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {};
......
......@@ -334,6 +334,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {};
......
......@@ -285,6 +285,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {
......
......@@ -112,6 +112,7 @@
import Event from "~/model/Ditopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {};
......
......@@ -127,6 +127,7 @@ import Event from "~/model/Ditopn/Event"
import Utils from "~/utils";
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -362,6 +362,7 @@ import Event from "~/model/Ditopn/Event";
import Utils from "~/utils";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {
......
......@@ -494,6 +494,7 @@ import Input from "../../../components/Input.vue";
import Api from "~/service/Api";
import Utils from "~/utils/index";
export default {
inject: ['root'],
components: { Input },
props: ["model", "codes"],
data() {
......
......@@ -104,6 +104,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {};
......
......@@ -63,6 +63,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {};
......
......@@ -58,6 +58,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {};
......
......@@ -92,6 +92,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -51,6 +51,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {};
......
......@@ -251,6 +251,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {
......
......@@ -83,6 +83,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {};
......
......@@ -710,6 +710,7 @@ import Event from "~/model/Ditopn/Event";
import Utils from "~/utils";
export default {
inject: ['root'],
props: ["model", "codes"],
// mixins: [CommonProcess],
data() {
......
......@@ -396,6 +396,7 @@ import Api from "~/service/Api"
import Utils from "~/utils/index"
export default {
inject: ['root'],
components: { SetpanDialog },
props: ["model", "codes"],
data() {
......
......@@ -42,6 +42,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -8,99 +8,99 @@
size="small"
>
<c-tabs ref="elment" type="card" @tab-click="tabClick">
<c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="修改">
<el-tab-pane label="修改" name="amep">
<!--PD000015 -->
<m-amep :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="内容">
<el-tab-pane label="内容" name="ovwp">
<!--PD000001 -->
<m-ovwp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="银行明细">
<el-tab-pane label="银行明细" name="detp1">
<!--PD000452 -->
<m-detp1 :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="明细">
<el-tab-pane label="明细" name="detp">
<!--PD000077 -->
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="条款">
<el-tab-pane label="条款" name="tk">
<!--PD000342 -->
<m-tk :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="历史概要">
<el-tab-pane label="历史概要" name="narp">
<!--PD000021 -->
<m-narp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="货描修改">
<el-tab-pane label="货描修改" name="dogpame">
<!--PD000105 -->
<m-dogpame :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="单据修改">
<el-tab-pane label="单据修改" name="dorpame">
<!--PD000110 -->
<m-dorpame :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="其他条款修改">
<el-tab-pane label="其他条款修改" name="adcpame">
<!--PD000114 -->
<m-adcpame :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="给P,A,N银行指示">
<el-tab-pane label="给P,A,N银行指示" name="inspame">
<!--PD000306 -->
<m-inspame :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="或有">
<el-tab-pane label="或有" name="engp">
<!--PD000027 -->
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="保证金">
<el-tab-pane label="保证金" name="ccvpan">
<!--PD000001 -->
<m-ccvpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="账务">
<el-tab-pane label="账务" name="setpan">
<!--PD000000 -->
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="备查表">
<el-tab-pane label="备查表" name="addbcb">
<!--PD000328 -->
<m-addbcb :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="附言">
<el-tab-pane label="附言" name="coninfp">
<!--PD000000 -->
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="报文及面函">
<el-tab-pane label="报文及面函" name="docpan">
<!--PD000529 -->
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="附件">
<el-tab-pane label="附件" name="doctre">
<!--PD000546 -->
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Mt799">
<el-tab-pane label="Mt799" name="mt799">
<!--PD000361 -->
<m-mt799 :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="统一授信">
<el-tab-pane label="统一授信" name="limitbody">
<!--PD000001 -->
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
......@@ -158,9 +158,15 @@ export default {
"m-doctre": Doctre,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "amep",
model: new Ditame().data,
// defaultRule:Default,
// rules:this.mergeRules(Pattern,Check),
......
......@@ -61,6 +61,7 @@
import Event from "~/model/Ditopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {};
......
......@@ -285,6 +285,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {
......
......@@ -112,6 +112,7 @@
import Event from "~/model/Ditopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {};
......
......@@ -127,6 +127,7 @@ import Event from "~/model/Ditopn/Event"
import Utils from "~/utils";
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -360,6 +360,7 @@ import Event from "~/model/Ditopn/Event";
import Utils from "~/utils";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {
......
......@@ -494,6 +494,7 @@ import Input from "../../../components/Input.vue";
import Api from "~/service/Api";
import Utils from "~/utils/index";
export default {
inject: ['root'],
components: { Input },
props: ["model", "codes"],
data() {
......
......@@ -92,6 +92,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -12,6 +12,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -62,6 +62,7 @@
</template>
<script>
export default {
inject: ['root'],
props: ['model', 'codes']
}
</script>
......
......@@ -251,6 +251,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
data() {
return {
......
......@@ -14,6 +14,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -14,6 +14,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -14,6 +14,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -32,6 +32,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -699,6 +699,7 @@ import Event from "~/model/Ditopn/Event";
import Utils from "~/utils";
export default {
inject: ['root'],
props: ["model", "codes"],
// mixins: [CommonProcess],
data() {
......@@ -839,7 +840,9 @@ export default {
);
}
},
created: function () {},
created: function () {
console.log(this.root);
},
computed:{
flag(){
return this.model.didgrp.apl.pts.extkey=="";
......
......@@ -107,6 +107,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -63,6 +63,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -395,6 +395,7 @@ import Api from "~/service/Api"
import Utils from "~/utils/index"
export default {
inject: ['root'],
components: { SetpanDialog },
props: ["model", "codes"],
data() {
......
......@@ -42,6 +42,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -23,6 +23,7 @@
<script>
export default {
inject: ['root'],
props: ['model', 'codes']
}
</script>
......
......@@ -2,8 +2,8 @@
<c-page title="买方信用证开立">
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false">
<c-tabs ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="内容">
<c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="内容" name="ovwp">
<!--PD000001 -->
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
......@@ -20,15 +20,15 @@
<m-rbip :model="model" :codes="codes"/>
</el-tab-pane>
-->
<el-tab-pane label="银行明细">
<el-tab-pane label="银行明细" name="detp1">
<!--PD000452 -->
<m-detp1 :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="明细">
<el-tab-pane label="明细" name="detp">
<!--PD000077 -->
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="条款">
<el-tab-pane label="条款" name="tk">
<!--PD000342 -->
<m-tk :model="model" :codes="codes"/>
</el-tab-pane>
......@@ -48,44 +48,44 @@
<m-litrmbl1 :model="model" :codes="codes"/>
</el-tab-pane>
-->
<el-tab-pane label="帐务">
<el-tab-pane label="帐务" name="setpan">
<!--PD000000 -->
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="分录">
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan"/>
</el-tab-pane>
<el-tab-pane label="或有">
<el-tab-pane label="或有" name="engp">
<!--PD000027 -->
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="保证金">
<el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="备查表">
<el-tab-pane label="备查表" name="addbcb">
<!--PD000027 -->
<m-addbcb :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="附言">
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="面函">
<el-tab-pane label="面函" name="docpan">
<m-docpan :model="model" :codes="codes" ref="docpan"/>
</el-tab-pane>
<el-tab-pane label="MT799">
<el-tab-pane label="MT799" name="mt799">
<!--PD000361 -->
<m-mt799 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信">
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
......@@ -146,19 +146,25 @@ export default {
"m-coninfp" : Coninfp,
"m-ccvpan" : Ccvpan,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
computed: {
},
data(){
return {
trnName:"ditopn",
model:new Ditopn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules:null,
codes:{...CodeTable},
tabVal: "ovwp",
trnName:"ditopn",
model:new Ditopn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules:null,
codes:{...CodeTable},
}
},
methods:{
......@@ -166,21 +172,21 @@ export default {
if(this.isInDisplay){
return
}
const label = vm.label
if (label === "或有") {
const name = vm.name
if (name === "engp") {
this.executeRule("liaall.engp").then(res => {
const data = res.data;
Utils.copyValueFromVO(this.model, data)
})
}
if (label === "分录") {
if (name === "glepan") {
this.executeRule("setmod.glemod.glepan").then(res => {
const data = res.data;
this.$refs.glepan.stmData.data = res.data.setmod_glemod_gleshwstm.rows;
//Utils.copyValueFromVO(this.model, data)
})
}
if (label === "帐务") {
if (name === "setpan") {
this.executeRule("setmod.setpan").then(res => {
if (res.respCode == "AAAAAA"){
const data = res.data;
......@@ -188,7 +194,7 @@ export default {
}
})
}
if (label === "面函") {
if (name === "docpan") {
this.executeRule("trnmod.trndoc.docpan").then(res => {
if (res.respCode == "AAAAAA"){
const data = res.data;
......@@ -204,7 +210,7 @@ export default {
}
})
}
if (label === "统一授信") {
if (name === "limitbody") {
this.executeRule("liaall.limmod.limitbody").then(res => {
if (res.respCode == "AAAAAA"){
const data = res.data;
......
......@@ -1756,6 +1756,7 @@ import Event from "~/model/Ditsel/Event";
import SelMune from "./SelMune.vue";
export default {
inject: ['root'],
components: { SelMune },
props: ["model", "codes"],
data() {
......
......@@ -8,8 +8,8 @@
size="small"
>
<!--PD000058 -->
<c-tabs ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="菜单">
<c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="菜单" name="sel">
<m-sel :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
......@@ -29,9 +29,15 @@ export default {
components: {
"m-sel": Sel,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "sel",
model: new Ditsel().data,
// defaultRule:Default,
// rules:this.mergeRules(Pattern,Check),
......
......@@ -306,6 +306,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Office/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -6,7 +6,7 @@
<el-container style="height:100%">
<el-main style="padding:0">
<c-tabs class="fulltab" v-model="todoActive" type="card" @tab-click="handleClick">
<c-tabs :value="tabVal" class="fulltab" v-model="todoActive" type="card" @tab-click="handleClick">
<el-tab-pane v-for="item in codes.todo" :key="item.value" :label="item.label" :name="item.value">
<s-todo :todoType="item.value"/>
......@@ -121,8 +121,14 @@ export default {
computed: {
},
provide() {
return {
root: this
}
},
data(){
return {
tabVal: CodeTable.todo[0].value,
todoActive:"WAT",
codes:{
dsp:CodeTable.dsp,
......
......@@ -225,6 +225,7 @@ import Event from "~/model/Sptsel/Event"
import CommonProcess from "~/mixin/CommonProcess"
export default {
inject: ['root'],
props:["model","codes"],
// mixins: [CommonProcess],
data(){
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" tokenKey="modelForm" label-width="170px" size="small" :validate-on-rule-change="false">
<c-tabs ref="elment" type="border-card" @tab-click="tabClick">
<el-tab-pane label="待办任务查询">
<c-tabs :value="tabVal" ref="elment" type="border-card" @tab-click="tabClick">
<el-tab-pane :value="tabVal" label="待办任务查询" name="menu">
<m-menu :model="model" :codes="codes" ref="Menu"/>
</el-tab-pane>
</c-tabs>
......@@ -25,12 +25,18 @@ export default {
components:{
"m-menu" : Menu,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
computed: {
},
data(){
return {
tabVal: "menu",
trnName:"sptsel",
model:new Sptsel().data,
checkRules: Check,
......
......@@ -243,6 +243,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
components: {
......
......@@ -14,6 +14,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -14,6 +14,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -14,6 +14,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -14,6 +14,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -14,6 +14,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -244,6 +244,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -14,6 +14,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -20,6 +20,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -14,6 +14,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -33,6 +33,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -14,6 +14,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
data(){
return {
......
......@@ -45,6 +45,11 @@ export default {
computed: {
},
provide() {
return {
root: this
}
},
data(){
return {
trnName:"trnrel",
......
......@@ -25,6 +25,11 @@ export default {
computed: {
},
provide() {
return {
root: this
}
},
data(){
return {
model:{
......
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