rev:包装关系可以在任何状态进行修改
This commit is contained in:
@@ -139,9 +139,9 @@ public class SubpackagerelationServiceImpl implements SubpackagerelationService
|
|||||||
JSONObject json = JSONObject.parseObject(JSON.toJSONString(dto));
|
JSONObject json = JSONObject.parseObject(JSON.toJSONString(dto));
|
||||||
//判断包装关系状态,只能修改状态为生成的
|
//判断包装关系状态,只能修改状态为生成的
|
||||||
String status = json.getString("status");
|
String status = json.getString("status");
|
||||||
if (!StrUtil.equals(status,"0")){
|
/*if (!StrUtil.equals(status,"0")){
|
||||||
throw new BadRequestException("只能修改状态为生成的包装关系!");
|
throw new BadRequestException("只能修改状态为生成的包装关系!");
|
||||||
}
|
}*/
|
||||||
wo.update(json);
|
wo.update(json);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -459,7 +459,6 @@
|
|||||||
<udOperation
|
<udOperation
|
||||||
:data="scope.row"
|
:data="scope.row"
|
||||||
:permission="permission"
|
:permission="permission"
|
||||||
:disabledEdit="scope.row.status !== '0'"
|
|
||||||
:isVisiableDel="false"
|
:isVisiableDel="false"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user