Index: ssts-web/src/main/webapp/disinfectsystem/packing/rePrintBarcodeWin.js =================================================================== diff -u -r17032 -r17467 --- ssts-web/src/main/webapp/disinfectsystem/packing/rePrintBarcodeWin.js (.../rePrintBarcodeWin.js) (revision 17032) +++ ssts-web/src/main/webapp/disinfectsystem/packing/rePrintBarcodeWin.js (.../rePrintBarcodeWin.js) (revision 17467) @@ -1,6 +1,6 @@ var viewType = 'historyPacking'; var depart = ''; -var tousseStore = null; +var rePrintWin_tousseStore = null; var rePrintWin = null; /******** 重打标签窗口start ********/ function rePrintBarcodeWinForPacking(packingRecordId,SSTS_HistoryPacking_Update,SSTS_HistoryPacking_Change_Patient) { @@ -54,12 +54,12 @@ } } function reloadTousseInstances(){ - tousseStore.removeAll(); - tousseStore.load(); + rePrintWin_tousseStore.removeAll(); + rePrintWin_tousseStore.load(); } function rePrintBarcodeWin(loadTousseURL,SSTS_HistoryPacking_Update,SSTS_HistoryPacking_Change_Patient) { var selectModel = new top.Ext.grid.CheckboxSelectionModel({handleMouseDown:Ext.emptyFn}); - tousseStore = new Ext.data.Store({ + rePrintWin_tousseStore = new Ext.data.Store({ proxy : new Ext.data.HttpProxy({ url : loadTousseURL, method : 'POST' @@ -125,7 +125,7 @@ } } }); - tousseStore.load(); + rePrintWin_tousseStore.load(); var tousseColumnModel = [ selectModel, @@ -247,7 +247,7 @@ id : 'tousseGrid', bodyStyle : 'border:1px solid #afd7af', // layout : 'fit', - store : tousseStore, + store : rePrintWin_tousseStore, sm : selectModel, columns : tousseColumnModel, width : sstsConfig.showSterilizer ? 1100 : 970, @@ -280,8 +280,8 @@ } } showModifyTousseInstancesWindow(tousseInstanceIDs,function(){ - tousseStore.removeAll(); - tousseStore.load(); + rePrintWin_tousseStore.removeAll(); + rePrintWin_tousseStore.load(); }); } },'-',{ @@ -536,7 +536,7 @@ c.getEl().on('keypress',function(e) { if (e.getKey() == 13) {// 输入回车 var barcode = top.Ext.getCmp('barcode').getValue(); - var rowNum = tousseStore.find('tousseBarcode', barcode); + var rowNum = rePrintWin_tousseStore.find('tousseBarcode', barcode); if(rowNum!=-1){ rePrintGrid.getView().getRow(rowNum).style.backgroundColor='#91a8c7'; } else {