|
@ -181,6 +181,7 @@ const openForm = (type: string, row?: any) => { |
|
|
|
|
|
|
|
|
// form表单提交 |
|
|
// form表单提交 |
|
|
const formsSuccess = async (formType, data) => { |
|
|
const formsSuccess = async (formType, data) => { |
|
|
|
|
|
try { |
|
|
var isHave = BasciYearEquipment.allSchemas.formSchema.some(function (item) { |
|
|
var isHave = BasciYearEquipment.allSchemas.formSchema.some(function (item) { |
|
|
return item.field === 'activeTime' || item.field === 'expireTime' |
|
|
return item.field === 'activeTime' || item.field === 'expireTime' |
|
|
}) |
|
|
}) |
|
@ -201,6 +202,8 @@ const formsSuccess = async (formType, data) => { |
|
|
} |
|
|
} |
|
|
basicFormRef.value.dialogVisible = false |
|
|
basicFormRef.value.dialogVisible = false |
|
|
getList() |
|
|
getList() |
|
|
|
|
|
}catch{ |
|
|
|
|
|
basicFormRef.value.dialogVisible = false} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** 详情操作 */ |
|
|
/** 详情操作 */ |
|
|