| | |
| | | <span style="margin-left: 10px" class="search_title">检测日期:</span> |
| | | <el-date-picker v-model="searchForm.entryDate" value-format="YYYY-MM-DD" format="YYYY-MM-DD" type="daterange" |
| | | placeholder="请选择" clearable @change="changeDaterange"/> |
| | | <span style="margin-left: 10px" class="search_title">采购订单号:</span> |
| | | <el-input |
| | | v-model="searchForm.purchaseContractNo" |
| | | style="width: 240px" |
| | | placeholder="请输入采购订单号搜索" |
| | | @change="handleQuery" |
| | | clearable |
| | | :prefix-icon="Search" |
| | | /> |
| | | <el-button type="primary" @click="handleQuery" style="margin-left: 10px" |
| | | >搜索 |
| | | </el-button |
| | |
| | | searchForm: { |
| | | supplier: "", |
| | | entryDate: undefined, // 录入日期 |
| | | purchaseContractNo: "", |
| | | entryDateStart: undefined, |
| | | entryDateEnd: undefined, |
| | | }, |
| | |
| | | prop: "unit", |
| | | }, |
| | | { |
| | | label: "数量", |
| | | label: "总数量", |
| | | prop: "quantity", |
| | | width: 100 |
| | | }, |
| | | { |
| | | label: "合格数量", |
| | | prop: "qualifiedQuantity", |
| | | width: 100 |
| | | }, |
| | | { |
| | | label: "不合格数量", |
| | | prop: "unqualifiedQuantity", |
| | | width: 100 |
| | | }, |
| | | { |
| | | label: "检测单位", |
| | | prop: "checkCompany", |
| | | width: 120 |
| | | }, |
| | | { |
| | |
| | | } else if (params === '合格') { |
| | | return "success"; |
| | | } else { |
| | | return null; |
| | | return 'danger'; |
| | | } |
| | | }, |
| | | }, |
| | |
| | | } |
| | | }, |
| | | { |
| | | name: "查看", |
| | | type: "text", |
| | | clickFun: (row) => { |
| | | openForm("view", row); |
| | | }, |
| | | }, |
| | | { |
| | | name: "附件", |
| | | type: "text", |
| | | clickFun: (row) => { |