";
+ tableHtml += "";
+ tableHtml += ""+name+"";
+// tableHtml += " ";
+ tableHtml += " | ";
+ tableHtml += "
";
+
+ tableHtml += "";
+ tableHtml += "灭菌: | ";
+ tableHtml += ""+sterilizationDate+" | ";
+ tableHtml += "装配员: | ";
+ tableHtml += ""+operator+" | ";
+ tableHtml += "
";
+
+ tableHtml += "";
+ tableHtml += "失效: | ";
+ tableHtml += ""+validDate+" | ";
+ tableHtml += "审核员: | ";
+ tableHtml += ""+reviewer+" | ";
+ tableHtml += "
";
+
+ tableHtml += "";
+ tableHtml += ""+total+" | ";
+ tableHtml += "
";
+
+ var patientInfo = '住院号:'+hospitalNumber+' 病人:'+patient+' 床位:'+bedNumber+'
';
+ tableHtml += "";
+ tableHtml += ""+patientInfo+" | ";
+ tableHtml += "
";
+
+ var patientAreaInfo = '科室:'+ascriptionDepartment;
+ tableHtml += "";
+ tableHtml += ""+patientAreaInfo+" | ";
+ tableHtml += "
";
+
+ /*tableHtml += "";
+ tableHtml += "病人: | ";
+ tableHtml += ""+foreignPackageObjectArray[2]+" | ";
+ tableHtml += "住院号: | ";
+ tableHtml += ""+foreignPackageObjectArray[0]+" | ";
+ tableHtml += "
";*/
+
+ var sterilizerStr = "";
+ if(sterilizer == null || sterilizer.length == 0){
+ sterilizerStr = ""+hospitalName+" | ";
+ }else{
+ var str = "【"+sterilizer + "】第" + frequency +"炉";
+ sterilizerStr = ""+str+" | ";
+ }
+ tableHtml += "";
+ tableHtml += sterilizerStr;
+ tableHtml += "";
+ tableHtml += " ";
+ tableHtml += ""+barcode;
+ tableHtml += " |
";
+
+ tableHtml += "";
+ tableHtml += "";
+ tableHtml += " ";
+ tableHtml += ""+barcode;
+ tableHtml += " | ";
+ tableHtml += "";
+ tableHtml += " ";
+ tableHtml += ""+barcode;
+ tableHtml += " | ";
+ tableHtml += "
";
+
+ tableHtml += "
";
+ LODOP.ADD_PRINT_HTM(0,0,"100%","100%",""+tableHtml+"");
+ LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT","Full-Page");
+}
+var foreignProxyDisinfectionLabelConfig = {
+ // 可带表格线的table定义
+ table : {
+ rules : 'rows',
+ style : 'width: 50mm; height: 30mm',
+ cellspacing : '0',
+ cellpadding : '0',
+ position : [0,"0mm","100%","100%"],
+ printMode : {mode : 'PRINT_PAGE_PERCENT', value : 'Full-Page'},
+ beforeStr: "", afterStr: "",
+ rows : [
+ // 每个表格行的定义
+ {height : "", tds : [
+ { label : "", dataIndex : 'name', colspan: 4, styles : [{minLen:0, maxLen:14, style: "font-size:12px;font-weight:bold;text-align:center"},{minLen :14, maxLen:100 ,style : "font-size:10px;text-align:center"}]}
+ ]
+ },
+ {height : "", tds : [
+ { label : "", dataIndex : 'depart', colspan: 4, style : "font-size:12px;text-align:center;height:5mm"}
+ ]
+ },
+ {height : "", tds : [
+ { label : "灭菌程序:", dataIndex : 'sterilingType', colspan: 4, style : "font-size:12px;text-align:center;height:5mm"}
+ ]
+ },
+ {height : "", tds : [
+ { label : "灭菌:", dataIndex : 'sterilizationDate', colspan: 2, style : "font-size:11px; text-align:center;height:5mm;width:24mm"},
+ { label : "失效:", dataIndex : 'validDate', colspan: 2, length: 10, style : "font-size:11px; text-align:center;width:24mm"}
+ ]
+ },
+ {height : "", tds : [
+ { label : "", dataIndex : 'barcode', colspan: 4, style : "font-size:10px;text-align:center"}
+ ]
+ }
+ ]
+ }
+}
+
+var foreignTousseAppliationPrintConfig = {
+ isPrintTousse : true,
+ isPrintDisinfectGoods : false,
+ isPrintDisposableGoods : false, // 打印申请单是否打印一次性物品
+ isPrintForeignTousse : true, // 是否打印外来器械包
+ isMergePrintTousseAndDisposable : false, // 器械包和一次性物品是否合并打印
+ printByOriginalApplications : true, //不合并打印情况下是否按原始单据逐份打印
+ printApplyInfo : true,
+ printOrder : 1, // 1:优先打印一次性物品, 2:优先打印器械包
+ // 在器械包和一次性物品不合并打印的情况下,消毒物品打印方式:
+ // 1:优先与一次性物品合并打印,如果无一次性物品则与器械包合并打印, 2:优先与器械包一起合并打印,如果没有器械包则与一次性物品合并打印 ,3:单独打印
+ disinfectGoodsPrintMode : 3,
+ rowsPerPage : 20,
+ headerContent : [
+ // 标题
+ {label : "广东省口腔医院", dataIndex : '', fontSize : 10, position : ["10","4%","90%",5]},
+ {label : "外来器械接收单", dataIndex : 'header', fontSize : 17, position : ["30","15%","99%",22]},
+
+ {label : "姓名:", dataIndex : 'patient', fontSize : 11, position : ["90","4%","90%",5]},
+ {label : "性别:", dataIndex : 'patientSex', fontSize : 11, position : ["90","80mm","90%",5]},
+ {label : "年龄:", dataIndex : 'patientAge', fontSize : 11, position : ["90","130mm","90%",5]},
+
+ {label : "床号:", dataIndex : 'bedNumber', fontSize : 11, position : ["120","4%","90%",5]},
+ {label : "住院号:", dataIndex : 'hospitalNumber', fontSize : 11, position : ["120","80mm","90%",5]},
+
+ {label : "单号:", dataIndex : 'serialNum', fontSize : 11, position : ["150","4%","90%",10]},
+ {label : "申请科室:", dataIndex : 'depart', fontSize : 11, position : ["150","80mm","90%",5]},
+ {label : "结算科室:", dataIndex : 'settleAccountsDepart', fontSize : 11, position : ["150","130mm","90%",10]},
+
+ {label : "申请人:", dataIndex : 'applicant', fontSize : 11, position : ["180","4%","90%",10]},
+ {label : "打印时间:", dataIndex : 'printTime', fontSize : 11, position : ["180","80mm","90%",10]},
+
+ {label : "备注:", dataIndex : 'remark', fontSize : 11, position : ["210","4%","90%",5]},
+
+
+ {label : "手术名称:", dataIndex : 'surgery', fontSize : 11, position : ["280","4%","90%",10]},
+ {label : "手术医生:", dataIndex : 'doctor', fontSize : 11, position : ["320","4%","90%",10]},
+ {label : "手术时间:", dataIndex : 'operationTime', fontSize : 11, position : ["360","4%","90%",10]},
+
+ {label : "手术器械清单:", dataIndex : '', fontSize : 11, position : ["400","4%","90%",10]},
+
+
+ {label : "清洗注意事项:", dataIndex : '', fontSize : 11, position : ["680","4%","90%",5]},
+ {label : "灭菌方式:", dataIndex : '', fontSize : 11, position : ["720","4%","90%",5]},
+ {label : "公司名称:", dataIndex : 'supplierName', fontSize : 11, position : ["760","4%","90%",5]},
+ {label : "联系方式:", dataIndex : '', fontSize : 11, position : ["800","4%","90%",5]},
+ {label : "送包日期及时间:", dataIndex : '', fontSize : 11, position : ["840","4%","90%",5]},
+ {label : "送包者签名:", dataIndex : '', fontSize : 11, position : ["880","4%","90%",5]},
+ {label : "回收者签名:", dataIndex : '', fontSize : 11, position : ["920","4%","90%",5]}
+
+ ],
+ goodsTable :{
+ rowHeight : 25,
+ position : ["430","8%","170mm","1000"],
+ content : [
+ {header : "序号", dataIndex : 'serialNumber', width : 60, align : 'center', fontSize : 11},
+ {header : "名称", dataIndex : 'goodsName', width : 300, align : 'left', fontSize : 11},
+ {header : "数量", dataIndex : 'goodsAmount', width : 60, align : 'right', fontSize : 11},
+ {header : "材料名称及数量", dataIndex : 'sp', width : 300, align : 'center', fontSize : 11}
+ ]
+ },
+ footer: {
+ fontSize : 14,
+ content : [
+ {label : "", dataIndex : ''}
+ ]
+ },barcodes : [
+ {codeType : "128Auto", dataIndex : 'serialNum', position : ["30","65%",210,30],
+ styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true},
+ {itemNameID: 0, styleName: 'FontSize', styleValue: 6},
+ {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true}
+ ]
+ }
+ ]
+}
+/**
+ * 器械包管理界面的包定义材料清单
+ */
+var tousseDefinitionMaterialsConfig_qifuyy = {
+ customPrint:printTousseDefinitionMaterials_qifuyy
+}
+
+function printTousseDefinitionMaterials_qifuyy(tousseDefinitionObj){
+ if(isUndefinedOrNullOrEmpty(tousseDefinitionObj)){
+ alert('包定义不能为空!');
+ return;
+ }
+ doGetLodop();
+ var ret = buildTousseDefinitionMeterialTable(tousseDefinitionObj,tousseDefinitionObj.unit);
+ var barcode = tousseDefinitionObj.barcode?tousseDefinitionObj.barcode:'';
+ var tableHtml = ret.tableHtml + "