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
17d950b5
Commit
17d950b5
authored
Oct 28, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料领用发放增加关闭按钮;操作工界面增加代用标识
parent
623b2c3c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
1 deletion
+59
-1
footer.vue
...views/taskExecution/components/ConfirmMaterial/footer.vue
+56
-1
index.vue
.../views/taskReception/components/taskReceiveCard/index.vue
+3
-0
No files found.
applications/dee-mes/src/views/taskExecution/components/ConfirmMaterial/footer.vue
View file @
17d950b5
...
@@ -68,7 +68,23 @@
...
@@ -68,7 +68,23 @@
sortable
sortable
show-overflow-tooltip
show-overflow-tooltip
/>
/>
<el-table-column
v-if=
"flag"
:width=
"80"
label=
"操作"
align=
"center"
>
<el-table-column
v-if=
"flag"
prop=
"isClosure"
label=
"是否关闭"
align=
"center"
:min-width=
"100"
sortable
show-overflow-tooltip
:formatter=
"(row, column, cellValue, index)=>{
if(cellValue){
return '是'
}else{
return '否'
}
}"
/>
<el-table-column
v-if=
"flag"
:width=
"200"
label=
"操作"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
:disabled=
"scope.row.scanCodeRecordsState==='未确认'"
:disabled=
"scope.row.scanCodeRecordsState==='未确认'"
...
@@ -76,6 +92,12 @@
...
@@ -76,6 +92,12 @@
type=
"danger"
type=
"danger"
@
click=
"deleteRow(scope.row)"
@
click=
"deleteRow(scope.row)"
>
删除
</el-button>
>
删除
</el-button>
<el-button
:disabled=
"scope.row.scanCodeRecordsState==='已确认'||scope.row.isClosure"
size=
"mini"
type=
"info"
@
click=
"closeData(scope.row)"
>
关闭
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -418,6 +440,39 @@ export default {
...
@@ -418,6 +440,39 @@ export default {
this
.
$parent
.
$parent
.
$parent
.
$refs
.
header
.
init
()
this
.
$parent
.
$parent
.
$parent
.
$refs
.
header
.
init
()
})
})
})
})
},
closeData
(
row
)
{
this
.
$confirm
(
'你是否确定关闭当前数据项?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
const
params
=
{
'id'
:
row
.
id
,
'operator'
:
'MODIFY'
,
'isClosure'
:
true
}
post
(
`/ExtSupportingItem/recursion`
,
params
)
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
this
.
init
()
this
.
$message
({
type
:
'success'
,
message
:
'关闭成功!'
})
}
else
{
this
.
$message
({
type
:
'error'
,
message
:
'关闭失败!'
})
}
})
.
catch
((
err
)
=>
console
.
error
(
err
))
.
finally
(()
=>
{
this
.
loading
=
false
this
.
$parent
.
$parent
.
$parent
.
$refs
.
header
.
init
()
})
})
}
}
}
}
}
}
...
...
applications/dee-mes/src/views/taskReception/components/taskReceiveCard/index.vue
View file @
17d950b5
...
@@ -74,6 +74,9 @@
...
@@ -74,6 +74,9 @@
<div
v-show=
"item.status === 'Paused'"
>
<div
v-show=
"item.status === 'Paused'"
>
<span>
暂停
</span>
<span>
暂停
</span>
</div>
</div>
<div
v-show=
"item.isDaiLio"
>
<span>
代用
</span>
</div>
</div>
</div>
</div>
</div>
<div
class=
"bottom-content"
>
<div
class=
"bottom-content"
>
...
...
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