From daf75844ccd6fffeee9e6242b0f2c61007c7500d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Tue, 24 Oct 2017 00:13:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E4=BF=A1=E6=81=AF=E7=9A=84?= =?UTF-8?q?=E5=BA=93=E5=AD=98=E5=A2=9E=E5=8A=A0=E5=BB=B6=E8=BF=9F=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/pages/materials/material.jsp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/pages/materials/material.jsp b/src/main/webapp/pages/materials/material.jsp index 81c11315..d1a7dbce 100644 --- a/src/main/webapp/pages/materials/material.jsp +++ b/src/main/webapp/pages/materials/material.jsp @@ -617,18 +617,18 @@ MaterialId: mId, MonthTime: monthTime }, - async: false, dataType: "json", success: function (res) { if (res && res.rows && res.rows[0]) { thisStock = res.rows[0].thisSum; + $("#tablePanel .class-" + rec.Id).text(thisStock); //延迟加载库存数据 } }, error:function() { $.messager.alert('查询提示','查询数据后台异常,请稍后再试!','error'); } }); - return thisStock; + return "" + thisStock + ""; }}, { title: '零售价',field: 'RetailPrice',width:60}, { title: '最低售价',field: 'LowPrice',width:70},