| | |
| | | <el-input v-model="searchData.code" @blur="blurSearch()" class="input-form" placeholder="请输入"> |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item v-if="this.radioValue === 1"> |
| | | <el-button type="primary" @click="searchPlan">查询</el-button> |
| | | </el-form-item> |
| | | <el-form-item v-if="this.radioValue === 0" :label="this.radioValue === 0 ? '仪器设备名称:' : '设备名称'" |
| | | class="sermargin"> |
| | | <el-input v-model="searchData.name" class="input-form" placeholder="请输入"> |
| | |
| | | search() { |
| | | this.getStandingPageList() |
| | | }, |
| | | searchPlan(){ |
| | | this.getPlanPageList() |
| | | }, |
| | | reset(formName) { |
| | | this.searchData.name = '' |
| | | this.searchData.code = '' |
| | |
| | | }, |
| | | async getPlanPageList() { |
| | | let param = { |
| | | currentPage: this.currentPage, pageSize: this.pageSize, |
| | | code: this.searchData.code, name: this.searchData.name, unit: this.searchData.measureunit |
| | | currentPage: this.currentPage, |
| | | pageSize: this.pageSize, |
| | | plannedOrderNumber: this.searchData.code |
| | | } |
| | | const res = await getPlanPageList(param) |
| | | res.data.list.forEach(item => { |
| | |
| | | margin: 10px 0; |
| | | } |
| | | } |
| | | }</style> |
| | | } |
| | | </style> |