优化商品初始库存加载失败的bug

This commit is contained in:
季圣华
2021-01-01 14:24:09 +08:00
parent 7228a2ffed
commit 78c5502d68
2 changed files with 2 additions and 2 deletions

View File

@@ -1311,7 +1311,7 @@
if(type == "edit"){
$.ajax({
type: "get",
url: "../../../pages/template/init_depot_list.html?2121",
url: "../../../pages/template/init_depot_list.html?3232",
async: false,
success: function (tem) {
if (tem) {

View File

@@ -3,7 +3,7 @@
<tr>
<td style="width:100px;height:30px;line-height:30px;padding:5px;float:left;">{{name}}</td>
<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>
</tr>
{{/depotList}}