💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
``` <!-- 4.2 因公-成本中心/start --> <if condition="$train_order.order_type neq 1"> <div class="layui-border-blue-sky clear mt-10"> <!-- 头部 --> <div class="layui-col-md12 layui-bg-blue-sky h-50 lh-50 c-White" style="padding-left: 10px;"> 成本中心 </div> <!-- info/start --> <div style="padding:10px 15px;" class="clear"> <volist name="user_cost_list" id="vo" key="k"> <div class="layui-form-item"> <label class="layui-form-label" style="width: 150px;">{$vo.user_name}<span style="color: #ff0000;">*</span>成本中心:</label> <div class="layui-input-inline"> <select name="train_users[{$vo.user_id}][cost_center_id]" lay-filter="cost" lay-verify="required|number" lay-error="请选择成本中心"> <option value="">请选择成本中心</option> <volist name="vo.costList" id="vo2"> <!--data-user_id 订票人的ID/approvers 审批人的ID--> <option data-user_id="{$vo.user_id}" value="{$vo2.cost_center_id}" data-cost_name="{$vo2.cost_name}" data-approvers="{$vo2.approvers}" data-notice_type="{$vo2.notice_type}" data-cost_center_id="{$vo2.cost_center_id}">{$vo2.cost_name} </option> </volist> </select> </div> </div> </volist> <div style="clear:both;"></div> </div> </div> </if> <!-- 4.2 因公-成本中心/end --> ``` ``` <div class="layui-form-item"> <label class="layui-form-label" style="width: 150px;">{$vo.user_name}<span style="color: #ff0000;">*</span>成本中心:</label> <div class="layui-input-inline"> <select name="train_users[{$vo.user_id}][cost_center_id]" lay-filter="cost" lay-verify="required|number" lay-error="请选择成本中心"> <option value="">请选择成本中心</option> <!--data-user_id 订票人的ID/approvers 审批人的ID--> <option data-user_id="{$vo.user_id}" value="{$vo2.cost_center_id}" data-cost_name="{$vo2.cost_name}" data-approvers="{$vo2.approvers}" data-notice_type="{$vo2.notice_type}" data-cost_center_id="{$vo2.cost_center_id}">{$vo2.cost_name} </option> </select> </div> </div> ```