From ab4fc049efaeeeb68adad7d39e170b1f537f170f Mon Sep 17 00:00:00 2001 From: tianshujie Date: Fri, 3 Jan 2025 09:39:11 +0800 Subject: [PATCH] * [bug#55610,done,0.7h] import selected default values for radio and checkbox control. --- module/transfer/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/transfer/model.php b/module/transfer/model.php index d9bd182509..7099fb5e9f 100644 --- a/module/transfer/model.php +++ b/module/transfer/model.php @@ -731,7 +731,7 @@ class transferModel extends model /* 如果字段是下拉字段并且在excel里不是下拉框的形式时,根据fieldList->value查找value。*/ /* If the field is a dropdown field and the value in excel is not a dropdown box, the value is found by fieldList->value. */ - if(!in_array($control, array('select', 'multiple', 'picker'))) continue; + if(!in_array($control, array('select', 'multiple', 'picker', 'radioList', 'checkList'))) continue; $rows[$key]->$field = $this->transferTao->extractElements((string) $cellValue, $field, $fieldList[$field]['items']); } }