|
@@ -238,9 +238,32 @@
|
|
|
<span class="color-green">其他说明</span>
|
|
|
<input name="other_instructions" class="layui-input" placeholder="请输入其他说明" value="{$vo.other_instructions|default=''}">
|
|
|
</label>
|
|
|
+
|
|
|
+ <label class="layui-col-xs3 relative">
|
|
|
+ <span class="color-green">模板类型</span>
|
|
|
+
|
|
|
+ <select name='template' class='layui-select' required lay-verify="required" lay-search>
|
|
|
+ <option value=''>请选择</option>
|
|
|
+ {if isset($vo.id)}
|
|
|
+ <!--{foreach $template as $menu}-->
|
|
|
+ <!--{eq name='menu.id' value='$vo.template'}-->
|
|
|
+ <option selected value='{$menu.id}'>{$menu.title}</option>
|
|
|
+ <!--{else}-->
|
|
|
+ <option value='{$menu.id}'>{$menu.title}</option>
|
|
|
+ <!--{/eq}-->
|
|
|
+ <!--{/foreach}-->
|
|
|
+ {else}
|
|
|
+ <!--{foreach $template as $menu}-->
|
|
|
+ <option value='{$menu.id}'>{$menu.title}</option>
|
|
|
+ <!--{/foreach}-->
|
|
|
+ {/if}
|
|
|
+ </select>
|
|
|
+
|
|
|
+ </label>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
+
|
|
|
<div class="layui-form-item text-center">
|
|
|
{if isset($vo.id) && $vo.id neq ''}<input type='hidden' value="<?php echo date('Y-m-d H:i:s'); ?>" name='update_at'>{else}<input type='hidden' value="<?php echo date('Y-m-d H:i:s'); ?>" name='create_at'>{/if}
|
|
|
{notempty name='vo.id'}<input type="hidden" name="id" value="{$vo.id}">{/notempty}
|