Index: ssts-web/src/main/webapp/disinfectsystem/config/zsszyy/print/printConfig.js =================================================================== diff -u -r13163 -r13190 --- ssts-web/src/main/webapp/disinfectsystem/config/zsszyy/print/printConfig.js (.../printConfig.js) (revision 13163) +++ ssts-web/src/main/webapp/disinfectsystem/config/zsszyy/print/printConfig.js (.../printConfig.js) (revision 13190) @@ -1,3 +1,57 @@ +var appropriationInListConfig = { + headerFooter : [ + // 页眉名称 + {label : "中山市中医院调拨入库单", dataIndex : '', fontSize : 15, position : ["0.3cm","37%","99%",5]}, + {label : "调拨日期:", dataIndex : 'date', fontSize : 9, position : ["1cm","38%","99%",5]}, + {label : "仓库:", dataIndex : 'warehouse', fontSize : 9, position : ["1cm","2%","90%",5]} + ], + //currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, + //totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, + goodsTable :{ + rowHeight : 20, + //position : ["50","1%","96%","6.0cm"], + fontSize:10, + position : ["1.5cm","0.2cm","99%","29cm"], + headRepeat : true, + columns : [ + {header : "单号", dataIndex : 'serialNumber', width : 60, align : 'center'}, + {header : "操作员", dataIndex : 'operator', width : 60, align : 'center'}, + {header : "出库仓库", dataIndex : 'warehouseName', width : 60, align : 'center'}, + //{header : "入库仓库", dataIndex : 'targetWareHouseName', width : 60, align : 'center'}, + {header : "操作时间", dataIndex : 'time', width : 110, align : 'center'}, + {header : "金额", dataIndex : 'totalPrice', width : 75, align : 'center'}, + {header : "供应商", dataIndex : 'supplierName', width : 225, align : 'center'}, + {header : "备注", dataIndex : 'remark', width : 100, align : 'center'} + ] + } +}; +var appropriationOutListConfig = { + headerFooter : [ + // 页眉名称 + {label : "中山市中医院调拨出库单", dataIndex : '', fontSize : 15, position : ["0.3cm","37%","99%",5]}, + {label : "调拨日期:", dataIndex : 'date', fontSize : 9, position : ["1cm","38%","99%",5]}, + {label : "仓库:", dataIndex : 'warehouse', fontSize : 9, position : ["1cm","2%","90%",5]} + ], + //currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]}, + //totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]}, + goodsTable :{ + rowHeight : 20, + //position : ["50","1%","96%","6.0cm"], + fontSize:10, + position : ["1.5cm","0.2cm","99%","29cm"], + headRepeat : true, + columns : [ + {header : "单号", dataIndex : 'serialNumber', width : 60, align : 'center'}, + {header : "操作员", dataIndex : 'operator', width : 60, align : 'center'}, + //{header : "出库仓库", dataIndex : 'warehouseName', width : 60, align : 'center'}, + {header : "入库仓库", dataIndex : 'targetWareHouseName', width : 60, align : 'center'}, + {header : "操作时间", dataIndex : 'time', width : 110, align : 'center'}, + {header : "金额", dataIndex : 'totalPrice', width : 75, align : 'center'}, + {header : "供应商", dataIndex : 'supplierName', width : 225, align : 'center'}, + {header : "备注", dataIndex : 'remark', width : 100, align : 'center'} + ] + } +}; var appropriationListConfig = { headerFooter : [ // 页眉名称 @@ -1117,5 +1171,9 @@ //退库单列表 godownEntryOutList : godownEntryOutListConfig, //调拨单 - appropriationList : appropriationListConfig + appropriationList : appropriationListConfig, + //调拨入库单 + appropriationInList : appropriationInListConfig, + //调拨出库单 + appropriationOutList : appropriationOutListConfig }; \ No newline at end of file