doway-coms 2.11.88 → 2.11.90
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/package.json
CHANGED
|
@@ -348,6 +348,8 @@
|
|
|
348
348
|
:allowAutoClear="scope.column.params.allowAutoClear"
|
|
349
349
|
@preSearch="(searchInfo,repeatRowInfo,row,api) => preSearch(searchInfo, scope,null,api)"
|
|
350
350
|
@selectChanged="(selectedRowInfo)=>pulldownSelectChanged(scope,selectedRowInfo)"
|
|
351
|
+
@inputChangeEvent="()=>pulldownInputChangeEvent(scope)"
|
|
352
|
+
@inputBlurEvent="()=>pulldownInputBlurEvent(scope)"
|
|
351
353
|
@confirmMultiSelect="
|
|
352
354
|
(pulldownView, selectRows) =>
|
|
353
355
|
pulldownMultiSelect(scope, pulldownView, selectRows)
|
|
@@ -3107,6 +3109,15 @@ export default {
|
|
|
3107
3109
|
scope['pulldownSelectedRow'] = selectedRowInfo
|
|
3108
3110
|
this.cellValueChange(scope)
|
|
3109
3111
|
},
|
|
3112
|
+
pulldownInputChangeEvent(scope){
|
|
3113
|
+
if(scope.column.params.allowAutoClear===false){
|
|
3114
|
+
//如果可以输入值并保存的话就触发改变事件
|
|
3115
|
+
this.cellValueChange(scope)
|
|
3116
|
+
}
|
|
3117
|
+
},
|
|
3118
|
+
pulldownInputBlurEvent(scope){
|
|
3119
|
+
this.$emit('inputBlurEvent', scope,this.dataName)
|
|
3120
|
+
},
|
|
3110
3121
|
cellValueChange(scope, e) {
|
|
3111
3122
|
console.debug(scope.column.field + 'value change')
|
|
3112
3123
|
if (
|