fix(storagelog): 修复库存记录显示逻辑并完善事务处理

This commit is contained in:
zxy 2026-04-03 11:01:51 +08:00
parent d590a1e248
commit 918c57e233
3 changed files with 3 additions and 2 deletions

View File

@ -63,6 +63,7 @@ public class WmsStorageServiceImpl implements WmsStorageService {
} }
@Override @Override
@Transactional(rollbackFor = Exception.class)
public void deleteWmsStorage(Long id) { public void deleteWmsStorage(Long id) {
// 校验存在 // 校验存在
validateWmsStorageExists(id); validateWmsStorageExists(id);

View File

@ -70,7 +70,7 @@
<el-table-column label="物料编码" align="center" prop="matCode" min-width="250" > <el-table-column label="物料编码" align="center" prop="matCode" min-width="250" >
<template #default="scope"> <template #default="scope">
<template v-if="scope.row.goodsType == 2"> <template v-if="scope.row.stock_mode == 11 ">
<el-form-item class="mb-0px!"> <el-form-item class="mb-0px!">
<el-select <el-select
v-model="scope.row.matId" v-model="scope.row.matId"