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
a1922817
Commit
a1922817
authored
Oct 30, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退库管理试飞退库修改
parent
8303e884
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
ERPAddInStorageBackItemDialog.vue
...rageBackItem/components/ERPAddInStorageBackItemDialog.vue
+10
-5
No files found.
applications/dee-mes/src/privateComponents/components/ERP_AddInStorageBackItem/components/ERPAddInStorageBackItemDialog.vue
View file @
a1922817
...
...
@@ -111,8 +111,13 @@ export default {
responseName
=
'erpInventory'
}
else
if
(
this
.
basicData
.
subTypeName
===
'RetirementTestFlyBack'
)
{
// 试飞退库
maxAmount
=
this
.
selection
.
outsideAmount
inventoryData
=
this
.
selection
.
inventory
inventoryData
=
this
.
selection
.
erpInventory
if
(
this
.
selection
.
subTypeName
===
'JobResponseSorting'
)
{
responseName
=
'jobResponseSorting'
}
else
{
// 历史配套数据
responseName
=
'oldOutStorage'
delete
this
.
selection
.
erpInventory
}
}
if
(
this
.
applyForm
.
reqAmount
>
maxAmount
)
return
this
.
$utils
.
showMessageWarning
(
`当前选中物料的退库数量不足!`
)
const
data
=
[{
...
...
@@ -120,15 +125,15 @@ export default {
'material'
:
inventoryData
.
extMaterial
,
'materialId'
:
inventoryData
.
extMaterialId
,
'testNo'
:
inventoryData
.
testNo
,
'batchNo'
:
this
.
basicData
.
subTypeName
===
'RetirementTestFlyBack'
?
inventoryData
.
lotNo
:
this
.
selection
.
batchNumber
,
'serialNo'
:
this
.
basicData
.
subTypeName
===
'RetirementTestFlyBack'
?
inventoryData
.
serno
:
this
.
selection
.
serialNo
,
'batchNo'
:
this
.
selection
.
batchNumber
,
'serialNo'
:
this
.
selection
.
serialNo
,
'uniqueId'
:
this
.
selection
.
id
,
'backAmount'
:
this
.
selection
.
backAmount
||
0
,
'scrapCount'
:
this
.
selection
.
scrapCount
||
0
,
'backedAmount'
:
this
.
selection
.
backedAmount
||
0
,
'outsideAmount'
:
this
.
selection
.
outsideAmount
||
0
,
'reqAmount'
:
this
.
applyForm
.
reqAmount
,
'unit'
:
this
.
basicData
.
subTypeName
===
'RetirementTestFlyBack'
?
inventoryData
.
extUnit
.
unitName
:
this
.
selection
.
unit
,
'unit'
:
this
.
selection
.
unit
,
'reqNo'
:
this
.
selection
.
reqNo
||
''
,
'aoPlan'
:
aoNo
,
'mdsItemCode'
:
inventoryData
.
extMaterial
.
resCode
...
...
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