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
67991405
Commit
67991405
authored
Sep 09, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报废领用申领数量校验修改
parent
4707b520
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
index.vue
...teComponents/components/AddOutStorageUseDetails/index.vue
+5
-0
index.vue
.../src/privateComponents/components/EditReqAmount/index.vue
+10
-0
No files found.
applications/dee-mes/src/privateComponents/components/AddOutStorageUseDetails/index.vue
View file @
67991405
...
...
@@ -44,6 +44,11 @@ export default {
componentName
:
'领用出库明细'
,
name
:
'AddOutStorageUseDetail'
,
components
:
{
AddOutStorageUseDetailDialog
,
AdjustOccupyCom
},
provide
()
{
// 用于报废领用申领数量编辑校验
return
{
useRequestType
:
this
.
basicData
.
useRequestType
}
},
props
:
{
basicData
:
{
type
:
Object
,
...
...
applications/dee-mes/src/privateComponents/components/EditReqAmount/index.vue
View file @
67991405
...
...
@@ -29,6 +29,13 @@ export default {
default
:
0
}
},
inject
:
{
'useRequestType'
:
{
default
:
()
=>
{
return
{
useRequestType
:
''
}
}
}
},
data
()
{
return
{
reqAmount
:
0
,
...
...
@@ -54,6 +61,9 @@ export default {
},
methods
:
{
handleChange
()
{
if
(
this
.
useRequestType
===
'scrapUse'
&&
this
.
form
.
extSupportingItemVO
&&
this
.
reqAmount
>
this
.
form
.
extSupportingItemVO
.
reqAmount
)
{
return
this
.
$utils
.
showMessageWarning
(
'当前物料可申领数量不足!'
)
}
this
.
$emit
(
'input'
,
this
.
reqAmount
)
if
(
this
.
form
.
id
)
{
this
.
changeAmount
()
...
...
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