基础功能好用

This commit is contained in:
zhangshun
2026-05-27 15:31:30 +08:00
parent 963e0df303
commit bab5ee5554
20 changed files with 2243 additions and 4113 deletions

View File

@@ -20,12 +20,12 @@
</el-select>
<span style="margin-left: 10px;letter-spacing: 3px">订单号</span>
<el-input v-model="orderNumberValue" placeholder="订单号" clearable size="small" style="width: 250px;"/>
<span style="margin-left: 10px;">产品</span>
<span style="margin-left: 10px;">产品</span>
<el-select
v-model="engineTypeValue"
clearable
filterable
placeholder="请选择产品号"
placeholder="请选择产品号"
size="small"
style="width: 250px">
<el-option
@@ -144,7 +144,7 @@
{{ scope.row.工位号 }}
</template>
</el-table-column>
<el-table-column align="center" label="产品号" width="120px">
<el-table-column align="center" label="产品号" width="120px">
<template slot-scope="scope">
{{ scope.row.发动机型号 }}
</template>
@@ -214,6 +214,8 @@
</template>
<script>
import { getNowShotTime } from '../../../utils/tool'
export default {
data() {
return {
@@ -248,7 +250,7 @@ export default {
}
], // 是否合格
isQualifiedValue: 1, // 是否合格
dateTime: '', // 时间
dateTime: [], // 时间
loading: false, // 时间
tableData: [], // 时间
date: new Date(),
@@ -260,14 +262,7 @@ export default {
}
},
created() {
var year, month, day, audiTime
this.date = new Date() // 修改数据date
year = new Date().getFullYear()
month = new Date().getMonth() + 1 < 10 ? '0' + (new Date().getMonth() + 1) : new Date().getMonth() + 1
day = new Date().getDate() < 10 ? '0' + new Date().getDate() : new Date().getDate()
audiTime = year + '-' + month + '-' + day
console.log(audiTime, 'audiTime')
this.dateTime = [audiTime, audiTime]
this.dateTime = [getNowShotTime(), getNowShotTime()]
this.getStationNumber()
this.getEngineType()
},
@@ -296,7 +291,7 @@ export default {
this.ExecDatabase(Data).then(response => {
for (let i = 0; i < response.data.length; i++) {
this.stationNumber.push({
label: response.data[i].工位号,
label: `${response.data[i].工位号}${response.data[i].工位名称}`,
value: response.data[i].工位号
})
}