feat(order): 标记 BG 和行业为必填项并调整保存草稿功能
- 在订单添加和编辑页面,为 BG 和行业字段添加必填项标记并设置为 requiredmaster
parent
cd1a854fc6
commit
7c53f6173d
|
@ -137,18 +137,18 @@
|
||||||
<input name="customerCode" class="form-control" type="hidden"></td>
|
<input name="customerCode" class="form-control" type="hidden"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>BG</td>
|
<td>BG<span class="is-required">*</span></td>
|
||||||
<td>
|
<td>
|
||||||
<select name="bgProperty" class="form-control" th:with="type=${@dict.getType('bg_type')}"
|
<select name="bgProperty" class="form-control" th:with="type=${@dict.getType('bg_type')}" required
|
||||||
onchange="changeBg()">
|
onchange="changeBg()">
|
||||||
<option value="">请选择BG</option>
|
<option value="">请选择BG</option>
|
||||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
||||||
th:value="${dict.dictValue}"></option>
|
th:value="${dict.dictValue}"></option>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
<td>行业</td>
|
<td>行业<span class="is-required">*</span></td>
|
||||||
<td id="industryTypeBox">
|
<td id="industryTypeBox">
|
||||||
<select name="industryType" class="form-control"
|
<select name="industryType" class="form-control" required
|
||||||
>
|
>
|
||||||
<option value="">请先选择BG</option>
|
<option value="">请先选择BG</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
|
@ -136,9 +136,9 @@
|
||||||
required>
|
required>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>BG</td>
|
<td>BG<span class="is-required">*</span></td>
|
||||||
<td>
|
<td>
|
||||||
<select name="bgProperty" class="form-control" th:field="*{bgProperty}"
|
<select name="bgProperty" class="form-control" th:field="*{bgProperty}" required
|
||||||
th:with="type=${@dict.getType('bg_type')}" onchange="changeBg()"
|
th:with="type=${@dict.getType('bg_type')}" onchange="changeBg()"
|
||||||
>
|
>
|
||||||
<option value="">请选择BG</option>
|
<option value="">请选择BG</option>
|
||||||
|
@ -146,9 +146,9 @@
|
||||||
th:value="${dict.dictValue}"></option>
|
th:value="${dict.dictValue}"></option>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
<td>行业</td>
|
<td>行业<span class="is-required">*</span></td>
|
||||||
<td id="industryTypeBox">
|
<td id="industryTypeBox">
|
||||||
<select name="industryType" class="form-control"
|
<select name="industryType" class="form-control" required
|
||||||
>
|
>
|
||||||
<option value="">请先选择BG</option>
|
<option value="">请先选择BG</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in New Issue