| | |
| | | generateFormModalApi.open(); |
| | | } |
| | | |
| | | /** 预生成成功:展示生成的临时托盘码 */ |
| | | /** 预生成成功:刷新列表并展示生成的临时托盘码 */ |
| | | function handlePreGenerateSuccess(result: { id: number; tempCode: string }[]) { |
| | | handleRefresh(); |
| | | Modal.success({ |
| | | title: "预生成临时托盘码成功", |
| | | content: result.map((item) => item.tempCode).join("\n"), |
| | |
| | | <template #code="{ row }"> |
| | | <span>{{ getDisplayCode(row) }}</span> |
| | | <Tag v-if="!row.code" color="warning">未绑定批次</Tag> |
| | | <Tag v-if="row.autoGenerated" color="processing">自动生成</Tag> |
| | | </template> |
| | | <template #batchCode="{ row }"> |
| | | <span v-if="row.batchCode">{{ row.batchCode }}</span> |