Index: ssts-web/src/main/webapp/debug/print/printDebug.js =================================================================== diff -u -r12331 -r12599 --- ssts-web/src/main/webapp/debug/print/printDebug.js (.../printDebug.js) (revision 12331) +++ ssts-web/src/main/webapp/debug/print/printDebug.js (.../printDebug.js) (revision 12599) @@ -1,6 +1,6 @@ var barcode = '010926225'; -var maxToussNameLength = 40; +var maxToussNameLength = 15; var maxMaterialNameLength = 10; var maxMaterialsAmount = 30; var toussName = ''; @@ -14,7 +14,7 @@ var frequency = '2'; var markTousse = 1; var sterilingType = '高压灭菌'; - +var packageTypeAbbreviation = 'P'; var materialsAmount = 8;// 材料数量 var diposableGoodsAmount = 2;// 一次性物品数量 @@ -91,7 +91,8 @@ 'sterilingType' : sterilingType, 'materialAmount' : materialsAmount, 'diposableGoodsAmount' : diposableGoodsAmount, - 'totalAmount' : totalAmount + 'totalAmount' : totalAmount, + 'packageTypeAbbreviation': packageTypeAbbreviation }; return obj; } @@ -140,7 +141,8 @@ 'diposableGoodsAmount' : diposableGoodsAmount, 'totalAmount' : totalAmount, 'patientArea': patientArea, - 'bedNumber': bedNumber + 'bedNumber': bedNumber, + 'packageTypeAbbreviation': packageTypeAbbreviation }; return printSummaryObj; } @@ -648,6 +650,19 @@ height : rowHeight, layout : 'form', items : [ { + id : '器械包_加大标签', + xtype : 'button', + text : '器械包_加大标签', + cls : 'css_printBtns', + ctcls : 'ctcss_printBtns', + handler : function() { + printTousse('加大标签', 30); + } + } ] + }, { + height : rowHeight, + layout : 'form', + items : [ { id : '外来器械_中标签_8', xtype : 'button', text : '外来器械_中标签_8',