1、小程序质量巡检相关接口调整;

This commit is contained in:
2025-05-26 16:34:27 +08:00
parent 13af7cff8c
commit df56be793c
10 changed files with 106 additions and 25 deletions
@@ -1789,9 +1789,13 @@ left join (select PlanNum,RealNum,QuantityListId from JDGL_QuantityCompletion wh
sbclHtml += "<div class=\"tr\" >" + Sbdhs + "</div>";
//百分比
var dhbfb = "0%";
if (SbcllCgl + Sbdhs != 0)
//if (SbcllCgl + Sbdhs != 0)
//{
// dhbfb = String.Format("{0:N2}", 100.0 * Sbdhs / (Sbdhs + SbcllCgl), 2) + "%";
//}
if (SbcllCgl != 0)
{
dhbfb = String.Format("{0:N2}", 100.0 * Sbdhs / (Sbdhs + SbcllCgl), 2) + "%";
dhbfb = String.Format("{0:N2}", 100.0 * Sbdhs / SbcllCgl, 2) + "%";
}
sbclHtml += "<div class=\"tr\" >" + dhbfb + "</div>";
sbclHtml += "</div>";