提交 | 用户 | 时间
|
f4d049
|
1 |
<template> |
H |
2 |
<div class="app-container"> |
|
3 |
<el-card style="height: 70px;margin-bottom: 10px" class="box-card" > |
|
4 |
<template> |
|
5 |
<div class="container"> |
|
6 |
<el-row type="flex" justify="center" style="text-align: center" > |
|
7 |
<el-col :span="12"> |
|
8 |
<span style="fontSize:30px;color:black">--------------------发动机数据检查--------------------</span> |
|
9 |
</el-col> |
|
10 |
</el-row> |
|
11 |
</div> |
|
12 |
</template> |
|
13 |
</el-card> |
8f6607
|
14 |
<el-row :gutter="5" style="margin-top: 10px"> |
f4d049
|
15 |
<el-col :span="10" > |
H |
16 |
<el-card class="bottom-card"> |
|
17 |
<el-descriptions :column="1" > |
|
18 |
<el-descriptions-item> |
|
19 |
<el-form ref="form" :model="form" label-width="200px" style="height: 60px;margin-top: 20px" > |
8f6607
|
20 |
<el-form-item prop="engineNo" > |
H |
21 |
<span slot="label" style="font-size:45px;color:black"><strong>发动机号</strong></span> |
|
22 |
<el-input style="font-size:30px" v-model="form.engineNo" placeholder="请输入发动机号" > |
|
23 |
<el-button slot="append" @click="EngineNohandleChange" icon="el-icon-search"></el-button> |
|
24 |
</el-input> |
f4d049
|
25 |
</el-form-item> |
H |
26 |
</el-form> |
|
27 |
</el-descriptions-item> |
|
28 |
<el-descriptions-item> |
|
29 |
<el-form ref="form" :model="form" label-width="200px" style="height: 60px;margin-top: 20px" > |
8f6607
|
30 |
<el-form-item prop="productType" > |
dbe5f1
|
31 |
<span slot="label" style="font-size:45px;color:black"><strong>机型</strong></span> |
懒 |
32 |
<el-input disabled style="font-size:30px" value="form.productType" v-model="form.productType" placeholder="" /> |
f4d049
|
33 |
</el-form-item> |
H |
34 |
</el-form> |
|
35 |
</el-descriptions-item> |
|
36 |
<el-descriptions-item> |
|
37 |
<el-form ref="form" :model="form" label-width="200px" style="height: 60px;margin-top: 20px" > |
8f6607
|
38 |
<el-form-item prop="orderNo" > |
H |
39 |
<span slot="label" style="font-size:45px;color:black"><strong>工单编号</strong></span> |
|
40 |
<el-input disabled style="font-size:30px" v-model="form.orderNo" placeholder="" /> |
f4d049
|
41 |
</el-form-item> |
H |
42 |
</el-form> |
|
43 |
</el-descriptions-item> |
|
44 |
<el-descriptions-item> |
|
45 |
<el-form ref="form" :model="form" label-width="200px" style="height: 60px;margin-top: 20px" > |
8f6607
|
46 |
<el-form-item prop="qualityStatus" > |
H |
47 |
<span slot="label" style="font-size:45px;color:black"><strong>质量状态</strong></span> |
|
48 |
<el-input disabled style="font-size:30px" v-model="form.qualityStatus" placeholder="" /> |
f4d049
|
49 |
</el-form-item> |
H |
50 |
</el-form> |
|
51 |
</el-descriptions-item> |
|
52 |
</el-descriptions> |
|
53 |
<el-divider></el-divider> |
|
54 |
<el-row :gutter="10" class="mb8" type="flex" justify="center" style="text-align: center"> |
|
55 |
<el-col :span="1.5"> |
8f6607
|
56 |
<el-button plain style="width:400px;height:160px" v-hasPermi="['bs:formula:add']"> |
H |
57 |
<span class="el-icon-thumb" style="font-size:45px;color:black"></span> |
dbe5f1
|
58 |
<span style="font-size:45px;color:black"><strong>强制上线</strong></span> |
懒 |
59 |
</el-button> |
|
60 |
<el-button @click="scanCompleted" style="float: right" type="primary">扫码完成</el-button> |
|
61 |
|
f4d049
|
62 |
</el-col> |
H |
63 |
</el-row> |
|
64 |
</el-card> |
|
65 |
</el-col> |
8f6607
|
66 |
|
H |
67 |
|
|
68 |
<el-col :span="14" inline style="height:600px;width:850px "> |
|
69 |
<el-tabs type="border-card" > |
|
70 |
<el-card> |
|
71 |
<el-col :span="14"style="height: 270px;width:800px "> |
|
72 |
<span style="font-size:25px"><strong>质量状态</strong></span> |
|
73 |
<el-divider></el-divider> |
|
74 |
{{queryParams.productType}} |
|
75 |
</el-col> |
|
76 |
</el-card> |
|
77 |
<el-card style="margin-top: 10px" > |
|
78 |
<el-col :span="14"style="height: 270px;width:800px "> |
|
79 |
<span style="font-size:25px"><strong>最终结果</strong></span> |
|
80 |
<el-divider></el-divider> |
|
81 |
{{queryParams.productType}} |
|
82 |
</el-col> |
|
83 |
</el-card> |
f4d049
|
84 |
</el-tabs> |
H |
85 |
</el-col> |
|
86 |
</el-row> |
|
87 |
</div> |
|
88 |
</template> |
|
89 |
<script> |
8f6607
|
90 |
|
dbe5f1
|
91 |
import {listOrderScheduling} from "@/api/main/bs/orderScheduling/orderScheduling"; |
8f6607
|
92 |
|
f4d049
|
93 |
export default { |
8f6607
|
94 |
components: { }, |
H |
95 |
options: [], |
f4d049
|
96 |
props: [], |
H |
97 |
data() { |
|
98 |
return { |
8f6607
|
99 |
showFlag:false, |
H |
100 |
// 查询参数 |
|
101 |
queryParams: { |
|
102 |
pageNum: 1, |
|
103 |
pageSize: 10, |
|
104 |
engineNo: null, |
|
105 |
}, |
|
106 |
|
|
107 |
// 表单参数 |
|
108 |
form: {}, |
|
109 |
}; |
f4d049
|
110 |
}, |
8f6607
|
111 |
|
f4d049
|
112 |
computed: {}, |
H |
113 |
watch: {}, |
8f6607
|
114 |
created() { |
H |
115 |
}, |
f4d049
|
116 |
mounted() {}, |
8f6607
|
117 |
methods: { |
dbe5f1
|
118 |
scanCompleted(){ |
8f6607
|
119 |
|
dbe5f1
|
120 |
}, |
8f6607
|
121 |
EngineNohandleChange(){ |
dbe5f1
|
122 |
if(this.form.engineNo !== null && this.form.engineNo !== undefined){ |
懒 |
123 |
this.queryParams.engineNo = this.form.engineNo; |
|
124 |
listOrderScheduling(this.queryParams).then(response => { |
|
125 |
this.$message('扫码完成'+response.rows[0].model); |
|
126 |
console.log("--------------------"+response.rows[0]) |
|
127 |
this.form.productType = response.rows[0].model |
|
128 |
this.form.orderNo = response.rows[0].orderNo |
|
129 |
this.form.qualityStatus = response.rows[0].qualityStatus |
8f6607
|
130 |
}); |
dbe5f1
|
131 |
} |
8f6607
|
132 |
}, |
H |
133 |
}, |
|
134 |
|
|
135 |
|
|
136 |
} |
|
137 |
|
f4d049
|
138 |
|
H |
139 |
</script> |
|
140 |
|