| | |
| | | <div> |
| | | <el-button @click="handleOut">导出</el-button> |
| | | <el-button type="danger" plain @click="handleDelete">删除</el-button> |
| | | <el-button type="primary" plain @click="handlePrint">打印</el-button> |
| | | <!-- <el-button type="primary" plain @click="handlePrint">打印</el-button> --> |
| | | </div> |
| | | </div> |
| | | <div class="table_list"> |
| | |
| | | > |
| | | <el-table-column align="center" type="selection" width="55" /> |
| | | <el-table-column align="center" label="序号" type="index" width="60" /> |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | label="出库批次" |
| | | prop="outboundBatches" |
| | | min-width="100" |
| | | show-overflow-tooltip |
| | | /> |
| | | /> --> |
| | | <el-table-column |
| | | label="批号" |
| | | min-width="120" |
| | | show-overflow-tooltip |
| | | > |
| | | <template #default="scope"> |
| | | {{ scope.row.batchNo || "" }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="供应商" |
| | | min-width="160" |
| | | show-overflow-tooltip |
| | | > |
| | | <template #default="scope"> |
| | | {{ scope.row.supplierName || scope.row.customer || "" }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="出库日期" |
| | | prop="createTime" |
| | |
| | | prop="model" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column label="UID码" |
| | | prop="uidNO" |
| | | show-overflow-tooltip/> |
| | | <el-table-column |
| | | label="单位" |
| | | prop="unit" |
| | |
| | | delStockOut, |
| | | } from "@/api/inventoryManagement/stockOut.js"; |
| | | import { |
| | | findAllQualifiedStockRecordTypeOptions, |
| | | findAllStockRecordTypeOptions, |
| | | findAllUnqualifiedStockRecordTypeOptions |
| | | findAllQualifiedStockOutRecordTypeOptions, findAllUnQualifiedStockOutRecordTypeOptions, |
| | | } from "@/api/basicData/enum.js"; |
| | | |
| | | const userStore = useUserStore(); |
| | |
| | | // 获取来源类型选项 |
| | | const fetchStockRecordTypeOptions = () => { |
| | | if (props.type === '0') { |
| | | findAllQualifiedStockRecordTypeOptions() |
| | | findAllQualifiedStockOutRecordTypeOptions() |
| | | .then(res => { |
| | | stockRecordTypeOptions.value = res.data; |
| | | }) |
| | | return |
| | | } |
| | | findAllUnqualifiedStockRecordTypeOptions() |
| | | findAllUnQualifiedStockOutRecordTypeOptions() |
| | | .then(res => { |
| | | stockRecordTypeOptions.value = res.data; |
| | | }) |
| | |
| | | </div> |
| | | </div> |
| | | <div class="info-row"> |
| | | <span class="label">单号:</span> |
| | | <span class="value">${item.code || ''}</span> |
| | | <div> |
| | | <span class="label">批号:</span> |
| | | <span class="value">${item.batchNo || item.outboundBatches || ''}</span> |
| | | </div> |
| | | <div> |
| | | <span class="label">单号:</span> |
| | | <span class="value">${item.code || ''}</span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |