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
92893391
Commit
92893391
authored
Nov 10, 2023
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基础数据问题修改
parent
12830ccc
Show 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 @
92893391
...
@@ -67,7 +67,6 @@ export default {
...
@@ -67,7 +67,6 @@ export default {
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
console
.
log
(
err
)
})
})
this
.
$emit
(
'cancel'
)
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
console
.
log
(
err
)
})
})
...
...
applications/dee-mes/src/privateComponents/components/InStorageMoveWarehouseSelect/index.vue
View file @
92893391
...
@@ -122,6 +122,13 @@ export default {
...
@@ -122,6 +122,13 @@ export default {
this
.
options
=
[]
this
.
options
=
[]
})
})
},
},
beforeDestroy
()
{
// 在组件销毁之前做一些清理工作
// 清除定时器、取消订阅等
sessionStorage
.
setItem
(
'InStorageMoveform-InStorageMoveTable'
,
''
)
this
.
selVal
=
null
this
.
options
=
[]
},
methods
:
{
methods
:
{
changeVal
()
{
changeVal
()
{
this
.
$emit
(
'input'
,
this
.
selVal
)
this
.
$emit
(
'input'
,
this
.
selVal
)
...
...
applications/dee-mes/src/privateComponents/components/MaterialReferenceLinkTable/components/addForm.vue
View file @
92893391
...
@@ -306,6 +306,7 @@ export default {
...
@@ -306,6 +306,7 @@ export default {
this
.
$api
.
recursion
(
'MaterialReferenceLink'
,
form
).
then
(
res
=>
{
this
.
$api
.
recursion
(
'MaterialReferenceLink'
,
form
).
then
(
res
=>
{
this
.
cancelEvent
()
this
.
cancelEvent
()
this
.
$utils
.
showMessageSuccess
(
'保存成功'
)
this
.
$utils
.
showMessageSuccess
(
'保存成功'
)
this
.
$emit
(
'success'
)
})
})
},
},
cancelEvent
()
{
cancelEvent
()
{
...
...
applications/dee-mes/src/privateComponents/components/MaterialReferenceLinkTable/index.vue
View file @
92893391
...
@@ -19,7 +19,12 @@
...
@@ -19,7 +19,12 @@
:form-btn-position=
"'center'"
:form-btn-position=
"'center'"
@
on-submit=
"initData(searchForm)"
@
on-submit=
"initData(searchForm)"
/>
-->
/>
-->
<!-- :show-fresh="true"
:show-query-form="true"
:show-table-config="true"
:show-table-query="true" -->
<dee-up-table
<dee-up-table
ref=
"upTable"
:columns=
"tableColumns"
:columns=
"tableColumns"
:data=
"tableData"
:data=
"tableData"
:index-row=
"
{ title: '序号', width: '60', align: 'center', fixed: true }"
:index-row=
"
{ title: '序号', width: '60', align: 'center', fixed: true }"
...
@@ -32,7 +37,7 @@
...
@@ -32,7 +37,7 @@
<dee-tools
slot=
"header"
:tools=
"tools"
mode=
"normal"
:collapse=
"false"
/>
<dee-tools
slot=
"header"
:tools=
"tools"
mode=
"normal"
:collapse=
"false"
/>
</dee-up-table>
</dee-up-table>
<dee-dialog
width=
"70%"
title=
"新增"
:visible
.
sync=
"addDialogVisible"
@
on-cancel=
"addCancel"
>
<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>
</dee-dialog>
</div>
</div>
</
template
>
</
template
>
...
@@ -173,7 +178,6 @@ export default {
...
@@ -173,7 +178,6 @@ export default {
},
},
methods
:
{
methods
:
{
initData
(
searchForm
)
{
initData
(
searchForm
)
{
console
.
log
(
searchForm
)
// 初始化数据
// 初始化数据
const
params
=
{
const
params
=
{
'pageFrom'
:
this
.
pagination
.
currentPage
,
'pageFrom'
:
this
.
pagination
.
currentPage
,
...
@@ -205,6 +209,9 @@ export default {
...
@@ -205,6 +209,9 @@ export default {
},
},
addCancel
(
pageNum
)
{
addCancel
(
pageNum
)
{
this
.
addDialogVisible
=
false
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