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
29ec0f73
Commit
29ec0f73
authored
Oct 09, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
领用及供外出库编辑时删除数据后重新添加占用,调整占用时拿不到库房
parent
68cfd60d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
6 deletions
+11
-6
AddOutStorageUseDetailDialog.vue
...ageUseDetails/components/AddOutStorageUseDetailDialog.vue
+2
-1
index.vue
...teComponents/components/AddOutStorageUseDetails/index.vue
+6
-3
addOutStorageOfferDetailDialog.vue
...OfferDetail/components/addOutStorageOfferDetailDialog.vue
+2
-1
index.vue
...rc/privateComponents/components/adjustOccupyCom/index.vue
+1
-1
No files found.
applications/dee-mes/src/privateComponents/components/AddOutStorageUseDetails/components/AddOutStorageUseDetailDialog.vue
View file @
29ec0f73
...
@@ -108,7 +108,8 @@ export default {
...
@@ -108,7 +108,8 @@ export default {
// 'extSupportingItemIdType': this.selection.subTypeName,
// 'extSupportingItemIdType': this.selection.subTypeName,
'takeAmount'
:
this
.
selection
.
takeAmount
,
'takeAmount'
:
this
.
selection
.
takeAmount
,
'unableAmount'
:
this
.
selection
.
unableAmount
,
'unableAmount'
:
this
.
selection
.
unableAmount
,
'reqAmount'
:
this
.
applyForm
.
reqAmount
'reqAmount'
:
this
.
applyForm
.
reqAmount
,
'parExtWorkCenterName'
:
this
.
basicData
.
extWorkCenter
?
this
.
basicData
.
extWorkCenter
.
extname
:
''
// 用于编辑时删除数据后重新添加占用,调整占用时拿不到库房
}]
}]
if
(
typeName
===
'swapUse'
)
{
if
(
typeName
===
'swapUse'
)
{
data
[
0
].
extSupportingItemVO
=
this
.
selectDatas
[
0
].
extSupportingItemVO
data
[
0
].
extSupportingItemVO
=
this
.
selectDatas
[
0
].
extSupportingItemVO
...
...
applications/dee-mes/src/privateComponents/components/AddOutStorageUseDetails/index.vue
View file @
29ec0f73
...
@@ -116,12 +116,14 @@ export default {
...
@@ -116,12 +116,14 @@ export default {
if
(
val
&&
val
.
useRequestType
)
{
if
(
val
&&
val
.
useRequestType
)
{
this
.
$set
(
this
.
cmpOptions
,
'layKey'
,
`add_outStorageUseItem_
${
val
.
useRequestType
}
`
)
this
.
$set
(
this
.
cmpOptions
,
'layKey'
,
`add_outStorageUseItem_
${
val
.
useRequestType
}
`
)
}
}
if
(
val
&&
val
.
id
)
{
this
.
getDetailsData
(
val
.
id
)
}
}
}
}
}
},
},
mounted
()
{
if
(
this
.
basicData
&&
this
.
basicData
.
id
)
{
this
.
getDetailsData
(
this
.
basicData
.
id
)
}
},
created
()
{
created
()
{
this
.
$bus
.
$on
(
'swapUseData'
,
(
data
)
=>
{
this
.
$bus
.
$on
(
'swapUseData'
,
(
data
)
=>
{
if
(
data
&&
data
.
length
)
{
if
(
data
&&
data
.
length
)
{
...
@@ -281,6 +283,7 @@ export default {
...
@@ -281,6 +283,7 @@ export default {
})
})
})
})
this
.
tableData
=
tableData
this
.
tableData
=
tableData
this
.
$utils
.
showMessageSuccess
(
'占用成功!'
)
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
console
.
log
(
err
)
})
})
...
...
applications/dee-mes/src/privateComponents/components/OutStorageOfferDetail/components/addOutStorageOfferDetailDialog.vue
View file @
29ec0f73
...
@@ -82,7 +82,8 @@ export default {
...
@@ -82,7 +82,8 @@ export default {
// 'extSupportingItemIdType': this.selection.subTypeName,
// 'extSupportingItemIdType': this.selection.subTypeName,
'takeAmount'
:
this
.
selection
.
takeAmount
,
'takeAmount'
:
this
.
selection
.
takeAmount
,
'unableAmount'
:
this
.
selection
.
unableAmount
,
'unableAmount'
:
this
.
selection
.
unableAmount
,
'reqAmount'
:
this
.
applyForm
.
reqAmount
'reqAmount'
:
this
.
applyForm
.
reqAmount
,
'parExtWorkCenterName'
:
this
.
basicData
&&
this
.
basicData
.
extWorkCenter
?
this
.
basicData
.
extWorkCenter
.
extname
:
''
// 用于编辑时删除数据后重新添加占用,调整占用时拿不到库房
}
}
this
.
$emit
(
'submitEvent'
,
{
formData
:
data
,
addContinue
})
this
.
$emit
(
'submitEvent'
,
{
formData
:
data
,
addContinue
})
}
else
{
}
else
{
...
...
applications/dee-mes/src/privateComponents/components/adjustOccupyCom/index.vue
View file @
29ec0f73
...
@@ -108,7 +108,7 @@ export default {
...
@@ -108,7 +108,7 @@ export default {
const
id
=
this
.
selectDatas
[
0
]
?
this
.
selectDatas
[
0
].
id
:
this
.
basicData
.
id
||
''
const
id
=
this
.
selectDatas
[
0
]
?
this
.
selectDatas
[
0
].
id
:
this
.
basicData
.
id
||
''
if
(
!
param
.
includes
(
undefined
))
{
if
(
!
param
.
includes
(
undefined
))
{
post
(
'InStorageRequestItem/adjust/reTake?itemId='
+
id
,
param
).
then
(
res
=>
{
post
(
'InStorageRequestItem/adjust/reTake?itemId='
+
id
,
param
).
then
(
res
=>
{
this
.
$utils
.
showMessageSuccess
(
'占用成功!'
)
this
.
$utils
.
showMessageSuccess
(
'
调整
占用成功!'
)
this
.
refresh
()
this
.
refresh
()
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
console
.
log
(
err
)
...
...
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