Commit 32fc8895 by zhangzhen

细节优化

parent d0f50eed
......@@ -425,7 +425,7 @@
.__blocks__.invent_code_box_block_id.meta.columns).map(item => {
return {
...item,
label: `[${item.valueField}]${item.textField}[${item.param1Field}]` ,
label: `${item.textField}_${item.param3Field}` ,
value: item.valueField,
name: item.textField
}
......
......@@ -505,10 +505,10 @@
.__blocks__.invent_code_box_block_id.meta.columns)
if(list && list.length){
this.inventRecordList = list.map(item => {
this.inventRecordEnum[item.valueField] = `[${item.valueField}]${item.textField}[${item.param1Field}]`
this.inventRecordEnum[item.valueField] = `${item.textField}_${item.param3Field}`
return {
...item,
label: `[${item.valueField}]${item.textField}[${item.param1Field}]` ,
label: `${item.textField}_${item.param3Field}` ,
value: item.valueField,
name: item.textField
}
......
......@@ -426,10 +426,10 @@
this.inventRecordList = toJsonData(res.data.__blocks__.invent_code_box_block_id.rows, res.data
.__blocks__.invent_code_box_block_id.meta.columns).map(item => {
this.inventRecordEnum[item.valueField] = `[${item.valueField}]${item.textField}[${item.param1Field}]`
this.inventRecordEnum[item.valueField] = `${item.textField}_${item.param3Field}`
return {
...item,
label: `[${item.valueField}]${item.textField}[${item.param1Field}]` ,
label: `${item.textField}_${item.param3Field}` ,
value: item.valueField,
name: item.textField
}
......
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