Index: ssts-web/src/main/webapp/disinfectsystem/config/gzzyyfy/config.js =================================================================== diff -u -r26022 -r26248 --- ssts-web/src/main/webapp/disinfectsystem/config/gzzyyfy/config.js (.../config.js) (revision 26022) +++ ssts-web/src/main/webapp/disinfectsystem/config/gzzyyfy/config.js (.../config.js) (revision 26248) @@ -147,5 +147,7 @@ //是否在回收模块废弃物品 isDiscardWithRecovery:true, //是否启用"一键扫描一次性物品"按钮,没配置或值为false,不启用该功能;值为true,启动该功能。 - oneKeyScanDisposableGoodsForPDA : true + oneKeyScanDisposableGoodsForPDA : true, + //按包数打印消毒物品的数量 + printDisinfectionGoodsAmountByPackage:true } \ No newline at end of file Index: ssts-web/src/main/webapp/disinfectsystem/print/print.js =================================================================== diff -u -r26081 -r26248 --- ssts-web/src/main/webapp/disinfectsystem/print/print.js (.../print.js) (revision 26081) +++ ssts-web/src/main/webapp/disinfectsystem/print/print.js (.../print.js) (revision 26248) @@ -422,12 +422,14 @@ var goodsArray = printSummaryObj.goods; for ( var k = 0; k < goodsArray.length; k++) { var row = goodsArray[k]; - tableHtml = appendTableRowString(tableHtml, myObj.goodsTable.rowHeight , myObj.goodsTable.fontSize); for (var i=0;i= 0){ value = formatMoney(value); } @@ -520,6 +522,9 @@ //江门中心市医院要求金额和数量右对齐 tableHtml += "'right'" + " style=" + "'BORDER: #000000 1px solid; padding-right:0px;'>" ; tableHtml += value; + }else if(sstsConfig.printDisinfectionGoodsAmountByPackage){ + tableHtml += "'right'" + " style=" + "'BORDER: #000000 1px solid; padding-right:0px;'>" ; + tableHtml += value; } else{ tableHtml += "'center'"; @@ -542,6 +547,9 @@ //江门中心市医院要求金额和数量右对齐 tableHtml += "'right'" + " style=" + "'BORDER: #000000 1px solid; padding-right:0px;'>" ; tableHtml += value; + }else if(sstsConfig.printDisinfectionGoodsAmountByPackage){ + tableHtml += "'right'" + " style=" + "'BORDER: #000000 1px solid; padding-right:0px;'>" ; + tableHtml += value; } else{ tableHtml += "'center'";