| | |
| | | <div class="search_input"><el-input size="small" placeholder="请输入" clearable |
| | | v-model="componentData.entity.sampleCode" @keyup.enter.native="refreshTable()"></el-input></div> |
| | | </div> |
| | | <div class="search_thing"> |
| | | <div class="search_label">订单类型:</div> |
| | | <div class="search_input"> |
| | | <el-select v-model="componentData.entity.formType" size="small"style="width: 100%;" @change="refreshTable()"> |
| | | <el-option v-for="(a,ai) in formType" :key="ai" :label="a.label" :value="a.value"></el-option> |
| | | </el-select> |
| | | </div> |
| | | </div> |
| | | <div class="search_thing" style="margin-left: 20px;"> |
| | | <el-button size="small" @click="refresh()">重 置</el-button> |
| | | <el-button size="small" type="primary" @click="refreshTable()">查 询</el-button> |
| | |
| | | name:null, |
| | | engineering:null, |
| | | production:null, |
| | | formType:null, |
| | | }, |
| | | isIndex: true, |
| | | showSelect: false, |
| | |
| | | sampleList:[], |
| | | sampleId:null, |
| | | orderId0:null, |
| | | formType:[] |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.entityCopy = this.HaveJson(this.componentData.entity) |
| | | this.getPower() |
| | | this.selectEnumByCategoryForSampleForm() |
| | | }, |
| | | methods:{ |
| | | // 权限分配 |
| | |
| | | this.dialogVisible = true |
| | | }) |
| | | }, |
| | | selectEnumByCategoryForSampleForm() { |
| | | this.$axios.post(this.$api.enums.selectEnumByCategory, { |
| | | category: "订单类型" |
| | | }).then(res => { |
| | | this.formType = res.data |
| | | }) |
| | | }, |
| | | // 生成报告 |
| | | handleCreate(){ |
| | | let insReportDto1s = [] |