Sfoglia il codice sorgente

【备料单支持退回所有列表已备条码】

wuyx 6 anni fa
parent
commit
96876603d4

+ 3 - 3
src/com/uas/mes/pm/service/impl/MakePrepareServiceImpl.java

@@ -825,9 +825,9 @@ public class MakePrepareServiceImpl implements MakePrepareService {
 		if(!rs.next()){
 			throw new SystemException("料卷号:" + barcode + ",未备料!");
 		}
-		if(rs.getGeneralInt("md_color") > 0){
-			BaseUtil.showError("料卷号:" + barcode + ",为料架备料,不允许退回!");
-		}
+//		if(rs.getGeneralInt("md_color") > 0){
+//			BaseUtil.showError("料卷号:" + barcode + ",为料架备料,不允许退回!");
+//		}
 		if(rs.getGeneralString("md_status").equals("已领料")){
 			BaseUtil.showError("料卷号:" + barcode + ",已领料,不允许退回!");
 		}