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
b591e301
Commit
b591e301
authored
Nov 13, 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
1dc57e4b
92893391
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
3 deletions
+17
-3
index.vue
...nts/components/GenerateCreateOrproductionButton/index.vue
+0
-1
index.vue
...ponents/components/InStorageMoveWarehouseSelect/index.vue
+7
-0
addForm.vue
...ponents/MaterialReferenceLinkTable/components/addForm.vue
+1
-0
index.vue
...omponents/components/MaterialReferenceLinkTable/index.vue
+9
-2
No files found.
applications/dee-mes/src/privateComponents/components/GenerateCreateOrproductionButton/index.vue
View file @
b591e301
...
...
@@ -67,7 +67,6 @@ export default {
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
})
this
.
$emit
(
'cancel'
)
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
})
...
...
applications/dee-mes/src/privateComponents/components/InStorageMoveWarehouseSelect/index.vue
View file @
b591e301
...
...
@@ -122,6 +122,13 @@ export default {
this
.
options
=
[]
})
},
beforeDestroy
()
{
// 在组件销毁之前做一些清理工作
// 清除定时器、取消订阅等
sessionStorage
.
setItem
(
'InStorageMoveform-InStorageMoveTable'
,
''
)
this
.
selVal
=
null
this
.
options
=
[]
},
methods
:
{
changeVal
()
{
this
.
$emit
(
'input'
,
this
.
selVal
)
...
...
applications/dee-mes/src/privateComponents/components/MaterialReferenceLinkTable/components/addForm.vue
View file @
b591e301
...
...
@@ -306,6 +306,7 @@ export default {
this
.
$api
.
recursion
(
'MaterialReferenceLink'
,
form
).
then
(
res
=>
{
this
.
cancelEvent
()
this
.
$utils
.
showMessageSuccess
(
'保存成功'
)
this
.
$emit
(
'success'
)
})
},
cancelEvent
()
{
...
...
applications/dee-mes/src/privateComponents/components/MaterialReferenceLinkTable/index.vue
View file @
b591e301
...
...
@@ -19,7 +19,12 @@
:form-btn-position=
"'center'"
@
on-submit=
"initData(searchForm)"
/>
-->
<!-- :show-fresh="true"
:show-query-form="true"
:show-table-config="true"
:show-table-query="true" -->
<dee-up-table
ref=
"upTable"
:columns=
"tableColumns"
:data=
"tableData"
:index-row=
"
{ title: '序号', width: '60', align: 'center', fixed: true }"
...
...
@@ -32,7 +37,7 @@
<dee-tools
slot=
"header"
:tools=
"tools"
mode=
"normal"
:collapse=
"false"
/>
</dee-up-table>
<dee-dialog
width=
"70%"
title=
"新增"
:visible
.
sync=
"addDialogVisible"
@
on-cancel=
"addCancel"
>
<add-form
ref=
"addForm"
@
cancel=
"addCancel"
/>
<add-form
ref=
"addForm"
@
cancel=
"addCancel"
@
success=
"successFun"
/>
</dee-dialog>
</div>
</
template
>
...
...
@@ -173,7 +178,6 @@ export default {
},
methods
:
{
initData
(
searchForm
)
{
console
.
log
(
searchForm
)
// 初始化数据
const
params
=
{
'pageFrom'
:
this
.
pagination
.
currentPage
,
...
...
@@ -205,6 +209,9 @@ export default {
},
addCancel
(
pageNum
)
{
this
.
addDialogVisible
=
false
},
successFun
()
{
this
.
initData
()
}
}
}
...
...
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