agilebuilder-ui 1.0.87-temp5 → 1.0.87-temp7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/super-ui.css +1 -1
- package/lib/super-ui.js +597 -596
- package/lib/super-ui.umd.cjs +12 -12
- package/package.json +1 -1
- package/packages/super-grid/src/normal-column-content.vue +6 -3
package/package.json
CHANGED
|
@@ -686,19 +686,22 @@ export default {
|
|
|
686
686
|
// 找出名称后赋值给当前字段
|
|
687
687
|
const filterValue = temp.optionItems.find((item) => item[temp.valueAttribute] === beforeColumnValue)
|
|
688
688
|
if (filterValue) {
|
|
689
|
-
beforeColumnValue = filterValue[
|
|
689
|
+
beforeColumnValue = filterValue[temp.valueAttribute]
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
692
|
param.row[this.column.prop] = beforeColumnValue
|
|
693
693
|
} else {
|
|
694
|
-
if (beforeColumnValue && selectDataKey !== temp.valueAttribute
|
|
694
|
+
if (beforeColumnValue && selectDataKey !== temp.valueAttribute) {
|
|
695
|
+
if (typeof beforeColumnValue === 'string') {
|
|
696
|
+
beforeColumnValue = beforeColumnValue.split(',')
|
|
697
|
+
}
|
|
695
698
|
// 解决当前字段不是动态数据源选项值所映射的字段的问题 例如当前字段是工厂名称, 动态数据源选项值是工厂编码
|
|
696
699
|
const t = []
|
|
697
700
|
beforeColumnValue.forEach((selectItem) => {
|
|
698
701
|
if (selectDataKey !== temp.valueAttribute) {
|
|
699
702
|
const filterValue = temp.optionItems.find((option) => option[temp.valueAttribute] === selectItem)
|
|
700
703
|
if (filterValue) {
|
|
701
|
-
t.push(filterValue[
|
|
704
|
+
t.push(filterValue[temp.valueAttribute])
|
|
702
705
|
}
|
|
703
706
|
}
|
|
704
707
|
})
|