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
e5843857
Commit
e5843857
authored
Oct 18, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://94.191.100.41/tfmom/tf-mom-web
into dev
parents
28e60feb
5ec24008
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
25 deletions
+47
-25
header.vue
...s/src/views/taskExecution/components/LacClaims/header.vue
+47
-25
No files found.
applications/dee-mes/src/views/taskExecution/components/LacClaims/header.vue
View file @
e5843857
...
...
@@ -41,7 +41,7 @@
align=
"center"
/>
<el-table-column
prop=
"
dxProcess
Material.resCode"
prop=
"
ext
Material.resCode"
align=
"center"
label=
"物料编码"
:width=
"120"
...
...
@@ -49,7 +49,7 @@
show-overflow-tooltip
/>
<el-table-column
prop=
"
dxProcess
Material.modelNo"
prop=
"
ext
Material.modelNo"
align=
"center"
label=
"牌号/规格/GPM号"
:width=
"200"
...
...
@@ -57,7 +57,7 @@
show-overflow-tooltip
/>
<el-table-column
prop=
"
dxProcess
Material.resName"
prop=
"
ext
Material.resName"
align=
"center"
label=
"材料名称"
:min-width=
"120"
...
...
@@ -65,14 +65,14 @@
show-overflow-tooltip
/>
<el-table-column
prop=
"
dxProcess
Material.resType2.typeName"
prop=
"
ext
Material.resType2.typeName"
align=
"center"
label=
"类型"
:width=
"90"
sortable
/>
<el-table-column
prop=
"
dxProcessMaterial.u
nit.unitCode"
prop=
"
extMaterial.extU
nit.unitCode"
align=
"center"
label=
"单位"
:width=
"90"
...
...
@@ -173,23 +173,46 @@ export default {
this
.
loading
=
true
this
.
tableData
=
[]
const
params
=
{
pageFrom
:
this
.
tablePagination
.
currentPage
,
pageSize
:
this
.
tablePagination
.
pageSize
,
indices
:
[
'StorageRequestItem'
],
searchItems
:
{
items
:
[
'pageFrom'
:
this
.
tablePagination
.
currentPage
,
'pageSize'
:
this
.
tablePagination
.
pageSize
,
'searchItems'
:
{
'children'
:
[],
'items'
:
[
{
fieldName
:
'aoId'
,
operator
:
'EQ'
,
value
:
this
.
$parent
.
$parent
.
$parent
.
$parent
.
headerData
.
aoId
'fieldName'
:
'extSupporting.extProcessPlan.id'
,
'operator'
:
'EQ'
,
// 'value': 249231383474000
'value'
:
this
.
$parent
.
$parent
.
$parent
.
$parent
.
headerData
.
aoId
}
],
operator
:
'AND'
}
'operator'
:
'AND'
},
'openProps'
:
[
{
'name'
:
'inStorageRequestItems'
},
{
'name'
:
'extMaterial'
,
'openProps'
:
[
{
'name'
:
'resType2'
},
{
'name'
:
'extUnit'
}
]
}
],
'sortItem'
:
[
{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}
]
}
// 发送请求
post
(
'/
StorageRequestItem/getStorageReqItemByAoId
'
,
'/
ExtSupportingItem/findSupportingItemMaterialByAO
'
,
params
)
.
then
((
res
)
=>
{
...
...
@@ -238,6 +261,9 @@ export default {
case
' invalid'
:
label
=
'已失效'
break
case
null
:
label
=
'未申请'
break
default
:
label
=
''
}
...
...
@@ -245,7 +271,7 @@ export default {
},
rowClick
(
row
)
{
this
.
rowData
=
row
this
.
$parent
.
$parent
.
$parent
.
$refs
.
footer
.
getTableData
(
this
.
rowData
.
id
)
//
this.$parent.$parent.$parent.$refs.footer.getTableData(this.rowData.id)
},
/**
* 胶漆使用申请
...
...
@@ -253,10 +279,8 @@ export default {
applyStorageReqItem
(
row
)
{
var
that
=
this
post
(
'/StorageRequestItem/applyStorageReqItem'
,
{
id
:
that
.
rowData
.
id
// 问题id
}
`/ExtSupportingItem/deal/supportingItem?extSupportingItemVOId=
${
that
.
rowData
.
id
}
&applyState=true`
,
{}
)
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
...
...
@@ -283,10 +307,8 @@ export default {
cancelApplyStorageReqItem
()
{
var
that
=
this
post
(
'/StorageRequestItem/cancelApplyStorageReqItem'
,
{
id
:
that
.
rowData
.
id
// 问题id
}
`/ExtSupportingItem/deal/supportingItem?extSupportingItemVOId=
${
that
.
rowData
.
id
}
&applyState=false`
,
{}
)
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
...
...
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