认证清单-发布时校验截止日期

This commit is contained in:
范强强
2023-03-24 16:14:35 +08:00
parent 65aeb3a7d7
commit 375fda713b
4 changed files with 10 additions and 4 deletions
@@ -798,6 +798,10 @@
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
if (res.result.engineeringInterfacePersonList && res.result.engineeringInterfacePersonList.length == 1) {
this.formInline.sdt = res.result.engineeringInterfacePersonList[0].value
if (!this.formInline.dutyPersonName) {
this.formInline.dutyPersonName = res.result.engineeringInterfacePersonList[0].name
this.formInline.dutyPerson = res.result.engineeringInterfacePersonList[0].value
}
} else if (this.engineeringInterfacePersonList.length == 0) {
this.formInline.sdt = undefined
}
@@ -1012,8 +1012,10 @@
let ids = []
let notConditions = []
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
if (this.selectedRowKeysList[i].flowStatus == 'List to be released' ||
this.selectedRowKeysList[i].flowStatus == 'Certification returned') {
if ((this.selectedRowKeysList[i].flowStatus == 'List to be released' &&
this.selectedRowKeysList[i].endTime) ||
(this.selectedRowKeysList[i].flowStatus == 'Certification returned' &&
this.selectedRowKeysList[i].endTime)) {
ids.push(this.selectedRowKeysList[i].id)
} else {
notConditions.push(this.selectedRowKeysList[i].inspectionItem)