2 天以前 46624ce480a3c14da21f39cc4ad5f7eecea2bb1e
src/views/mes/pro/pallet/index.vue
@@ -49,8 +49,9 @@
    generateFormModalApi.open();
  }
  /** 预生成成功:展示生成的临时托盘码 */
  /** 预生成成功:刷新列表并展示生成的临时托盘码 */
  function handlePreGenerateSuccess(result: { id: number; tempCode: string }[]) {
    handleRefresh();
    Modal.success({
      title: "预生成临时托盘码成功",
      content: result.map((item) => item.tempCode).join("\n"),
@@ -216,6 +217,7 @@
      <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>