优化
This commit is contained in:
1 parent
af9d488a4a
commit
ed859652c1
4 files changed
+5
-5
No files matched your search
@@ -75,7 +75,7 @@ export interface Report {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface ReportForm {
|
export interface ReportForm {
|
||||||
customerId: number
|
customerId: number | null
|
||||||
description?: string
|
description?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-container class="layout-container">
|
<el-container class="layout-container">
|
||||||
<el-aside width="200px">
|
<el-aside width="200px">
|
||||||
<div class="logo">经销商管理系统</div>
|
<div class="logo">泊云经销商管理系统</div>
|
||||||
<el-menu
|
<el-menu
|
||||||
:default-active="activeMenu"
|
:default-active="activeMenu"
|
||||||
router
|
router
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="login-container">
|
<div class="login-container">
|
||||||
<div class="login-box">
|
<div class="login-box">
|
||||||
<h2 class="login-title">经销商管理系统</h2>
|
<h2 class="login-title">泊云经销商管理系统</h2>
|
||||||
<el-form ref="loginFormRef" :model="loginForm" :rules="rules" class="login-form">
|
<el-form ref="loginFormRef" :model="loginForm" :rules="rules" class="login-form">
|
||||||
<el-form-item prop="username">
|
<el-form-item prop="username">
|
||||||
<el-input
|
<el-input
|
||||||
|
|||||||
@@ -192,7 +192,7 @@ const queryForm = reactive({
|
|||||||
})
|
})
|
||||||
|
|
||||||
const formData = reactive<ReportForm>({
|
const formData = reactive<ReportForm>({
|
||||||
customerId: 0,
|
customerId: null,
|
||||||
description: ''
|
description: ''
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -346,7 +346,7 @@ const handleAuditSubmit = async () => {
|
|||||||
const handleDialogClose = () => {
|
const handleDialogClose = () => {
|
||||||
formRef.value?.resetFields()
|
formRef.value?.resetFields()
|
||||||
Object.assign(formData, {
|
Object.assign(formData, {
|
||||||
customerId: 0,
|
customerId: null,
|
||||||
description: ''
|
description: ''
|
||||||
})
|
})
|
||||||
customerOptions.value = []
|
customerOptions.value = []
|
||||||
|
|||||||
Reference in new issue
Block a user