Commit cfa64128 by niewei

oftopn及oftsel码表调整

parent 3144e30c
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
this.stmData.data = []; this.stmData.data = [];
const { list } = rtnmsg.data; const { list } = rtnmsg.data;
const { codes: { kpasta, zfqzsta, stacod, offsta } } = this; const { codes: { kpasta, zfqzsta, stacod, offsta, chncod } } = this;
list.forEach(v => { list.forEach(v => {
for (let i in kpasta) { for (let i in kpasta) {
if (kpasta[i].value == v.typ) { if (kpasta[i].value == v.typ) {
...@@ -61,6 +61,23 @@ export default { ...@@ -61,6 +61,23 @@ export default {
v.offsta = offsta[i].label; v.offsta = offsta[i].label;
} }
} }
for (let i in chncod) {
if (chncod[i].value == v.multimsg) {
v.multimsg = chncod[i].label;
}
}
for (let i in chncod) {
if (chncod[i].value == v.chk) {
v.chk = chncod[i].label;
}
}
for (let i in chncod) {
if (chncod[i].value == v.kpatyp) {
v.kpatyp = chncod[i].label;
}
}
}) })
......
...@@ -37,7 +37,7 @@ export default { ...@@ -37,7 +37,7 @@ export default {
this.stmData.data = []; this.stmData.data = [];
const { list } = rtnmsg.data; const { list } = rtnmsg.data;
const { codes: { kpasta, zfqzsta, stacod, offsta } } = this; const { codes: { kpasta, zfqzsta, stacod, offsta, chncod } } = this;
list.forEach(v => { list.forEach(v => {
for (let i in kpasta) { for (let i in kpasta) {
if (kpasta[i].value == v.typ) { if (kpasta[i].value == v.typ) {
...@@ -60,6 +60,22 @@ export default { ...@@ -60,6 +60,22 @@ export default {
v.offsta = offsta[i].label; v.offsta = offsta[i].label;
} }
} }
for (let i in chncod) {
if (chncod[i].value == v.multimsg) {
v.multimsg = chncod[i].label;
}
}
for (let i in chncod) {
if (chncod[i].value == v.chk) {
v.chk = chncod[i].label;
}
}
for (let i in chncod) {
if (chncod[i].value == v.kpatyp) {
v.kpatyp = chncod[i].label;
}
}
}) })
......
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