rev:包装关系可以在任何状态进行修改
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -459,7 +459,6 @@
|
||||
<udOperation
|
||||
:data="scope.row"
|
||||
:permission="permission"
|
||||
:disabledEdit="scope.row.status !== '0'"
|
||||
:isVisiableDel="false"
|
||||
/>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user