Index: ssts-web/src/main/webapp/disinfectsystem/packing/printRecyclingDetailWin.js =================================================================== diff -u -r32079 -r32091 --- ssts-web/src/main/webapp/disinfectsystem/packing/printRecyclingDetailWin.js (.../printRecyclingDetailWin.js) (revision 32079) +++ ssts-web/src/main/webapp/disinfectsystem/packing/printRecyclingDetailWin.js (.../printRecyclingDetailWin.js) (revision 32091) @@ -1154,24 +1154,26 @@ var printDate = recyclingDetail.printDate || ''; var configTable = recyclingDetail['配置文件']; var htmlTable = ""; - if(configTable.headerContent && configTable.headerContent.length > 0){ - var headerContent0 = configTable.headerContent[0]; - var position0 = headerContent0.position; - var headerContent1 = configTable.headerContent[1]; - var headerContent2 = configTable.headerContent[2]; - var headerContent3 = configTable.headerContent[3]; - var headerContent4 = configTable.headerContent[4]; - var position1 = headerContent1.position; - var position2 = headerContent2.position; - var position3 = headerContent3.position; - var position4 = headerContent4.position; - htmlTable += "
"; - htmlTable += "

"+headerContent0.label+"

"; - htmlTable += ""+headerContent1.label + ' ' + printUser+""; - htmlTable += ""+headerContent2.label + ' ' + startDateTime+""; - htmlTable += ""+headerContent3.label + ' ' + endDateTime+""; - htmlTable += ""+headerContent4.label + ' ' + printDate+""; - htmlTable += "
"; + if(configTable){ + if(configTable.headerContent && configTable.headerContent.length > 0){ + var headerContent0 = configTable.headerContent[0]; + var position0 = headerContent0.position; + var headerContent1 = configTable.headerContent[1]; + var headerContent2 = configTable.headerContent[2]; + var headerContent3 = configTable.headerContent[3]; + var headerContent4 = configTable.headerContent[4]; + var position1 = headerContent1.position; + var position2 = headerContent2.position; + var position3 = headerContent3.position; + var position4 = headerContent4.position; + htmlTable += "
"; + htmlTable += "

"+headerContent0.label+"

"; + htmlTable += ""+headerContent1.label + ' ' + printUser+""; + htmlTable += ""+headerContent2.label + ' ' + startDateTime+""; + htmlTable += ""+headerContent3.label + ' ' + endDateTime+""; + htmlTable += ""+headerContent4.label + ' ' + printDate+""; + htmlTable += "
"; + } }else { htmlTable += "
"; htmlTable += "

CSSD每日回收登记表

";