Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-ui
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
pda
pda-ui
Commits
24b7b827
Commit
24b7b827
authored
Jan 19, 2024
by
何远江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化打样申请
parent
c79bc466
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
3 deletions
+33
-3
ProogingBom.vue
src/views/mes/proofing/components/ProogingBom.vue
+4
-0
proofingInfo.vue
src/views/mes/proofing/proofingInfo.vue
+29
-3
No files found.
src/views/mes/proofing/components/ProogingBom.vue
View file @
24b7b827
...
...
@@ -216,6 +216,7 @@
import
ItemBomSelect
from
"@/components/itemBomSelect/single.vue"
;
export
default
{
components
:
{
ItemBomSelect
},
inject
:
[
'mode'
],
data
()
{
return
{
/**弹窗状态 */
...
...
@@ -239,6 +240,9 @@ export default {
itemRemark
:
""
,
},
};
},
created
()
{
},
methods
:
{
/**多选 */
...
...
src/views/mes/proofing/proofingInfo.vue
View file @
24b7b827
<
template
>
<div
class=
"form-page"
>
<PageTitle>
打样申请单
<template
slot=
"buttons"
>
{{
pageTitle
}}
<template
slot=
"buttons"
v-if=
"mode == 'apply'"
>
<el-button
size=
"mini"
@
click=
"resetForm"
>
重置
</el-button>
<el-button
size=
"mini"
type=
"primary"
>
提交
</el-button>
<el-button
size=
"mini"
type=
"primary"
@
click=
"saveForm"
>
提交
</el-button>
</
template
>
</PageTitle>
...
...
@@ -163,6 +163,11 @@ import ItemSelect from "@/components/itemSelect/single.vue";
export
default
{
components
:
{
ProogingBom
,
ProogingProcess
,
ItemSelect
},
dicts
:
[],
provide
()
{
return
{
mode
:
this
.
mode
,
};
},
data
()
{
return
{
// 表单参数
...
...
@@ -190,6 +195,17 @@ export default {
scrollHeight
()
{
return
"calc(100vh - 73px - 83px)"
;
},
mode
()
{
return
this
.
$route
.
path
.
split
(
"/"
).
at
(
-
1
);
},
pageTitle
()
{
const
titles
=
{
edit
:
"打样单修改"
,
info
:
"打样单查看"
,
apply
:
"打样单申请"
,
};
return
titles
[
this
.
mode
];
},
},
created
()
{},
methods
:
{
...
...
@@ -199,6 +215,16 @@ export default {
this
.
form
.
itemName
=
row
.
itemName
;
}
},
/**提交 */
saveForm
()
{
const
bomData
=
this
.
$refs
.
ProogingBomRef
.
getComData
()
const
processData
=
this
.
$refs
.
ProogingProcess
.
getComData
()
const
params
=
{
...
this
.
form
,
bomList
:
bomData
,
processList
:
processData
}
},
/**重置表单 */
resetForm
()
{
this
.
form
=
{
...
...
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