|
|
@ -8,8 +8,8 @@ |
|
|
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content"> |
|
|
|
<form class="form-horizontal m" id="form-bom-equlas"> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-6 control-label is-required">第一项 bom号:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<label class="col-sm-4 control-label is-required">第一项 bom号:</label> |
|
|
|
<div class="col-sm-5"> |
|
|
|
<select class="form-control" th:with="bomList=${@erpBomL.selectErpBomList1()}" id="bomNo1" name="bomNo1" required> |
|
|
|
<option value="">无</option> |
|
|
|
<option th:each="bomss : ${bomList}" th:value="${bomss.bomNo}" th:text="${bomss.bomNo}"></option> |
|
|
@ -18,20 +18,20 @@ |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-4 control-label is-required">第二项 bom号</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<div class="col-sm-5"> |
|
|
|
<select class="form-control m-b" th:with="bomList=${@erpBomL.selectErpBomList1()}" id="bomNo2" name="bomNo2" required> |
|
|
|
<option value="">无</option> |
|
|
|
<option th:each="bomss : ${bomList}" th:value="${bomss.bomNo}" th:text="${bomss.bomNo}"></option> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
<div class="btn-group-sm"> |
|
|
|
<a class="btn btn-primary" onclick="searchBom()" > |
|
|
|
<i class="fa fa-plus"></i> 搜索 |
|
|
|
</a> |
|
|
|
<button class="btn btn-danger multiple" onclick="refreshBom()"> |
|
|
|
<i class="fa fa-remove"></i> 重置 |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<a class="btn btn-primary" onclick="searchBom()" > |
|
|
|
<i class="fa fa-plus"></i> 搜索 |
|
|
|
</a> |
|
|
|
<a class="btn btn-danger multiple" onclick="refreshBom()"> |
|
|
|
<i class="fa fa-remove"></i> 重置 |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
<div> |
|
|
@ -84,6 +84,10 @@ |
|
|
|
$("#bom-ton").html(""); |
|
|
|
$("#bom1-dif").html(""); |
|
|
|
$("#bom2-dif").html(""); |
|
|
|
if (bomNo1 == "" || bomNo2 == ""){ |
|
|
|
$.modal.msgError("请选择bom号"); |
|
|
|
return; |
|
|
|
} |
|
|
|
$.ajax({ |
|
|
|
url: prefix + "/equalsBom", |
|
|
|
async:true, //true所有请求均为异步请求 |
|
|
|