强制注销业务增加公告期验证

发起强制注销业务时验证拟强制注销公告的公告期至是否已过期,未过期则阻止发起
This commit is contained in:
chenxf 2026-02-04 09:40:56 +08:00
parent 70dec2f93e
commit a3139c8fc0
1 changed files with 13 additions and 0 deletions

View File

@ -331,6 +331,19 @@ export default {
if (speList.length > 0) { if (speList.length > 0) {
// //
const item = speList[0] const item = speList[0]
//
const noticeTo = new Date(item.noticeTo)
const today = new Date()
// 0
today.setHours(0, 0, 0, 0)
noticeTo.setHours(0, 0, 0, 0)
if (noticeTo > today) {
this.$message.warning('公告期尚未结束,无法发起强制注销业务')
return
}
this.$confirm('是否确认启动强制注销业务', '提示', { this.$confirm('是否确认启动强制注销业务', '提示', {
type: 'info', type: 'info',
customClass: 'type-1', customClass: 'type-1',