From daa24e0f72c79e7216a8430fe4f2b3b01a2ebba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Thu, 14 Nov 2019 10:35:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=BA=93=E5=AD=98=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp_web/js/pages/materials/in_out.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp_web/js/pages/materials/in_out.js b/erp_web/js/pages/materials/in_out.js index b9930922..b1ecac33 100644 --- a/erp_web/js/pages/materials/in_out.js +++ b/erp_web/js/pages/materials/in_out.js @@ -609,7 +609,7 @@ } } thisStock = (thisStock / loadRatio).toFixed(2); - body.find("[field='Stock']").find(input).val(thisStock).attr("data-stock", res.data.page[0].thisSum); //加载库存数据 + body.find("[field='Stock']").find(input).val(thisStock).attr("data-stock", thisStock); //加载库存数据 } else { body.find("[field='Stock']").find(input).val(0).attr("data-stock", 0); //加载库存数据