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
1
Merge Requests
1
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
4129bdcd
Commit
4129bdcd
authored
Aug 14, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:质检bug修复
parent
2710b517
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
src/views/order/factoryOrderFlowConfig/index.vue
+7
-8
No files found.
src/views/order/factoryOrderFlowConfig/index.vue
View file @
4129bdcd
...
@@ -41,19 +41,12 @@ const factoryOrderFlowConfig = ref<FactoryOrderFlowConfig>()
...
@@ -41,19 +41,12 @@ const factoryOrderFlowConfig = ref<FactoryOrderFlowConfig>()
/** 勾选草稿,仅保存后同步到已生效配置 */
/** 勾选草稿,仅保存后同步到已生效配置 */
const
draftSkipInspect
=
ref
(
false
)
const
draftSkipInspect
=
ref
(
false
)
const
STEP_WIDTH
=
150
const
showFlowConfigList
=
computed
(()
=>
const
showFlowConfigList
=
computed
(()
=>
draftSkipInspect
.
value
draftSkipInspect
.
value
?
flowConfigList
.
value
.
filter
((
item
)
=>
item
.
code
!==
'INSPECTION'
)
?
flowConfigList
.
value
.
filter
((
item
)
=>
item
.
code
!==
'INSPECTION'
)
:
flowConfigList
.
value
,
:
flowConfigList
.
value
,
)
)
/** 按完整步骤数预留宽度,勾选后容器不收缩,避免居中抖动 */
const
fullStepsWidth
=
computed
(
()
=>
`
${
flowConfigList
.
value
.
length
*
STEP_WIDTH
}
px`
,
)
// 获取质检状态
// 获取质检状态
const
getConfig
=
async
()
=>
{
const
getConfig
=
async
()
=>
{
const
res
=
await
getFactoryOrderFlowConfigApi
()
const
res
=
await
getFactoryOrderFlowConfigApi
()
...
@@ -94,6 +87,12 @@ const updateConfig = async () => {
...
@@ -94,6 +87,12 @@ const updateConfig = async () => {
type
:
'warning'
,
type
:
'warning'
,
},
},
)
)
}
else
{
await
ElMessageBox
.
confirm
(
`是否确定保存`
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
})
}
}
}
else
{
}
else
{
await
ElMessageBox
.
confirm
(
`是否确定保存`
,
'提示'
,
{
await
ElMessageBox
.
confirm
(
`是否确定保存`
,
'提示'
,
{
...
@@ -134,7 +133,7 @@ onMounted(async () => {
...
@@ -134,7 +133,7 @@ onMounted(async () => {
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
flex-start
;
align-items
:
flex-start
;
width
:
max-content
;
width
:
max-content
;
min-width
:
v-bind
(
fullStepsWidth
)
;
min-width
:
900px
;
margin
:
50px
auto
0
;
margin
:
50px
auto
0
;
}
}
...
...
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