fix:退料单
This commit is contained in:
@@ -165,6 +165,7 @@ public class PmReturnServiceImpl extends ServiceImpl<PmReturnMapper, PmReturn> i
|
||||
for (PmReturn pmReturn : pmReturns) {
|
||||
if (pmReturn.getStatus() == null || pmReturn.getStatus() != 80) {
|
||||
pmReturn.setStatus(80);
|
||||
pmReturn.setAssign_qty(BigDecimal.valueOf(items.get(0).getActualQty()));
|
||||
pmReturn.setUpdate_time(DateUtil.now());
|
||||
this.updateById(pmReturn);
|
||||
}
|
||||
|
||||
@@ -240,7 +240,8 @@ export default {
|
||||
inventoryList: [
|
||||
{ value: 'R001', label: '中鼎立库' },
|
||||
{ value: 'R002', label: '五期装配车间平库' },
|
||||
{ value: 'R003', label: '五期装配车间大件库' }
|
||||
{ value: 'R003', label: '五期装配车间大件库' },
|
||||
{ value: 'H005', label: '结构件仓库' },
|
||||
],
|
||||
deliveryMethodOptions: [
|
||||
{ value: 1, label: '人工' },
|
||||
|
||||
Reference in New Issue
Block a user