rev:包装关系可以在任何状态进行修改

This commit is contained in:
2023-05-22 17:36:09 +08:00
parent 35161c5c2c
commit 4b78d2a5a7
2 changed files with 2 additions and 3 deletions

View File

@@ -139,9 +139,9 @@ public class SubpackagerelationServiceImpl implements SubpackagerelationService
JSONObject json = JSONObject.parseObject(JSON.toJSONString(dto));
//判断包装关系状态,只能修改状态为生成的
String status = json.getString("status");
if (!StrUtil.equals(status,"0")){
/*if (!StrUtil.equals(status,"0")){
throw new BadRequestException("只能修改状态为生成的包装关系!");
}
}*/
wo.update(json);
}

View File

@@ -459,7 +459,6 @@
<udOperation
:data="scope.row"
:permission="permission"
:disabledEdit="scope.row.status !== '0'"
:isVisiableDel="false"
/>
</template>