chaoyu/view/manager/achievement/info_edit.html

104 lines
6.0 KiB
HTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<div class="layui-card layui-col-md12">
<div class="layui-card-body">
<form class="layui-form" data-action="{:url('manager.achievement/infoEdit')}">
<input type="hidden" name="_token" value="{$_token ?? ''}"/>
<strong style="color: #f20000; font-size: 12px; display: block; line-height: 1;">注意*号为必填选项!</strong>
<hr style="margin: 20px 0;">
<div class="layui-form-itemBox3 between">
<div class="layui-form-item">
<label class="layui-form-label">项目名称<em>*</em></label>
<div class="layui-input-block">
<input class="layui-input" name="item[title]" maxlength="60" value="{$item.title}"/>
<p class="layui-form-mid layui-word-aux">请勿超过60个字符</p>
</div>
</div>
</div>
<div class="layui-form-itemBox3 between">
<div class="layui-form-item">
<label class="layui-form-label">项目名称-英文<em>*</em></label>
<div class="layui-input-block">
<input class="layui-input" name="item[title_en]" maxlength="60" value="{$item.title_en}"/>
<p class="layui-form-mid layui-word-aux">请勿超过60个字符</p>
</div>
</div>
</div>
<div class="layui-form-itemBox3 between">
<div class="layui-form-item">
<label class="layui-form-label">订货单位<em>*</em></label>
<div class="layui-input-block">
<input class="layui-input" name="item[order_company]" maxlength="100" value="{$item.order_company}" />
<p class="layui-form-mid layui-word-aux">请勿超过100个字符</p>
</div>
</div>
</div>
<div class="layui-form-itemBox3 between">
<div class="layui-form-item">
<label class="layui-form-label">订货单位-英文<em>*</em></label>
<div class="layui-input-block">
<input class="layui-input" name="item[order_company_en]" maxlength="100" value="{$item.order_company_en}" />
<p class="layui-form-mid layui-word-aux">请勿超过100个字符</p>
</div>
</div>
</div>
<div class="layui-form-itemBox3 between">
<div class="layui-form-item">
<label class="layui-form-label">货物名称及型号规格<em>*</em></label>
<div class="layui-input-block">
<textarea class="layui-textarea" name="item[goods_model]" maxlength="300" onkeyup="limitContentLength(this, 300)">{$item.goods_model}</textarea>
<p class="layui-form-mid layui-word-aux">请勿超过300个字符</p>
</div>
</div>
</div>
<div class="layui-form-itemBox3 between">
<div class="layui-form-item">
<label class="layui-form-label">订货数量<em>*</em></label>
<div class="layui-input-block">
<textarea class="layui-textarea" name="item[goods_amount]" maxlength="500" onkeyup="limitContentLength(this, 500)">{$item.goods_amount}</textarea>
<p class="layui-form-mid layui-word-aux">请勿超过500个字符</p>
</div>
</div>
</div>
<div class="layui-form-itemBox3 between">
<div class="layui-form-item">
<label class="layui-form-label">业务员姓名</label>
<div class="layui-input-block">
<input class="layui-input" name="item[owner]" maxlength="20" value="{$item.owner}"/>
<p class="layui-form-mid layui-word-aux">选填项请勿超过20个字符</p>
</div>
</div>
</div>
<div class="layui-form-itemBox3 between">
<div class="layui-form-item">
<label class="layui-form-label">业务员联系电话</label>
<div class="layui-input-block">
<input class="layui-input" name="item[owner_tel]" maxlength="20" value="{$item.owner_tel}"/>
<p class="layui-form-mid layui-word-aux">选填项请勿超过20个字符</p>
</div>
</div>
</div>
<div class="layui-form-itemBox3 between">
<div class="layui-form-item">
<label class="layui-form-label">业务员联系邮箱</label>
<div class="layui-input-block">
<input class="layui-input" name="item[owner_email]" maxlength="30" value="{$item.owner_email}"/>
<p class="layui-form-mid layui-word-aux">选填项请勿超过30个字符</p>
</div>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">状态</label>
<div class="layui-inline">
<input type="radio" name="item[visible]" value="0" title="隐藏" {if $item['visible'] == 0}checked{/if} />
<input type="radio" name="item[visible]" value="1" title="正常" {if $item['visible'] == 1}checked{/if} />
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label"></label>
<div class="layui-inline">
<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submitAll">保存</button>
</div>
</div>
<input type="hidden" class="layui-input" name="id" value="{$item.id}" />
</form>
</div>
</div>