Commit d84ac9c2 by 胡懿

Merge branches 'hy' and 'master' of 47.92.228.5:huyi/warehouse into hy

parents dc1c0266 52150825
...@@ -8,6 +8,7 @@ import java.io.IOException; ...@@ -8,6 +8,7 @@ import java.io.IOException;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Objects;
import com.jeeplus.common.config.Global; import com.jeeplus.common.config.Global;
import com.jeeplus.common.utils.io.FileUtil; import com.jeeplus.common.utils.io.FileUtil;
...@@ -166,7 +167,13 @@ public class ProfitWarehousingService extends CrudService<ProfitWarehousingMappe ...@@ -166,7 +167,13 @@ public class ProfitWarehousingService extends CrudService<ProfitWarehousingMappe
}else{ }else{
profitWarehousingInfo.preUpdate(); profitWarehousingInfo.preUpdate();
profitWarehousingInfoMapper.update(profitWarehousingInfo); profitWarehousingInfoMapper.update(profitWarehousingInfo);
cleanQr(profitWarehousingInfo.getId()); } if(profitWarehousingInfo.getQrCode()!=null){
//已入库的不修改
if(!Objects.equals(profitWarehousingInfo.getQrCode().getState(), "3")){
cleanQr(profitWarehousingInfo.getId());
}
}
}
}else{ }else{
profitWarehousingInfoMapper.delete(profitWarehousingInfo); profitWarehousingInfoMapper.delete(profitWarehousingInfo);
} }
......
...@@ -101,9 +101,13 @@ ...@@ -101,9 +101,13 @@
field: 'qrCode.state', field: 'qrCode.state',
title: '&nbsp;&nbsp;状态&nbsp;&nbsp;', title: '&nbsp;&nbsp;状态&nbsp;&nbsp;',
formatter: function (value,row,index){ formatter: function (value,row,index){
if(value === '2'){ if(value === '1'){
return '已入库' return '已入库未入账'
}else{ }else if(value === '2'){
return '已入账未下账'
} else if(value === '3'){
return '已下账'
} else {
return '未入库' return '未入库'
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment