UAT变更 标准状态为起草、征求意见、审查、报批等状态时发布日期、实施日期不应是必填项(国内、海外添加审查状态)

This commit is contained in:
赵霄
2023-11-29 17:52:52 +08:00
parent 904f008915
commit beb777a66d
3 changed files with 7 additions and 6 deletions
@@ -1094,7 +1094,7 @@ export default {
* @param val
*/
handleRequiredByState (val) {
const notRequiredStatus = [StandardStatus.DRAFT.value, StandardStatus.SEEK_FOR_OPTIONS.value, StandardStatus.APPROVAL.value]
const notRequiredStatus = [StandardStatus.DRAFT.value, StandardStatus.SEEK_FOR_OPTIONS.value, StandardStatus.EXAMINE.value, StandardStatus.APPROVAL.value]
const fields = ['release_date', 'implementation_date']
const rules = JSON.parse(JSON.stringify(this.rules))
if (notRequiredStatus.includes(val)) {