Commit 783d65dd by 1377875331@qq.com

Post成功后copyValueFromVO

parent fdd4c1b5
...@@ -152,8 +152,7 @@ export default { ...@@ -152,8 +152,7 @@ export default {
Api.post("ditopn/default/didgrp.rec.avbby", arg).then( Api.post("ditopn/default/didgrp.rec.avbby", arg).then(
(res) => { (res) => {
if (res.respCode = "AAAAAA"){ if (res.respCode = "AAAAAA"){
const data = res.data; Utils.copyValueFromVO(this.model, res.data);
this.model.didgrp.blk.defdet = data.didgrp_blk_defdet;
} }
} }
); );
...@@ -163,8 +162,7 @@ export default { ...@@ -163,8 +162,7 @@ export default {
Api.post("ditopn/default/didgrp.rec.tenmaxday", arg).then( Api.post("ditopn/default/didgrp.rec.tenmaxday", arg).then(
(res) => { (res) => {
if (res.respCode = "AAAAAA"){ if (res.respCode = "AAAAAA"){
const data = res.data; Utils.copyValueFromVO(this.model, res.data);
this.model.didgrp.blk.defdet = data.didgrp_blk_defdet;
} }
} }
); );
......
...@@ -715,14 +715,7 @@ export default { ...@@ -715,14 +715,7 @@ export default {
if (res.respCode = "AAAAAA"){ if (res.respCode = "AAAAAA"){
//失去焦点,避免多次触发 //失去焦点,避免多次触发
document.getElementById('extkey').blur(); document.getElementById('extkey').blur();
const data = res.data; Utils.copyValueFromVO(this.model, res.data);
this.model.didgrp.apl.namelc = data.didgrp_apl_namelc;
this.model.didgrp.apl.adrelc = data.didgrp_apl_adrelc;
this.model.didgrp.apl.pts.extkey = data.didgrp_apl_pts_extkey;
this.model.didgrp.apl.rolsetflg = data.didgrp_apl_rolsetflg;
this.model.didgrp.rec.nam = data.didgrp_rec_nam; //摘要
this.model.didgrp.apl.pts.extact = data.didgrp_apl_pts_extact; //申请人账号
this.model.ditp.aplname = data.ditp_aplname;
this.flag = false; this.flag = false;
} }
} }
...@@ -733,12 +726,8 @@ export default { ...@@ -733,12 +726,8 @@ export default {
Api.post("ditopn/executeRule/didgrp.ben.pts.extkey", data).then( Api.post("ditopn/executeRule/didgrp.ben.pts.extkey", data).then(
(res) => { (res) => {
if (res.respCode = "AAAAAA"){ if (res.respCode = "AAAAAA"){
const data = res.data; Utils.copyValueFromVO(this.model, res.data);
this.model.didgrp.ben.namelc = data.didgrp_ben_namelc;
this.model.didgrp.ben.adrelc = data.didgrp_ben_adrelc;
this.model.didgrp.ben.pts.extkey = data.didgrp_ben_pts_extkey;
} }
} }
); );
}, },
...@@ -759,10 +748,7 @@ export default { ...@@ -759,10 +748,7 @@ export default {
}); });
}else{ }else{
this.jigomcFlag = true; this.jigomcFlag = true;
const data = res.data; Utils.copyValueFromVO(this.model, res.data);
this.model.didgrp.beb.pts.bankno = data.didgrp_beb_pts_bankno;
this.model.didgrp.beb.pts.jigomc = data.didgrp_beb_pts_jigomc;
} }
} }
} }
......
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