| | |
| | | placeholder="请选择" |
| | | clearable |
| | | @change="changeDaterange" /> |
| | | <span style="margin-left: 10px" |
| | | class="search_title">检验员:</span> |
| | | <el-input v-model="searchForm.checkName" |
| | | style="width: 240px" |
| | | placeholder="请输入检验员搜索" |
| | | @change="handleQuery" |
| | | clearable |
| | | :prefix-icon="Search" /> |
| | | <el-button type="primary" |
| | | @click="handleQuery" |
| | | style="margin-left: 10px">搜索</el-button> |
| | |
| | | <el-button type="primary" @click="openQuickCheck">快速检验</el-button> |
| | | <el-button type="primary" @click="openForm('add')">新增</el-button> |
| | | <el-button @click="handleOut">导出</el-button> |
| | | <el-button type="danger" plain @click="handleDelete">删除</el-button> |
| | | <el-button type="danger" plain @click="handleDelete" v-hasPermi="['qualityManagement:processInspection:remove']">删除</el-button> |
| | | </div> |
| | | <PIMTable rowKey="id" |
| | | :column="tableColumn" |
| | |
| | | ref="formRef"> |
| | | <el-form-item label="检验员:" |
| | | prop="checkName"> |
| | | <el-select v-model="form.checkName" |
| | | <el-select filterable v-model="form.checkName" |
| | | placeholder="请选择" |
| | | clearable> |
| | | <el-option v-for="item in userList" |
| | |
| | | <div class="template-icon weilong-icon">伟</div> |
| | | <div class="template-name">伟龙模板</div> |
| | | </div> |
| | | <!-- <div class="template-item" @click="handleTemplateExport('baishi')"> |
| | | <div class="template-item" @click="handleTemplateExport('baishi')"> |
| | | <div class="template-icon baishi-icon">百</div> |
| | | <div class="template-name">百事模板</div> |
| | | </div> --> |
| | | </div> |
| | | <div class="template-item" @click="handleTemplateExport('dali')"> |
| | | <div class="template-icon dali-icon">达</div> |
| | | <div class="template-name">达利模板</div> |
| | |
| | | searchForm: { |
| | | entryDate: undefined, // 录入日期 |
| | | workOrderNo: "", |
| | | checkName: "", |
| | | entryDateStart: undefined, |
| | | entryDateEnd: undefined, |
| | | }, |
| | |
| | | }, |
| | | }, |
| | | { |
| | | label: "检验规则", |
| | | prop: "inspectRule", |
| | | width: 100, |
| | | formatData: (val) => val === 0 ? "全检" : val === 1 ? "抽检" : "" |
| | | }, |
| | | { |
| | | label: "抽检比例(%)", |
| | | prop: "sampleRatio", |
| | | width: 120, |
| | | }, |
| | | { |
| | | label: "抽检数量", |
| | | prop: "sampleQuantity", |
| | | width: 100, |
| | | }, |
| | | { |
| | | dataType: "action", |
| | | label: "操作", |
| | | align: "center", |