Commit 80da2cd7 authored by 仇晓婷's avatar 仇晓婷

Merge branch 'product' of http://git.mes123.com/zhouyx/mes-ui into product

parents 393ce81d 38c9a967
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
<i-quill <i-quill
v-model="bugForm.content" v-model="bugForm.content"
:height="600" :height="600"
v-paste="handleImg"
/> />
</FormItem> </FormItem>
</Row> </Row>
......
<template> <template>
<div style="padding:40px 0"> <div style="padding:40px 0">
<Detail :idVal="detailId" /> <Detail :idVal="detailId" />
<Process ref="userProcess" :idVal="detailId" /> <Process ref="userProcess" :idVal="detailId" style="width:80%"/>
<div class="footers" v-if="footerStatu === '2'" style="text-align:left;"> <div class="footers" v-if="footerStatu === '2'" style="text-align:left;">
<Form <Form
:model="formMyCheck" :model="formMyCheck"
......
...@@ -15,17 +15,17 @@ ...@@ -15,17 +15,17 @@
</Col> </Col>
<Col span="9"> <Col span="9">
<div class="iview_cont"> <div class="iview_cont">
&nbsp;
<label v-text="formValidate.code"></label> <label v-text="formValidate.code"></label>
</div> </div>
</Col> </Col>
<Col span="5">
<div class="row_label box"></div>
</Col>
<Col span="3"> <Col span="3">
<div class="row_label">任务类型</div> <div class="row_label">任务类型</div>
</Col> </Col>
<Col span="4"> <Col span="9">
<div class="iview_cont border_none"> <div class="iview_cont border_none">
&nbsp;
<label v-text="formValidate.task_type_str"></label> <label v-text="formValidate.task_type_str"></label>
</div> </div>
</Col> </Col>
...@@ -36,17 +36,17 @@ ...@@ -36,17 +36,17 @@
</Col> </Col>
<Col span="9"> <Col span="9">
<div class="iview_cont"> <div class="iview_cont">
&nbsp;
<label v-text="formValidate.versiondesc"></label> <label v-text="formValidate.versiondesc"></label>
</div> </div>
</Col> </Col>
<Col span="5">
<div class="row_label box"></div>
</Col>
<Col span="3"> <Col span="3">
<div class="row_label">研制方式</div> <div class="row_label">研制方式</div>
</Col> </Col>
<Col span="4"> <Col span="9">
<div class="iview_cont border_none"> <div class="iview_cont border_none">
&nbsp;
<label v-text="formValidate.development_mode_str"></label> <label v-text="formValidate.development_mode_str"></label>
</div> </div>
</Col> </Col>
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
<h2>工艺内容</h2> <h2>工艺内容</h2>
</Row> </Row>
<Row class="table_row row03 auto_row"> <Row class="table_row row03 auto_row">
<div style="min-height:300px" class="tex_in10">{{formValidate.remark}}</div> <div style="min-height:300px" v-html="formValidate.remark" class="tex_in10"></div>
</Row> </Row>
<Row class="table_row center row_title"> <Row class="table_row center row_title">
<h2>工艺附图(magics文件或打印数据文件eosjz截图)</h2> <h2>工艺附图(magics文件或打印数据文件eosjz截图)</h2>
...@@ -353,12 +353,12 @@ ...@@ -353,12 +353,12 @@
</div> </div>
</template> </template>
<script> <script>
import service from '@/plugins/request' import service from "@/plugins/request";
export default { export default {
name: 'processview', name: "processview",
data() { data() {
return { return {
filesurl: '', filesurl: "",
downUrl: fileUrlDown, downUrl: fileUrlDown,
formValidate: { formValidate: {
// name: '可乐叉烧', // name: '可乐叉烧',
...@@ -466,7 +466,7 @@ export default { ...@@ -466,7 +466,7 @@ export default {
// } // }
] ]
} }
} };
}, },
props: { props: {
//设置工艺、创建工艺 //设置工艺、创建工艺
...@@ -477,26 +477,23 @@ export default { ...@@ -477,26 +477,23 @@ export default {
}, },
methods: { methods: {
loaddata(headerID) { loaddata(headerID) {
var url = `${designUrl}/routingheader/getprocessinfo?headerid=` + headerID var url =
service.get(`${url}`).then((response) => { `${designUrl}/routingheader/getprocessinfo?headerid=` + headerID;
this.formValidate = response.result service.get(`${url}`).then(response => {
this.formValidate = response.result;
if (this.formValidate.change_order_code == '') { if (this.formValidate.change_order_code == "") {
this.formValidate.change_order_date = '' this.formValidate.change_order_date = "";
}
if (typeof this.formValidate.production_batch == "undefined") {
this.formValidate.production_batch = "&nbsp";
} }
if (typeof(this.formValidate.production_batch) == "undefined")
{
this.formValidate.production_batch = '&nbsp'
}
if (typeof(this.formValidate.print_data_name) == "undefined")
{
this.formValidate.print_data_name = '&nbsp'
}
if (typeof this.formValidate.print_data_name == "undefined") {
}) this.formValidate.print_data_name = "&nbsp";
}
});
} }
} }
} };
</script> </script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment