Commit ccf3c122 by 潘际乾

selrows

parent d53fed01
......@@ -9,6 +9,7 @@ export default {
that.executeRule("searow").then(res => {
//TODO 处理数据逻辑
that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
this.model.trncorco.trnstm = res.data.trncorco_trnstm;
})
// let rtnmsg = await Api.post("trnrel/executeRule/searow", Utils.flatObject(this.model))
// if (rtnmsg.respCode == "AAAAAA") {
......
......@@ -9,6 +9,7 @@ export default class Trnrel{
inidattil:"", // Date of entry of Transaction until .trncorco.inidattil
trnstm:"", // List of transaction sfor display .trncorco.trnstm
dflg:"", // 国内证标志 .trncorco.dflg
selinr: ""
},
atp:{
cod:"", // Transaction Type .atp.cod
......
......@@ -28,7 +28,7 @@ export default class Utils {
else if (obj[key] instanceof Date)
target[nkey] = obj[key];
else if (typeof obj[key] == "object")
if (nkey === "trncorco_trnstm") {
if (nkey === "trncorco_trnstm" || nkey === "trncorco_selinr") {
target[nkey] = obj[key];
} else {
Utils.flatObject(obj[key], target, nkey); //递归赋值
......
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