Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-baoshen-excel
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何远江
topsun-baoshen-excel
Commits
316b4b8b
Commit
316b4b8b
authored
Jan 16, 2025
by
tanjunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 变量上传提交增加校验
parent
4ecee879
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
ChooseFile.vue
src/views/var/varExcel/components/ChooseFile/ChooseFile.vue
+6
-1
No files found.
src/views/var/varExcel/components/ChooseFile/ChooseFile.vue
View file @
316b4b8b
...
@@ -136,7 +136,12 @@ const confirmCustomer = (list: any) => {
...
@@ -136,7 +136,12 @@ const confirmCustomer = (list: any) => {
const
submitForm
=
async
()
=>
{
const
submitForm
=
async
()
=>
{
await
formRef
.
value
.
validate
()
await
formRef
.
value
.
validate
()
if
(
!
formState
.
customerId
)
{
return
ElMessage
.
warning
(
'请选择客户!'
)
}
if
(
!
selectProdList
.
value
.
length
)
{
return
ElMessage
.
warning
(
'请选择产品!'
)
}
if
(
!
tableData
.
value
.
length
)
{
if
(
!
tableData
.
value
.
length
)
{
return
ElMessage
.
warning
(
'请选择文件!'
)
return
ElMessage
.
warning
(
'请选择文件!'
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment