Commit 6a36e599 by jianglong

修改LIT交易,BRT交易 copyValueFromVo 为updateModel

parent cd86ca4f
......@@ -114,7 +114,7 @@ export default {
console.log("进入brtacp交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -139,7 +139,7 @@ export default {
console.log("进入brtame交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -152,7 +152,7 @@ export default {
console.log("进入brtcan交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -156,7 +156,7 @@ export default {
console.log("进入brtcsg交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -169,7 +169,7 @@ export default {
console.log("进入brtdcr交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -215,7 +215,7 @@ export default {
console.log("进入brtlat交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -211,7 +211,7 @@ export default {
console.log("进入brtset交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
this.model.mtabut.clsflg="X";
if (this.isInDisplay) {
this.restoreDisplay();
......
......@@ -183,7 +183,7 @@ export default {
console.log("进入brtsnd交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -165,7 +165,7 @@ export default {
console.log("进入litacp交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -249,7 +249,7 @@ export default {
console.log("进入litame交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -124,7 +124,7 @@ export default {
console.log("进入litcan交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -148,7 +148,7 @@ export default {
{
//TODO 处理数据逻辑
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -146,7 +146,7 @@ export default {
console.log("进入litdck交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -220,7 +220,7 @@ export default {
console.log("进入litdla交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
......@@ -160,7 +160,7 @@ export default {
console.log("进入litrog交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......
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