Index: ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/config.js
===================================================================
diff -u
--- ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/config.js (revision 0)
+++ ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/config.js (revision 33757)
@@ -0,0 +1,304 @@
+var sstsConfig = {
+ //是否开启:把"已审核"的记录返回成"未审核"的按钮true:启用'false:不启用
+ enableBecomeNotAuditedButton:true,
+ //是否启用收费项目、收费记录管理,true为启用
+ isEnableChargeFunction:true,
+ //申领界面不显示整包申请的消毒物品的材料明细,值为true : 申领界面不显示整包申请的消毒物品的材料明细;
+ hideMaterialsListOfDisinfectionGoodsApplyEntire:true,
+ //按包统计并显示消毒物品,true:按包
+ showDisinfectionByPackage:true,
+ //在器械包视图显示包装类型、灭菌程序、所属任务组字段,:true显示
+ showTaskGroupAndPackageTypeAndSterilingMethod:true,
+ //发货界面是否启用保存并打印按钮,true为启用
+ enableSaveAndPrintWhenInvoice:true,
+ //1.申领模板只要设置了黑白名单,就能正常过滤,物品搜索下拉框需要开启配置项appIsUseBwList:true才能过滤。
+ appIsUseBwList:true,
+ //2.借物单需要开启配置项borrowIsUseBwList:true才能正常过滤。
+ borrowIsUseBwList:true,
+ //器械包申请单的物品视图是否分成两个grid,为true分成两个,为false或者没配都是一个
+ tousseApplicationFormGridSplit: true,
+ //回收界面,标识牌通知方式,1弹出提示框,2语音播报,3提示框和语音,其他值无操作
+ //idCardUseAmountNoticeType: 3,
+ //装配界面显示灭菌员字段,true显示;
+ showSterileField:false,
+ //手动设置供应室服务临床科室,当配置项为false或者未配置时,手工添加科室或者同步科室后,在供应室服务临床科室中自动设置该科室的处理科室为一级供应室;当配置项为true时,手工添加科室或者同步科室后,不用自动设置该科室的处理科室;
+ manuallySetUpSupplyRoomServiceDepts: false,
+ //PDA上是否启用科室互借模块,true:启用,PDA主界面显示科室互借图标false或者未配置:不启用,PDA主界面不显示科室互借图标
+ enablePDABorrowEachOtherModule: true,
+ //临床科室的全部申请单界面是否隐藏[“申请器械包”、“申请一次性物品”、“申请消毒物品”、“申请自定义器械包”、“申请外部代理灭菌包”、“借物”]这六个按钮,true则隐藏,false或者没有配置都隐藏
+ hideClinicalDepartmentApplyButton: true,
+ //在pda中是否选择灭菌炉分组进入对应分组的灭菌列表,true:需要选择分组然后进入对应分组的灭菌列表false或者没有配置:不显示分组选择
+ selectSterilizerGroupInPDA: true,
+ //不同灭菌方式的提示方式。PC端和PDA端都用相同的提示方式,未配置或值为1:为悬浮提示,几秒后会自动消失;值为2:提示方式为弹框提示,需要手工确认;
+ alertModeOfDiffSterileMethod: 2,
+ //控制PDA的回收清点模块的功能是预回收还是器械交接。PDA的回收清点模块的待回收列表会列出所有没做预回收或者器械交接的申请单,打开后可进行预回收或者交接处理。
+ //值为1:是作为预回收功能,能查看到所有没有做预回收的申请单(包括手工填的申请单和使用记录转换的申请单);没配或者值为2:作为器械交接功能,能查看到所有没有做器械交接的申请单(包括手工填的申请单和使用记录转换的申请单)
+ prepareRecycleVersion: 1,
+ //显示预回收时间,true:隐藏false:不隐藏
+ hiddenPreRecyclingTime: false,
+ //显示预回收人,true:隐藏false:不隐藏
+ hiddenRecyclingPeople: true,
+ //显示预回收确认人,true:隐藏false:不隐藏
+ //hiddenPreRecyclingConfirmPeople: false,
+ //是否启用器械包定义所属科室过滤。启用后,登录用户只能查看到所属科室包含了当前登录科室的器械包。需要先启用器械包定义所属科室。true:启用器械包定义所属科室过滤。默认为false:不启用过滤
+ enableTousseDefinitionBelongDepartFilter: false,
+ //是否启用器械包定义所属科室属性。启用后,器械包定义会显示所属科室下拉框,可选择器械包的所属科室。true:器械包定义页面显示所属科室选项,器械包定义启用保存所属科室默认为false:不启用
+ enableTousseDefinitionBelongDepart: true,
+ //是否开启根据科室加载模板,true:是false:否
+ isOpenLoadTemplateByUnit: true,
+ //终止申请单或者终止申请项后不需要联动删除装配任务,true则不需要,false或者不配置都需要删除
+ terminateInvoicePlanNotUpdatePackingTask: false,
+ //科室申领列表是否显示当天已终止的申请单,true:显示当天终止的申请单false:不显示
+ isShowEndedGoodsApplication: true,
+ // 回收时科室显示结算科室
+ showSettleAccountsDepartInRecycling : false,
+ // 审核器械包必须入篮筐(一级供应室)
+ mustScanBasketForTousseReview : true,
+ // 审核器械包必须入篮筐(二级供应室)
+ mustScanBasketForTousseReviewOf2ndSupplyRoom : false,
+ // 申请表单的类型:1 : 通用申请单(组合申请单),2:分开的申请单
+ applicationFormType : 1,
+ //在界面上是否隐藏一次性物品的包装规格信息
+ hidePackageSpec : true,
+ // 申请界面是否显示器械包或消毒物品的的单位
+ showTousseUnitColumn : true,
+ // 条码类型
+ barcodeType : 1,
+ // 申请器械包时是否自动归还待归还物品
+ autoReturnTousse :true,
+ //申请器械包时是否要求强制归还待归还物品,(如果为true则确认提示筐只有确定和取消按钮,否则就有是、否、取消这个按钮),autoReturnTousse配置为true才有用,
+ //forceReturnTousseWhenCreateInvoicePlan: true,
+ // 是否隐藏进入审核列表按钮
+ hideEnterReviewListButton : false,
+ // 是否自动补全用户名
+ autoFillUserName:false,
+ // 自动补全用户名的长度
+ autoFillUserNameLength:6,
+ //装配界面的配包人是否默认为上一次装配的配包人
+ packingPageOperatorDefaultLastOperator : true,
+ //审核界面的审核人是否默认为上一次审核的审核人
+ reviewPageReviewerDefaultLastReviewer : true,
+ // 是否支持部分终止申请单中的物品
+ enableTerminatePartOfApplication : true,
+ //安卓上,录入灭菌及查看灭菌记录界面,单独添加的器械包组默认展开
+ expandAddTousseGroupInAndroidSterileView : true,
+ //限制入库单填写的一次性物品为能申领的物品
+ restrictGodownEntryDiposableGoods : true,
+ //提交申请单前显示申请的物品清单
+ showAppliedGoodsBeforeSubmit : false,
+ //是否审核时打印标签,为true时点审核按钮才打印标签;否则在装配时打印标签
+ //printLabelWhenReviewing : true,
+ //在材料管理界面是否启用“是否统计工作量”属性
+ enableStatisticWorkLoad : true,
+ //使用记录模块的使用记录登记表单,巡回护士输入框是否为空
+ useRecordCircuitNurseAllowBlank : false,
+ //使用记录模块的使用记录登记表单,洗手护士输入框是否为空
+ useRecordWashHandNurseAllowBlank : true,
+ //审核界面,审核人是否不能为空。(可以为空,为当前登陆用户)
+ reviewPageReviewerNotEmpty : false,
+ //自定义装配后是否保留装配数量
+ packAmountProcessTypeInDirectPackingView: true,
+ //自定义装配后是否保留灭菌日期
+ disinfectionDateProcessTypeInDirectPackingView : true,
+ // 使用记录审核方式, 1: 审核和转换按钮分开; 2:审核和转换按钮合并为1个; 3:保存并审核生成申请单合并一个按钮
+ useRecordAuditMode : 1,
+ // 使用记录审核方式,(PDA端)
+ useRecordAuditModeForPDA : 2,
+ hideApplyDepartColumn : false, // 隐藏申请科室
+ hideSettleDepartColumn : true,// 隐藏结算科室
+ //回收界面回收人是否强制不能为空
+ //recyclePageRecyclingUserNotNull : true,
+ //回收一键入筐
+ recycleAllTousseIntoBasket : true,
+ //是否显示按照时间查询
+ showTimeSearch : true,
+ //科室申领时间过滤,开始日期是否为当天
+ startDateIsToday : true,
+ //是否显示科室分组选择框
+ isShowDeptGroup : true,
+ //不覆盖发货计划的打印时间
+ overWriteInvoicePlanPrintTime:false,
+ // 打印发货计划设置页的版本,默认为1
+ printRecyclingConfigFormVersion : 2,
+ //是否显示打印过滤选择框
+ showPrintFilter: true,
+ //清洗筐是否装配完成才能回收
+ recycleClassifyBasketAfterPacked : true,
+ // 是否显示装配界面的打印按钮
+ packingView_currentTaskGroup_showPrintBtn: true,
+ //是否启用聚合包功能
+ enableComboTousse: true,
+ //如果配置为不需要在单位前加上最小申请数量时,则用原单位,否则加上最小申请数量与斜杠
+ notNeedMinApplyAmountBeforeUnit : true,
+ //科室申领列表自动刷新间隔时间(单位:秒)
+ autoRefreshApplicationDataIntervalSeconds : 600,
+ //在灭菌视图界面是否显示“生物监测的状态”属性
+ showBiologicalMonitoringStatus : true,
+ //是否显示辅助发货按钮
+ showAuxiliaryInvoiceBtn : true,
+ //公司名称 "dingxiang"显示主页显示丁香的logo
+ companyName : "dingxiang",
+ //是否显示包实例科室(待灭菌与待灭菌装载的表格)
+ showDepartOfTousseInstanceSterile : true,
+ //对申请单的物品申请数量是否启用干预功能
+ enableInterfereApplyAmount : true,
+ //是否是加强版的“消毒供应中心工作量统计报表”(即:增加了评分功能),为true时是加强版的,没配或者为false则不是
+ strengthenStatisticalWorkload : true,
+ //是否禁用整筐发货
+ disableScanBasketInvoice : false,
+ //科室申领中,是否启用打印选中物品
+ enablePrintSelectedTousseItem : true,
+ //是否显示按器械包分组选择框
+ isShowTousseGroup : true,
+ //装配界面,扫描清洗篮筐后是否默认自动勾选篮筐内的器械包
+ packingView_autoSelectTousseWhenScanBasket:false,
+ //外部代理灭菌装配时是否必须入篮筐
+ mustScanBasketForForeignProxy:false,
+ //是否在点击批量打印后显示未打印的名单
+ isShowNoPrintList : true,
+ //是否显示核对人
+ showInvoiceAssistantSender : false,
+ //是否显示发货计划下送责任人
+ showInvoicePersonInCharge : true,
+ // 聚合包按大包发货
+ comboTousseSendByWrapperTousse: true,
+ //是否允许回收数量减小的部分超过待装配数量
+ allowDecreaseRecyclingAmountGreatUnPackingAmount : true,
+ //回收时,申请数量与回收数量不一致,是否要确认
+ confirmRecyclingAmount:false,
+ //器械包有材料丢失,是否必须确认,默认值为true,表示必须确认。false表示不用确认,此时保存后,历史回收记录的状态就是已确认(这就跟标识牌丢失一样,不用再次确认)
+ tousseMaterialsLostMustConfirm: true,
+ //待回收列表,扫描没有待回收申请单的科室,是否新建回收申请单,true为新建回收申请单,false或者未定义表示不新建,还在原来页面
+ newRecyclingApplicationWhenScanNoApplicationDepart: true,
+ //器械包定义是否批量修改
+ tousseDefinitionCanBatchEdit : true,
+ //禁用基数限制
+ disableCardinalNumLimit:true,
+ //是否启用标识牌跟篮筐绑定。如果启用,在回收的时候,扫描标识牌自动带出跟标识牌绑定的篮筐并将包实例入到篮筐中。true:启用
+ enableIdCardBasketBinding:true,
+ //是否启用扫描器械包固定条码清洗功能,true为启用,false或者不配置都不启用
+ endbleScanTousseFixationBarcode:true,
+ // 禁用标识牌功能
+ //disableIdCard : true,
+ //不要语音播报签收成功的包名称,如果配置为true,则签收器械包成功时不提示,失败时提示失败信息,true:签收成功不提示名称false或者不配置:签收成功提示包名称
+ donotSpeakTousseSignSuccessMessage:true,
+ //签收模块的版本
+ signModuleVersion:2,
+ //PDA的签收模式,值为3:支持发货单签收和器械包签收两种模式。点击签收或科室签收模块名称时,弹出菜单让用户选择其中一种后,进入到模块
+ signModeOfPDASignModule:3,
+ //PDA按器械包进行科室签收的版本
+ departmentSignByTousseVersionForPDA:2,
+ //在器械包信息列表中,是否显示签收项(签收人、签收时间),true:显示;false或者不配置:不显示
+ showSignedItems:true,
+ //当外来器械未归还时能否申请,true:允许false:不允许
+ canApplyForForeignTousseNotReturn:true,
+ //是否启用外来器械默认申请科室配置
+ enableForeignTousseApplyDepartment:true,
+ //自定义入筐显示植入物和工具拆分篮筐数配置为true,则显示自定义入筐中的拆分篮筐数,并且如果有植入物,篮筐的旁边会显示含有植入物,且有移除植入物按钮。如果配置为false,以上内容都隐藏。默认为false
+ showSplitInfoInCustomIntoBasket: true,
+ //自定义入筐是否启用输入装载数量进行入筐操作,配置为true,则点击装载数量列,可以在弹出界面输入本次入筐材料数量。默认为false
+ enableCustomIntoBasketWithCustomAmount: true,
+ // 外来器械拆包名字样式
+ splitForeignTousseNameStyle:1,
+ //是否启用自定义回收的篮筐序号。目前就外来器械拆包有用
+ enableClassifyBasketSequence:true,
+ //禁用外来器械
+ disableForeignTousse:false,
+ //禁用一次性物品
+ //disableDisposableGoods:true,
+ //禁用自定义表单
+ closeFormDefinition:false,
+ //禁用培训管理
+ hideTrainingManage:true,
+ //是否启用加急功能
+ enableUrgentFunction:true,
+ //是否启用拍摄功能(外来器械)
+ showCameraPhoto:true,
+ //PDA上启用科室申领
+ enablePdaApply : true,
+ //装配界面是否隐藏审核人字段,默认显示
+ //hideReviewerField : true,
+ //回收界面回收人是否默认是否为上一次回收的回收人,默认为false
+ recyclePageRecyclingUserDefaultLastRecyclingUser : true,
+ // 申请界面是否隐藏一次性物品价格
+ hideDisposablePriceColumn : true,
+ //打印发货单版本,如果为2,则表示批量打印使用分组打印方式
+ printInvoiceVersion:2,
+ //批量打印发货单,发货单的合并方式。
+ batchPrintInvoiceMergeType:"科室",
+ //装配是否显示灭菌炉与炉次
+ showSterilizer : false,
+ //自定义装配界面是否显示选择申请科室
+ selectDepartInCustomPacking : true,
+ //科室申领模块的填写申请单界面是否隐藏器械包价格
+ hideToussePriceColumn : true,
+ //是否禁用使用记录快速回收
+ disableUseRecordQuickRecycling : true,
+ //是否启用快速回收一键入筐功能
+ recycleAllTousseIntoBasketInExpressRecycle : true,
+ //一次性物品定义是否启用固定条码功能
+ isInitiateDisposableGoodsFixedBarcode : true,
+ //PDA上是否启用借物管理模块
+ enablePDABorrowModule : true,
+ //使用记录转换申请单后的合并规则。
+ useRecordConvertRecyclingApplicationMergeRegular : "depart",
+ //装配人与审核人是否相同的检查方式
+ operatorAndReviewerIsSameCheckMode:1,
+ //是否启用手术间管理界面
+ enableOperationRoomManagerViwe : true,
+ //只允许选择已存在的手术间
+ onlySelectExistedOperationRoom : true,
+ //使用记录模块的使用记录登记表单,手术间输入框是否允许为空,true : 允许false : 不允许
+ useRecordOperationRoomAllowBlank: false,
+ //是否限制同一个手术间只能登记一个未审核的使用记录,true:提示false:不提示
+ limitOneOperationRoomCanOnlyRegistOneUnAuditedUseRecord: true,
+ //添加回收申请单是否加载申领模板
+ isLoadApplyTemplateForAddRecycleRecord : true,
+ //保存并新建回收单时自动加载上次的清洗篮筐
+ loadWashBasketsAfterSaveAndCreateNewRecyclingRecord:true,
+ //启用回收物品列表按入筐状态排序优化。
+ enableSortWaitRecyclingListByIntoBasketStatus:true,
+ //允许部分回收
+ enablePartRecycle:true,
+ //填写申请单时是否单击进入编辑数量
+ singleClickToEditOfApply:true,
+ //科室申领是否显示修改历史记录
+ isShowUpdateDetail:true,
+ //灭菌装载是否启用首尾条码机制,只有为true时才启用,未配置或配置其它值时则不启用)
+ enableBeginEndBarcodeScan: false,
+ //发货页扫描模式,(不配此参数的话默认都为single(单个扫描),也可配置成area(首尾条码),每个project根据需要可进行配置)
+ //invoicePageScanMode:'area',
+ //在同一个篮筐中的,相同定义的器械包(或者材料)是否进行合并显示
+ mergeSameDefinitionItemInClassifyBasket:true,
+ //外来器械申请单是否允许申请多套外来器械包
+ allowApplyMultipleForeignTousse:true,
+ //灭菌装载页面如果第二个及后面的器械包的灭菌程序与第一个包的不一致时,是否提示
+ isNoticeWhenScanDifferentSterileTypeTousseBarcode:true,
+ //是否启用“外来器械申请”的桌面图标
+ enableForeignTousseApplicationDesktopIcon:true,
+ //是否禁用科室同步
+ hiddenOrgunitSyncButton:true,
+ //是否禁用人员同步
+ hiddenUserSyncButton:true,
+ //使用记录转换申请单的备注格式
+ useRecordConvertRecyclingApplicationRemark:'@tousseAmount',
+ useRecordMergeConvertRecyclingApplicationRemark:'@tousseAmount',
+ //是否启用发货汇总单查看功能
+ enableDeliverySummaryView:true,
+ //篮筐名称的右侧是否显示放大镜图标
+ showBasketLoadMaterialAmount:true,
+ //回收时自动加载清洗装载状态的篮筐
+ loadWashLoadingStatusBasketsWhenRecycling:false,
+ //当有丢失、报损时允许不补充材料即可装配
+ allowPackingWhenUnSupplementMaterial:true,
+ //多套外来器械是否可以入同一个篮筐。
+ multiForeignTousseIntoSameBasket:true,
+ //是否允许外来器械部分发货
+ allowPartlyInvoiceForeignTousse:true,
+ //是否启用:IP对应的默认科室配置的菜单
+ enableIPAndOrgUnitMapping:true
+ //启用灭菌暂存状态
+ //enableSterilizationDraftStatus:true,
+ //是否灭菌时打印标签
+ //printLabelWhenSterilizing:true
+}
\ No newline at end of file
Index: ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/interfaces/mybatis/FindPatientInfoByHospitalNumMapper.xml
===================================================================
diff -u
--- ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/interfaces/mybatis/FindPatientInfoByHospitalNumMapper.xml (revision 0)
+++ ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/interfaces/mybatis/FindPatientInfoByHospitalNumMapper.xml (revision 33757)
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/interfaces/mybatis/FindPatientInfoByTreatmentNumMapper.xml
===================================================================
diff -u
--- ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/interfaces/mybatis/FindPatientInfoByTreatmentNumMapper.xml (revision 0)
+++ ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/interfaces/mybatis/FindPatientInfoByTreatmentNumMapper.xml (revision 33757)
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/interfaces/mybatis/syncFromHERP_Mapper.xml
===================================================================
diff -u
--- ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/interfaces/mybatis/syncFromHERP_Mapper.xml (revision 0)
+++ ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/interfaces/mybatis/syncFromHERP_Mapper.xml (revision 33757)
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/interfaces/mybatis/SyncOrgUnitAndUserMapper.xml
===================================================================
diff -u
--- ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/interfaces/mybatis/SyncOrgUnitAndUserMapper.xml (revision 0)
+++ ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/interfaces/mybatis/SyncOrgUnitAndUserMapper.xml (revision 33757)
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/print/printConfig.js
===================================================================
diff -u
--- ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/print/printConfig.js (revision 0)
+++ ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/print/printConfig.js (revision 33757)
@@ -0,0 +1,1327 @@
+var printerNameMapping = {
+ //'模板-手一标识牌' : 'ZDesigner GT800 (EPL) (标识牌)',
+ //'模板-手二标识牌' : 'ZDesigner GT800 (EPL) (标识牌)',
+ //'模板-普通小标签' : 'ZDesigner GT800 (EPL) (标识牌)'
+};
+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 : [
+ // 页眉名称
+ {label : "保定市第一中心医院调拨单查询", dataIndex : 'depart', fontSize : 15, position : ["0.3cm","30%","99%",5]},
+ {label : "调拨日期:", dataIndex : 'date', fontSize : 9, position : ["1cm","38%","99%",5]}
+ //{label : "科室:", dataIndex : 'depart', fontSize : 9, position : ["30","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 godownEntryOutListConfig = {
+ headerFooter : [
+ // 页眉名称
+ {label : "保定市第一中心医院退库单查询", dataIndex : 'depart', fontSize : 15, position : ["0.3cm","30%","99%",5]},
+ {label : "退库日期:", dataIndex : 'date', fontSize : 9, position : ["1cm","38%","99%",5]}
+ //{label : "科室:", dataIndex : 'depart', fontSize : 9, position : ["30","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 : 'time', width : 110, align : 'center'},
+ {header : "金额", dataIndex : 'totalPrice', width : 75, align : 'center'},
+ {header : "供应商", dataIndex : 'supplierName', width : 285, align : 'center'},
+ {header : "备注", dataIndex : 'remark', width : 160, align : 'center'}
+ ]
+ }
+}
+var godownStockTakeListConfig = {
+ headerFooter : [
+ // 页眉名称
+ {label : "保定市第一中心医院盘盈盘亏单查询", dataIndex : 'depart', fontSize : 15, position : ["0.3cm","30%","99%",5]},
+ {label : "日期:", dataIndex : 'date', fontSize : 9, position : ["1cm","38%","99%",5]}
+ //{label : "科室:", dataIndex : 'depart', fontSize : 9, position : ["30","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 : 285, align : 'center'},
+ {header : "类型", dataIndex : 'subType', width : 160, align : 'center'},
+ {header : "时间", dataIndex : 'time', width : 110, align : 'center'},
+ {header : "金额", dataIndex : 'totalPrice', width : 75, align : 'center'}
+ ]
+ }
+}
+var godownEntryListPrintConfig = {
+ headerFooter : [
+ // 页眉名称
+ {label : "保定市第一中心医院入库单查询", dataIndex : 'depart', fontSize : 15, position : ["0.3cm","30%","99%",5]},
+ {label : "入库日期:", dataIndex : 'date', fontSize : 9, position : ["1cm","38%","99%",5]}
+ //{label : "科室:", dataIndex : 'depart', fontSize : 9, position : ["30","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 : 'time', width : 110, align : 'center'},
+ {header : "金额", dataIndex : 'totalPrice', width : 75, align : 'center'},
+ {header : "供应商", dataIndex : 'supplierName', width : 285, align : 'center'},
+ {header : "备注", dataIndex : 'remark', width : 160, align : 'center'}
+ ]
+ }
+}
+
+var invoicePlanPrintConfig = {
+ isPrintTousse : true,
+ isPrintDisinfectGoods : true,
+ isPrintDisposableGoods : true, // 打印申请单是否打印一次性物品
+ isMergePrintTousseAndDisposable : false, // 器械包和一次性物品是否合并打印
+ printByOriginalApplications : true, //不合并打印情况下是否按原始单据逐份打印
+ printApplyInfo : false,
+ printOrder : 1, // 1:优先打印一次性物品, 2:优先打印器械包
+ // 在器械包和一次性物品不合并打印的情况下,消毒物品打印方式:
+ // 1:优先与一次性物品合并打印,如果无一次性物品则与器械包合并打印, 2:优先与器械包一起合并打印,如果没有器械包则与一次性物品合并打印 ,3:单独打印
+ disinfectGoodsPrintMode : 2,
+ rowsPerPage : 9,
+ headerContent : [
+ // 页眉名称
+ {label : "保定市第一中心医院", dataIndex : '', fontSize : 12, position : ["5","1%","90%",5]},
+ // 标题
+ {label : "发货计划单", dataIndex : '', fontSize : 15, position : ["20","40%","99%",5]},
+ {label : "部门:", dataIndex : 'depart', fontSize : 12, position : ["55","2%","90%",5]},
+ {label : "单号:", dataIndex : 'serialNum', fontSize : 11, position : ["55","35%","90%",5]},
+ {label : "仓库:消毒供应中心", dataIndex : '', fontSize : 11, position : ["55","75%","90%",5]},
+ {label : "制单人:", dataIndex : 'printUser', fontSize : 11, position : ["80","75%","90%",5]},
+ //{label : "提交时间:", dataIndex : 'applicationTime', fontSize : 11, position : ["80","35%","90%",5]},
+ {label : "备注:", dataIndex : 'remark', fontSize : 11, position : ["80","2%","90%",5]}
+ ],
+ goodsTable :{
+ rowHeight : 24,
+ position : ["100","1%","97%","2000"],
+ content : [
+ {header : "序号", dataIndex : 'serialNumber', width : 60, align : 'center', fontSize : 11},
+ {header : "名称", dataIndex : 'goodsName', width : 340, align : 'left', fontSize : 11},
+ {header : "规格", dataIndex : 'sp', width : 185, align : 'center', fontSize : 11},
+ {header : "包装规格", dataIndex : 'packageSpec', width : 100, align : 'center', fontSize : 11},
+ {header : "单位", dataIndex : 'unit', width : 60, align : 'center', fontSize : 11},
+ {header : "数量", dataIndex : 'goodsAmount', width : 60, align : 'right', fontSize : 11},
+ {header : "批次", dataIndex : 'batchNumber', width : 60, align : 'right', fontSize : 11},
+ {header : "单价", dataIndex : 'price', width : 60, align : 'right', fontSize : 11}
+ //header : "金额", dataIndex : 'rowPrice', width : 75, align : 'right', fontSize : 11}
+ ]
+ },
+ footer: {
+ fontSize : 16,
+ content : [
+ //{label : "
主管: ", dataIndex : ''},
+ {label : " 领料人: ", dataIndex : ''},
+ {label : " 发料人: ", dataIndex : 'printUser'},
+ {label : " 发货日期:", dataIndex : 'printTime'}
+ ]
+ },
+ barcodes : [
+ {codeType : "128Auto", dataIndex : 'departBarcode', position : ["3mm","74%","40mm","8mm"],
+ styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true},
+ {itemNameID: 0, styleName: 'FontSize', styleValue: 6},
+ {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true}
+ ]
+ }
+ ]
+}
+var batchPrintMaterialInvoicesConfig = {
+ headerFooter : [
+ // 页眉名称
+ //{label : "保定市第一中心医院", dataIndex : '', fontSize : 10, position : ["5","1%","90%",5]},
+ // 标题
+ {label : "保定市第一中心医院卫生材料出库单", dataIndex : '', fontSize : 15, position : ["5","32%","99%",5]},
+ {label : "科室:", dataIndex : 'depart', fontSize : 11, position : ["30","2%","90%",5]},
+ {label : "备注:", dataIndex : 'remark2', fontSize : 11, position : ["30","25%","90%",5]},
+ {label : "记账日期:", dataIndex : 'sendTime', fontSize : 11, position : ["30","58%","90%",5]},
+ {label : "出库单号:", dataIndex : 'serialNumber2', fontSize : 11, position : ["30","80%","90%",5]},
+ //页脚
+ {label : "制单日期:", dataIndex : 'printDate', fontSize : 11, position : ["310","2%","90%",5]},
+ {label : "制单人:", dataIndex : 'printUser', fontSize : 11, position : ["310","25%","90%",5]},
+ {label : "领用人:", dataIndex : '', fontSize : 11, position : ["310","45%","90%",5]},
+ {label : "保管人:", dataIndex : '', fontSize : 11, position : ["310","65%","90%",5]},
+ {label : "记账人:", dataIndex : 'sender', fontSize : 11, position : ["310","80%","90%",5]}
+ ],
+ currentPageNumber : {label : "第#页", fontSize : 11, position : ["30","45%","90%",5]},
+ totalPageAmount : {label : "共&页", fontSize : 11, position : ["30","50%","90%",5]},
+ goodsTable :{
+ rowHeight : 20,
+ position : ["50","1%","99%","6.0cm"],
+ headRepeat : true,
+ columns : [
+ {header : "序号", dataIndex : 'serialNumber', width : '100', align : 'center', fontSize : 11},
+ {header : "编码", dataIndex : 'externalCode', width : '150', align : 'center', fontSize : 11},
+ {header : "名称", dataIndex : 'name', width : '150', align : 'center', fontSize : 11},
+ {header : "规格", dataIndex : 'specification', width : '150', align : 'center', fontSize : 11},
+// {header : "包装规格", dataIndex : 'packageSpec', width : '15%', align : 'center', fontSize : 11},
+ {header : "单位", dataIndex : 'unit', width : '100', align : 'center', fontSize : 11},
+ {header : "数量", dataIndex : 'amount', width : '100', align : 'center', fontSize : 11}
+ //{header : "有效日期", dataIndex : 'expireDate', width : 85, align : 'center', fontSize : 11},
+ //{header : "批号", dataIndex : 'batchNumber', width : 105, align : 'center', fontSize : 11}
+// {header : "单价", dataIndex : 'price', width : '10%', align : 'right', fontSize : 11},
+// {header : "金额", dataIndex : 'totalPrice', width : '10%', align : 'right', fontSize : 11}
+ ]
+ }
+};
+
+var recyclingInvoiceTotalConfig_fsszyy = {
+ customPrint:printRecyclingInvoiceTotalConfig_GroupByTousseGroupName,
+ name:'printRecyclingInvoiceTotalConfig_GroupByDepart'
+}
+function printRecyclingInvoiceTotalConfig_GroupByTousseGroupName(time,obj,name,loginUser){
+ if(name == 'printRecyclingInvoiceTotalConfig_GroupByDepart'){
+ var tableHtml ="
";
+ for(var item in obj.data){
+ tableHtml += "";
+ tableHtml += ""+item+" | ";
+ tableHtml += "
";
+ tableHtml += "";
+ tableHtml += "序号 | ";
+ tableHtml += "名称 | ";
+ tableHtml += "数量 | ";
+ tableHtml += "备注 | ";
+ //tableHtml += "单价 | ";
+ //tableHtml += "金额 | ";
+ tableHtml += "
";
+ for(var i=0;i";
+ tableHtml += ""+(i+1)+" | ";
+ tableHtml += ""+obj.data[item][i].tosseName+" | ";
+ tableHtml += ""+obj.data[item][i].amount+" | ";
+ tableHtml += ""+" | ";
+ //tableHtml += ""+obj.data[item][i].price+" | ";
+ //tableHtml += ""+obj.data[item][i].totalPrice+" | ";
+ tableHtml += "";
+ }
+ }
+ tableHtml += "
";
+ var headHtml = "回收清单
";
+ var printTimeHtml = "制单人: "+loginUser+" 打印时间: "+time+"
";
+ //打印设置
+ var LODOP = getLodop(document.getElementById('LODOP'),document.getElementById('LODOP_EM'));
+ //打印医院名称
+ LODOP.ADD_PRINT_HTM(10,"3%",100,30,'保定市第一中心医院');
+ //打印日期
+ LODOP.ADD_PRINT_HTM(90,"3%","90%","100%",printTimeHtml);
+ //项目内容
+ LODOP.ADD_PRINT_TABLE(110,"3%","90%","100%",tableHtml);
+ //标题
+ LODOP.ADD_PRINT_HTM(30,20,"95%",30,headHtml);
+ LODOP.PRINT();
+ }else {
+ var headHtml = "科室申领物品汇总单
";
+ var tableHtml ="";
+ tableHtml += "";
+ tableHtml += "名称 | ";
+ tableHtml += "数量 | ";
+ tableHtml += "名称 | ";
+ tableHtml += "数量 | ";
+ tableHtml += "
";
+ for(var i=0;i < obj.data.length;){
+ var num = obj.data[i+1];
+ var tosseName;
+ var amount;
+ if(num == "" || num == undefined || num == null){
+ tosseName = "";
+ amount = "";
+ }else{
+ tosseName = num.tosseName;
+ amount = num.amount;
+ }
+
+ tableHtml += "";
+ tableHtml += ""+obj.data[i].tosseName+" | ";
+ tableHtml += ""+obj.data[i].amount+" | ";
+ tableHtml += ""+tosseName+" | ";
+ tableHtml += ""+amount+" | ";
+ tableHtml += "
";
+ i = i+2;
+ }
+ tableHtml += "
";
+ var printTimeHtml = "打印日期: "+time+"
";
+ //打印设置
+ var LODOP = getLodop(document.getElementById('LODOP'),document.getElementById('LODOP_EM'));
+ //打印日期
+ LODOP.ADD_PRINT_HTM(80,"5%","90%","100%",printTimeHtml);
+ //项目内容
+ LODOP.ADD_PRINT_TABLE(106,"5%","90%","100%",tableHtml);
+ //标题
+ LODOP.ADD_PRINT_HTM(20,20,"95%",30,headHtml);
+ LODOP.PRINT();
+ }
+}
+
+var batchPrintInvoicesConfig = {
+ headerFooter : [
+ // 页眉名称
+ //{label : "保定市第一中心医院", dataIndex : '', fontSize : 10, position : ["2","1%","90%",5]},
+ // 标题
+ {label : "保定市第一中心医院消毒供应室器械包发货单", dataIndex : '', fontSize : 20, position : ["5","10%","99%",5]},
+ {label : "申请科室:", dataIndex : 'depart', fontSize : 11, position : ["50","2%","90%",5]},
+ //{label : "出库:消毒供应室", dataIndex : '', fontSize : 11, position : ["50","75%","90%",5]},
+ //{label : "制单人:", dataIndex : 'printUser', fontSize : 9, position : ["55","35%","90%",5]},
+ {label : "打印日期:", dataIndex : 'printTime', fontSize : 11, position : ["50","35%","90%",5]},
+ //{label : "备注:", dataIndex : 'remark', fontSize : 9, position : ["11cm","2%","90%",5]},
+ {label : "发货人:", dataIndex : 'sender', fontSize : 11, position : ["13cm","5%","90%",5]},
+ {label : "下送人:", dataIndex : 'personInCharge', fontSize : 11, position : ["13cm","25%","90%",5]},
+ {label : "签收人:", dataIndex : '', fontSize : 11, position : ["13cm","60%","90%",5]},
+ {barcodes : [
+ {codeType : "128Auto", dataIndex : 'departBarcode', position : ["9mm","75%","40mm","8mm"],
+ styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true},
+ {itemNameID: 0, styleName: 'FontSize', styleValue: 6},
+ {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true}
+ ]
+ }
+ ]}
+
+ ],
+ currentPageNumber : {label : "第#页", fontSize : 11, position : ["13cm","80%","90%",5]},
+ totalPageAmount : {label : "共&页", fontSize : 11, position : ["13cm","85%","90%",5]},
+ goodsTable :{
+ rowHeight : 25,
+ position : ["70","5","90%","11.5cm"],
+ headRepeat : true,
+ columns : [
+ {header : "序号", dataIndex : 'serialNumber', width : "40", align : 'center', fontSize : 11},
+ {header : "名称", dataIndex : 'name', width : "250", align : 'left', fontSize : 11},
+ //{header : "有效期", dataIndex : '', width : '10%', align : 'center', fontSize : 9},
+ //{header : "包装规格", dataIndex : 'packageSpec', width : '15%', align : 'center', fontSize : 9},
+ {header : "发放数量", dataIndex : 'amount', width : '80', align : 'center', fontSize : 11},
+ {header : "炉号", dataIndex : 'sterilizerName', width : '80', align : 'center', fontSize : 11},
+ {header : "炉次", dataIndex : 'frequency', width : '40', align : 'center', fontSize : 11},
+ {header : "灭菌日期", dataIndex : 'batchNumber', width : "85", align : 'center', fontSize : 11},
+ {header : "失效日期", dataIndex : 'expireDate', width : "85", align : 'center', fontSize : 11}
+ //{header : "单价", dataIndex : 'price', width : '10%', align : 'right', fontSize : 9},
+ //{header : "金额", dataIndex : 'totalPrice', width : '10%', align : 'right', fontSize : 9}
+ ]
+ }
+}
+//
+var invoiceComboPrintConfig = {
+ headerFooter : [
+ // 页眉名称
+ //{label : "保定市第一中心医院", dataIndex : '', fontSize : 10, position : ["2","1%","90%",5]},
+ // 标题
+ {label : "保定市第一中心医院消毒供应室器械包发放查询单", dataIndex : '', fontSize : 20, position : ["5","10%","99%",5]},
+ {label : "申请科室:", dataIndex : 'depart', fontSize : 11, position : ["50","2%","90%",5]},
+ //{label : "出库:消毒供应室", dataIndex : '', fontSize : 11, position : ["50","75%","90%",5]},
+ //{label : "制单人:", dataIndex : 'printUser', fontSize : 9, position : ["55","35%","90%",5]},
+ {label : "打印日期:", dataIndex : 'printTime', fontSize : 11, position : ["50","35%","90%",5]},
+ //{label : "备注:", dataIndex : 'remark', fontSize : 9, position : ["11cm","2%","90%",5]},
+ {label : "发货人:", dataIndex : 'sender', fontSize : 11, position : ["11.5cm","5%","90%",5]},
+ {label : "下送人:", dataIndex : 'personInCharge', fontSize : 11, position : ["11.5cm","25%","90%",5]},
+ {label : "签收人:", dataIndex : '', fontSize : 11, position : ["11.5cm","60%","90%",5]},
+ {barcodes : [
+ {codeType : "128Auto", dataIndex : 'departBarcode', position : ["9mm","75%","40mm","8mm"],
+ styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true},
+ {itemNameID: 0, styleName: 'FontSize', styleValue: 6},
+ {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true}
+ ]
+ }
+ ]}
+ ],
+ currentPageNumber : {label : "第#页", fontSize : 11, position : ["12cm","80%","90%",5]},
+ totalPageAmount : {label : "共&页", fontSize : 11, position : ["12cm","85%","90%",5]},
+ goodsTable :{
+ rowHeight : 25,
+ position : ["70","1%","98%","9cm"],
+ headRepeat : true,
+ columns : [
+ {header : "序号", dataIndex : 'serialNumber', width : "40", align : 'center', fontSize : 11},
+ {header : "名称", dataIndex : 'name', width : "250", align : 'left', fontSize : 11},
+ //{header : "有效期", dataIndex : '', width : '10%', align : 'center', fontSize : 9},
+ //{header : "包装规格", dataIndex : 'packageSpec', width : '15%', align : 'center', fontSize : 9},
+ {header : "发放数量", dataIndex : 'amount', width : '80', align : 'center', fontSize : 11},
+ {header : "炉号", dataIndex : 'sterilizerName', width : '150', align : 'center', fontSize : 11},
+ {header : "炉次", dataIndex : 'frequency', width : '40', align : 'center', fontSize : 11},
+ {header : "灭菌日期", dataIndex : 'batchNumber', width : "85", align : 'center', fontSize : 11},
+ {header : "失效日期", dataIndex : 'expireDate', width : "85", align : 'center', fontSize : 11}
+ //{header : "单价", dataIndex : 'price', width : '10%', align : 'right', fontSize : 9},
+ //{header : "金额", dataIndex : 'totalPrice', width : '10%', align : 'right', fontSize : 9}
+ ]
+ }
+}
+
+var applicationPrintConfig = {
+ isPrintTousse : true,
+ isPrintDisinfectGoods : true,
+ isPrintDisposableGoods : true, // 打印申请单是否打印一次性物品
+ isMergePrintTousseAndDiposable : true, // 器械包和一次性物品是否合并打印
+ printApplyInfo : true,
+ // 在器械包和一次性物品不合并打印的情况下,消毒物品打印方式:
+ // 1:优先与一次性物品合并打印,如果无一次性物品则与器械包合并打印, 2:优先与器械包一起合并打印,如果没有器械包则与一次性物品合并打印 ,3:单独打印
+ disinfectGoodsPrintMode : 1,
+ rowsPerPage : 11,
+ headerContent : [
+ // 页眉名称
+ {label : "保定市第一中心医院", dataIndex : '', fontSize : 10, position : ["5","1%","90%",5]},
+ // 标题
+ {label : "无菌物品申领单", dataIndex : '', fontSize : 15, position : ["20","40%","99%",5]},
+ {label : "部门:", dataIndex : 'depart', fontSize : 11, position : ["55","2%","90%",5]},
+ {label : "单号:", dataIndex : 'serialNum', fontSize : 11, position : ["55","35%","90%",5]},
+
+ {label : "制单人:", dataIndex : 'printUser', fontSize : 11, position : ["80","75%","90%",5]},
+ {label : "提交时间:", dataIndex : 'applicationTime', fontSize : 11, position : ["80","35%","90%",5]},
+ {label : "备注:", dataIndex : 'remark', fontSize : 11, position : ["80","2%","90%",5]}
+ ],
+ goodsTable :{
+ rowHeight : 25,
+ position : ["100","1%","97%","2000"],
+ content : [
+ {header : "序号", dataIndex : 'serialNumber', width : 60, align : 'center', fontSize : 11},
+ {header : "名称", dataIndex : 'goodsName', width : 340, align : 'left', fontSize : 11},
+ {header : "规格", dataIndex : 'sp', width : 185, align : 'center', fontSize : 11},
+ {header : "包装规格", dataIndex : 'packageSpec', width : 100, align : 'center', fontSize : 11},
+ {header : "单位", dataIndex : 'unit', width : 60, align : 'center', fontSize : 11},
+ {header : "数量", dataIndex : 'goodsAmount', width : 60, align : 'right', fontSize : 11},
+ {header : "单价", dataIndex : 'price', width : 60, align : 'right', fontSize : 11},
+ {header : "金额", dataIndex : 'rowPrice', width : 75, align : 'right', fontSize : 11}
+ ]
+ },
+ footer: {
+ fontSize : 15,
+ content : [
+ {label : "
主管: ", dataIndex : ''},
+ {label : " 领料人: ", dataIndex : ''},
+ {label : " 打印人: ", dataIndex : 'printUser'},
+ {label : " 打印日期:", dataIndex : 'printTime'}
+ ]
+ },
+ barcodes : [
+ {codeType : "128Auto", dataIndex : 'departBarcode', position : ["5mm","74%","40mm","8mm"],
+ styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true},
+ {itemNameID: 0, styleName: 'FontSize', styleValue: 6},
+ {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true}
+ ]
+ }
+ ]
+
+}
+
+var borrowPrintConfig = {
+ isPrintTousse : true,
+ isPrintDisinfectGoods : true,
+ isPrintDisposableGoods : false, // 打印申请单是否打印一次性物品
+ isMergePrintTousseAndDiposable : true, // 器械包和一次性物品是否合并打印
+ printApplyInfo : true,
+ disinfectGoodsPrintMode : 1,
+ rowsPerPage : 9,
+ headerContent : [
+ // 标题
+ {label : "保定市第一中心医院", dataIndex : '', fontSize : 10, position : ["5","1%","90%",5]},
+ {label : "借物单", dataIndex : '', fontSize : 17, position : ["22","45%","99%",5]},
+ {label : "去向:", dataIndex : 'depart', fontSize : 10, position : ["55","5%","90%",5]},
+ {label : "单号:", dataIndex : 'serialNum', fontSize : 10, position : ["55","25%","90%",5]},
+ {label : "日期:", dataIndex : 'printTime', fontSize : 10, position : ["55","41%","90%",5]},
+ {label : "备注:", dataIndex : 'remark', fontSize : 10, position : ["55","65%","90%",5]}
+ ],
+ goodsTable :{
+ rowHeight : 25,
+ position : ["75","2%","97%","2000"],
+ content : [
+ {header : "序号", dataIndex : 'serialNumber', width : 60, align : 'center', fontSize : 11},
+ {header : "名称", dataIndex : 'goodsName', width : 340, align : 'left', fontSize : 11},
+ {header : "规格", dataIndex : 'sp', width : 185, align : 'center', fontSize : 11},
+ {header : "单位", dataIndex : 'unit', width : 60, align : 'center', fontSize : 11},
+ {header : "数量", dataIndex : 'goodsAmount', width : 60, align : 'right', fontSize : 11},
+ {header : "单价", dataIndex : 'price', width : 60, align : 'right', fontSize : 11},
+ {header : "金额", dataIndex : 'rowPrice', width : 75, align : 'right', fontSize : 11}
+ ]
+ },
+ footer: {
+ fontSize : 14,
+ content : [
+ {label : "制单:", dataIndex : 'printUser'},
+ {label : " 申请人:", dataIndex : 'applicant'},
+ {label : " 复核: ", dataIndex : ''},
+ {label : " 验收: ", dataIndex : ''},
+ {label : "提交时间:", dataIndex : 'applicationTime'}
+ ]
+ }
+
+ }
+var appropriationConfig = {
+ headerFooter : [
+ // 标题
+ {label : "保定市第一中心医院卫生材料调拨单", dataIndex : '', fontSize : 15, position : ["0.2cm","28%","99%",5]},
+ {label : "调拨类型:手工调拨", dataIndex : '', fontSize : 9, position : ["1cm","2%","90%",5]},
+ {label : "供应商:", dataIndex : 'supplierName', fontSize : 9, position : ["1.5cm","2%","90%",5]},
+ {label : "出库仓库:", dataIndex : 'warehouseName', fontSize : 9, position : ["1cm","40%","90%",5]},
+ {label : "入库仓库:", dataIndex : 'targetWarehouseName', fontSize : 9, position : ["1cm","75%","90%",5]},
+ {label : "操作日期:", dataIndex : 'godownEntryTime', fontSize : 9, position : ["1.5cm","53%","90%",5]},
+ {label : "调拨单号:", dataIndex : 'serialNumber', fontSize : 9, position : ["1.5cm","75%","90%",5]},
+
+
+ {label : "小计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["7.5cm","2%","90%",4]},
+ {label : "制单日期:", dataIndex : 'printTime', fontSize : 9, position : ["8cm","2%","90%",4]},
+ {label : "制单人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","25%","90%",4]},
+ //{label : "验收:", dataIndex : '', fontSize : 9, position : ["8cm","38%","90%",4]},
+ //{label : "采购:", dataIndex : '', fontSize : 9, position : ["8cm","51%","90%",4]},
+ {label : "复核人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","64%","90%",4]},
+ {label : "总合计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["8cm","77%","99%",4]}
+ ],
+ currentPageNumber : {label : "第#页", fontSize : 9, position : ["1.5cm","40%","90%",5]},
+ totalPageAmount : {label : "共&页", fontSize : 9, position : ["1.5cm","45%","90%",5]},
+ goodsTable :{
+ rowHeight : 22,
+ fontSize:10,
+ position : ["2cm","0.2cm","100%","5.5cm"],
+ headRepeat : true,
+ columns : [
+ {header : "编码", dataIndex : 'code', width : '35', align : 'center'},
+ {header : "名称", dataIndex : 'name', width : '170', align : 'left'},
+ {header : "规格", dataIndex : 'specification', width : '100', align : 'center'},
+ {header : "单位", dataIndex : 'unit', width : '30', align : 'center'},
+ {header : "数量", dataIndex : 'amount', width : '30', align : 'center'},
+ {header : "进价", dataIndex : 'price', width : '40', align : 'right'},
+ {header : "进价金额", dataIndex : 'totalPrice', width : '50', align : 'right'},
+ {header : "批号", dataIndex : 'batchNumber', width : '60', align : 'right'},
+ {header : "产地", dataIndex : 'producingArea', width : '50', align : 'right'},
+ {header : "注册证号", dataIndex : 'certification', width : '180', align : 'left'}
+ ]
+ }
+}
+
+var godownOutEntryConfig = {
+ headerFooter : [
+ // 标题
+ {label : "保定市第一中心医院卫生材料退库单", dataIndex : '', fontSize : 15, position : ["0.2cm","28%","99%",5]},
+ {label : "退库类型:手工退库", dataIndex : '', fontSize : 9, position : ["0.5cm","2%","90%",5]},
+ {label : "供应商:", dataIndex : 'supplierName', fontSize : 9, position : ["1cm","2%","90%",5]},
+ {label : "退库日期:", dataIndex : 'godownEntryTime', fontSize : 9, position : ["1cm","53%","90%",5]},
+ {label : "退库单号:", dataIndex : 'serialNumber', fontSize : 9, position : ["1cm","75%","90%",5]},
+
+ {label : "小计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["7.5cm","2%","90%",4]},
+ {label : "制单日期:", dataIndex : 'printTime', fontSize : 9, position : ["8cm","2%","90%",4]},
+ {label : "制单人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","25%","90%",4]},
+ //{label : "验收:", dataIndex : '', fontSize : 9, position : ["8cm","38%","90%",4]},
+ //{label : "采购:", dataIndex : '', fontSize : 9, position : ["8cm","51%","90%",4]},
+ {label : "复核人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","64%","90%",4]},
+ {label : "总合计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["8cm","77%","99%",4]}
+ ],
+ currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]},
+ totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]},
+ goodsTable :{
+ rowHeight : 22,
+ fontSize:10,
+ position : ["1.5cm","0.2cm","100%","5.5cm"],
+ headRepeat : true,
+ columns : [
+ {header : "编码", dataIndex : 'code', width : '35', align : 'center'},
+ {header : "名称", dataIndex : 'name', width : '170', align : 'left'},
+ {header : "规格", dataIndex : 'specification', width : '100', align : 'center'},
+ {header : "单位", dataIndex : 'unit', width : '30', align : 'center'},
+ {header : "数量", dataIndex : 'amount', width : '30', align : 'center'},
+ {header : "进价", dataIndex : 'price', width : '40', align : 'right'},
+ {header : "进价金额", dataIndex : 'totalPrice', width : '50', align : 'right'},
+ {header : "批号", dataIndex : 'batchNumber', width : '60', align : 'right'},
+ {header : "产地", dataIndex : 'producingArea', width : '50', align : 'right'},
+ {header : "注册证号", dataIndex : 'certification', width : '180', align : 'left'}
+ ]
+ }
+}
+var materialEntryConfig = {
+ headerFooter : [
+ // 标题
+ {label : "保定市第一中心医院卫生材料入库单", dataIndex : '', fontSize : 15, position : ["0.2cm","28%","99%",5]},
+ {label : "入库类型:购入入库", dataIndex : '', fontSize : 9, position : ["0.5cm","2%","90%",5]},
+ {label : "供应商:", dataIndex : 'supplierName', fontSize : 9, position : ["1cm","2%","90%",5]},
+ {label : "入库日期:", dataIndex : 'godownEntryTime', fontSize : 9, position : ["1cm","53%","90%",5]},
+ {label : "入库单号:", dataIndex : 'serialNumber', fontSize : 9, position : ["1cm","75%","90%",5]},
+
+ {label : "小计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["7.5cm","2%","90%",4]},
+ {label : "制单日期:", dataIndex : 'printTime', fontSize : 9, position : ["8cm","2%","90%",4]},
+ {label : "制单人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","25%","90%",4]},
+ {label : "验收:", dataIndex : '', fontSize : 9, position : ["8cm","38%","90%",4]},
+ {label : "采购:", dataIndex : '', fontSize : 9, position : ["8cm","51%","90%",4]},
+ {label : "复核人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","64%","90%",4]},
+ {label : "总合计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["8cm","77%","99%",4]}
+ ],
+ currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]},
+ totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]},
+ goodsTable :{
+ rowHeight : 22,
+ fontSize:10,
+ position : ["1.5cm","0.2cm","100%","5.5cm"],
+ headRepeat : true,
+ columns : [
+ {header : "编码", dataIndex : 'code', width : '55', align : 'center'},
+ {header : "名称", dataIndex : 'name', width : '220', align : 'center'},
+ {header : "规格", dataIndex : 'specification', width : '100', align : 'center'},
+ {header : "单位", dataIndex : 'unit', width : '30', align : 'center'},
+ {header : "数量", dataIndex : 'amount', width : '30', align : 'center'},
+ {header : "进价", dataIndex : 'price', width : '40', align : 'right'},
+ {header : "进价金额", dataIndex : 'totalPrice', width : '50', align : 'right'},
+ //{header : "批号", dataIndex : 'batchNumber', width : '60', align : 'right'},
+ //{header : "产地", dataIndex : 'producingArea', width : '50', align : 'right'},
+ {header : "注册证号", dataIndex : 'certification', width : '220', align : 'center'}
+ ]
+ }
+}
+// 一次性物品盘盈盘亏单
+var godownStockTakeConfig = {
+ headerFooter : [
+ // 标题
+ {label : "保定市第一中心医院卫生材料盘盈盘亏单", dataIndex : '', fontSize : 15, position : ["0.2cm","28%","99%",5]},
+ {label : "入库类型:", dataIndex : 'subType', fontSize : 9, position : ["0.5cm","2%","90%",5]},
+ {label : "供应商:", dataIndex : 'supplierName', fontSize : 9, position : ["1cm","2%","90%",5]},
+ {label : "日期:", dataIndex : 'godownEntryTime', fontSize : 9, position : ["1cm","53%","90%",5]},
+ {label : "单号:", dataIndex : 'serialNumber', fontSize : 9, position : ["1cm","75%","90%",5]},
+
+ {label : "小计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["7.5cm","2%","90%",4]},
+// {label : "", dataIndex : 'totalPrice', fontSize : 11, position : ["8cm","60%","90%",4]},
+ {label : "制单日期:", dataIndex : 'printTime', fontSize : 9, position : ["8cm","2%","90%",4]},
+ {label : "制单人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","25%","90%",4]},
+ {label : "验收:", dataIndex : '', fontSize : 9, position : ["8cm","38%","90%",4]},
+ {label : "采购:", dataIndex : '', fontSize : 9, position : ["8cm","51%","90%",4]},
+ {label : "复核人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","64%","90%",4]},
+ {label : "总合计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["8cm","77%","99%",4]}
+// {label : "发料人:", dataIndex : 'sender', fontSize : 11, position : ["10cm","75%","90%",5]}//,
+// {barcodes : [
+// {codeType : "128Auto", dataIndex : 'departBarcode', position : ["3mm","74%","40mm","8mm"],
+// styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true},
+// {itemNameID: 0, styleName: 'FontSize', styleValue: 6},
+// {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true}
+// ]
+// }
+// ]}
+ ],
+ currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]},
+ totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]},
+ goodsTable :{
+ rowHeight : 22,
+ fontSize:10,
+ position : ["1.5cm","0.2cm","100%","5.5cm"],
+ headRepeat : true,
+ columns : [
+ //{header : "序号", dataIndex : 'serialNumber', width : '30', align : 'center'},
+ //{header : "编码", dataIndex : 'code', width : '35', align : 'center'},
+ {header : "名称", dataIndex : 'name', width : '270', align : 'center'},
+ //{header : "规格", dataIndex : 'specification', width : '100', align : 'center'},
+ //{header : "单位", dataIndex : 'unit', width : '30', align : 'center'},
+ {header : "数量", dataIndex : 'amount', width : '130', align : 'center'},
+ {header : "批次", dataIndex : 'batchNumber', width : '160', align : 'center'},
+ {header : "单价", dataIndex : 'price', width : '100', align : 'right'},
+ {header : "小计", dataIndex : 'totalPrice', width : '100', align : 'right'}
+
+ //{header : "产地", dataIndex : 'producingArea', width : '50', align : 'right'},
+ //{header : "注册证号", dataIndex : 'certification', width : '180', align : 'left'}
+
+// {header : "批次", dataIndex : 'batchNumber', width : 105, align : 'center', fontSize : 11},
+// {header : "失效日期", dataIndex : 'expireDate', width : 85, align : 'center', fontSize : 11},
+
+ ]
+ }
+}
+// 一次性物品入库单
+var godownEntryConfig = {
+ headerFooter : [
+ // 标题
+ {label : "保定市第一中心医院卫生材料入库单", dataIndex : '', fontSize : 15, position : ["0.2cm","28%","99%",5]},
+ {label : "入库类型:购入入库", dataIndex : '', fontSize : 9, position : ["0.5cm","2%","90%",5]},
+ {label : "供应商:", dataIndex : 'supplierName', fontSize : 9, position : ["1cm","2%","90%",5]},
+ {label : "入库日期:", dataIndex : 'godownEntryTime', fontSize : 9, position : ["1cm","53%","90%",5]},
+ {label : "入库单号:", dataIndex : 'serialNumber', fontSize : 9, position : ["1cm","75%","90%",5]},
+
+ {label : "小计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["7.5cm","2%","90%",4]},
+// {label : "", dataIndex : 'totalPrice', fontSize : 11, position : ["8cm","60%","90%",4]},
+ {label : "制单日期:", dataIndex : 'printTime', fontSize : 9, position : ["8cm","2%","90%",4]},
+ {label : "制单人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","25%","90%",4]},
+ {label : "验收:", dataIndex : '', fontSize : 9, position : ["8cm","38%","90%",4]},
+ {label : "采购:", dataIndex : '', fontSize : 9, position : ["8cm","51%","90%",4]},
+ {label : "复核人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","64%","90%",4]},
+ {label : "总合计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["8cm","77%","99%",4]}
+// {label : "发料人:", dataIndex : 'sender', fontSize : 11, position : ["10cm","75%","90%",5]}//,
+// {barcodes : [
+// {codeType : "128Auto", dataIndex : 'departBarcode', position : ["3mm","74%","40mm","8mm"],
+// styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true},
+// {itemNameID: 0, styleName: 'FontSize', styleValue: 6},
+// {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true}
+// ]
+// }
+// ]}
+ ],
+ currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]},
+ totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]},
+ goodsTable :{
+ rowHeight : 22,
+ fontSize:10,
+ position : ["1.5cm","0.2cm","100%","5.5cm"],
+ headRepeat : true,
+ columns : [
+ //{header : "序号", dataIndex : 'serialNumber', width : '30', align : 'center'},
+ {header : "编码", dataIndex : 'code', width : '35', align : 'center'},
+ {header : "名称", dataIndex : 'name', width : '170', align : 'left'},
+ {header : "规格", dataIndex : 'specification', width : '100', align : 'center'},
+ {header : "单位", dataIndex : 'unit', width : '30', align : 'center'},
+ {header : "数量", dataIndex : 'amount', width : '30', align : 'center'},
+ {header : "进价", dataIndex : 'price', width : '40', align : 'right'},
+ {header : "进价金额", dataIndex : 'totalPrice', width : '50', align : 'right'},
+ {header : "批号", dataIndex : 'batchNumber', width : '60', align : 'right'},
+ {header : "产地", dataIndex : 'producingArea', width : '50', align : 'right'},
+ {header : "注册证号", dataIndex : 'certification', width : '180', align : 'left'}
+
+// {header : "批次/灭菌日期", dataIndex : 'batchNumber', width : 105, align : 'center', fontSize : 11},
+// {header : "失效日期", dataIndex : 'expireDate', width : 85, align : 'center', fontSize : 11},
+
+ ]
+ }
+}
+var purchasePlanConfig = {
+ headerFooter : [
+ // 标题
+ {label : "保定市第一中心医院一次性物品采购计划", dataIndex : '', fontSize : 15, position : ["0.2cm","28%","99%",5]},
+ //{label : "入库类型:购入入库", dataIndex : '', fontSize : 9, position : ["0.5cm","2%","90%",5]},
+ //{label : "供应商:", dataIndex : 'supplierName', fontSize : 9, position : ["1cm","2%","90%",5]},
+ {label : "操作日期:", dataIndex : 'godownEntryTime', fontSize : 9, position : ["1cm","2%","90%",5]},
+ {label : "单号:", dataIndex : 'serialNumber', fontSize : 9, position : ["1cm","75%","90%",5]},
+ {label : "小计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["7.5cm","2%","90%",4]},
+ {label : "制单日期:", dataIndex : 'printTime', fontSize : 9, position : ["8cm","2%","90%",4]},
+ {label : "制单人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","25%","90%",4]},
+ {label : "验收:", dataIndex : '', fontSize : 9, position : ["8cm","38%","90%",4]},
+ {label : "采购:", dataIndex : '', fontSize : 9, position : ["8cm","51%","90%",4]},
+ {label : "复核人:", dataIndex : 'printUser', fontSize : 9, position : ["8cm","64%","90%",4]},
+ {label : "总合计: ", dataIndex : 'totalPrice', fontSize : 9, position : ["8cm","77%","99%",4]}
+ ],
+ currentPageNumber : {label : "第#页", fontSize : 9, position : ["1cm","40%","90%",5]},
+ totalPageAmount : {label : "共&页", fontSize : 9, position : ["1cm","45%","90%",5]},
+ goodsTable :{
+ rowHeight : 22,
+ fontSize:10,
+ position : ["1.5cm","0.2cm","100%","5.5cm"],
+ headRepeat : true,
+ columns : [
+ {header : "编码", dataIndex : 'code', width : '35', align : 'center'},
+ {header : "名称", dataIndex : 'name', width : '140', align : 'center'},
+ {header : "规格", dataIndex : 'specification', width : '100', align : 'center'},
+ {header : "单位", dataIndex : 'unit', width : '30', align : 'center'},
+ {header : "数量", dataIndex : 'amount', width : '30', align : 'center'},
+ {header : "进价", dataIndex : 'price', width : '40', align : 'right'},
+ {header : "进价金额", dataIndex : 'totalPrice', width : '50', align : 'right'},
+ //{header : "批号", dataIndex : 'batchNumber', width : '60', align : 'right'},
+ {header : "产地", dataIndex : 'producingArea', width : '50', align : 'right'},
+ {header : "供应商", dataIndex : 'supplierName', width : '150', align : 'center'},
+ {header : "注册证号", dataIndex : 'certification', width : '140', align : 'left'}
+ ]
+ }
+}
+// 加大标签配置,100x100mm
+var exLargeLabelConfig = {
+ headerContent : [
+ // 器械包名称,水平居中
+ {label : "", dataIndex : 'name', position : ["1mm","0mm","RightMargin:0mm","BottomMargin:0mm"], type: 'html', beforeStr: "", afterStr: "
"},
+ {label : "装配员:", dataIndex : 'operator', fontSize : 10, bold: 1, position : ["6mm","5mm","50mm","10px"]},
+ {label : "审核员:", dataIndex : 'reviewer', fontSize : 10, bold: 1, position : ["6mm","55mm","50mm","10px"]},
+ {label : "灭菌日期:", dataIndex : 'sterilizationDate', fontSize : 10, bold: 1, position : ["10mm","5mm","50mm","10px"]},
+ {label : "失效日期:", dataIndex : 'validDate', fontSize : 10, bold: 1, position : ["10mm","55mm","50mm","10px"]},
+
+ {label : "", dataIndex : 'materials', position : ["14mm","0mm","RightMargin:0mm","BottomMargin:20mm"], type: 'html', beforeStr: "", afterStr: "
"},
+
+ {label : "灭菌程序:", dataIndex : 'sterilingType', position : ["78mm","0mm","RightMargin:50mm","BottomMargin:0mm"], type: 'html', beforeStr: "", afterStr: "
"},
+
+ {label : "", dataIndex : 'name', position : ["87mm","0mm","RightMargin:50mm","BottomMargin:0mm"], type: 'html', beforeStr: "", afterStr: "
"},
+ {label : "", dataIndex : 'name', position : ["87mm","50mm","RightMargin:0mm","BottomMargin:0mm"], type: 'html', beforeStr: "", afterStr: "
"}
+
+ ],
+ barcodes : [
+ {codeType : "128Auto", dataIndex : 'barcode', position : ["77mm","55mm","40mm","8mm"],
+ styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true},
+ {itemNameID: 0, styleName: 'FontSize', styleValue: 6},
+ {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true}
+ ]
+ },
+ {codeType : "128Auto", dataIndex : 'barcode', position : ["91mm","5mm","40mm","8mm"],
+ styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true},
+ {itemNameID: 0, styleName: 'FontSize', styleValue: 6},
+ {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true}
+ ]
+ },
+ {codeType : "128Auto", dataIndex : 'barcode', position : ["91mm","55mm","40mm","8mm"],
+ styles : [{itemNameID: 0, styleName: 'ShowBarText', styleValue: true},
+ {itemNameID: 0, styleName: 'FontSize', styleValue: 6},
+ {itemNameID: 0, styleName: 'NotOnlyHighPrecision', styleValue: true}
+ ]
+ }
+ ]
+}
+
+//小标签配置,50x30mm
+var smallLabelConfig = {
+ // 可带表格线的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:10, style: "font-size:14px;font-weight:bold;text-align:center"},{minLen :10, maxLen:100 ,style : "font-size:10px;text-align:center"}]}
+ ]
+ },
+ {height : "", tds : [
+ { label : "灭菌:", dataIndex : '', style : "font-size:12px; text-align:center;width:10mm"},
+ { label : "", dataIndex : 'sterilizationDate', style : "font-size:12px; text-align:center;width:20mm"},
+ { label : "装配:", dataIndex : '', style : "font-size:12px; text-align:center;width:10mm"},
+ { label : "", dataIndex : 'operator', style : "font-size:12px; text-align:center;width:16mm"}
+ ]
+ },
+ {height : "", tds : [
+ { label : "失效:", dataIndex : '', style : "font-size:12px; text-align:center"},
+ { label : "", dataIndex : 'validDate', style : "font-size:12px; text-align:center"},
+ { label : "审核:", dataIndex : '', style : "font-size:12px; text-align:center"},
+ { label : "", dataIndex : 'reviewer', style : "font-size:12px; text-align:center"}
+ ]
+ },
+ {height : "", tds : [
+ { label : "", dataIndex : 'barcode', colspan: 4, style : "font-size:10px;text-align:center"}
+ ]
+ }
+ ]
+ }
+}
+var foreignTousseMiddleLableConfig = {
+ customPrint:printForeignTousseMiddleLable_gzzyyfs
+}
+
+function printForeignTousseMiddleLable_gzzyyfs(printSummaryObj){
+ var name = printSummaryObj.name ;
+ var barcode = printSummaryObj.barcode;
+ var material = printSummaryObj.material;
+ var operator = printSummaryObj.operator;
+ var reviewer = printSummaryObj.reviewer;
+ var sterilizationDate = printSummaryObj.sterilizationDate;
+ var validDate = printSummaryObj.validDate;
+ var foreignPackageObjectArray = printSummaryObj.foreignPackageObjectArray;
+ var sterilizer = printSummaryObj.sterilizer;
+ var frequency = printSummaryObj.frequency;
+ var hospitalName = printSummaryObj.hospitalName;
+ var total = printSummaryObj.total;
+ var labelType = printSummaryObj.labelType;
+ var patient = printSummaryObj.patient;
+ LODOP = getLodop(document.getElementById('LODOP'), document
+ .getElementById('LODOP_EM'));
+ var tableHtml ="";
+ 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 += "
";
+
+ tableHtml += "";
+ tableHtml += "病人: | ";
+ tableHtml += ""+patient+" | ";
+ tableHtml += "
";
+// tableHtml += "";
+// tableHtml += "病人: | ";
+// tableHtml += ""+foreignPackageObjectArray[2]+" | ";
+// tableHtml += "住院号: | ";
+// tableHtml += ""+foreignPackageObjectArray[0]+" | ";
+// tableHtml += "
";
+
+ if(sterilizer == null || sterilizer.length == 0){
+ tableHtml += "";
+ tableHtml += ""+hospitalName+" | ";
+ tableHtml += "
";
+ }else{
+ var str = "【"+sterilizer + "】第" + frequency +"炉";
+ tableHtml += "";
+ tableHtml += ""+str+" | ";
+ tableHtml += "
";
+ }
+ tableHtml += "";
+ tableHtml += "";
+ tableHtml += " ";
+ tableHtml += ""+barcode;
+ tableHtml += " |
";
+
+ tableHtml += "";
+ tableHtml += "";
+ tableHtml += " ";
+ tableHtml += ""+barcode;
+ tableHtml += " |
";
+
+ tableHtml += "
";
+
+ LODOP.ADD_PRINT_HTM(0,0,"100%","100%",""+tableHtml+"");
+ LODOP.SET_PRINT_MODE("PRINT_PAGE_PERCENT","Full-Page");
+}
+var foreignTousseLargeLabelConfig = {
+ customPrint:foreignTousseLargeLabel_gzzyyfs
+}
+function foreignTousseLargeLabel_gzzyyfs(printSummaryObj){
+ var name = printSummaryObj.name ;
+ var barcode = printSummaryObj.barcode;
+ var material = printSummaryObj.material;
+ var operator = printSummaryObj.operator;
+ var reviewer = printSummaryObj.reviewer;
+ var sterilizationDate = printSummaryObj.sterilizationDate;
+ var validDate = printSummaryObj.validDate;
+ var foreignPackageObjectArray = printSummaryObj.foreignPackageObjectArray;
+ var sterilizer = printSummaryObj.sterilizer;
+ var frequency = printSummaryObj.frequency;
+ var hospitalName = printSummaryObj.hospitalName;
+ var hospitalNumber = printSummaryObj.hospitalNumber;
+ var total = printSummaryObj.total;
+ var labelType = printSummaryObj.labelType;
+ var patient = printSummaryObj.patient;
+ var patientArea = printSummaryObj.patientArea;
+ var bedNumber = printSummaryObj.bedNumber;
+ var ascriptionDepartment = printSummaryObj.ascriptionDepartment;
+ if(isUndefinedOrNullOrEmpty(patientArea)){
+ patientArea = '';
+ }
+ if(isUndefinedOrNull(bedNumber)){
+ bedNumber = '';
+ }
+ LODOP = getLodop(document.getElementById('LODOP'), document
+ .getElementById('LODOP_EM'));
+ var tableHtml ="";
+ 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 recyclingInvoiceTotalConfig_bjdxzlyy = {
+ customPrint:printRecyclingInvoiceTotalConfig_bjdxzlyy
+}
+
+function printRecyclingInvoiceTotalConfig_bjdxzlyy(time,obj){
+ if(obj.data.length > 0){
+ var headHtml = "科室申领物品汇总单
";
+ var tableHtml ="";
+ tableHtml += "";
+ tableHtml += "名称 | ";
+ tableHtml += "数量 | ";
+ tableHtml += "名称 | ";
+ tableHtml += "数量 | ";
+ tableHtml += "
";
+ for(var i=0;i < obj.data.length;){
+ var num = obj.data[i+1];
+ var tosseName;
+ var amount;
+ if(num == "" || num == undefined || num == null){
+ tosseName = "";
+ amount = "";
+ }else{
+ tosseName = num.tosseName;
+ amount = num.amount;
+ }
+
+ tableHtml += "";
+ tableHtml += ""+obj.data[i].tosseName+" | ";
+ tableHtml += ""+obj.data[i].amount+" | ";
+ tableHtml += ""+tosseName+" | ";
+ tableHtml += ""+amount+" | ";
+ tableHtml += "
";
+ i = i+2;
+ }
+ tableHtml += "
";
+ var printTimeHtml = "打印日期: "+time+"
";
+ //打印设置
+ var LODOP = getLodop(document.getElementById('LODOP'),document.getElementById('LODOP_EM'));
+ //打印日期
+ LODOP.ADD_PRINT_HTM(80,"5%","90%","100%",printTimeHtml);
+ //项目内容
+ LODOP.ADD_PRINT_TABLE(106,"5%","90%","100%",tableHtml);
+ //标题
+ LODOP.ADD_PRINT_HTM(20,20,"95%",30,headHtml);
+ LODOP.PRINT();
+ }
+}
+/**
+ * 器械包管理界面的包定义材料清单
+ */
+var tousseDefinitionMaterialsConfig_qifuyy = {
+ customPrint:printTousseDefinitionMaterials_qifuyy
+}
+
+function printTousseDefinitionMaterials_qifuyy(tousseDefinitionObj){
+ if(isUndefinedOrNullOrEmpty(tousseDefinitionObj)){
+ alert('包定义不能为空!');
+ return;
+ }
+ doGetLodop();
+ // 设置纸张类型为连续纸,纸张宽度为100mm,打印完毕后的下边距为20mm
+ LODOP.SET_PRINT_PAGESIZE(3,"100mm","50mm","CreateCustomPage");
+ var ret = buildTousseDefinitionMeterialTable(tousseDefinitionObj,tousseDefinitionObj.unit);
+ var barcode = tousseDefinitionObj.barcode?tousseDefinitionObj.barcode:'';
+ var tableHtml = ret.tableHtml + "";
+
+ tableHtml += "";
+ tableHtml += "";
+ tableHtml += " ";
+ tableHtml += " "+barcode;
+ tableHtml += " | ";
+ tableHtml += "器械总数量:"+ret.amount+"件";
+ tableHtml += " | ";
+ tableHtml += "
";
+
+ //告警语(已注释不打印,经省医护长与封枫、关总确认 since 2016-01-25 SYF)
+ tableHtml += "";
+ tableHtml += "***需要回收,切勿丢失*** | ";
+ tableHtml += "
";
+ tableHtml += "
";
+
+ LODOP.ADD_PRINT_HTM(0,0,"95%","100%",""+tableHtml+"");
+}
+var printConfig = {
+ //发货计划单
+ invoicePlan : invoicePlanPrintConfig,
+ batchPrintInvoices: batchPrintInvoicesConfig,
+ batchPrintMaterialInvoices:batchPrintMaterialInvoicesConfig,
+ //批量打印发货单(器械包),如果没有配置,则跟batchPrintInvoices一样
+ batchPrintInvoice_Tousse:batchPrintInvoicesConfig,
+ //批量打印发货单(一次性物品),如果没有配置,则跟batchPrintInvoices一样
+ batchPrintInvoice_disposable:batchPrintInvoicesConfig,
+ //批量打印发货单(消毒物品),如果没有配置,则跟batchPrintInvoices一样
+ batchPrintInvoice_disinfect:batchPrintInvoicesConfig,
+ // 发货单(通用发货单)
+ invoiceCombo : batchPrintInvoicesConfig,
+ // 发货单(一次性物品)
+ invoiceDiposableGoods : invoiceComboPrintConfig,
+ // 发货单(器械包或者回收申请单)
+ invoiceTousse : invoiceComboPrintConfig,
+ // 发货单(消毒物品)
+ invoiceDisinfectGoods : invoiceComboPrintConfig,
+ // 申请单
+ application : applicationPrintConfig,
+ // 消毒物品申请单
+ disinfectGoodsApplication : applicationPrintConfig,
+ // 借物单
+ borrow : borrowPrintConfig,
+ //材料入库单
+ materialEntry : materialEntryConfig,
+ godownEntry: godownEntryConfig,// 一次性物品入库单
+ godownOutEntry: godownOutEntryConfig,//一次性物品退库单
+ //一次性物品盘盈盘亏单
+ godownStockTake:godownStockTakeConfig,
+ //一次性物品调拨单
+ appropriation : appropriationConfig,
+
+ purchasePlan : purchasePlanConfig,
+
+ // 小标签:50x30规格
+ smallLabel : smallLabelConfig,
+ // 中标签:80x60规格
+ //middleLable : middleLableConfig,
+ foreignTousseMiddleLable:foreignTousseMiddleLableConfig,// 外来器械中标签
+ foreignTousseLargeLabel: foreignTousseLargeLabelConfig,// 外来器械大标签
+ // 大标签:100x80规格
+ largeLabel : exLargeLabelConfig,
+ // 加大标签:100x100规格
+ exLargeLabel : exLargeLabelConfig,
+ // 外部代理灭菌标签
+ foreignProxyDisinfectionLabel : foreignProxyDisinfectionLabelConfig,
+ //外来器械申请单
+ foreignTousseAppliation : foreignTousseAppliationPrintConfig,
+ // 入库单列表
+ godownEntryList : godownEntryListPrintConfig,
+ //盘盈盘亏列表
+ godownStockTakeList : godownStockTakeListConfig,
+ //退库单列表
+ godownEntryOutList : godownEntryOutListConfig,
+ //调拨单
+ appropriationList : appropriationListConfig,
+ //调拨入库单
+ appropriationInList : appropriationInListConfig,
+ //调拨出库单
+ appropriationOutList : appropriationOutListConfig,
+ //打印器械包明细单
+ tousseDefinitionMaterials:tousseDefinitionMaterialsConfig_qifuyy,
+ //待回收申请单,是否打印回收汇总单
+ recyclingInvoiceTotal:recyclingInvoiceTotalConfig_fsszyy
+
+};
\ No newline at end of file
Index: ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/spring/HIS.xml
===================================================================
diff -u
--- ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/spring/HIS.xml (revision 0)
+++ ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/spring/HIS.xml (revision 33757)
@@ -0,0 +1,119 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
Index: ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/spring/timer.xml
===================================================================
diff -u
--- ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/spring/timer.xml (revision 0)
+++ ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/spring/timer.xml (revision 33757)
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+
+
+ autoWasteOutdateTousseInstances
+
+
+
+
+
+
+
+
+ 0 0 1 * * ?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ timingAutoSignInvoice
+
+
+
+
+
+
+
+
+ 0 0 2 * * ?
+
+
+
\ No newline at end of file
Index: ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/interfaces/dataSyncConfig.json
===================================================================
diff -u
--- ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/interfaces/dataSyncConfig.json (revision 0)
+++ ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/interfaces/dataSyncConfig.json (revision 33757)
@@ -0,0 +1,15 @@
+{
+ "同步组织机构":{
+ "默认父节点的编码" : "0",
+ "更新交集数据" : true,
+ "移除差集数据" : false
+ },
+ "同步用户":{
+ "默认父节点的编码" : "0",
+ "更新交集数据" : true,
+ "移除差集数据" : false,
+ "默认角色ID":[
+ "ROLE_1_0"
+ ]
+ }
+}
\ No newline at end of file
Index: ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/menu/menuconfigure.js
===================================================================
diff -u
--- ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/menu/menuconfigure.js (revision 0)
+++ ssts-web/src/main/webapp/disinfectsystem/config/bdsdyzxyy_xy/menu/menuconfigure.js (revision 33757)
@@ -0,0 +1,786 @@
+var linkTarget = 'mainFrame';
+var singleClickExpandTree=true;
+//是否禁用虚拟篮筐(未启用disableLoadToVirtualBasket配置项目或该配置项的值为true时,则禁用,否则启用虚拟篮筐)
+var disableLoadToVirtualBasket = true;
+var url = WWWROOT+'/disinfectsystem/touchScreen/recycle/awaitForRecycleList.jsp?resolution=1980';
+var qualityMonthViewName = "质量监测项统计月报";
+if(sstsConfig.hasOwnProperty('isQualityMonthViewSpecial') && sstsConfig.isQualityMonthViewSpecial){
+ qualityMonthViewName = "质量监测项统计分析报表";
+}
+var isDeviceMaintenanceCus = false;
+if(sstsConfig.hasOwnProperty('isDeviceMaintenanceCus') && sstsConfig.isDeviceMaintenanceCus){
+ isDeviceMaintenanceCus = true;
+}
+if(sstsConfig.hasOwnProperty('disableLoadToVirtualBasket') && !sstsConfig.disableLoadToVirtualBasket){
+ disableLoadToVirtualBasket = false;
+}
+var hideDeviceMaintenaceReport = true;
+var hideDeviceMaintenaceCusReport = true;
+if(SSTS_DeviceMaintenanceReport == false){
+ if(isDeviceMaintenanceCus == true){
+ hideDeviceMaintenaceReport = true;
+ hideDeviceMaintenaceCusReport = false;
+ }else{
+ hideDeviceMaintenaceReport = false;
+ hideDeviceMaintenaceCusReport = true;
+ }
+}
+
+DisinfectsystemTreeData =[{
+ text:"科室申领",
+ singleClickExpand:singleClickExpandTree,
+ hidden:SSTS_RecycApplication_Folder,
+ children:[
+ {hidden :SSTS_RecycApplication_Menu,text:"全部申请单",href:WWWROOT+'/disinfectsystem/recyclingApplication/goodsApplicationView.jsp?listType=all',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_Application_ShowTodoOnly_Menu,text:"待处理申请单",href:WWWROOT+'/disinfectsystem/recyclingApplication/goodsApplicationView.jsp?listType=todoList',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_ForeignTousseApplication_Menu,text:"外来器械包申请",href:WWWROOT+'/disinfectsystem/foreigntousseapplication/foreignTousseApplicationView.jsp?borrowing=true',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_borrow_Menu,text:"借物单管理",href:WWWROOT+'/disinfectsystem/borrow/borrowingTousseView.jsp',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_borrowRecord_Menu,text:"科室互借管理",href:WWWROOT+'/disinfectsystem/borrowRecord/borrowRecordView.jsp',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_Invoice_Sign,text:"物品签收",leaf:true}
+
+ ]
+},{
+ text:"回收清点",
+ singleClickExpand:singleClickExpandTree,
+ hidden:SSTS_RecycRecord_Menu,
+ children:[
+ {hidden :SSTS_RecycRecord_Menu,text:"回收清点",href:'javascript:void(0);',leaf:true,listeners:{
+ click:function(node, e){
+ var url = WWWROOT+'/disinfectsystem/touchScreen/recycle/awaitForRecycleList.jsp?resolution=1980';
+ top.recyclingWindow = openFullSizeWindowWithName(url,null,"recyclingWindow");
+ return;
+ }
+ }},
+ {hidden :SSTS_RecycRecord_Menu,text:"器械交接",href:WWWROOT+'/disinfectsystem/recycle/tousseTransition/tousseTransitionView.jsp',hrefTarget:linkTarget,leaf:true}
+ ]
+},{
+ text:"回收分类",
+ singleClickExpand:singleClickExpandTree,
+ hidden : true,
+ children:[
+ {hidden :true,text:"器械分类记录",href:WWWROOT+'/disinfectsystem/becleanitem/becleanitem.jsp',hrefTarget:linkTarget,leaf:true}
+ ]
+},{
+ text:"清洗消毒",
+ singleClickExpand:singleClickExpandTree,
+ hidden:SSTS_Wash_Menu,
+ children:[
+ {hidden :SSTS_WashRecord_Menu,text:"清洗消毒记录",href:WWWROOT+'/disinfectsystem/washanddisinfectmanager/washanddisinfectrecord/washAndDisinfectView.jsp?editMode=true',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_WashTransitionRecord_Menu,text:"清洗交接记录",href:WWWROOT+'/disinfectsystem/washanddisinfectmanager/washTransitionRecord/washTransitionRecordView.jsp?',hrefTarget:linkTarget,leaf:true}
+ ]
+}];
+
+var index = DisinfectsystemTreeData.length;
+
+DisinfectsystemTreeData[4] = {
+ text:"装配管理",
+ singleClickExpand:singleClickExpandTree,
+ hidden:SSTS_Packing_Manager,
+ children:[]
+};
+
+DisinfectsystemTreeData[5] = {
+ text:"审核打包",
+ singleClickExpand:singleClickExpandTree,
+ hidden:SSTS_Tousse_Review_Manager,
+ children:[]
+};
+
+DisinfectsystemTreeData[6] = {
+ text:"灭菌管理",
+ singleClickExpand:singleClickExpandTree,
+ hidden:SSTS_Sterilization_Manager,
+ children:[
+
+ ]
+};
+DisinfectsystemTreeData[7] = {
+ text:"发货管理",
+ singleClickExpand:singleClickExpandTree,
+ hidden:SSTS_Invoice_Manager,
+ children:[
+ {hidden :SSTS_Invoice_Menu,text:"发货计划管理",href:WWWROOT+'/disinfectsystem/invoice/invoicePlanExtractedView.jsp?editMode=true',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_Invoice_Menu || !sstsConfig.enableExpensiveGoods,text:"高值耗材发货",href:WWWROOT+'/disinfectsystem/assestManagement/expensiveGoods/invoice/expensiveGoodsInvoiceView.jsp?editMode=true',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_OperationReservationDelivery_Menu,text:"手术预约管理",href:WWWROOT+'/disinfectsystem/invoice/operationReservationView.jsp?editMode=true',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_OperationReservationDelivery_Menu,text:"手术预约发货",href:WWWROOT+'/disinfectsystem/invoice/operationReservationInvoiceView.jsp?editMode=true',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_OperationReservationDelivery_Menu,text:"手术预约汇总发货",href:WWWROOT+'/disinfectsystem/invoice/operationReservationMergeInvoiceView.jsp?editMode=true',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_CustomDelivery_Manager,text:"自定义发货",href:WWWROOT+'/disinfectsystem/invoice/customInvoiceForm.jsp?editMode=true',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_Invoice_Menu,text:"快速发货",href:WWWROOT+'/disinfectsystem/invoice/expressInvoiceView.jsp?editMode=true',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_Invoice_Menu,text:"科室发货计划设置",href:WWWROOT+'/disinfectsystem/invoice/invoiceDepartmentView.jsp?editMode=true',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_Invoice_Menu,text:"发货单管理",href:WWWROOT+'/disinfectsystem/invoice/invoiceView.jsp?editMode=true',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_Invoice_Menu,text:"材料发货管理",href:WWWROOT+'/disinfectsystem/invoice/materialInvoiceView.jsp?editMode=true',hrefTarget:linkTarget,leaf:true},
+ {hidden :true,text:"发货单批量打印",href:WWWROOT+'/disinfectsystem/invoice/invoicePrintView.jsp?editMode=true',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_DeliverGoodsQuqery,text:"发货物品查询",href:WWWROOT+'/disinfectsystem/reportforms/invoiceQueryView.jsp?editMode=true',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_OperationReservationInvoice,text:"手术排班物品查询",href:WWWROOT+'/disinfectsystem/reportforms/operationReservationInvoiceView.jsp?',hrefTarget:linkTarget,leaf:true}
+ ]
+};
+
+DisinfectsystemTreeData[8] = {
+ text:"使用记录",
+ singleClickExpand:singleClickExpandTree,
+ hidden:SSTS_UseRecord_Menu,
+ children:[
+ {hidden :SSTS_UseRecord_Menu,text:"使用记录",href:WWWROOT+'/disinfectsystem/useRecord/useRecordView.jsp?editMode=true',hrefTarget:linkTarget,leaf:true}
+ ]
+};
+
+DisinfectsystemTreeData[9] = {
+ text:"器械包返消",
+ singleClickExpand:singleClickExpandTree,
+ hidden:SSTS_TousseReturnDisinfect_Menu,
+ children:[
+ {hidden :SSTS_TousseReturnDisinfect_Menu,text:"器械包返消",href:WWWROOT+'/disinfectsystem/tousseReturnDisinfect/tousseReturnDisinfectView.jsp',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_TousseReturnDisinfectionReport,text:"器械包返消统计报表",href:WWWROOT+'/disinfectsystem/reportforms/tousseReturnDisinfectionView.jsp',hrefTarget:linkTarget,leaf:true}
+ ]
+ };
+
+DisinfectsystemTreeData[10] = {
+ text:"满意度调查",
+ singleClickExpand:singleClickExpandTree,
+ hidden:SSTS_SatisfactionSurvey_Menu,
+ children:[
+ {hidden :SSTS_SatisfactionSurveyTemplate_Menu,text:"满意度调查表定义",href:WWWROOT+'/disinfectsystem/satisfactionsurvey/satisfactionSurveyTemplateView.jsp',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_SatisfactionSurveyTable_Menu,text:"满意度调查表",href:WWWROOT+'/disinfectsystem/satisfactionsurvey/satisfactionSurveyTableView.jsp',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_SatisfactionSurveyTemplate_Menu,text:"满意度调查报表",href:WWWROOT+'/disinfectsystem/reportforms/departSatisfyView.jsp',hrefTarget:linkTarget,leaf:true}
+ ]
+};
+DisinfectsystemTreeData[11] = {
+ text:"运作监控管理",
+ singleClickExpand:singleClickExpandTree,
+ hidden:SSTS_supplyRoomOperate_View,
+ children:[
+ {hidden :SSTS_supplyRoomOperate_Menu,text:"消毒供应中心运作监控",href:WWWROOT+'/homepage/supplyRoomOperate.jsp',hrefTarget:linkTarget,leaf:true},
+ //{hidden :SSTS_supplyRoomOperate_Menu,text:"消毒供应中心未完成工作列表",href:WWWROOT+'/homepage/supplyRoomUnfinishedWork.jsp',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_TousseOperateCountReport,text:"科室运作监控",href:WWWROOT+'/disinfectsystem/reportforms/tousseOperate.jsp',hrefTarget:linkTarget,leaf:true}
+ ]
+};
+DisinfectsystemTreeData[12] = {
+ text:"档案管理",
+ singleClickExpand:singleClickExpandTree,
+ hidden:(!sstsConfig.hasOwnProperty('hideStaffArchive')) || sstsConfig.hideStaffArchive || SSTS_StaffArchive_Menu,
+ children:[
+ {hidden :SSTS_StaffArchive_Menu,text:"人员档案管理",href:WWWROOT+'/disinfectsystem/staffArchives/staffArchiveView.jsp',hrefTarget:linkTarget,leaf:true}
+ ]
+ };
+DisinfectsystemTreeData[13] = {
+ text:"培训管理",
+ singleClickExpand:singleClickExpandTree,
+ hidden:SSTS_TrainingManage_Menu,
+ children:[
+ {hidden :SSTS_TrainingManage_Menu,text:"培训管理",href:WWWROOT+'/knowledge/view.do?moduleId=trainingManage',hrefTarget:linkTarget,leaf:true}
+ ]
+ };
+DisinfectsystemTreeData[14] = {
+ text:"收费记录管理",
+ singleClickExpand:singleClickExpandTree,
+ hidden:SSTS_chargeRecordManage_MENU,
+ children:[
+ {hidden :SSTS_chargeRecordManage_MENU,text:"收费记录管理",href:WWWROOT+'/disinfectsystem/chargeRecord/chargeRecord.jsp',hrefTarget:linkTarget,leaf:true}
+ ]
+ };
+DisinfectsystemTreeData[15] = {
+ text:"库位管理",
+ singleClickExpand:singleClickExpandTree,
+ hidden:SSTS_storageLocationManager && SSTS_storageLocationLook && SSTS_tousseAccess,
+ children:[
+ {hidden :SSTS_storageLocationManager,text:"库位管理",href:WWWROOT+'/disinfectsystem/storageLocationManage/storageLocationManageView.jsp',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_storageLocationLook,text:"库存查看",href:WWWROOT+'/disinfectsystem/storageLocationManage/storageLocationLookView.jsp',hrefTarget:linkTarget,leaf:true},
+ {hidden :SSTS_tousseAccess,text:"物品存取",href:WWWROOT+'/disinfectsystem/storageLocationManage/goodsAccess.jsp',hrefTarget:linkTarget,leaf:true}
+ ]
+ };
+DWREngine.setAsync(false);
+PackingTableManager.getAllTaskGroup(setTaskGroup);
+function setTaskGroup(taskGroup){
+ for(var i=0;i0){
+ for(var i=0;i