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
9c7c6dc6
Commit
9c7c6dc6
authored
Oct 18, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退库入库字段修改
parent
3ea85d34
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
AddInStorageBackItemDialog.vue
...StorageBackItem/components/AddInStorageBackItemDialog.vue
+2
-2
index.vue
...ivateComponents/components/AddInStorageBackItem/index.vue
+12
-12
No files found.
applications/dee-mes/src/privateComponents/components/AddInStorageBackItem/components/AddInStorageBackItemDialog.vue
View file @
9c7c6dc6
...
...
@@ -95,8 +95,8 @@ export default {
'extMaterialId'
:
inventoryData
.
extMaterialId
,
'testNo'
:
inventoryData
.
testNo
,
'suppname'
:
inventoryData
.
suppname
,
'
backItem
Id'
:
this
.
selection
.
id
,
'
backItem
IdType'
:
this
.
selection
.
subTypeName
,
'
outStorage
Id'
:
this
.
selection
.
id
,
'
outStorage
IdType'
:
this
.
selection
.
subTypeName
,
'backAmount'
:
this
.
selection
.
backAmount
||
0
,
'backedAmount'
:
this
.
selection
.
backedAmount
||
0
,
'scrapCount'
:
this
.
selection
.
scrapCount
||
0
,
...
...
applications/dee-mes/src/privateComponents/components/AddInStorageBackItem/index.vue
View file @
9c7c6dc6
...
...
@@ -118,17 +118,17 @@ export default {
if
(
val
&&
val
.
id
)
{
if
(
this
.
basicData
.
inStorageRequestItems
)
{
this
.
tableData
=
this
.
basicData
.
inStorageRequestItems
.
map
(
item
=>
{
if
(
item
.
backItem
)
{
item
.
backAmount
=
item
.
backItem
.
backAmount
item
.
backedAmount
=
item
.
backItem
.
backedAmount
item
.
outsideAmount
=
item
.
backItem
.
outsideAmount
item
.
scrapCount
=
item
.
backItem
.
scrapCount
if
(
item
.
backItem
.
inventory
)
{
item
.
testNo
=
item
.
backItem
.
inventory
.
testNo
item
.
suppname
=
item
.
backItem
.
inventory
.
suppname
if
(
item
.
outStorage
)
{
item
.
backAmount
=
item
.
outStorage
.
backAmount
item
.
backedAmount
=
item
.
outStorage
.
backedAmount
item
.
outsideAmount
=
item
.
outStorage
.
outsideAmount
item
.
scrapCount
=
item
.
outStorage
.
scrapCount
if
(
item
.
outStorage
.
inventory
)
{
item
.
testNo
=
item
.
outStorage
.
inventory
.
testNo
item
.
suppname
=
item
.
outStorage
.
inventory
.
suppname
}
if
(
item
.
backItem
.
jobOrder
&&
item
.
backItem
.
jobOrder
.
outStorageRequest
)
{
item
.
reqNo
=
item
.
backItem
.
jobOrder
.
outStorageRequest
.
reqNo
||
''
if
(
item
.
outStorage
.
jobOrder
&&
item
.
outStorage
.
jobOrder
.
outStorageRequest
)
{
item
.
reqNo
=
item
.
outStorage
.
jobOrder
.
outStorageRequest
.
reqNo
||
''
}
}
return
item
...
...
@@ -187,7 +187,7 @@ export default {
type
:
'success'
,
message
:
'删除成功!'
})
this
.
tableData
=
this
.
tableData
.
filter
(
item
=>
!
this
.
selectionRows
.
map
(
item
=>
item
.
backItemId
).
includes
(
item
.
backItem
Id
))
this
.
tableData
=
this
.
tableData
.
filter
(
item
=>
!
this
.
selectionRows
.
map
(
item
=>
item
.
outStorageId
).
includes
(
item
.
outStorage
Id
))
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
})
...
...
@@ -201,7 +201,7 @@ export default {
submitEvent
({
formData
,
addContinue
})
{
const
onlyFlag
=
this
.
tableData
.
find
(
item
=>
item
.
reqNo
!==
formData
[
0
].
reqNo
)
if
(
onlyFlag
)
return
this
.
$utils
.
showMessageWarning
(
'只能添加同一单据下的数据,请重新选择!'
)
const
extMaterialIds
=
this
.
tableData
.
map
(
item
=>
item
.
backItemId
).
includes
(
formData
[
0
].
backItem
Id
)
const
extMaterialIds
=
this
.
tableData
.
map
(
item
=>
item
.
outStorageId
).
includes
(
formData
[
0
].
outStorage
Id
)
if
(
extMaterialIds
)
return
this
.
$utils
.
showMessageWarning
(
'相同数据不能重复添加,请重新选择!'
)
this
.
tableData
.
push
(...
formData
)
this
.
dialogShow
=
addContinue
||
false
...
...
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