修改单个数据更新时的内容显示

master
于肖磊 2025-10-22 17:18:43 +08:00
parent f4e1fd9792
commit 4464f99e52
1 changed files with 3 additions and 0 deletions

View File

@ -955,15 +955,18 @@ export default {
form_value[`${ form_name }_verify`] = com_data?.form_value_code || '';
}
} else if (item.key ==='date-group') {
//
form_value[`${ form_name }_start`] = com_data?.form_value[0] || '';
form_value[`${ form_name }_end`] = com_data?.form_value[1] || '';
} else if (['checkbox', 'select-multi'].includes(item.key)) {
//
if (type != 'custom_option_list') {
form_value[`${ form_name }`] = com_data?.form_value || '';
} else {
form_value[`${ form_name }_custom_option_list`] = com_data?.custom_option_list || '';
}
} else if (['select', 'radio-btns', 'single-text'].includes(item.key) && ['select', 'radio-btns'].includes(item.com_data.type)) {
//
if (type != 'other') {
form_value[`${ form_name }`] = com_data?.form_value || '';
} else {