...
|
...
|
@@ -47,7 +47,7 @@ |
|
|
<table class="table table-hover table-bordered">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th style="width: 50px;">id</th>
|
|
|
<!--<th style="width: 50px;">id</th>-->
|
|
|
<th>权重</th>
|
|
|
<th>商品名称</th>
|
|
|
<th>商品简介</th>
|
...
|
...
|
@@ -64,8 +64,8 @@ |
|
|
<tbody>
|
|
|
<foreach name="all" item="vo">
|
|
|
<tr>
|
|
|
<td>{$vo.id}</td>
|
|
|
<td>{$vo.listorder}</td>
|
|
|
<!--<td>{$vo.id}</td>-->
|
|
|
<td><input type="number" value="{$vo.listorder}" class="listorder" data-id="{$vo.id}"></td>
|
|
|
<td>{$vo.name}</td>
|
|
|
<td>{$vo.intro}</td>
|
|
|
<td>{$vo.caname}</td>
|
...
|
...
|
@@ -158,6 +158,19 @@ |
|
|
selectbox.remove(i);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
$(".listorder").change(function () {
|
|
|
$.ajax({
|
|
|
url:"{:url('ZjGoods/listorder')}",
|
|
|
data:{
|
|
|
id:$(this).attr('data-id'),
|
|
|
listorder:$(this).val()
|
|
|
},
|
|
|
type:"POST",
|
|
|
dataType:"JSON"
|
|
|
})
|
|
|
})
|
|
|
|
|
|
</script>
|
|
|
</body>
|
|
|
</html> |
|
|
\ No newline at end of file |
...
|
...
|
|