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
0b0bd949
Commit
0b0bd949
authored
Dec 26, 2023
by
“lixuyan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改执行派工和检验派工
parent
a96b295f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
84 additions
and
57 deletions
+84
-57
index.vue
...views/assemblyPlanManagement/inspectionDispatch/index.vue
+69
-44
index.vue
...ews/assemblyPlanManagement/instructionsDispatch/index.vue
+14
-12
stationPlanList.vue
...agement/instructionsIssued/components/stationPlanList.vue
+1
-1
No files found.
applications/dee-mes/src/views/assemblyPlanManagement/inspectionDispatch/index.vue
View file @
0b0bd949
...
@@ -2,9 +2,21 @@
...
@@ -2,9 +2,21 @@
<div
class=
"inspection-disptach"
>
<div
class=
"inspection-disptach"
>
<div
class=
"instructions-issued-top"
>
<div
class=
"instructions-issued-top"
>
<el-form
:inline=
"true"
:model=
"searchFormData"
class=
"instructions-issued-search"
>
<el-form
:inline=
"true"
:model=
"searchFormData"
class=
"instructions-issued-search"
>
<el-col
:span=
"6"
>
<el-col
v-if=
"activeName === '0'"
:span=
"6"
>
<el-form-item
label=
"班组:"
>
<el-select
v-model=
"searchFormData.group"
placeholder=
"班组"
@
change=
"changeGroup"
>
<el-option
v-for=
"(item, i) in groupList"
:key=
"item.value + i"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"架次:"
>
<el-form-item
label=
"架次:"
>
<el-select
v-model=
"searchFormData.sorties"
placeholder=
"架次"
@
change=
"changeSorties"
>
<el-select
v-model=
"searchFormData.sorties"
placeholder=
"架次"
clearable
@
change=
"changeSorties"
>
<el-option
<el-option
v-for=
"(item, i) in sortiesList"
v-for=
"(item, i) in sortiesList"
:key=
"item.value + i"
:key=
"item.value + i"
...
@@ -14,9 +26,9 @@
...
@@ -14,9 +26,9 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"
6
"
>
<el-col
:span=
"
5
"
>
<el-form-item
label=
"站位:"
>
<el-form-item
label=
"站位:"
>
<el-select
v-model=
"searchFormData.postion"
placeholder=
"站位"
@
change=
"changePostion"
>
<el-select
v-model=
"searchFormData.postion"
placeholder=
"站位"
clearable
@
change=
"changePostion"
>
<el-option
<el-option
v-for=
"item in postionList"
v-for=
"item in postionList"
:key=
"item.id"
:key=
"item.id"
...
@@ -26,23 +38,17 @@
...
@@ -26,23 +38,17 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
v-if=
"activeName === '0'"
:span=
"6"
>
<el-form-item
label=
"班组:"
>
<el-select
v-model=
"searchFormData.group"
placeholder=
"班组"
@
change=
"changeGroup"
>
<el-option
v-for=
"(item, i) in groupList"
:key=
"item.value + i"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"AO(号/名称):"
>
<el-form-item
label=
"AO(号/名称):"
>
<el-input
v-model=
"searchFormData.aoName"
clearable
placeholder=
"请输入AO(号/名称)"
@
clear=
"getTableData"
@
keyup
.
enter
.
native=
"getTableData"
/>
<el-input
v-model=
"searchFormData.aoName"
clearable
placeholder=
"请输入AO(号/名称)"
@
clear=
"getTableData"
@
keyup
.
enter
.
native=
"getTableData"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"2"
>
<el-button
type=
"primary"
@
click=
"getTableData"
>
查询
</el-button>
</el-col>
</el-form>
</el-form>
</div>
</div>
<split-pane
<split-pane
...
@@ -294,7 +300,9 @@ export default {
...
@@ -294,7 +300,9 @@ export default {
}
}
},
},
created
()
{
created
()
{
this
.
getGroup
()
this
.
getStories
()
this
.
getStories
()
this
.
getStation
()
},
},
methods
:
{
methods
:
{
getStories
()
{
getStories
()
{
...
@@ -330,33 +338,33 @@ export default {
...
@@ -330,33 +338,33 @@ export default {
label
:
row
.
defName
label
:
row
.
defName
}
}
})
})
this
.
$set
(
this
.
searchFormData
,
'sorties'
,
this
.
sortiesList
[
0
].
value
)
//
this.$set(this.searchFormData, 'sorties', this.sortiesList[0].value)
this
.
$set
(
this
.
searchFormData
,
'sortiesName'
,
this
.
sortiesList
[
0
].
label
)
//
this.$set(this.searchFormData, 'sortiesName', this.sortiesList[0].label)
this
.
getStation
()
//
this.getStation()
})
})
},
},
getStation
()
{
getStation
()
{
this
.
$api
.
searchApi
(
'ExtStandPosition'
,
{}).
then
(
res
=>
{
this
.
$api
.
searchApi
(
'ExtStandPosition'
,
{}).
then
(
res
=>
{
this
.
postionList
=
res
.
items
.
content
this
.
postionList
=
res
.
items
.
content
this
.
$set
(
this
.
searchFormData
,
'postion'
,
this
.
postionList
[
0
].
id
)
//
this.$set(this.searchFormData, 'postion', this.postionList[0].id)
this
.
$set
(
this
.
searchFormData
,
'postionName'
,
this
.
postionList
[
0
].
extcode
)
//
this.$set(this.searchFormData, 'postionName', this.postionList[0].extcode)
this
.
getGroup
()
//
this.getGroup()
this
.
getTableData
()
//
this.getTableData()
}).
catch
(
err
=>
console
.
log
(
err
)).
finally
(()
=>
{
}).
catch
(
err
=>
console
.
log
(
err
)).
finally
(()
=>
{
})
})
},
},
changeSorties
()
{
changeSorties
()
{
const
sorties
=
this
.
sortiesList
.
find
(
r
=>
r
.
value
===
this
.
searchFormData
.
sorties
)
const
sorties
=
this
.
sortiesList
.
find
(
r
=>
r
.
value
===
this
.
searchFormData
.
sorties
)
this
.
$set
(
this
.
searchFormData
,
'sortiesName'
,
sorties
&&
sorties
.
label
||
''
)
this
.
$set
(
this
.
searchFormData
,
'sortiesName'
,
sorties
&&
sorties
.
label
||
''
)
this
.
getTableData
()
//
this.getTableData()
},
},
changePostion
()
{
changePostion
()
{
const
postion
=
this
.
postionList
.
find
(
r
=>
r
.
id
===
this
.
searchFormData
.
postion
)
const
postion
=
this
.
postionList
.
find
(
r
=>
r
.
id
===
this
.
searchFormData
.
postion
)
this
.
$set
(
this
.
searchFormData
,
'postionName'
,
postion
&&
postion
.
extcode
||
''
)
this
.
$set
(
this
.
searchFormData
,
'postionName'
,
postion
&&
postion
.
extcode
||
''
)
if
(
this
.
activeName
===
'0'
)
{
//
if (this.activeName === '0') {
this
.
getGroup
()
//
this.getGroup()
}
//
}
this
.
getTableData
()
//
this.getTableData()
},
},
getGroup
()
{
getGroup
()
{
this
.
groupList
=
[]
this
.
groupList
=
[]
...
@@ -366,11 +374,11 @@ export default {
...
@@ -366,11 +374,11 @@ export default {
'children'
:
[
'children'
:
[
{
{
'items'
:
[
'items'
:
[
{
//
{
'fieldName'
:
'extStandPositionId'
,
//
'fieldName': 'extStandPositionId',
'operator'
:
'EQ'
,
//
'operator': 'EQ',
'value'
:
this
.
searchFormData
.
postion
//
'value': this.searchFormData.postion
},
//
},
{
{
'fieldName'
:
'isValid'
,
'fieldName'
:
'isValid'
,
'operator'
:
'EQ'
,
'operator'
:
'EQ'
,
...
@@ -388,7 +396,9 @@ export default {
...
@@ -388,7 +396,9 @@ export default {
'items'
:
[],
'items'
:
[],
'operator'
:
'AND'
'operator'
:
'AND'
},
},
'openProps'
:
[],
'openProps'
:
[{
'name'
:
'extStandPosition'
}],
'sortItem'
:
[
'sortItem'
:
[
{
{
'fieldName'
:
'modifyTime'
,
'fieldName'
:
'modifyTime'
,
...
@@ -411,6 +421,7 @@ export default {
...
@@ -411,6 +421,7 @@ export default {
this
.
groupUserPage
=
1
this
.
groupUserPage
=
1
this
.
groupUserList
=
[]
this
.
groupUserList
=
[]
this
.
groupUserTotal
=
0
this
.
groupUserTotal
=
0
this
.
getTableData
()
this
.
getGroupUser
()
this
.
getGroupUser
()
}
else
{
}
else
{
this
.
groupUserPage
=
1
this
.
groupUserPage
=
1
...
@@ -462,16 +473,16 @@ export default {
...
@@ -462,16 +473,16 @@ export default {
'children'
:
[
'children'
:
[
{
{
'items'
:
[
'items'
:
[
{
//
{
'fieldName'
:
'extProcessPlan.sorties'
,
//
'fieldName': 'extProcessPlan.sorties',
'operator'
:
'EQ'
,
//
'operator': 'EQ',
'value'
:
this
.
searchFormData
.
sortiesName
//
'value': this.searchFormData.sortiesName
},
//
},
{
//
{
'fieldName'
:
'extProcessPlan.positionNumber'
,
//
'fieldName': 'extProcessPlan.positionNumber',
'operator'
:
'EQ'
,
//
'operator': 'EQ',
'value'
:
this
.
searchFormData
.
postionName
//
'value': this.searchFormData.postionName
},
//
},
{
{
'fieldName'
:
'planState'
,
'fieldName'
:
'planState'
,
'operator'
:
'IN'
,
'operator'
:
'IN'
,
...
@@ -531,6 +542,20 @@ export default {
...
@@ -531,6 +542,20 @@ export default {
}
}
]
]
}
}
if
(
this
.
searchFormData
.
sortiesName
)
{
params
.
searchItems
.
children
[
0
].
items
.
push
({
'fieldName'
:
'extProcessPlan.sorties'
,
'operator'
:
'EQ'
,
'value'
:
this
.
searchFormData
.
sortiesName
})
}
if
(
this
.
searchFormData
.
postionName
)
{
params
.
searchItems
.
children
[
0
].
items
.
push
({
'fieldName'
:
'extProcessPlan.positionNumber'
,
'operator'
:
'EQ'
,
'value'
:
this
.
searchFormData
.
postionName
})
}
post
(
'/JoExecutePlan/search'
,
params
).
then
(
res
=>
{
post
(
'/JoExecutePlan/search'
,
params
).
then
(
res
=>
{
if
(
res
.
items
&&
res
.
items
.
content
)
{
if
(
res
.
items
&&
res
.
items
.
content
)
{
this
.
tableData
=
res
.
items
.
content
this
.
tableData
=
res
.
items
.
content
...
...
applications/dee-mes/src/views/assemblyPlanManagement/instructionsDispatch/index.vue
View file @
0b0bd949
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"instructions-disptach"
>
<div
class=
"instructions-disptach"
>
<div
class=
"instructions-issued-top"
>
<div
class=
"instructions-issued-top"
>
<el-form
:inline=
"true"
:model=
"searchFormData"
class=
"instructions-issued-search"
>
<el-form
:inline=
"true"
:model=
"searchFormData"
class=
"instructions-issued-search"
>
<el-col
:span=
"5"
>
<
!--
<
el-col
:span=
"5"
>
<el-form-item
label=
"站位:"
>
<el-form-item
label=
"站位:"
>
<el-select
v-model=
"searchFormData.postion"
placeholder=
"站位"
@
change=
"changePostion"
>
<el-select
v-model=
"searchFormData.postion"
placeholder=
"站位"
@
change=
"changePostion"
>
<el-option
<el-option
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
-->
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"班组:"
>
<el-form-item
label=
"班组:"
>
<el-select
v-model=
"searchFormData.group"
placeholder=
"班组"
@
change=
"changeGroup"
>
<el-select
v-model=
"searchFormData.group"
placeholder=
"班组"
@
change=
"changeGroup"
>
...
@@ -168,7 +168,7 @@
...
@@ -168,7 +168,7 @@
</div>
</div>
<el-image
v-if=
"item.router"
class=
"icon-author"
:src=
"getUrl()+'/file-download/' +item.router"
alt=
""
/>
<el-image
v-if=
"item.router"
class=
"icon-author"
:src=
"getUrl()+'/file-download/' +item.router"
alt=
""
/>
<img
v-else
class=
"icon-author2"
src=
"/icons/author.png"
alt=
""
>
<img
v-else
class=
"icon-author2"
src=
"/icons/author.png"
alt=
""
>
<div
class=
"name"
>
<div
v-show=
"item.dxUserInfo"
class=
"name"
>
{{
item
.
dxUserInfo
.
name
}}
{{
item
.
dxUserInfo
.
name
}}
</div>
</div>
</div>
</div>
...
@@ -367,8 +367,8 @@ export default {
...
@@ -367,8 +367,8 @@ export default {
},
},
created
()
{
created
()
{
this
.
getStories
()
this
.
getStories
()
this
.
getStation
()
//
this.getStation()
//
this.getGroup()
this
.
getGroup
()
},
},
// mounted() {
// mounted() {
// window.addEventListener('scroll', this.handleScroll)
// window.addEventListener('scroll', this.handleScroll)
...
@@ -448,11 +448,11 @@ export default {
...
@@ -448,11 +448,11 @@ export default {
'children'
:
[
'children'
:
[
{
{
'items'
:
[
'items'
:
[
{
//
{
'fieldName'
:
'extStandPositionId'
,
//
'fieldName': 'extStandPositionId',
'operator'
:
'EQ'
,
//
'operator': 'EQ',
'value'
:
this
.
searchFormData
.
postion
//
'value': this.searchFormData.postion
},
//
},
{
{
'fieldName'
:
'extProcessSkillUsers.dxUserInfoId'
,
'fieldName'
:
'extProcessSkillUsers.dxUserInfoId'
,
'operator'
:
'EQ'
,
'operator'
:
'EQ'
,
...
@@ -480,7 +480,9 @@ export default {
...
@@ -480,7 +480,9 @@ export default {
'items'
:
[],
'items'
:
[],
'operator'
:
'AND'
'operator'
:
'AND'
},
},
'openProps'
:
[],
'openProps'
:
[{
'name'
:
'extStandPosition'
}],
'sortItem'
:
[
'sortItem'
:
[
{
{
'fieldName'
:
'modifyTime'
,
'fieldName'
:
'modifyTime'
,
...
@@ -494,7 +496,7 @@ export default {
...
@@ -494,7 +496,7 @@ export default {
this
.
groupList
=
res
.
items
.
content
.
map
(
row
=>
{
this
.
groupList
=
res
.
items
.
content
.
map
(
row
=>
{
return
{
return
{
value
:
row
.
id
,
value
:
row
.
id
,
label
:
row
.
resName
label
:
row
.
resName
+
'('
+
row
.
extStandPosition
.
extcode
+
'站位)'
}
}
})
})
this
.
$set
(
this
.
searchFormData
,
'group'
,
this
.
groupList
[
0
].
value
)
this
.
$set
(
this
.
searchFormData
,
'group'
,
this
.
groupList
[
0
].
value
)
...
...
applications/dee-mes/src/views/assemblyPlanManagement/instructionsIssued/components/stationPlanList.vue
View file @
0b0bd949
...
@@ -417,7 +417,7 @@ export default {
...
@@ -417,7 +417,7 @@ export default {
}
}
post
(
`ExtProcessPlan/queryByPosition`
,
params
)
post
(
`ExtProcessPlan/queryByPosition`
,
params
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
res
.
items
.
push
({
res
.
items
.
unshift
({
positionId
:
node
.
data
.
id
,
positionId
:
node
.
data
.
id
,
type
:
'cooperate'
,
type
:
'cooperate'
,
serialNumber
:
''
,
serialNumber
:
''
,
...
...
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