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
Show 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 {
...
@@ -86,8 +86,11 @@ export default {
'openProps'
:
[
'openProps'
:
[
{
{
'name'
:
'jobOrder'
,
'name'
:
'jobOrder'
,
'pageFrom'
:
1
,
'openProps'
:
[
'pageSize'
:
9999
{
'name'
:
'inventoryJobResponses'
}
]
}
}
],
],
'sortItem'
:
[
'sortItem'
:
[
...
@@ -105,7 +108,12 @@ export default {
...
@@ -105,7 +108,12 @@ export default {
...
jobOrder
,
...
jobOrder
,
...
this
.
basicData
...
this
.
basicData
}
}
const
responseInTest
=
this
.
$utils
.
getTargetJobResponses
(
jobOrder
,
'JobResponseInTest'
)
if
(
responseInTest
&&
responseInTest
.
billType
)
{
this
.
initData
(
responseInTest
.
billType
)
}
else
{
this
.
getInventoryRequest
(
jobOrder
.
inventoryReqId
)
this
.
getInventoryRequest
(
jobOrder
.
inventoryReqId
)
}
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
console
.
log
(
err
)
})
})
...
@@ -114,13 +122,8 @@ export default {
...
@@ -114,13 +122,8 @@ export default {
if
(
!
id
)
return
if
(
!
id
)
return
get
(
`InventoryRequest/
${
id
}
`
).
then
(
res
=>
{
get
(
`InventoryRequest/
${
id
}
`
).
then
(
res
=>
{
const
type
=
res
.
items
.
billType
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
(
'未查询到验收单信息!'
)
if
(
!
type
)
return
this
.
$utils
.
showMessageWarning
(
'未查询到验收单信息!'
)
this
.
initData
(
type
)
this
.
initData
(
type
)
}
}).
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