|
@@ -76,7 +76,7 @@
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
- <div class="row cl">
|
|
|
+ <#--<div class="row cl">
|
|
|
<label class="form-label col-3 col-sm-3"><span class="c-red">*</span>寄回产品:</label>
|
|
|
<div class="formControls col-8 col-sm-8 text-c" id="produceSelect">
|
|
|
<table class="table table-border table-bg table-bordered">
|
|
@@ -119,7 +119,7 @@
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>-->
|
|
|
<div class="row cl">
|
|
|
<label class="form-label col-3 col-sm-3"><span class="c-red">*</span>寄回物流:</label>
|
|
|
<div class="formControls col-3 col-sm-3 skin-minimal">
|
|
@@ -178,6 +178,10 @@
|
|
|
<div class="row cl" id="renewedProduct">
|
|
|
<label class="form-label col-3 col-sm-3"><span class="c-red">*</span>签收产品:</label>
|
|
|
<div class="formControls col-8 col-sm-8 text-c" id="produceSelect">
|
|
|
+ <div>
|
|
|
+ <input type="text" onchange="selectProduct();" class="input-text" style="width: 716px;" id="selectProcuct" name="selectProcuct" placeholder="请输入产品名称搜索">
|
|
|
+ </div>
|
|
|
+
|
|
|
<table class="table table-border table-bg table-bordered">
|
|
|
<thead>
|
|
|
<tr class="text-c">
|
|
@@ -329,6 +333,31 @@
|
|
|
$("#objectsStateId").show();
|
|
|
}
|
|
|
|
|
|
+ //动态回显产品js state
|
|
|
+ function selectProduct(){
|
|
|
+ var productName = $("#selectProcuct").val();
|
|
|
+ alert(productName);
|
|
|
+ $.ajax({
|
|
|
+ cache: true,
|
|
|
+ type: "POST",
|
|
|
+ url: "${path}/admin/signclosed/select_product",
|
|
|
+ data:{'productName':productName},
|
|
|
+ async: false,
|
|
|
+ success: function(data){
|
|
|
+ if (data.returnCode == 200) {
|
|
|
+ layer.msg('查询成功',{icon: 5,time:1000});
|
|
|
+ } else {
|
|
|
+ layer.msg('查询失败,请刷新页面再试',{icon: 5,time:1000});
|
|
|
+ }
|
|
|
+ },
|
|
|
+ error: function(XmlHttpRequest, textStatus, errorThrown){
|
|
|
+ layer.msg('添加错误',{icon: 5,time:1000});
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ //动态回显产品js end
|
|
|
+
|
|
|
$(function(){
|
|
|
var province = listProvince(null,null);
|
|
|
var provinceHtml = '';
|
|
@@ -408,9 +437,6 @@
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
$.ajax({
|
|
|
cache: true,
|
|
|
type: "POST",
|