Commit 4f946b27 by Joey

fix(@gms/gms-plugin-billexpand): 基础数据选择组件在子表中部分情况下录入值消失

parent 584b2c46
......@@ -302,7 +302,9 @@ export default {
this.selectIndex = -1
}
else if (
this.selectValue != this.selectedItem.code
this.selectedItem
&& (this.selectedItem.code || this.selectedItem.name)
&& this.selectValue != this.selectedItem.code
&& this.selectValue != this.selectedItem.name
) {
this.clearList()
......@@ -475,6 +477,7 @@ export default {
}
else if (value && value.length) {
this.handleMainSearchSelectClick(value[0])
this.sendEvent(value[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