Index: ssts-web/src/main/webapp/disinfectsystem/invoice/invoicePlanExtractedForm.js =================================================================== diff -u -r14579 -r14582 --- ssts-web/src/main/webapp/disinfectsystem/invoice/invoicePlanExtractedForm.js (.../invoicePlanExtractedForm.js) (revision 14579) +++ ssts-web/src/main/webapp/disinfectsystem/invoice/invoicePlanExtractedForm.js (.../invoicePlanExtractedForm.js) (revision 14582) @@ -4,6 +4,8 @@ var beginBarcodeLabel = '扫描条码:'; var hiddenEndBarcode = true;//隐藏尾篮筐 +var lastLoadWarehouseId = null; + var wareHouseStore = new Ext.data.Store({ proxy : new Ext.data.HttpProxy({ url : WWWROOT + '/disinfectSystem/baseData/wareHouseAction!getWareHouseData.do', @@ -548,7 +550,6 @@ } //刷新库存 -var lastLoadWarehouseId = null; function refreshStorage(warehouseId){ if(lastLoadWarehouseId != null && lastLoadWarehouseId == warehouseId){ return; @@ -604,6 +605,7 @@ * @param depart 科室名称 */ function addAndEditInvoicePlan(orgUnitCoding,depart) { + lastLoadWarehouseId = null; // 发货物品 sendOutGoodsStore = new Ext.data.Store({ reader : new Ext.data.JsonReader({