| | |
| | | > |
| | | <div class="elForm"> |
| | | <el-form-item label="工单状态" label-width="70px" style=" display: flex;"> |
| | | <el-input v-model="form.mesorderstus" placeholder="请输入" style="width: 200px" /> |
| | | <el-select |
| | | v-model="form.mesorderstus" |
| | | :popper-append-to-body="false" |
| | | style="width: 200px" |
| | | placeholder="请选择" |
| | | filterable |
| | | @change="erporderstusChange" |
| | | > |
| | | <el-option |
| | | v-for="item in erporderstusArr" |
| | | :key="item.code" |
| | | :label="item.name" |
| | | :value="item.code" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="工单编号" style=" display: flex;"> |
| | | <el-input v-model="form.mesordercode" placeholder="请输入" style="width: 200px" /> |
| | |
| | | ], |
| | | total: 10, |
| | | tableData: [], |
| | | |
| | | erporderstusArr: [ |
| | | { code: 'NEW', name: '新工单' }, |
| | | // { code: 'CREATING', name: '执行中' }, |
| | | // { code: 'CREATED', name: '已关闭' } |
| | | { code: 'ALLO', name: '已派发' }, |
| | | { code: 'START', name: '开工' }, |
| | | { code: 'CLOSED', name: '完工' } |
| | | // { code: 'NOSCHED', name: '待排程' }, |
| | | // { code: 'SCHED', name: '已排程' } |
| | | ], |
| | | multipleSelection: [], |
| | | |
| | | title_value: '数据导入 / 点检部位', |
| | |
| | | this.getHeight() |
| | | }, |
| | | methods: { |
| | | // 订单状态改变时 |
| | | erporderstusChange(val) { |
| | | this.form.mesorderstus = val |
| | | }, |
| | | async getMesOrderBitchClosedSearch() { |
| | | const res = await MesOrderBitchClosedSearch(this.form) |
| | | this.tableData = res.data |