|
|
@@ -865,9 +865,9 @@ public class MakePrepareServiceImpl implements MakePrepareService {
|
|
|
// if(rs.getGeneralInt("md_color") > 0){
|
|
|
// BaseUtil.showError("料卷号:" + barcode + ",为料架备料,不允许退回!");
|
|
|
// }
|
|
|
- if(rs.getGeneralString("md_status").equals("已领料")){
|
|
|
+ /*if(rs.getGeneralString("md_status").equals("已领料")){
|
|
|
BaseUtil.showError("料卷号:" + barcode + ",已领料,不允许退回!");
|
|
|
- }
|
|
|
+ }*/
|
|
|
// 更新备料明细中料卷已备数量为空
|
|
|
baseDao.execute("update MakePrepareDetail set md_barcode = replace(MD_BARCODE,'"+barcode+"|','')," +
|
|
|
"md_qty = md_qty - nvl((select sum(MDD_QTY) from MakePrepareDetaildet where MDD_MPID = md_mpid and MDD_PRODCODE = md_prodcode and MDD_LOCATION = MD_LOCATION and MDD_barcode = '"+barcode+"' ),0) " +
|