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
8b9abeac
Commit
8b9abeac
authored
Aug 14, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 质检样式调整
parent
b7589f9b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
6 deletions
+26
-6
src/views/order/factoryOrderNew/component/QualityFailDialog.vue
+26
-6
No files found.
src/views/order/factoryOrderNew/component/QualityFailDialog.vue
View file @
8b9abeac
...
@@ -7,12 +7,13 @@
...
@@ -7,12 +7,13 @@
:destroy-on-close=
"true"
:destroy-on-close=
"true"
@
close=
"handleClose"
@
close=
"handleClose"
>
>
<ElForm
ref=
"formRef"
:model=
"form"
:rules=
"rules"
>
<div
class=
"confirm-body"
>
<div
v-if=
"qualityPassed"
>
<ElIcon
class=
"confirm-tip__icon"
:size=
"24"
>
<div
style=
"margin: 5px 0 20px 0"
>
确定质检通过吗?
</div>
<WarningFilled
/>
</div>
</ElIcon>
<div
v-else
style=
"margin: 0 0 10px 0"
>
<ElForm
ref=
"formRef"
:model=
"form"
:rules=
"rules"
class=
"confirm-form"
>
<div>
确定质检不通过吗?
</div>
<div
class=
"confirm-tip"
>
{{
qualityPassed
?
'确定质检通过吗?'
:
'确定质检不通过吗?'
}}
</div>
</div>
<ElFormItem
<ElFormItem
v-if=
"!qualityPassed"
v-if=
"!qualityPassed"
...
@@ -47,6 +48,7 @@
...
@@ -47,6 +48,7 @@
/>
/>
</ElFormItem>
</ElFormItem>
</ElForm>
</ElForm>
</div>
<template
#
footer
>
<template
#
footer
>
<div
class=
"dialog-footer"
style=
"text-align: center"
>
<div
class=
"dialog-footer"
style=
"text-align: center"
>
<ElButton
@
click=
"visible = false"
>
取消
</ElButton>
<ElButton
@
click=
"visible = false"
>
取消
</ElButton>
...
@@ -62,6 +64,7 @@
...
@@ -62,6 +64,7 @@
import
{
computed
,
reactive
,
ref
}
from
'vue'
import
{
computed
,
reactive
,
ref
}
from
'vue'
import
{
ElMessage
}
from
'element-plus'
import
{
ElMessage
}
from
'element-plus'
import
type
{
FormInstance
,
FormRules
}
from
'element-plus'
import
type
{
FormInstance
,
FormRules
}
from
'element-plus'
import
{
WarningFilled
}
from
'@element-plus/icons-vue'
import
{
import
{
getQualityTypeApi
,
getQualityTypeApi
,
qualityPodOrderOperationApi
,
qualityPodOrderOperationApi
,
...
@@ -176,3 +179,20 @@ const handleSubmit = async () => {
...
@@ -176,3 +179,20 @@ const handleSubmit = async () => {
defineExpose
({
open
})
defineExpose
({
open
})
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
.confirm-form
{
flex
:
1
;
min-width
:
0
;
}
.confirm-tip
{
margin-bottom
:
12px
;
line-height
:
24px
;
}
.confirm-tip__icon
{
flex-shrink
:
0
;
color
:
var
(
--el-color-warning
);
}
</
style
>
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