问题修改
This commit is contained in:
@@ -1327,9 +1327,15 @@ const confirmForm = () => {
|
||||
otherAttachments: otherAttachments?.value //其他附件
|
||||
}
|
||||
addTerminalFormData(confirmFormData).then(res => {
|
||||
ruleFormRef.value.resetFields()
|
||||
resetForm()
|
||||
close()
|
||||
if (res.code == 'A0000') {
|
||||
ElMessage({
|
||||
message: '新增成功',
|
||||
type: 'success'
|
||||
})
|
||||
ruleFormRef.value.resetFields()
|
||||
resetForm()
|
||||
close()
|
||||
}
|
||||
})
|
||||
} else {
|
||||
console.log('表单验证失败')
|
||||
@@ -1340,9 +1346,6 @@ const confirmForm = () => {
|
||||
defineExpose({ open })
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.dialog-footer {
|
||||
padding: 10px;
|
||||
}
|
||||
.fixed_upload {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
Reference in New Issue
Block a user