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
2b729934
Commit
2b729934
authored
Sep 21, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购入库问题修改
parent
5ec31432
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
83 additions
and
39 deletions
+83
-39
storageDetailsCreateCom.vue
...arehousingNewOrEdit/component/storageDetailsCreateCom.vue
+78
-37
index.vue
...nents/components/PurchasingWarehousingNewOrEdit/index.vue
+5
-2
No files found.
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingNewOrEdit/component/storageDetailsCreateCom.vue
View file @
2b729934
This diff is collapsed.
Click to expand it.
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingNewOrEdit/index.vue
View file @
2b729934
...
@@ -289,7 +289,7 @@ export default {
...
@@ -289,7 +289,7 @@ export default {
num
:
1
,
num
:
1
,
childNum
:
1
,
childNum
:
1
,
columns
:
[
columns
:
[
{
title
:
'序号'
,
key
:
'parentIndex'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'序号'
,
minWidth
:
90
,
key
:
'parentIndex'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
{
title
:
'操作'
,
minWidth
:
120
,
align
:
'center'
,
component
:
{
title
:
'操作'
,
minWidth
:
120
,
align
:
'center'
,
component
:
{
name
:
'EditTableRow'
,
name
:
'EditTableRow'
,
...
@@ -349,6 +349,7 @@ export default {
...
@@ -349,6 +349,7 @@ export default {
type
:
'success'
,
type
:
'success'
,
message
:
'删除成功!'
message
:
'删除成功!'
})
})
this
.
treeTableNoArrange
(
this
.
tableData
)
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
console
.
log
(
err
)
})
})
...
@@ -743,7 +744,7 @@ export default {
...
@@ -743,7 +744,7 @@ export default {
this
.
addData
=
formData
this
.
addData
=
formData
const
tableDataItem
=
{
const
tableDataItem
=
{
...
formData
,
...
formData
,
children
:
[]
children
:
formData
.
isRoot
&&
formData
.
children
||
[]
}
}
// 根据父子关系添加数据
// 根据父子关系添加数据
if
(
tableDataItem
.
operateType
===
'ADD'
)
{
if
(
tableDataItem
.
operateType
===
'ADD'
)
{
...
@@ -795,6 +796,8 @@ export default {
...
@@ -795,6 +796,8 @@ export default {
})
})
}
}
})
})
const
isVirtualHasChild
=
tableData
.
find
(
item
=>
item
.
isVirtual
&&
(
!
item
.
children
||
!
item
.
children
.
length
))
if
(
isVirtualHasChild
)
return
this
.
$utils
.
showMessageWarning
(
'父件为虚拟件时,必须添加子件!'
)
const
param
=
{
const
param
=
{
'operator'
:
this
.
operator
,
'operator'
:
this
.
operator
,
'billType'
:
this
.
form
.
billType
,
'billType'
:
this
.
form
.
billType
,
...
...
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