Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js =================================================================== diff -u -r37916 -r37927 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 37916) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/recycleForTouchScreen.js (.../recycleForTouchScreen.js) (revision 37927) @@ -3147,11 +3147,18 @@ height = size.height; offsetTop = offsetTop * zoomRatio; + var recyclingStatus = $("#recyclingStatus").val(); + var canUpdatePrice = false; + if(sstsConfig.enableModifyThePriceOfForeignTousseInrecyclingRecord){ + if(recyclingStatus == '待接收' || recyclingStatus == '部分接收'){ + canUpdatePrice = true; + } + } layerIndex = layer.open({ type: 2, title: [tousseName + ' 信息', true], - content: 'setForeignTousseDefinition.jsp?resolution=' + resolution + '&width=' + width + '&height=' + height + '&row=' + row + '&tousseDefinitionID=' + tousseDefinitionID + '&applicationId=' + params_appId + '&recyclingrecordId=' + params_id, + content: 'setForeignTousseDefinition.jsp?resolution=' + resolution + '&width=' + width + '&height=' + height + '&row=' + row + '&tousseDefinitionID=' + tousseDefinitionID + '&applicationId=' + params_appId + '&recyclingrecordId=' + params_id + '&canUpdatePrice=' + canUpdatePrice, area: [width + 'px', height + heightExtra + 'px'], border: [5, 0.3, '#fff', true], closeBtn: [2, true], Index: ssts-web/src/main/webapp/disinfectsystem/config/szsdsrmyy/config.js =================================================================== diff -u -r37883 -r37927 --- ssts-web/src/main/webapp/disinfectsystem/config/szsdsrmyy/config.js (.../config.js) (revision 37883) +++ ssts-web/src/main/webapp/disinfectsystem/config/szsdsrmyy/config.js (.../config.js) (revision 37927) @@ -314,6 +314,8 @@ enableFilteredDataIsNotExportedOfTousseInstanceView:true, //是否在回收清点模块显示回收时间 enableDisplayRecyclingTimeOfrecyclingRecordList:true, +//允许在回收申请单中修改外来器械包的价格 +enableModifyThePriceOfForeignTousseInrecyclingRecord:true, //回收是否修改申请单备注,true修改 modifyRemarkInRecycling:true } \ No newline at end of file Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/updateAmount.jsp =================================================================== diff -u -r32910 -r37927 --- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/updateAmount.jsp (.../updateAmount.jsp) (revision 32910) +++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/updateAmount.jsp (.../updateAmount.jsp) (revision 37927) @@ -9,7 +9,11 @@ - +
@@ -301,12 +329,13 @@数量: | +数量: |
剩余装载数量:1000 |
Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/setForeignTousseDefinition.jsp
===================================================================
diff -u -r37368 -r37927
--- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/setForeignTousseDefinition.jsp (.../setForeignTousseDefinition.jsp) (revision 37368)
+++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/setForeignTousseDefinition.jsp (.../setForeignTousseDefinition.jsp) (revision 37927)
@@ -21,6 +21,7 @@
var tousseDefinitionID = '${param.tousseDefinitionID}';
var applicationId = '${param.applicationId}';
var resolution = '${param.resolution}';
+ var canUpdatePrice = '${param.canUpdatePrice}';
var recyclingrecordId = '${param.recyclingrecordId}';
var row = '${param.row}';
@@ -171,6 +172,17 @@
//打开编辑数量页面
var openElement;
function openUpdateAmount(obj,row,updateType){
+ var title = '修改数量';
+ var isPrice = false;
+ if(updateType == 3){
+ if(canUpdatePrice == 'true'){
+ title = '修改价格';
+ isPrice = true;
+ }else {
+ alert('修改失败,该物品已经接收,如需调整请使用干预功能处理。');
+ return;
+ }
+ }
obj.blur();
var designedTousseWidth = 980;
var designedTousseHeight = 700;
@@ -205,13 +217,16 @@
openElement = obj;
$.layer({
type : 2,
- title : ['修改数量',true],
- iframe : {src : 'updateAmount.jsp?from=errors&resolution='+resolution+'&row='+row+'&recyclingTimes='+recyclingTimes},
+ title : [title,true],
+ iframe : {src : 'updateAmount.jsp?from=errors&resolution='+resolution+'&row='+row+'&recyclingTimes='+recyclingTimes+'&isPrice='+isPrice},
area : [width + 'px' , height + 'px'],
border : [5, 0.3, '#fff', true],
closeBtn : [2 , true],
offset : [top+'px',''],
end:function(){
+ if(updateType == 3){
+ return
+ }
if($('#includeImplant'+row).text() == '是' && recyclingStatus == '待回收'){
if(updateType == 0){
var recycleAmount_new = $('#amount'+row).text();
@@ -234,7 +249,7 @@
var recycleAmount_new = recycleAmount_old - value;
$('#amount'+row).text(recycleAmount_new);
}
- }
+ }
}
});
}
@@ -297,7 +312,7 @@
+ '  | ' + '' + amount + ' | ' + '' - + ' | '+price+' | ' + + ''+price+' | ' + '  | ' + '  | ' + '+ | '