Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
efd4f629
Commit
efd4f629
authored
May 06, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
processview
parent
e5364661
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
251 additions
and
0 deletions
+251
-0
processview.vue
pages/technology/processview.vue
+251
-0
No files found.
pages/technology/processview.vue
0 → 100644
View file @
efd4f629
<
template
>
<div>
<div
class=
"out"
>
<Row
class=
"table_row"
style=
"width:100%"
>
<Button
class=
"fr"
v-if=
"isoutpdf"
type=
"primary"
@
click=
"$u.outPdf('.outP','工艺规程')"
>
导出pdf
</Button>
</Row>
</div>
<div
class=
"outP"
>
<div
class=
"table_box part01"
style=
"min-height:400px"
>
<Row
class=
"table_row"
style=
"width:100%"
>
<Col
span=
"3"
>
<div
class=
"row_label"
>
工艺文件编号
</div>
</Col>
<Col
span=
"9"
>
<div
class=
"iview_cont"
>
<label
v-text=
"formValidate.code"
></label>
</div>
</Col>
<Col
span=
"5"
>
<div
class=
"row_label box"
></div>
</Col>
<Col
span=
"3"
>
<div
class=
"row_label"
>
任务类型
</div>
</Col>
<Col
span=
"4"
>
<div
class=
"iview_cont border_none"
>
<label
v-text=
"formValidate.task_type_str"
></label>
</div>
</Col>
</Row>
<Row
class=
"table_row"
>
<Col
span=
"3"
>
<div
class=
"row_label"
>
工艺文件版本
</div>
</Col>
<Col
span=
"9"
>
<div
class=
"iview_cont"
>
<label
v-text=
"formValidate.versiondesc"
></label>
</div>
</Col>
<Col
span=
"5"
>
<div
class=
"row_label box"
></div>
</Col>
<Col
span=
"3"
>
<div
class=
"row_label"
>
研制方式
</div>
</Col>
<Col
span=
"4"
>
<div
class=
"iview_cont border_none"
>
<label
v-text=
"formValidate.development_mode_str"
></label>
</div>
</Col>
</Row>
<Row
class=
"center"
>
<div
class=
"h1"
v-text=
"formValidate.name"
></div>
</Row>
<Row
class=
"center"
>
<div
class=
"title_cont f16"
>
<div
class=
"iview_cont01"
>
<span>
产品名称:
</span>
<label
class=
"table_row"
v-text=
"formValidate.productName"
></label>
</div>
<div
class=
"iview_cont01"
>
<span>
产品代号:
</span>
<label
class=
"table_row"
v-text=
"formValidate.productCode"
></label>
</div>
</div>
</Row>
<Row
class=
"center f16"
>
<div
class=
"iview_cont01"
>
<span>
编 制:
</span>
<label
class=
"table_row min120"
v-text=
"formValidate.authorName"
></label>
</div>
</Row>
<Row
class=
"center f16"
>
<div
class=
"iview_cont01"
>
<span>
校 对:
</span>
<label
class=
"table_row min120"
v-text=
"formValidate.proofreader"
></label>
</div>
</Row>
<Row
class=
"center f16"
>
<div
class=
"iview_cont01"
>
<span>
批 准:
</span>
<label
class=
"table_row min120"
v-text=
"formValidate.approver"
></label>
</div>
</Row>
<Row
class=
"table_row02"
>
<Col
span=
"3"
>
<div
class=
"iview_cont"
>
更改单编号
</div>
</Col>
<Col
span=
"5"
>
<div
class=
"iview_cont iview_cont6"
>
<label
v-text=
"formValidate.change_order_code"
></label>
</div>
</Col>
<Col
span=
"3"
>
<div
class=
"iview_cont"
>
更改单日期
</div>
</Col>
<Col
span=
"5"
>
<div
class=
"iview_cont iview_cont6"
>
<label
v-text=
"formValidate.change_order_date"
></label>
</div>
</Col>
<Col
span=
"3"
>
<div
class=
"iview_cont"
>
更改办法
</div>
</Col>
<Col
span=
"5"
>
<div
class=
"iview_cont iview_cont6 border_none"
>
<label
v-text=
"formValidate.change_method"
></label>
</div>
</Col>
</Row>
</div>
<div
class=
"table_box part01"
>
<Row
class=
"table_row center row_title"
>
<h2>
工艺内容
</h2>
</Row>
<Row
class=
"table_row row03 auto_row"
>
<div
style=
"min-height:300px"
class=
"tex_in10"
>
{{
formValidate
.
remark
}}
</div>
</Row>
<Row
class=
"table_row center row_title"
>
<h2>
工艺附图
</h2>
</Row>
<Row
class=
"table_row row03 auto_row"
>
<div
style=
"min-height:300px"
class=
"tex_in10"
>
<img
v-for=
"(item2,index2) in formValidate.files"
:key=
"index2"
:src=
" downUrl +item2.url"
style=
"max-width:1000px"
/>
</div>
</Row>
</div>
<Row
class=
"center f16"
>
<h2>
工艺过程卡
</h2>
</Row>
<div
class=
"body-box part01"
>
<table>
<thead>
<tr>
<th
class=
"tit01"
>
序号
</th>
<th
class=
"tit02"
>
工序
</th>
<th
class=
"tit03"
>
工序内容及要求
</th>
<th
class=
"tit04"
>
操作者
</th>
<th
class=
"tit05"
>
检验者
</th>
</tr>
</thead>
<tbody>
<template
v-for=
"(item5,index5) in formValidate.details"
>
<tr>
<td
class=
"tl"
>
{{
item5
.
taskseq
}}
</td>
<td
class=
"tl"
>
{{
item5
.
name
}}
</td>
<td
class=
"tl"
>
{{
item5
.
task_content
}}
</td>
<td
class=
"tl"
>
{{
item5
.
operator
}}
</td>
<td
class=
"tl"
>
{{
item5
.
proofreader
}}
</td>
</tr>
<tr
v-for=
"(item6,index6) in item5.step"
>
<td
class=
"tl"
>
{{
item6
.
taskseq
}}
</td>
<td
class=
"tl"
>
{{
item6
.
name
}}
</td>
<td
class=
"tl"
>
{{
item6
.
task_content
}}
</td>
<td
class=
"tl"
>
{{
item6
.
operator
}}
</td>
<td
class=
"tl"
>
{{
item6
.
proofreader
}}
</td>
</tr>
<tr>
<td
class=
"tl"
></td>
<td
class=
"tl"
></td>
<td
class=
"tl"
></td>
<td
class=
"tl"
></td>
<td
class=
"tl"
></td>
</tr>
</
template
>
</tbody>
</table>
</div>
<Row
class=
"center f16"
>
<h2>
检测记录表
</h2>
</Row>
<div
class=
"body-box part01"
>
<table>
<thead>
<tr>
<th
class=
"title01"
>
检测工序号
</th>
<th
class=
"title02"
>
检测项目内容
</th>
<th
class=
"title03"
>
检测结果
</th>
<th
class=
"title04"
>
合格判定
</th>
<th
class=
"title05"
>
检验员
</th>
<th
class=
"title06"
>
备注
</th>
</tr>
</thead>
<tbody>
<
template
v-for=
"(item7,index7) in formValidate.qcards"
>
<tr>
<td
class=
"tl"
>
{{
item7
.
taskseq
}}
</td>
<td
class=
"tl"
>
{{
item7
.
check_content
}}
</td>
<td
class=
"tl"
>
{{
item7
.
checkresult
}}
</td>
<td
class=
"tl"
>
{{
item7
.
result
}}
</td>
<td
class=
"tl"
>
{{
item7
.
checker
}}
</td>
<td
class=
"tl"
>
{{
item7
.
remarks
}}
</td>
</tr>
</
template
>
</tbody>
</table>
</div>
</div>
</div>
</template>
<
script
>
import
service
from
'@/plugins/request'
export
default
{
name
:
'processview'
,
data
()
{
return
{
filesurl
:
''
,
downUrl
:
fileUrlDown
,
formValidate
:
{
files
:
[],
details
:
[],
qcards
:
[]
}
}
},
props
:
{
//设置工艺、创建工艺
isoutpdf
:
{
type
:
Boolean
,
default
:
true
}
},
methods
:
{
loaddata
(
headerID
)
{
var
url
=
`
${
designUrl
}
/routingheader/getprocessinfo?headerid=`
+
headerID
service
.
get
(
`
${
url
}
`
).
then
((
response
)
=>
{
this
.
formValidate
=
response
.
result
if
(
this
.
formValidate
.
change_order_code
==
''
||
typeof
this
.
formValidate
.
change_order_code
==
'undefined'
)
{
this
.
formValidate
.
change_order_date
=
''
}
if
(
typeof
this
.
formValidate
.
production_batch
==
'undefined'
)
{
this
.
formValidate
.
production_batch
=
' '
}
if
(
typeof
this
.
formValidate
.
print_data_name
==
'undefined'
)
{
this
.
formValidate
.
print_data_name
=
' '
}
})
}
}
}
</
script
>
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