Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
e04f81d4
Commit
e04f81d4
authored
Nov 30, 2023
by
“lixuyan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加时间的搜索
parent
03d00146
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
5 deletions
+52
-5
index.vue
...views/assemblyPlanManagement/instructionsIssued/index.vue
+52
-5
No files found.
applications/dee-mes/src/views/assemblyPlanManagement/instructionsIssued/index.vue
View file @
e04f81d4
<
template
>
<div
class=
"instructions-issued"
>
<div
class=
"instructions-issued-top"
>
<el-form
:inline=
"true"
:model=
"searchFormData"
class=
"instructions-issued-search"
label-width=
"50px"
>
<el-col
:span=
"
12
"
>
<el-form
:inline=
"true"
:model=
"searchFormData"
class=
"instructions-issued-search"
>
<el-col
:span=
"
5
"
>
<el-form-item
label=
"站位:"
>
<el-select
v-model=
"searchFormData.postion"
placeholder=
"站位"
@
change=
"changePostion"
>
<el-option
...
...
@@ -14,7 +14,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
5
"
>
<el-form-item
label=
"架次:"
>
<el-select
v-model=
"searchFormData.sorties"
placeholder=
"架次"
@
change=
"changeSorties"
>
<el-option
...
...
@@ -26,6 +26,26 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"计划结束:"
>
<el-date-picker
v-model=
"searchFormData.actualEnd"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd 00:00:00"
@
change=
"getTableData"
@
clear=
"getTableData"
/>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"AO(号/名称):"
>
<el-input
v-model=
"searchFormData.aoName"
clearable
placeholder=
"请输入AO(号/名称)"
@
clear=
"getTableData"
@
keyup
.
enter
.
native=
"getTableData"
/>
</el-form-item>
</el-col>
</el-form>
<span
class=
"start-working"
>
<img
:src=
"wordImgUrl"
alt=
""
:title=
"title"
@
click=
"startWorking"
>
...
...
@@ -120,7 +140,9 @@ export default {
postionList
:
[],
searchFormData
:
{
sorties
:
''
,
postion
:
''
postion
:
''
,
actualEnd
:
''
,
aoName
:
''
},
group
:
''
,
groupType
:
''
,
...
...
@@ -436,6 +458,8 @@ export default {
})
},
tabClick
(
tab
)
{
this
.
searchFormData
.
aoName
=
''
this
.
searchFormData
.
actualEnd
=
''
this
.
activeName
=
tab
.
index
if
(
this
.
activeName
===
'1'
)
{
this
.
defaultPercent
=
100
...
...
@@ -482,6 +506,21 @@ export default {
}
],
'operator'
:
'AND'
},
{
'items'
:
[
{
'fieldName'
:
'extProcessPlan.serialNumber'
,
'operator'
:
'LIKE'
,
'value'
:
this
.
searchFormData
.
aoName
},
{
'fieldName'
:
'extProcessPlan.name'
,
'operator'
:
'LIKE'
,
'value'
:
this
.
searchFormData
.
aoName
}
],
'operator'
:
'OR'
}
],
'items'
:
[],
...
...
@@ -504,6 +543,14 @@ export default {
}
]
}
if
(
this
.
searchFormData
.
actualEnd
&&
this
.
searchFormData
.
actualEnd
.
length
>
0
)
{
params
.
searchItems
.
children
[
0
].
items
.
push
({
'fieldName'
:
'scheduledEnd'
,
'operator'
:
'BTWN'
,
'value'
:
this
.
searchFormData
.
actualEnd
[
0
],
'value1'
:
this
.
searchFormData
.
actualEnd
[
1
]
})
}
post
(
'/JoExecutePlan/getProductionPrepare'
,
params
).
then
(
res
=>
{
if
(
res
.
items
&&
res
.
items
.
content
)
{
this
.
tableData
=
res
.
items
.
content
...
...
@@ -748,7 +795,7 @@ export default {
.instructions-issued-search
{
padding
:
10px
8px
;
height
:
40px
;
width
:
4
0%
;
width
:
9
0%
;
}
.start-working
{
height
:
30px
;
...
...
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