| | |
| | | <div class="app-container"> |
| | | <div class="search_form mb20"> |
| | | <div> |
| | | <span class="search_title">供应商:</span> |
| | | <span class="search_title">采购订单号:</span> |
| | | <el-input |
| | | v-model="searchForm.purchaseContractNo" |
| | | style="width: 240px" |
| | | placeholder="请输入采购订单号搜索" |
| | | @change="handleQuery" |
| | | clearable |
| | | :prefix-icon="Search" |
| | | /> |
| | | <span style="margin-left: 10px" class="search_title">供应商:</span> |
| | | <el-input |
| | | v-model="searchForm.supplier" |
| | | style="width: 240px" |
| | |
| | | </div> |
| | | <InspectionFormDia ref="inspectionFormDia" @close="handleQuery"></InspectionFormDia> |
| | | <FormDia ref="formDia" @close="handleQuery"></FormDia> |
| | | <files-dia ref="filesDia" @close="handleQuery"></files-dia> |
| | | <files-dia ref="filesDia"></files-dia> |
| | | <el-dialog v-model="dialogFormVisible" title="编辑检验员" width="30%" |
| | | @close="closeDia"> |
| | | <el-form :model="form" label-width="140px" label-position="top" :rules="rules" ref="formRef"> |
| | |
| | | |
| | | const data = reactive({ |
| | | searchForm: { |
| | | purchaseContractNo: "", |
| | | supplier: "", |
| | | entryDate: undefined, // 录入日期 |
| | | entryDateStart: undefined, |
| | |
| | | const res = await submitQualityInspect({ id }); |
| | | if (res.code === 200) { |
| | | proxy.$modal.msgSuccess("提交成功"); |
| | | getList(); |
| | | const row = tableData.value.find(item => item.id === id); |
| | | if (row) { |
| | | row.inspectState = 1; |
| | | } |
| | | } |
| | | } finally { |
| | | submitLoadingId.value = null; |