优化商品初始库存加载失败的bug
This commit is contained in:
@@ -1311,7 +1311,7 @@
|
|||||||
if(type == "edit"){
|
if(type == "edit"){
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "get",
|
type: "get",
|
||||||
url: "../../../pages/template/init_depot_list.html?2121",
|
url: "../../../pages/template/init_depot_list.html?3232",
|
||||||
async: false,
|
async: false,
|
||||||
success: function (tem) {
|
success: function (tem) {
|
||||||
if (tem) {
|
if (tem) {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td style="width:100px;height:30px;line-height:30px;padding:5px;float:left;">{{name}}</td>
|
<td style="width:100px;height:30px;line-height:30px;padding:5px;float:left;">{{name}}</td>
|
||||||
<td style="padding:5px">
|
<td style="padding:5px">
|
||||||
<input type="text" id="depot{{id}}" data-id="{{id}}" class="depot" style="width: 250px;border: 1px solid #95B8E7;border-radius:5px;height: 30px" value="{{stock}}"/>
|
<input type="text" id="depot{{id}}" data-id="{{id}}" class="depot" style="width: 250px;border: 1px solid #95B8E7;border-radius:5px;height: 30px" value="{{initStock}}"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/depotList}}
|
{{/depotList}}
|
||||||
|
|||||||
Reference in New Issue
Block a user