Index: ssts-web/src/main/webapp/disinfectsystem/assestManagement/godownEntry/godownOutToSupplyRoomView.js =================================================================== diff -u -r27673 -r30389 --- ssts-web/src/main/webapp/disinfectsystem/assestManagement/godownEntry/godownOutToSupplyRoomView.js (.../godownOutToSupplyRoomView.js) (revision 27673) +++ ssts-web/src/main/webapp/disinfectsystem/assestManagement/godownEntry/godownOutToSupplyRoomView.js (.../godownOutToSupplyRoomView.js) (revision 30389) @@ -1144,34 +1144,49 @@ handler : function() { addReceiveRecord('insert'); } - }/*, '-', { - text : '修改', - hidden : true, - iconCls : 'btn_ext_application_edit', - id : 'editTbar', - handler : function() { - loadFormData(grid); - } }, '-', { - text : '删除', - hidden : true, - iconCls : 'btn_ext_application_del', + text : '打印', + iconCls : 'icon_print', handler : function() { - deleteGodownEntry(grid); - } - }, '-', { - text : '更新旧数据', - hidden : true, - handler : function() { - ReceiveRecordTableManager.updateReceiveRecordItems(function(result){ - if(result){ - showResult("更新成功!"); - }else{ - showResult("更新失败!"); + var records = grid.getSelectionModel().getSelections(); + if (records.length == 0) { + showResult("请选择要打印的领用单!"); + return; + } + var ids = []; + var resultObj = {}; + for(var i=0;i + + + + + Index: ssts-web/src/main/webapp/disinfectsystem/config/klmysrmyy/print/printConfig.js =================================================================== diff -u -r30240 -r30389 --- ssts-web/src/main/webapp/disinfectsystem/config/klmysrmyy/print/printConfig.js (.../printConfig.js) (revision 30240) +++ ssts-web/src/main/webapp/disinfectsystem/config/klmysrmyy/print/printConfig.js (.../printConfig.js) (revision 30389) @@ -1498,6 +1498,40 @@ ] } } +//消毒供应中心领用单 +var godownOutToSupplyRoomConfig = { + headerContent : [ + // 标题 + {label : "消毒供应中心领用单", dataIndex : '', fontSize : 14, position : ["10","35%","99%",5]}, + {label : "领用科室: ", dataIndex : 'depart', fontSize : 11, position : ["50","5mm","50%",5]}, + {label : "领用时间: ", dataIndex : 'time', fontSize : 11, position : ["50","50%","50%",5]}, + {label : "发货仓库: ", dataIndex : '', fontSize : 11, position : ["70","5mm","50%",5]}, + {label : "操作人: ", dataIndex : 'operator', fontSize : 11, position : ["70","50%","50%",5]}, + ], + currentPageNumber : {label : "第#页", fontSize : 11, position : ["27.5cm","75%","90%",5]}, + totalPageAmount : {label : "共&页", fontSize : 11, position : ["27.5cm","81%","90%",5]}, + goodsTable :{ + rowHeight : 25, + position : ["100","5mm","95%","24cm"], + headRepeat : true, + donotPrintTotal:true, + content : [ + {header : "序号", dataIndex : 'serialNumber', width : 40, align : 'center', fontSize : 11}, + {header : "名称", dataIndex : 'name', width : 90, align : 'center', fontSize : 11}, + {header : "规格", dataIndex : 'specification', width : 100, align : 'center', fontSize : 11}, + {header : "数量", dataIndex : 'amount', width : 50, align : 'right', fontSize : 11}, + {header : "单价", dataIndex : 'cost', width : 50, align : 'right', fontSize : 11}, + {header : "批次", dataIndex : 'batchNumber', width : 90, align : 'center', fontSize : 11} + ] + }, + footer: { + fontSize : 16, + content : [ + {label : " 收货人: ", dataIndex : ''}, + {label : " 发货日期:", dataIndex : ''} + ] + }, +} var printConfig = { //发货计划单 invoicePlan : invoicePlanPrintConfig, @@ -1567,7 +1601,9 @@ //待回收申请单,是否打印回收汇总单 recyclingInvoiceTotal:recyclingInvoiceTotalConfig_bjdxzlyy, //打印回收清单 - recyclingItems : recyclingItemsPrintConfig + recyclingItems : recyclingItemsPrintConfig, + //打印消毒供应中心领用单 + godownOutToSupplyRoomConfig:godownOutToSupplyRoomConfig }; var printerNameMapping = { '模板-手术器械标签' : 'ZDesigner GK888t (EPL)',