Index: ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/disinfectionTousseItems.jsp
===================================================================
diff -u -r14149 -r14335
--- ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/disinfectionTousseItems.jsp (.../disinfectionTousseItems.jsp) (revision 14149)
+++ ssts-web/src/main/webapp/disinfectsystem/touchScreen/recycle/disinfectionTousseItems.jsp (.../disinfectionTousseItems.jsp) (revision 14335)
@@ -5,6 +5,9 @@
消毒物品明细
+
+
+
@@ -80,6 +83,31 @@
}
});
}
+
+var openElement;
+function openUpdateAmount(obj,row){
+ obj.blur();
+ var width = 750;
+ var height = 400;
+ openElement = obj;
+
+ $.layer({
+ type : 2,
+ title : ['修改数量',true],
+ iframe : {src : 'updateAmount.jsp?resolution=1980&from=errors&row='+row},
+ area : [width + 'px' , height + 'px'],
+ border : [5, 0.3, '#fff', true],
+ closeBtn : [2 , true],
+ offset : ['250px','']
+ });
+}
+
+function changeRecycleAmount(row){
+ var originalValue = $('#originalValue'+row).val() == ''?0:parseInt($('#originalValue'+row).val(),10);
+ var recycleAmount = $('#recycleAmount'+row).val() == ''?0:parseInt($('#recycleAmount'+row).val(),10);
+ var originalValue = $('#originalValue'+row).val();
+}
+
$(document).ready(function() {
$.ajax({
type:'post',
@@ -89,7 +117,7 @@
success:function(msg){
for(var i = 0 ;i < msg.length ;i++){
var materialItemsElement = $(''+msg[i].materialDefinition.name+' | '+
- ''+msg[i].count+' | '+
+ ''+msg[i].count+' | '+
' | '+
'
');
$("#materialItemsTable").append(materialItemsElement);