| | |
| | | <el-select v-model="form.wkshopcode" style="width: 200px" placeholder="请选择"> |
| | | <el-option |
| | | v-for="item in wkshopSelectArr" |
| | | :key="item.code" |
| | | :label="item.name" |
| | | :value="item.code" |
| | | :key="item.org_code" |
| | | :label="item.org_name" |
| | | :value="item.org_code" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | |
| | | <el-form-item v-show="isExpandForm" label="点检时间" style=" display: flex;"> |
| | | <el-input v-model="form.checkdate" style="width: 200px" placeholder="请输入" /> |
| | | </el-form-item> |
| | | <!-- <el-form-item v-show="isExpandForm" label="点检结果" style=" display: flex;">--> |
| | | <!-- <el-select v-model="form.isOK" style="width: 200px" placeholder="请选择">--> |
| | | <!-- <el-option--> |
| | | <!-- v-for="item in wkshopSelectArr"--> |
| | | <!-- :key="item.code"--> |
| | | <!-- :label="item.name"--> |
| | | <!-- :value="item.code"--> |
| | | <!-- />--> |
| | | <!-- </el-select>--> |
| | | <!-- </el-form-item>--> |
| | | </div> |
| | | <div style="display: flex;align-items: start;margin-top: 5px;z-index: 2"> |
| | | <el-button type="primary" icon="el-icon-search" @click="search">查询</el-button> |
| | |
| | | import ImportPicker from '@/components/ImportPicker' |
| | | import { validateCode } from '@/utils/global' |
| | | import { DeviceCheckSubTakeSearch, DeviceCheckTakeOutExcel, DeviceCheckTakeSearch } from '@/api/sbgl' |
| | | import { ShopSearch } from '@/api/dzkb' |
| | | |
| | | export default { |
| | | name: 'Zzjg', |
| | |
| | | } |
| | | }, |
| | | created() { |
| | | this.getDeviceCheckTakeSearch() |
| | | this.handleRequest() |
| | | }, |
| | | mounted() { |
| | | window.addEventListener('resize', this.getHeight) |
| | | this.getHeight() |
| | | }, |
| | | methods: { |
| | | handleRequest() { |
| | | this.getDeviceCheckTakeSearch().then(res => { |
| | | if (res.code === '200') { |
| | | this.getShopSearch() |
| | | } |
| | | }) |
| | | }, |
| | | async getDeviceCheckTakeSearch() { |
| | | const res = await DeviceCheckTakeSearch(this.form) |
| | | // this.tableData = res.data |
| | |
| | | { RowNum: 1, djjg: 'N' } |
| | | ] |
| | | this.total = res.count |
| | | |
| | | return { code: res.code } |
| | | }, |
| | | // 获取执行车间下拉数组 |
| | | async getShopSearch() { |
| | | const { data: res } = await ShopSearch() |
| | | this.wkshopSelectArr = res |
| | | }, |
| | | // 排序改变时 |
| | | sortChange({ column, prop, order }) { |