fix 79363、79372
This commit is contained in:
@@ -268,7 +268,8 @@ module.exports = {
|
||||
planDoneDate: '计划完成日期',
|
||||
rectificationPlanDoneDate: '整改计划完成日期',
|
||||
rectificationRealityDoneDate: '整改实际完成日期',
|
||||
rectificationStatus: '整改状态'
|
||||
rectificationStatus: '整改状态',
|
||||
pleaseFillInspectionContent: '请填写稽查内容'
|
||||
},
|
||||
// 稽查延期申请流程
|
||||
incExtensionRequest: {
|
||||
|
||||
@@ -295,7 +295,8 @@ module.exports = {
|
||||
planDoneDate: '计划完成日期',
|
||||
rectificationPlanDoneDate: '整改计划完成日期',
|
||||
rectificationRealityDoneDate: '整改实际完成日期',
|
||||
rectificationStatus: '整改状态'
|
||||
rectificationStatus: '整改状态',
|
||||
pleaseFillInspectionContent: '请填写稽查内容'
|
||||
},
|
||||
// 稽查延期申请流程
|
||||
incExtensionRequest: {
|
||||
|
||||
+5
@@ -285,6 +285,11 @@ export default {
|
||||
this.$message.warning(this.$t('addAtLeastOneRowOfData'))
|
||||
throw new Error('base')
|
||||
}
|
||||
// fix 79372 稽查内容条数不能为空或0
|
||||
if (this.$refs.inspectionProcessTable.dataSource.some(item => (!item.standardInspectContentCount || item.standardInspectContentCount === '0'))) {
|
||||
this.$message.warning(this.$t('workCenter.esInspectionProcess.pleaseFillInspectionContent'))
|
||||
throw new Error('base')
|
||||
}
|
||||
const params = {}
|
||||
// 收集所有表单信息
|
||||
let formDataList = []
|
||||
|
||||
+3
@@ -172,6 +172,9 @@ export default {
|
||||
// 是否需要整改(布尔值或null)
|
||||
isNeedRectification: null,
|
||||
rules: {
|
||||
inspectContentId: [
|
||||
{ required: true, message: this.$t('pleaseSelect') + this.$t('workCenter.esInspectionProcess.sectionClause'), trigger: 'change' }
|
||||
],
|
||||
// 是否需要整改
|
||||
isRectify: [
|
||||
{ required: true, message: this.$t('pleaseSelect') + this.$t('workCenter.esInspectionProcess.isNeedRectification'), trigger: 'change' }
|
||||
|
||||
+1
-1
@@ -104,7 +104,7 @@ export default {
|
||||
{ required: true, message: this.$t('pleaseEnter') + this.$t('workCenter.esInspectionProcess.sectionClause'), trigger: 'change' }
|
||||
],
|
||||
// 执行情况
|
||||
implementation: [
|
||||
executionStatus: [
|
||||
{ required: true, message: this.$t('pleaseEnter') + this.$t('workCenter.esInspectionProcess.implementation'), trigger: 'blur' }
|
||||
],
|
||||
// 评分
|
||||
|
||||
Reference in New Issue
Block a user