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
4f60e698
Commit
4f60e698
authored
Jul 25, 2023
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入库下载pdf修改
parent
a15c7b62
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
16 deletions
+17
-16
equipmenCheckNo.vue
...ts/JobResponseInTestProcess/component/equipmenCheckNo.vue
+1
-1
materialCheckNo.vue
...ts/JobResponseInTestProcess/component/materialCheckNo.vue
+15
-14
outSourceCheckNo.vue
...s/JobResponseInTestProcess/component/outSourceCheckNo.vue
+1
-1
No files found.
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/equipmenCheckNo.vue
View file @
4f60e698
...
@@ -345,7 +345,7 @@ export default {
...
@@ -345,7 +345,7 @@ export default {
})
})
},
},
savePDF
()
{
savePDF
()
{
this
.
$api
.
apiDownloadFile
(
`JobResponseInTest/download/pdf?id=
${
this
.
basic
Data
.
id
}
&billType=AirEquipment`
)
this
.
$api
.
apiDownloadFile
(
`JobResponseInTest/download/pdf?id=
${
this
.
jobResponseInTest
Data
.
id
}
&billType=AirEquipment`
)
}
}
}
}
}
}
...
...
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/materialCheckNo.vue
View file @
4f60e698
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
<!-- <el-input v-model="form.isPerformRetest" :disabled="true" /> -->
<!-- <el-input v-model="form.isPerformRetest" :disabled="true" /> -->
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
v-if=
"
form.isPerformRetest
"
:span=
"24"
>
<el-col
v-if=
"
chemicalDisplay
"
:span=
"24"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<!-- <span>报告单号:</span> -->
<!-- <span>报告单号:</span> -->
<el-form-item
label=
"报告单号"
label-width=
"130px"
>
<el-form-item
label=
"报告单号"
label-width=
"130px"
>
...
@@ -748,7 +748,8 @@ export default {
...
@@ -748,7 +748,8 @@ export default {
}
}
}
}
}
}
]
],
chemicalDisplay
:
false
}
}
},
},
computed
:
{},
computed
:
{},
...
@@ -796,9 +797,7 @@ export default {
...
@@ -796,9 +797,7 @@ export default {
)
)
this
.
jobTestCheckItems
=
this
.
form
.
jobTestCheckItems
this
.
jobTestCheckItems
=
this
.
form
.
jobTestCheckItems
}
}
if
(
this
.
form
.
isPerformRetest
)
{
this
.
getChemicalData
(
this
.
basicData
.
id
)
this
.
getChemicalData
(
this
.
basicData
.
id
)
}
},
},
methods
:
{
methods
:
{
getChemicalData
(
id
)
{
getChemicalData
(
id
)
{
...
@@ -848,8 +847,9 @@ export default {
...
@@ -848,8 +847,9 @@ export default {
]
]
}
}
post
(
'JobResponseInStorage/search'
,
param
).
then
(
res
=>
{
post
(
'JobResponseInStorage/search'
,
param
).
then
(
res
=>
{
// this.data = res.items.content[0]
const
data
=
res
.
items
.
content
[
0
]
const
data
=
res
.
items
.
content
[
0
]
if
(
data
.
reportNo
)
{
this
.
chemicalDisplay
=
true
this
.
form
=
{
this
.
form
=
{
...
this
.
form
,
...
this
.
form
,
reportNo
:
data
.
reportNo
,
reportNo
:
data
.
reportNo
,
...
@@ -858,6 +858,7 @@ export default {
...
@@ -858,6 +858,7 @@ export default {
experimentAmount
:
data
.
experimentAmount
,
experimentAmount
:
data
.
experimentAmount
,
chemicalObjFileLinks
:
data
.
objFileLinks
chemicalObjFileLinks
:
data
.
objFileLinks
}
}
}
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
console
.
log
(
err
)
})
})
...
@@ -874,7 +875,7 @@ export default {
...
@@ -874,7 +875,7 @@ export default {
// })
// })
// },
// },
savePDF
()
{
savePDF
()
{
this
.
$api
.
apiDownloadFile
(
`JobResponseInTest/download/pdf?id=
${
this
.
basic
Data
.
id
}
&billType=Material`
)
this
.
$api
.
apiDownloadFile
(
`JobResponseInTest/download/pdf?id=
${
this
.
jobResponseInTest
Data
.
id
}
&billType=Material`
)
},
},
viewDialog
()
{
},
viewDialog
()
{
},
onSubmit
()
{
onSubmit
()
{
...
...
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/outSourceCheckNo.vue
View file @
4f60e698
...
@@ -317,7 +317,7 @@ export default {
...
@@ -317,7 +317,7 @@ export default {
})
})
},
},
savePDF
()
{
savePDF
()
{
this
.
$api
.
apiDownloadFile
(
`JobResponseInTest/download/pdf?id=
${
this
.
basic
Data
.
id
}
&billType=OutSource`
)
this
.
$api
.
apiDownloadFile
(
`JobResponseInTest/download/pdf?id=
${
this
.
jobResponseInTest
Data
.
id
}
&billType=OutSource`
)
}
}
}
}
}
}
...
...
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