| | |
| | | </el-form-item> |
| | | <el-form-item style="margin-left: 360px"> |
| | | <el-checkbox-group v-model="queryParams.isRepairFlag"> |
| | | <el-checkbox name="type"></el-checkbox> |
| | | <el-checkbox @change="cleanFlag" name="type"></el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | | <el-form-item label-width="120" label="返修发动机号:" prop="engineNo" style="margin-left: 5px"> |
| | | <el-form-item label-width="120" label="返修发动机号:" prop="repairEngineNo" style="margin-left: 5px"> |
| | | |
| | | <el-input |
| | | :disabled="!queryParams.isRepairFlag" |
| | | v-model="queryParams.engineNo" |
| | | v-model="queryParams.repairEngineNo" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import {listOrderScheduling} from "@/api/main/bs/orderScheduling/orderScheduling"; |
| | | import {listOrderScheduling2} from "@/api/main/bs/orderScheduling/orderScheduling"; |
| | | import VueQr from 'vue-qr' |
| | | export default { |
| | | name: "index", |
| | |
| | | queryParams: { |
| | | orderNo: '', |
| | | isRepairFlag: '', |
| | | engineNo: '' |
| | | repairEngineNo: '' |
| | | }, |
| | | dataList: [] |
| | | } |
| | |
| | | this.getList(); |
| | | }, |
| | | getList(){ |
| | | listOrderScheduling(this.queryParams).then(response => { |
| | | listOrderScheduling2(this.queryParams).then(response => { |
| | | console.log("--------------------"+response.rows) |
| | | this.dataList = response.rows |
| | | if (this.queryParams.orderNo === '' || this.queryParams.orderNo === null){ |
| | |
| | | filterTag(value, row) { |
| | | return row.tag === value; |
| | | }, |
| | | cleanFlag(){ |
| | | if (this.queryParams.isRepairFlag === false){ |
| | | this.queryParams.repairEngineNo = '' |
| | | } |
| | | }, |
| | | filterHandler(value, row, column) { |
| | | const property = column['property']; |
| | | return row[property] === value; |