Commit 02044535 by lianyang

动态码表getValues方法修改

parent 3e9d9d4a
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
return arr.map(item => { return arr.map(item => {
let itemArr = item.split("\t") let itemArr = item.split("\t")
if (itemArr.length > 1) { if (itemArr.length > 1) {
return { label: item, value: itemArr[0] } return { label: itemArr[1], value: itemArr[0] }
} else { } else {
if (tableName && CodeTable[tableName]) { if (tableName && CodeTable[tableName]) {
const r = CodeTable[tableName].find(code => code.value === itemArr[0]) const r = CodeTable[tableName].find(code => code.value === itemArr[0])
......
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