From e20bf5092ee15f5569bc3939204a0f598b75d15b Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期一, 11 九月 2023 09:40:15 +0800 Subject: [PATCH] 编码规则-分类码段-码值管理树折叠 --- Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue b/Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue index f53a288..8e83d4f 100644 --- a/Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue +++ b/Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue @@ -287,18 +287,18 @@ if(isMutiValue){ var valueFieldArray = _that.props.value.split(","); valueFieldArray.forEach((_itemField,_indexFiel)=>{ - value.push( item[_itemField] + (_that.referConfig.valueSep?_that.referConfig.valueSep:' ')); + value.push( (item[_itemField] || item['data'][_itemField]) + (_that.referConfig.valueSep?_that.referConfig.valueSep:' ')); }) }else { - value.push(item[_that.props.value]); + value.push(item[_that.props.value] || item['data'][_that.props.value]); } if(isMutiRaw) { var rawFieldArray = _that.props.label.split(","); rawFieldArray.forEach((_itemField,_indexField)=>{ - text.push(item[_itemField] + (_that.referConfig.textSep?_that.referConfig.textSep:' ')) ; + text.push((item[_itemField] || item['data'][_itemField]) + (_that.referConfig.textSep?_that.referConfig.textSep:' ')) ; }) }else{ - text.push(item[_that.props.label]); + text.push(item[_that.props.label] || item['data'][_that.props.label]); } }) -- Gitblit v1.9.3