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
d767f67b
Commit
d767f67b
authored
Jan 10, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单据类型修改为从检验响应上获取
parent
ca7a2d55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
index.vue
...eComponents/components/JobResponseInTestProcess/index.vue
+13
-10
No files found.
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/index.vue
View file @
d767f67b
...
...
@@ -86,8 +86,11 @@ export default {
'openProps'
:
[
{
'name'
:
'jobOrder'
,
'pageFrom'
:
1
,
'pageSize'
:
9999
'openProps'
:
[
{
'name'
:
'inventoryJobResponses'
}
]
}
],
'sortItem'
:
[
...
...
@@ -105,7 +108,12 @@ export default {
...
jobOrder
,
...
this
.
basicData
}
this
.
getInventoryRequest
(
jobOrder
.
inventoryReqId
)
const
responseInTest
=
this
.
$utils
.
getTargetJobResponses
(
jobOrder
,
'JobResponseInTest'
)
if
(
responseInTest
&&
responseInTest
.
billType
)
{
this
.
initData
(
responseInTest
.
billType
)
}
else
{
this
.
getInventoryRequest
(
jobOrder
.
inventoryReqId
)
}
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
})
...
...
@@ -114,13 +122,8 @@ export default {
if
(
!
id
)
return
get
(
`InventoryRequest/
${
id
}
`
).
then
(
res
=>
{
const
type
=
res
.
items
.
billType
if
(
!
type
&&
this
.
basicData
.
subTypeName
&&
this
.
basicData
.
subTypeName
.
includes
(
'BackItem'
))
{
const
findType
=
this
.
basicData
.
outStorage
.
inventory
.
jobResponse
.
jobOrder
.
inventoryReq
.
billType
this
.
initData
(
findType
)
}
else
{
if
(
!
type
)
return
this
.
$utils
.
showMessageWarning
(
'未查询到验收单信息!'
)
this
.
initData
(
type
)
}
if
(
!
type
)
return
this
.
$utils
.
showMessageWarning
(
'未查询到验收单信息!'
)
this
.
initData
(
type
)
}).
catch
((
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