Index: ssts-web/src/main/webapp/disinfectsystem/packing/rePrintBarcodeWin.js =================================================================== diff -u -r12532 -r12633 --- ssts-web/src/main/webapp/disinfectsystem/packing/rePrintBarcodeWin.js (.../rePrintBarcodeWin.js) (revision 12532) +++ ssts-web/src/main/webapp/disinfectsystem/packing/rePrintBarcodeWin.js (.../rePrintBarcodeWin.js) (revision 12633) @@ -260,8 +260,6 @@ } }); DWREngine.setAsync(true); - // 必须先调用此代码,然后才能调用Ext.MessageBox.updateProgress - showProgressBar(true,'打印中','请稍候...'); for ( var i = 0, len = records.length; i < len; i++) { @@ -357,9 +355,10 @@ tousseObj.applicantDepart = records[i].data['applicantDepart']; //打印 + // 必须先调用此代码,然后才能调用Ext.MessageBox.updateProgress + top.Ext.MessageBox.progress('【' + tousseObj.tousseName + '】打印中', '请稍候...'); + top.Ext.MessageBox.updateProgress((i + 1)/records.length,'第' + (i + 1) + '个,共' + records.length + '个'); - top.Ext.MessageBox.updateProgress((i + 1)/records.length,'正在打印第' + (i + 1) + '个,共' + records.length + '个'); - var print = true; if(print){