1. 增加机型的选择

This commit is contained in:
梁州 2025-04-22 11:10:03 +08:00
parent 7804781bbe
commit c7a73a0f34

View File

@ -16,13 +16,14 @@
<el-select-v2 v-model="workStatusQuery" style="width: 158px; margin-right: 10px;"
placeholder="请选择工作状态" :options="workStatusOptions" @change="search()"></el-select-v2>
<el-select-v2 v-model="machineTypeQuery" style="width: 158px; margin-right: 10px;"
placeholder="请选择机型" :options="workStatusOptions" @change="search()"></el-select-v2>
placeholder="请选择机型" :options="machineTypeOptions" @change="search()"></el-select-v2>
<el-button type="primary" @click="search()">搜索</el-button>
<el-button type="warning" @click="reset()">重置</el-button>
</el-row>
<el-row>
<el-button style="background-color: #00CED1; color: #000;"
@click="openUploadDialog()">导入</el-button>
@click="openUploadDialog()">导入
</el-button>
</el-row>
</div>
<br/>
@ -218,6 +219,7 @@ export default {
workCenterQuery: '',
goodsIdQuery: '',
standIdQuery: '',
machineTypeQuery: -99,
lightStatusQuery: -99,
workStatusQuery: -99,
loading: true,
@ -304,6 +306,7 @@ export default {
goodsId: this.goodsIdQuery.trim(),
lightStatus: this.lightStatusQuery == -99 ? null : this.lightStatusQuery,
workStatus: this.workStatusQuery == -99 ? null : this.workStatusQuery,
machineType: this.machineTypeQuery == -99 ? null : this.machineTypeQuery,
userName: store.getters.getUserName
}
getWorkFlows(request).then(res => {