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