From a1e9b18a4dbfd21e1bf4d5cb60974ac2f0115efd Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 30 五月 2025 15:18:44 +0800 Subject: [PATCH] 2025-05-30 --- src/tabviews/zshare/mutilform/mkPopSelect/index.jsx | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx b/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx index 055a9b0..3aca1c8 100644 --- a/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx +++ b/src/tabviews/zshare/mutilform/mkPopSelect/index.jsx @@ -61,6 +61,7 @@ }) let placeholder = '' + let searchKey = '' if (!config.searchKey) { config.onload = 'true' } else { @@ -74,6 +75,11 @@ }) placeholder = placeholder ? placeholder.join('銆�') : '' + + if (value && !config.showValue) { + searchKey = value + config.onload = 'true' + } } this.state = { @@ -84,7 +90,7 @@ showValue: config.showValue, placeholder, arr_field: arrfield.join(','), - searchKey: '', + searchKey: searchKey, pageIndex: 1, pageSize: 10, orderBy: '', @@ -122,8 +128,8 @@ }) let param = null - if (window.backend && window.GLOB.CacheData.has('sql_' + config.uuid)) { - let ex = window.GLOB.CacheData.get('sql_' + config.uuid) + if (window.backend && window.GLOB.CacheData.has('sql_' + config.formSqlId)) { + let ex = window.GLOB.CacheData.get('sql_' + config.formSqlId) let sysvals = { time_id: Utils.getguid(), mk_departmentcode: sessionStorage.getItem('departmentcode') || '', @@ -178,10 +184,11 @@ param = { $backend: true, + $type: 's_Get_TableData', data: [{ id: ex.id, + menuname: config.label || '', exps: exps, - menuname: '', md5_id: '' }] } @@ -353,10 +360,10 @@ config.tabUuid && MKEmitter.emit('mkFC', 'focus', config.tabUuid) if (config.subFields) { setTimeout(() => { - this.props.onSubmit(config.tabUuid) + this.props.onSubmit(config.tabUuid, config.errTabUuid) }, 1000) } else { - this.props.onSubmit(config.tabUuid) + this.props.onSubmit(config.tabUuid, config.errTabUuid) } } }) -- Gitblit v1.8.0