2 Commits 1672384a12 ... fe69384534

Autore SHA1 Messaggio Data
  caosy fe69384534 Merge remote-tracking branch 'origin/1.0.0_xusdz_prod' into 1.0.0_xusdz_prod 3 settimane fa
  caosy 4a0188719c [旭顺wms]去除批号已过站不可生成条码 3 settimane fa

+ 5 - 5
src/com/uas/erp/service/scm/impl/GenerateBarcodeServiceImpl.java

@@ -146,11 +146,11 @@ public class GenerateBarcodeServiceImpl implements GenerateBarcodeService { //
 	        	 ba_id = rs0.getInt("ba_id");
 	        	 ba_code = rs0.getString("pd_batchcode");
 	        	//如果已经过账并且对应的批次号已经有出库则不允许再生成条码
-	    	    if(bopost){
-	    	    	if(baseDao.checkIf("batch","ba_id="+ ba_id+" and ba_outqty>0")){
-	    	    		BaseUtil.showError("批号已经出库不允许再生成条码!,批号:"+ba_code);
-	    	    	}
-	    	    }
+//	    	    if(bopost){
+//	    	    	if(baseDao.checkIf("batch","ba_id="+ ba_id+" and ba_outqty>0")){
+//	    	    		BaseUtil.showError("批号已经出库不允许再生成条码!,批号:"+ba_code);
+//	    	    	}
+//	    	    }
 	        	if(rs0.getString("pd_whcode")==null || ("").equals(rs0.getString("pd_whcode"))){
 	        		BaseUtil.showError("仓库编号不能为空");  
 	        	}