fix:退料单

This commit is contained in:
zhaoyf
2026-11-20 10:22:49 +08:00
parent 6213904ae9
commit 17306430ed
2 changed files with 3 additions and 1 deletions

View File

@@ -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);
}

View File

@@ -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: '人工' },