Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
a147ba30
Commit
a147ba30
authored
Aug 29, 2025
by
linjinhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改问题
parent
bb0cdaef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
11 deletions
+26
-11
src/views/order/podUs/index.vue
+26
-11
No files found.
src/views/order/podUs/index.vue
View file @
a147ba30
...
@@ -4421,22 +4421,37 @@ const arrangeFinish = async () => {
...
@@ -4421,22 +4421,37 @@ const arrangeFinish = async () => {
const
submitTypesetting
=
()
=>
{
const
submitTypesetting
=
()
=>
{
const
{
templateWidth
,
type
}
=
typesettingForm
.
value
const
{
templateWidth
,
type
}
=
typesettingForm
.
value
// 如果是自动排版且没有填必选项
if
(
isAuto
.
value
&&
(
!
templateWidth
||
!
type
))
{
return
ElMessage
.
warning
(
'排版类型和排版宽度为必选项'
)
}
// 针对排版宽度和类型分别判断
if
(
!
templateWidth
&&
type
)
{
return
ElMessage
.
warning
(
'请选择排版宽度'
)
}
if
(
templateWidth
&&
!
type
)
{
if
(
templateWidth
&&
!
type
)
{
return
ElMessage
.
warning
(
'请选择排版类型'
)
return
ElMessage
.
warning
(
'请选择排版类型'
)
}
else
if
(
!
templateWidth
&&
type
)
{
return
ElMessage
.
warning
(
'请选择排版宽度'
)
}
}
if
(
typesettingType
.
value
==
3
)
{
if
(
!
templateWidth
&&
!
type
)
{
// 针对类型 3 的特殊判断
return
ElMessage
.
warning
(
'排版类型和排版宽度为必选项'
)
if
(
typesettingType
.
value
===
3
&&
(
!
templateWidth
||
!
type
))
{
}
return
ElMessage
.
warning
(
'排版类型和排版宽度为必选项'
)
}
}
// 设置为自动排版
isAuto
.
value
=
true
isAuto
.
value
=
true
return
typesettingType
.
value
==
1
?
handleReComposingDesign
()
// 根据排版类型执行相应的操作
:
typesettingType
.
value
==
2
switch
(
typesettingType
.
value
)
{
?
arrangeFinish
()
case
1
:
:
downloadTifItem
()
return
handleReComposingDesign
()
case
2
:
return
arrangeFinish
()
default
:
return
downloadTifItem
()
}
}
}
const
changeSwitch
=
()
=>
{
const
changeSwitch
=
()
=>
{
...
...
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