问题修改
This commit is contained in:
@@ -866,9 +866,15 @@ const confirmForm = () => {
|
||||
ctRatio: form.value.ctRatio / form.value.ctRatio2 //CT变比
|
||||
}
|
||||
addMointorPointFormData(confirmFormData).then(res => {
|
||||
ruleFormRef.value.resetFields()
|
||||
resetForm()
|
||||
close()
|
||||
if (res.code == 'A0000') {
|
||||
ElMessage({
|
||||
message: '新增成功',
|
||||
type: 'success'
|
||||
})
|
||||
ruleFormRef.value.resetFields()
|
||||
resetForm()
|
||||
close()
|
||||
}
|
||||
})
|
||||
} else {
|
||||
console.log('表单验证失败')
|
||||
@@ -879,16 +885,6 @@ const confirmForm = () => {
|
||||
defineExpose({ open })
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.el-form {
|
||||
// width: 96%;
|
||||
// height: 400px;
|
||||
// margin: 0 auto;
|
||||
// overflow-y: auto;
|
||||
// padding-top: 20px;
|
||||
}
|
||||
.dialog-footer {
|
||||
padding: 10px;
|
||||
}
|
||||
.fixed_upload {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
Reference in New Issue
Block a user