| | |
| | | style="display: flex;" |
| | | > |
| | | <div class="elForm"> |
| | | <el-form-item label="车间名称" style=" display: flex;"> |
| | | <el-select |
| | | v-model="form.wkshopcode" |
| | | filterable |
| | | :popper-append-to-body="false" |
| | | style="width: 200px" |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="item in wkshopcodeArr" |
| | | :key="item.torg_code" |
| | | :label="item.torg_name" |
| | | :value="item.torg_code" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="工单状态" style=" display: flex;"> |
| | | <el-select v-model="form.status" style="width: 200px" placeholder="请选择"> |
| | | <el-option |
| | |
| | | <el-form-item label="工单编号" style=" display: flex;"> |
| | | <el-input v-model="form.wocode" placeholder="请输入" style="width: 200px" /> |
| | | </el-form-item> |
| | | <!-- <el-form-item label="车间编码" style=" display: flex;">--> |
| | | <!-- <el-input v-model="form.wkshopcode" placeholder="请输入" style="width: 200px" />--> |
| | | |
| | | <!-- <el-form-item label="车间名称" style=" display: flex;">--> |
| | | <!-- <el-input v-model="form.wkshopname" placeholder="请输入" style="width: 200px" />--> |
| | | <!-- </el-form-item>--> |
| | | <el-form-item label="车间名称" style=" display: flex;"> |
| | | <el-input v-model="form.wkshopname" placeholder="请输入" style="width: 200px" /> |
| | | </el-form-item> |
| | | <el-form-item label="产品编码" style=" display: flex;"> |
| | | <el-input v-model="form.partcode" placeholder="请输入" style="width: 200px" /> |
| | | </el-form-item> |
| | |
| | | ProductionScheduleReportExcelSearch, |
| | | ProductionScheduleReportSearch |
| | | } from '@/api/ReportManager' |
| | | import { PrentOrganizationNoCompany } from '@/api/GeneralBasicData' |
| | | |
| | | export default { |
| | | name: 'Zzjg', |
| | |
| | | { label: '执行中', value: 'START' }, |
| | | { label: '已完成', value: 'CLOSED' } |
| | | ], |
| | | wkshopcodeArr: [], |
| | | |
| | | total: 10, |
| | | tableData: [] |
| | |
| | | |
| | | created() { |
| | | this.getProductionScheduleReportSearch() |
| | | this.getPrentOrganizationNoCompany() |
| | | }, |
| | | mounted() { |
| | | window.addEventListener('resize', this.getHeight) |
| | | this.getHeight() |
| | | }, |
| | | methods: { |
| | | async getPrentOrganizationNoCompany() { |
| | | const { data: res } = await PrentOrganizationNoCompany() |
| | | this.wkshopcodeArr = res |
| | | }, |
| | | async getProductionScheduleReportSearch() { |
| | | let tempDate = this.form.lm_date |
| | | if (tempDate.length > 0) { |