'place_order/source_refund', 'update' => [ 'start' => 'place_order/manage/source/refund.audit', 'field' => [ 'type' => [ 'type' => 'show', 'default' => 'Dever::call("place_order/manage/source/refund.show", ["type", "{type}"])', ], 'desc_type' => [ 'type' => 'show', 'default' => 'Dever::call("place_order/manage/source/refund.show", ["desc_type", "{desc_type}"])', ], 'audit' => [ 'name' => '退款审核', 'rules' => true, 'type' => 'radio', 'option' => [ 1 => '审核通过', 2 => '审核驳回', ], 'default' => 1, ], 'audit_desc' => [ 'name' => '审核备注', //'rules' => true, 'type' => 'textarea', 'autosize' => ['minRows' => 2], ], ], ], ]; $id = Dever::input('id'); if ($id) { $info = Dever::db('source_refund', 'place_order')->find($id); if ($info && $info['type'] == 1) { $config['update']['field']['address_id'] = [ 'type' => 'select', 'rules' => true, 'option' => 'Dever::call("place/address.getList")', ]; } } return $config;