Index: ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsTemplateApplicationView.js =================================================================== diff -u -r18231 -r18248 --- ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsTemplateApplicationView.js (.../goodsTemplateApplicationView.js) (revision 18231) +++ ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsTemplateApplicationView.js (.../goodsTemplateApplicationView.js) (revision 18248) @@ -2121,6 +2121,13 @@ * @returns {boolean} */ function checkAdd() { + var record = Ext.getCmp('applyGrid').getSelectionModel().getSelected(); + //如果该申请单已经打印了,当前用户不是供应室用户或者没有配置允许修改打印的,则提示不能添加新的物品 + if (record.get('printed') === 2 && (isCssdUser === 'false' || !sstsConfig.allowEditApplyFormAfterPrint)){ + showResult("已经打印了不能添加新的物品!"); + return true; + } + var package1 = top.Ext4.getCmp('package1'); if (top.Ext4.isEmpty(package1.getValue())){ showResult("物品不能为空!"); @@ -3162,7 +3169,7 @@ //供应室用户 if(isCssdUser == 'true'){ //已打印 - if(printed != unPrint){ + if(printed != unPrint && !sstsConfig.allowEditApplyFormAfterPrint){ hiddenCommitButton = true; //已提交、已回收已发货已终止 不能修改 }else if(committedStatus && ((recyclingStatus == partRecycle || recyclingStatus == recycled) || @@ -4030,7 +4037,7 @@ {type: 'date', dataIndex: 'applicationTime'}, {type: 'date', dataIndex: 'submitTime'}, {type: 'date', dataIndex: 'printTime'}, - {type: 'string', dataIndex: 'type'}, + {type: 'list', dataIndex: 'type', phpMode: true, options: applyFormTypeArr}, {type: 'string', dataIndex: 'readed'}, {type: 'string', dataIndex: 'printed'}, {type: 'list',dataIndex:'recyclingStatus', phpMode:true ,options:recyclingStatusArr}, Index: ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsApplicationView.jsp =================================================================== diff -u -r18209 -r18248 --- ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsApplicationView.jsp (.../goodsApplicationView.jsp) (revision 18209) +++ ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsApplicationView.jsp (.../goodsApplicationView.jsp) (revision 18248) @@ -334,6 +334,26 @@ returnStatusArr.push('<%=InvoicePlan.RETURN_STATUS_RETURNED%>'); returnStatusArr.push('<%=InvoicePlan.RETURN_STATUS_AWAITCONFIRM%>'); +//申请单类型数组 +var applyFormTypeArr = []; +applyFormTypeArr.push('<%=InvoicePlan.TYPE_COMBO_FORM%>'); +applyFormTypeArr.push('<%=InvoicePlan.TYPE_TOUSSE_APPLICATION_FORM%>'); +applyFormTypeArr.push('<%=InvoicePlan.TYPE_DIPOSABLE_GOODS_APPLICATION_FORM%>'); +applyFormTypeArr.push('<%=InvoicePlan.TYPE_DISINFECT_GOODS_APPLICATION_FORM%>'); +applyFormTypeArr.push('<%=InvoicePlan.TYPE_BORROWINGSINGLE%>'); +applyFormTypeArr.push('<%=InvoicePlan.TYPE_DRESSING_APPLICATION_FROM%>'); +applyFormTypeArr.push('<%=InvoicePlan.TYPE_SPECIALIZED_INSTRUMENT_APPLICATION_FROM%>'); +applyFormTypeArr.push('<%=InvoicePlan.TYPE_APPLYING_FOR_RETURN_FORM%>'); +applyFormTypeArr.push('<%=InvoicePlan.TYPE_PROXYDISINFECTION%>'); +applyFormTypeArr.push('<%=InvoicePlan.TYPE_FOREIGNPROXYDISINFECTION%>'); +applyFormTypeArr.push('<%=InvoicePlan.TYPE_FOREIGNTOUSSEAPPLIACTION%>'); +applyFormTypeArr.push('<%=InvoicePlan.TYPE_CUSTOM_TOUSSE_APPLIACTION_FORM%>'); +applyFormTypeArr.push('<%=InvoicePlan.TYPE_TOUSSE_EXPANSION_FORM%>'); +applyFormTypeArr.push('<%=InvoicePlan.TYPE_SECOND_SUPPLY_ROOM%>'); +applyFormTypeArr.push('<%=InvoicePlan.TYPE_RECYCLINGCREATE_APPLICATION%>'); +applyFormTypeArr.push('<%=InvoicePlan.TYPE_QUALITY_MONITOR_RECYCLE_APPLICATION%>'); +applyFormTypeArr.push('<%=InvoicePlan.TYPE_OPERATION_RESERVATION_APPLICATION%>'); + var today = '<%=request.getAttribute("today")%>'; var toussePriceFluctuation = '<%=request.getAttribute("toussePriceFluctuation")%>'; var supplyRoomCoding = '<%=request.getAttribute("supplyRoomCoding")%>'; Index: ssts-web/src/main/webapp/disinfectsystem/config/gdsy/config.js =================================================================== diff -u -r18012 -r18248 --- ssts-web/src/main/webapp/disinfectsystem/config/gdsy/config.js (.../config.js) (revision 18012) +++ ssts-web/src/main/webapp/disinfectsystem/config/gdsy/config.js (.../config.js) (revision 18248) @@ -178,5 +178,8 @@ //显示一次性物品的外部编码,申请时true:显示false:不显示 showExternalCodeOfDisposableGoods:true, // 是否允许设置科室分组 - allowSetDepartGroup : true + allowSetDepartGroup : true, + // 科室申领供应室用户在申请单打印后是否允许编辑物品申请数量 + allowEditApplyFormAfterPrint : true + } \ No newline at end of file