合约管理表单添加格式提示
This commit is contained in:
@@ -140,12 +140,12 @@
|
|||||||
<form method="post" action="/admin/contract" style="display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;">
|
<form method="post" action="/admin/contract" style="display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;">
|
||||||
<input type="hidden" name="product_id" value="{{ p.id }}">
|
<input type="hidden" name="product_id" value="{{ p.id }}">
|
||||||
<div class="form-group" style="margin-bottom:0;flex:1;min-width:140px;">
|
<div class="form-group" style="margin-bottom:0;flex:1;min-width:140px;">
|
||||||
<label>合约代码</label>
|
<label>合约代码 <span style="font-weight:400;color:var(--sub);font-size:0.75rem;">品种代码 + 月份</span></label>
|
||||||
<input type="text" name="code" required placeholder="{{ p.code }}2609" maxlength="10" style="text-transform:uppercase;">
|
<input type="text" name="code" required placeholder="如 {{ p.code }}2609" maxlength="10" style="text-transform:uppercase;">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group" style="margin-bottom:0;flex:2;min-width:160px;">
|
<div class="form-group" style="margin-bottom:0;flex:2;min-width:160px;">
|
||||||
<label>合约名称</label>
|
<label>合约名称 <span style="font-weight:400;color:var(--sub);font-size:0.75rem;">品种名 + 月份</span></label>
|
||||||
<input type="text" name="name" required placeholder="{{ p.name }}2609">
|
<input type="text" name="name" required placeholder="如 {{ p.name }}2609">
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-primary">添加合约</button>
|
<button type="submit" class="btn btn-primary">添加合约</button>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user