Commit f0de7afd by 1377875331@qq.com

成功才执行

parent 625d4c3d
...@@ -193,12 +193,16 @@ export default { ...@@ -193,12 +193,16 @@ export default {
const label = vm.label const label = vm.label
if (label === "帐务") { if (label === "帐务") {
this.executeRule("setmod.setpan").then(res => { this.executeRule("setmod.setpan").then(res => {
if (res.respCode == "AAAAAA"){
const data = res.data; const data = res.data;
Utils.copyValueFromVO(this.model, data) Utils.copyValueFromVO(this.model, data)
}
}) })
} }
if (label === "面函") { if (label === "面函") {
//didgrp.adv.pts.extkey
this.executeRule("trnmod.trndoc.docpan").then(res => { this.executeRule("trnmod.trndoc.docpan").then(res => {
if (res.respCode == "AAAAAA"){
const data = res.data; const data = res.data;
Utils.copyValueFromVO(this.model, data) Utils.copyValueFromVO(this.model, data)
var stm = []; var stm = [];
...@@ -209,6 +213,7 @@ export default { ...@@ -209,6 +213,7 @@ export default {
} }
} }
this.$refs.docpan.stmData.data = stm this.$refs.docpan.stmData.data = stm
}
}) })
} }
} }
......
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