add:增加不对接MES包装关系逻辑

This commit is contained in:
2024-07-03 08:32:44 +08:00
parent 0598067867
commit 2d53076a8f
2 changed files with 2 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ public class TaskQueue {
task.setPoint_code2(pointCode);
task.setTask_status(TaskStatusEnum.START_AND_POINT.getCode());
taskService.updateById(task);
//删除子卷包装关系
//同步删除子卷包装关系
LambdaQueryWrapper<PdmBiSubpackagerelation> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(PdmBiSubpackagerelation::getContainer_name, task.getVehicle_code());
pdmBiSubpackagerelationMapper.delete(queryWrapper);

View File

@@ -307,6 +307,7 @@ export default {
// 表格1的行点击事件
handleRowClick(scope) {
debugger
// 按钮禁用
this.isButtonDisabled = !!(scope.status !== '99')
this.isButtonDisabled1 = scope.status === '99'
const table2 = this.$refs.dis_table