fix: 模拟生成PDF
This commit is contained in:
1 parent
c4a27324c8
commit
204e71b786
19 files changed
+2064
-110
No files matched your search
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* features/workspace/api/voucherCheck.api.ts
|
||||
* 用途:工作台立账凭证检核任务列表、批次明细、企微发送记录与强制重检 API 客户端。
|
||||
* 用途:工作台立账凭证检核任务列表、最近一次检核、批次明细、企微发送记录与强制重检 API 客户端。
|
||||
* 依赖:@/shared/api/client、getAuthHeaders。
|
||||
* 逻辑:AccountingVoucherCheckView / DetailView 调用;对应 /api/workspace/accounting-voucher-check/* 与排程 Excel 下载。
|
||||
*/
|
||||
@@ -71,8 +71,45 @@ export interface VoucherCheckForceRunResponse {
|
||||
status: string;
|
||||
}
|
||||
|
||||
export interface VoucherCheckLatestStep {
|
||||
step: string;
|
||||
label?: string | null;
|
||||
processed_count: number;
|
||||
}
|
||||
|
||||
export interface VoucherCheckLatestRun {
|
||||
schedule_run_id: number | null;
|
||||
engine_run_id?: number | null;
|
||||
run_no: string;
|
||||
period_month: string | null;
|
||||
mode: string;
|
||||
status: string;
|
||||
progress_percent: number;
|
||||
subject_count: number;
|
||||
archived_file_count: number;
|
||||
missing_file_count: number;
|
||||
missing_invoice_count: number;
|
||||
processed_count: number;
|
||||
started_at?: string | null;
|
||||
finished_at?: string | null;
|
||||
error_message?: string | null;
|
||||
current_step?: VoucherCheckLatestStep | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 读取最近一次立账凭证检核(含排队/执行中),不跟列表 period/status。
|
||||
* @returns 无任何批次时为 null
|
||||
*/
|
||||
export function getLatestVoucherCheckRun() {
|
||||
return requestJson<VoucherCheckLatestRun | null>(
|
||||
'/api/workspace/accounting-voucher-check/runs/latest',
|
||||
{ headers: getAuthHeaders() },
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 分页查询检核任务列表。
|
||||
* @param params.period - YYYY 表示该年全部月份,YYYY-MM 表示单月
|
||||
*/
|
||||
export function listVoucherCheckRuns(params: {
|
||||
period?: string;
|
||||
@@ -136,6 +173,7 @@ export interface VoucherCheckNotificationsResponse {
|
||||
|
||||
/**
|
||||
* 分页查询企微缺件汇总发送记录。
|
||||
* @param params.period - YYYY 表示该年全部月份,YYYY-MM 表示单月
|
||||
*/
|
||||
export function listVoucherCheckNotifications(params?: {
|
||||
period?: string;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* features/workspace/utils/voucherCheck.display.ts
|
||||
* 用途:立账凭证检核列表与明细页共用的状态文案、缺件列表、缺件数、缺失占比与企微发送状态展示。
|
||||
* 用途:立账凭证检核列表、最近一次检核卡片与明细页共用的状态/模式/步骤文案。
|
||||
* 依赖:vue-i18n 的 t()。
|
||||
* 逻辑:AccountingVoucherCheckView / AccountingVoucherCheckDetailView 调用。
|
||||
*/
|
||||
@@ -18,9 +18,37 @@ export function voucherCheckStatusLabel(t: (key: string) => string, value: strin
|
||||
if (value === 'technical_error' || value === 'technical_failed') return t('workspace.voucherCheck.statusTechError');
|
||||
if (value === 'failed') return t('workspace.voucherCheck.statusTechError');
|
||||
if (value === 'pending') return t('workspace.voucherCheck.statusPending');
|
||||
if (value === 'queued') return t('workspace.voucherCheck.statusQueued');
|
||||
if (value === 'running') return t('workspace.voucherCheck.statusRunning');
|
||||
return value || '-';
|
||||
}
|
||||
|
||||
/**
|
||||
* 将批次执行模式映射为工作台文案。
|
||||
* @param t - i18n 翻译函数
|
||||
* @param value - incremental / force_all / single
|
||||
*/
|
||||
export function voucherCheckModeLabel(t: (key: string) => string, value: string): string {
|
||||
if (value === 'force_all') return t('workspace.voucherCheck.modeForceAll');
|
||||
if (value === 'single') return t('workspace.voucherCheck.modeSingle');
|
||||
return t('workspace.voucherCheck.modeIncremental');
|
||||
}
|
||||
|
||||
/**
|
||||
* 将 runner 步骤码映射为工作台当前步骤文案。
|
||||
* @param t - i18n 翻译函数
|
||||
* @param step - current_step.step
|
||||
*/
|
||||
export function voucherCheckStepLabel(t: (key: string) => string, step?: string | null): string {
|
||||
if (step === 'queued') return t('workspace.voucherCheck.stepQueued');
|
||||
if (step === 'fetch_erp') return t('workspace.voucherCheck.stepFetchErp');
|
||||
if (step === 'scan_dms') return t('workspace.voucherCheck.stepScanDms');
|
||||
if (step === 'persist') return t('workspace.voucherCheck.stepPersist');
|
||||
if (step === 'notify') return t('workspace.voucherCheck.stepNotify');
|
||||
if (step === 'done') return t('workspace.voucherCheck.stepDone');
|
||||
return step || '-';
|
||||
}
|
||||
|
||||
/**
|
||||
* 将企微汇总发送状态码映射为工作台文案。
|
||||
* @param t - i18n 翻译函数
|
||||
|
||||
@@ -1,28 +1,36 @@
|
||||
<script setup lang="ts">
|
||||
/**
|
||||
* features/workspace/views/AccountingVoucherCheckView.vue
|
||||
* 用途:立账凭证检核任务列表——按资料所属期间查看批次统计。
|
||||
* 依赖:voucherCheck.api、vue-i18n、useMessage、DeleteConfirmDialog、PaginationBar、formatLocalDateTime、voucherCheck.display。
|
||||
* 逻辑:路由 /workspace/accounting-voucher-check;Tab 切换检核任务与企微发送记录;查看详情进入独立明细页;企微 ?run_id= 重定向到明细路由。
|
||||
* 用途:立账凭证检核任务列表——按资料所属期间(年 + 月)查看批次统计,并展示最近一次检核进度。
|
||||
* 依赖:voucherCheck.api、vue-i18n、useMessage、DeleteConfirmDialog、PaginationBar、formatLocalDateTime、voucherCheck.display、auth。
|
||||
* 逻辑:路由 /workspace/accounting-voucher-check;进页默认上一个自然月;「最近一次检核」不跟筛选;强制重检仅 admin,进度在本卡轮询。
|
||||
*/
|
||||
import { computed, onMounted, onUnmounted, ref } from 'vue';
|
||||
import { computed, onMounted, onUnmounted, ref, watch } from 'vue';
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { Download, Loader2, RefreshCw, RotateCcw, Search } from 'lucide-vue-next';
|
||||
import { ChevronDown, Download, Loader2, RotateCcw, Search } from 'lucide-vue-next';
|
||||
import DeleteConfirmDialog from '@/shared/components/DeleteConfirmDialog.vue';
|
||||
import PaginationBar from '@/shared/components/PaginationBar.vue';
|
||||
import { useMessage } from '@/shared/composables/useMessage';
|
||||
import { getStoredAuthUser } from '@/shared/utils/auth';
|
||||
import { formatLocalDateTime } from '@/shared/utils/dateTime';
|
||||
import { WORKSPACE_PATHS } from '../constants/routes';
|
||||
import {
|
||||
downloadVoucherCheckExcel,
|
||||
getLatestVoucherCheckRun,
|
||||
listVoucherCheckNotifications,
|
||||
listVoucherCheckRuns,
|
||||
triggerVoucherCheckForceAll,
|
||||
type VoucherCheckLatestRun,
|
||||
type VoucherCheckNotificationItem,
|
||||
type VoucherCheckRunItem,
|
||||
} from '../api/voucherCheck.api';
|
||||
import { voucherCheckNotifyStatusLabel, voucherCheckStatusLabel } from '../utils/voucherCheck.display';
|
||||
import {
|
||||
voucherCheckModeLabel,
|
||||
voucherCheckNotifyStatusLabel,
|
||||
voucherCheckStatusLabel,
|
||||
voucherCheckStepLabel,
|
||||
} from '../utils/voucherCheck.display';
|
||||
|
||||
const { t } = useI18n();
|
||||
const msg = useMessage();
|
||||
@@ -36,7 +44,8 @@ const items = ref<VoucherCheckRunItem[]>([]);
|
||||
const total = ref(0);
|
||||
const page = ref(1);
|
||||
const pageSize = ref(50);
|
||||
const period = ref('');
|
||||
const periodYear = ref('');
|
||||
const periodMonth = ref('');
|
||||
const status = ref('');
|
||||
const listTab = ref<'tasks' | 'notifications'>('tasks');
|
||||
const notifyLoading = ref(false);
|
||||
@@ -45,19 +54,63 @@ const notifyTotal = ref(0);
|
||||
const notifyPage = ref(1);
|
||||
const notifyPageSize = ref(50);
|
||||
const notifyStatus = ref('');
|
||||
const latestRun = ref<VoucherCheckLatestRun | null>(null);
|
||||
const latestLoading = ref(false);
|
||||
let forcePollTimer: ReturnType<typeof setInterval> | null = null;
|
||||
|
||||
const isAdmin = computed(() => String(getStoredAuthUser()?.role || '').trim().toLowerCase() === 'admin');
|
||||
const latestInProgress = computed(() => {
|
||||
const cardStatus = latestRun.value?.status;
|
||||
return cardStatus === 'queued' || cardStatus === 'running';
|
||||
});
|
||||
const latestHasMissing = computed(() => {
|
||||
const row = latestRun.value;
|
||||
if (!row) return false;
|
||||
return (row.missing_file_count || 0) > 0 || (row.missing_invoice_count || 0) > 0;
|
||||
});
|
||||
const latestCanOpenDetail = computed(() => {
|
||||
const row = latestRun.value;
|
||||
if (!row?.schedule_run_id) return false;
|
||||
return row.status === 'missing' || row.status === 'completed';
|
||||
});
|
||||
|
||||
const MONTH_VALUES = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'] as const;
|
||||
|
||||
/**
|
||||
* 默认资料所属期间为上一个自然月 YYYY-MM。
|
||||
* 进页默认资料所属期间为上一个自然月。
|
||||
*/
|
||||
function previousPeriod(): string {
|
||||
function previousYearMonth(): { year: string; month: string } {
|
||||
const d = new Date();
|
||||
d.setDate(1);
|
||||
d.setMonth(d.getMonth() - 1);
|
||||
const m = String(d.getMonth() + 1).padStart(2, '0');
|
||||
return `${d.getFullYear()}-${m}`;
|
||||
return {
|
||||
year: String(d.getFullYear()),
|
||||
month: String(d.getMonth() + 1).padStart(2, '0'),
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* 组装列表查询 period:有月份则为 YYYY-MM,否则为 YYYY。
|
||||
*/
|
||||
const periodQuery = computed(() => {
|
||||
if (!periodYear.value) return undefined;
|
||||
if (periodMonth.value) return `${periodYear.value}-${periodMonth.value}`;
|
||||
return periodYear.value;
|
||||
});
|
||||
|
||||
const yearOptions = computed(() => {
|
||||
const now = new Date().getFullYear();
|
||||
const years: string[] = [];
|
||||
for (let year = now - 5; year <= now; year += 1) {
|
||||
years.push(String(year));
|
||||
}
|
||||
if (periodYear.value && !years.includes(periodYear.value)) {
|
||||
years.unshift(periodYear.value);
|
||||
years.sort();
|
||||
}
|
||||
return years;
|
||||
});
|
||||
|
||||
const statusOptions = computed(() => [
|
||||
{ value: '', label: t('workspace.voucherCheck.statusAll') },
|
||||
{ value: 'missing', label: t('workspace.voucherCheck.statusMissing') },
|
||||
@@ -89,7 +142,7 @@ async function loadNotifications() {
|
||||
notifyLoading.value = true;
|
||||
try {
|
||||
const data = await listVoucherCheckNotifications({
|
||||
period: period.value || undefined,
|
||||
period: periodQuery.value,
|
||||
send_status: notifyStatus.value || undefined,
|
||||
page: notifyPage.value,
|
||||
page_size: notifyPageSize.value,
|
||||
@@ -117,6 +170,7 @@ function setListTab(tab: 'tasks' | 'notifications') {
|
||||
}
|
||||
page.value = 1;
|
||||
void loadRuns();
|
||||
void loadLatestRun();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -132,17 +186,6 @@ function searchCurrentTab() {
|
||||
void loadNotifications();
|
||||
}
|
||||
|
||||
/**
|
||||
* 当前 Tab 刷新列表,不重置页码。
|
||||
*/
|
||||
function refreshCurrentTab() {
|
||||
if (listTab.value === 'tasks') {
|
||||
void loadRuns();
|
||||
return;
|
||||
}
|
||||
void loadNotifications();
|
||||
}
|
||||
|
||||
/**
|
||||
* 下载该发送记录对应批次的 Excel。
|
||||
* @param row - 企微发送记录
|
||||
@@ -197,7 +240,7 @@ async function loadRuns() {
|
||||
loading.value = true;
|
||||
try {
|
||||
const data = await listVoucherCheckRuns({
|
||||
period: period.value || undefined,
|
||||
period: periodQuery.value,
|
||||
status: status.value || undefined,
|
||||
page: page.value,
|
||||
page_size: pageSize.value,
|
||||
@@ -238,15 +281,96 @@ function openRunDetail(row: VoucherCheckRunItem) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 停止强制重检后的列表轮询。
|
||||
* 停止最近一次检核的进度轮询。
|
||||
*/
|
||||
function stopForcePoll() {
|
||||
function stopLatestPoll() {
|
||||
if (forcePollTimer) {
|
||||
clearInterval(forcePollTimer);
|
||||
forcePollTimer = null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 拉取最近一次检核卡片;不跟下方列表的年/月/状态筛选。
|
||||
* @param options.silent - 轮询时不切换卡片 loading,避免进度条闪烁
|
||||
*/
|
||||
async function loadLatestRun(options?: { silent?: boolean }) {
|
||||
if (!options?.silent) latestLoading.value = true;
|
||||
try {
|
||||
latestRun.value = await getLatestVoucherCheckRun();
|
||||
} catch (e: any) {
|
||||
if (!options?.silent) {
|
||||
msg.error(e?.message || t('workspace.voucherCheck.latestLoadFailed'));
|
||||
}
|
||||
} finally {
|
||||
if (!options?.silent) latestLoading.value = false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 排队或执行中时轮询卡片;进入终态后刷新下方列表。
|
||||
*/
|
||||
function syncLatestPoll() {
|
||||
stopLatestPoll();
|
||||
if (listTab.value !== 'tasks' || !latestInProgress.value) return;
|
||||
forcePollTimer = setInterval(() => {
|
||||
void (async () => {
|
||||
const previous = latestRun.value?.status;
|
||||
await loadLatestRun({ silent: true });
|
||||
const next = latestRun.value?.status;
|
||||
if ((previous === 'queued' || previous === 'running') && next !== 'queued' && next !== 'running') {
|
||||
stopLatestPoll();
|
||||
void loadRuns();
|
||||
}
|
||||
})();
|
||||
}, 3000);
|
||||
}
|
||||
|
||||
/**
|
||||
* 最近一次检核状态徽章样式。
|
||||
* @param value - 卡片状态
|
||||
*/
|
||||
function latestBadgeClass(value: string): string {
|
||||
if (value === 'missing' || value === 'technical_failed') return 'bg-rose-50 text-rose-700';
|
||||
if (value === 'completed') return 'bg-emerald-50 text-emerald-700';
|
||||
if (value === 'queued' || value === 'running') return 'bg-blue-50 text-blue-700';
|
||||
return 'bg-surface-soft text-secondary';
|
||||
}
|
||||
|
||||
/**
|
||||
* 卡片当前步骤主文案:终态用完成提示,其余按步骤码翻译。
|
||||
* @param row - 最近一次检核
|
||||
*/
|
||||
function latestStepText(row: VoucherCheckLatestRun): string {
|
||||
if (row.status === 'queued') return t('workspace.voucherCheck.stepQueued');
|
||||
if (row.status === 'missing' && (row.current_step?.step === 'done' || !row.current_step)) {
|
||||
return t('workspace.voucherCheck.latestDoneHint');
|
||||
}
|
||||
if (row.status === 'completed' && (row.current_step?.step === 'done' || !row.current_step)) {
|
||||
return t('workspace.voucherCheck.latestCompleteHint');
|
||||
}
|
||||
if (row.status === 'technical_failed' && row.current_step?.step === 'fetch_erp') {
|
||||
return t('workspace.voucherCheck.stepFetchErpIncomplete');
|
||||
}
|
||||
return voucherCheckStepLabel(t, row.current_step?.step);
|
||||
}
|
||||
|
||||
/**
|
||||
* 卡片步骤辅文案:失败原因、排队等待或扫描进度。
|
||||
* @param row - 最近一次检核
|
||||
*/
|
||||
function latestHintText(row: VoucherCheckLatestRun): string {
|
||||
if (row.error_message) return row.error_message;
|
||||
if (row.status === 'queued') return t('workspace.voucherCheck.stepQueuedHint');
|
||||
if (row.status === 'running' && row.current_step?.step === 'scan_dms' && row.subject_count > 0) {
|
||||
return t('workspace.voucherCheck.processedHint', {
|
||||
processed: row.processed_count,
|
||||
total: row.subject_count,
|
||||
});
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
/**
|
||||
* 打开强制重检确认框;用公共 DeleteConfirmDialog 替代原生 window.confirm。
|
||||
*/
|
||||
@@ -264,13 +388,8 @@ async function forceRecheck() {
|
||||
try {
|
||||
const data = await triggerVoucherCheckForceAll();
|
||||
msg.success(t('workspace.voucherCheck.forceQueued', { runNo: data.run_no }));
|
||||
await loadRuns();
|
||||
stopForcePoll();
|
||||
const started = Date.now();
|
||||
forcePollTimer = setInterval(() => {
|
||||
void loadRuns();
|
||||
if (Date.now() - started > 120_000) stopForcePoll();
|
||||
}, 5000);
|
||||
await loadLatestRun({ silent: true });
|
||||
syncLatestPoll();
|
||||
} catch (e: any) {
|
||||
msg.error(e?.message || t('workspace.voucherCheck.forceFailed'));
|
||||
} finally {
|
||||
@@ -278,16 +397,40 @@ async function forceRecheck() {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 从最近一次检核卡片打开本批明细。
|
||||
*/
|
||||
function openLatestDetail() {
|
||||
const row = latestRun.value;
|
||||
if (!row?.schedule_run_id) {
|
||||
msg.error(t('workspace.voucherCheck.loadFailed'));
|
||||
return;
|
||||
}
|
||||
void router.push({
|
||||
path: WORKSPACE_PATHS.accountingVoucherCheckDetail(row.schedule_run_id),
|
||||
query: row.run_no ? { runNo: row.run_no } : undefined,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 仅在检核任务 Tab 且最近一批仍在排队/执行时轮询卡片。
|
||||
*/
|
||||
watch([listTab, latestInProgress], () => {
|
||||
syncLatestPoll();
|
||||
});
|
||||
|
||||
onMounted(async () => {
|
||||
if (redirectLegacyRunQuery()) return;
|
||||
period.value = previousPeriod();
|
||||
const previous = previousYearMonth();
|
||||
periodYear.value = previous.year;
|
||||
periodMonth.value = previous.month;
|
||||
const qStatus = route.query.status;
|
||||
if (typeof qStatus === 'string' && qStatus) status.value = qStatus;
|
||||
await loadRuns();
|
||||
await Promise.all([loadRuns(), loadLatestRun()]);
|
||||
});
|
||||
|
||||
onUnmounted(() => {
|
||||
stopForcePoll();
|
||||
stopLatestPoll();
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -321,22 +464,143 @@ onUnmounted(() => {
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<article
|
||||
v-if="listTab === 'tasks'"
|
||||
class="overflow-hidden rounded-2xl border border-default bg-surface"
|
||||
aria-live="polite"
|
||||
>
|
||||
<div class="flex flex-wrap items-start justify-between gap-3 bg-blue-50 px-4 py-3.5">
|
||||
<div>
|
||||
<h2 class="text-[15px] font-semibold text-primary">{{ $t('workspace.voucherCheck.latestTitle') }}</h2>
|
||||
<p v-if="latestRun" class="mt-1 text-xs text-muted">
|
||||
<span class="mr-3">{{ $t('workspace.voucherCheck.latestBatch', { runNo: latestRun.run_no }) }}</span>
|
||||
<span class="mr-3">{{ $t('workspace.voucherCheck.latestPeriod', { period: latestRun.period_month || '-' }) }}</span>
|
||||
<span>{{ voucherCheckModeLabel(t, latestRun.mode) }}</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="flex shrink-0 items-center gap-2">
|
||||
<span
|
||||
v-if="latestRun"
|
||||
class="inline-flex rounded-full px-2.5 py-1 text-xs font-semibold"
|
||||
:class="latestBadgeClass(latestRun.status)"
|
||||
>
|
||||
{{ voucherCheckStatusLabel(t, latestRun.status) }}
|
||||
</span>
|
||||
<button
|
||||
v-if="isAdmin"
|
||||
type="button"
|
||||
class="inline-flex items-center gap-1 rounded-xl border border-amber-300 bg-amber-50 px-3 py-1.5 text-sm font-medium text-amber-900 transition-colors hover:bg-amber-100 disabled:opacity-50"
|
||||
:disabled="forcing || latestInProgress"
|
||||
@click="openForceRecheck()"
|
||||
>
|
||||
<Loader2 v-if="forcing" class="h-3.5 w-3.5 animate-spin" />
|
||||
<RotateCcw v-else class="h-3.5 w-3.5" />
|
||||
{{ $t('workspace.voucherCheck.forceRecheck') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="px-4 py-3.5">
|
||||
<div v-if="latestLoading && !latestRun" class="flex items-center justify-center gap-2 py-8 text-sm text-muted">
|
||||
<Loader2 class="h-4 w-4 animate-spin" />
|
||||
{{ $t('workspace.voucherCheck.loading') }}
|
||||
</div>
|
||||
<p v-else-if="!latestRun" class="py-8 text-center text-sm text-muted">
|
||||
{{ $t('workspace.voucherCheck.latestEmpty') }}
|
||||
</p>
|
||||
<template v-else>
|
||||
<div class="h-2.5 overflow-hidden rounded-full bg-slate-200">
|
||||
<div
|
||||
class="h-full rounded-full transition-[width] duration-300"
|
||||
:class="latestRun.status === 'technical_failed' ? 'bg-rose-600' : 'bg-teal-700'"
|
||||
:style="{ width: `${latestRun.progress_percent || 0}%` }"
|
||||
/>
|
||||
</div>
|
||||
<div class="mt-2 mb-3.5 flex flex-wrap justify-between gap-3 text-xs text-muted">
|
||||
<span>{{ $t('workspace.voucherCheck.progress', { percent: latestRun.progress_percent || 0 }) }}</span>
|
||||
<span>
|
||||
{{ $t('workspace.voucherCheck.startedAt') }}:{{ formatLocalDateTime(latestRun.started_at) }}
|
||||
{{ $t('workspace.voucherCheck.finishedAt') }}:{{ latestInProgress ? $t('workspace.voucherCheck.inProgress') : formatLocalDateTime(latestRun.finished_at) }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="grid grid-cols-2 gap-2 md:grid-cols-4">
|
||||
<div class="rounded-[10px] border border-default bg-slate-50 px-2.5 py-3">
|
||||
<b class="block text-[22px] font-semibold leading-tight text-primary">{{ latestRun.subject_count }}</b>
|
||||
<span class="text-xs text-muted">{{ $t('workspace.voucherCheck.subjectCount') }}</span>
|
||||
</div>
|
||||
<div class="rounded-[10px] border border-default bg-slate-50 px-2.5 py-3">
|
||||
<b class="block text-[22px] font-semibold leading-tight text-primary">{{ latestRun.archived_file_count }}</b>
|
||||
<span class="text-xs text-muted">{{ $t('workspace.voucherCheck.archivedFiles') }}</span>
|
||||
</div>
|
||||
<div class="rounded-[10px] border border-default bg-slate-50 px-2.5 py-3">
|
||||
<b
|
||||
class="block text-[22px] font-semibold leading-tight"
|
||||
:class="latestHasMissing ? 'text-rose-700' : 'text-primary'"
|
||||
>{{ latestRun.missing_file_count }}</b>
|
||||
<span class="text-xs text-muted">{{ $t('workspace.voucherCheck.missingFiles') }}</span>
|
||||
</div>
|
||||
<div class="rounded-[10px] border border-default bg-slate-50 px-2.5 py-3">
|
||||
<b
|
||||
class="block text-[22px] font-semibold leading-tight"
|
||||
:class="latestHasMissing ? 'text-rose-700' : 'text-primary'"
|
||||
>{{ latestRun.missing_invoice_count }}</b>
|
||||
<span class="text-xs text-muted">{{ $t('workspace.voucherCheck.missingInvoices') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<p class="mt-3 text-[13px] text-slate-700">
|
||||
{{ latestStepText(latestRun) }}
|
||||
<small v-if="latestHintText(latestRun)" class="mt-0.5 block text-muted">{{ latestHintText(latestRun) }}</small>
|
||||
</p>
|
||||
<div v-if="latestCanOpenDetail" class="mt-3 flex justify-end">
|
||||
<button
|
||||
type="button"
|
||||
class="text-sm font-semibold text-brand-700 hover:underline"
|
||||
@click="openLatestDetail"
|
||||
>
|
||||
{{ $t('workspace.voucherCheck.viewLatestDetail') }}
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<section class="flex flex-wrap items-end gap-3 rounded-2xl border border-default/80 bg-surface/70 px-4 py-3 shadow-sm">
|
||||
<label class="flex flex-col gap-1 text-xs font-medium text-muted">
|
||||
{{ $t('workspace.voucherCheck.period') }}
|
||||
<input v-model="period" type="month" class="rounded-xl border border-default bg-surface px-3 py-1.5 text-sm text-primary" />
|
||||
<span class="flex items-center gap-2">
|
||||
<span class="period-select">
|
||||
<select v-model="periodYear" class="period-select__control w-[4.75rem]">
|
||||
<option v-for="year in yearOptions" :key="year" :value="year">{{ year }}</option>
|
||||
</select>
|
||||
<ChevronDown class="period-select__icon" aria-hidden="true" />
|
||||
</span>
|
||||
<span class="period-select">
|
||||
<select v-model="periodMonth" class="period-select__control w-[4.75rem]">
|
||||
<option value="">{{ $t('workspace.voucherCheck.periodMonthAll') }}</option>
|
||||
<option v-for="month in MONTH_VALUES" :key="month" :value="month">
|
||||
{{ $t('workspace.voucherCheck.periodMonthValue', { n: Number(month) }) }}
|
||||
</option>
|
||||
</select>
|
||||
<ChevronDown class="period-select__icon" aria-hidden="true" />
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
<label v-if="listTab === 'tasks'" class="flex flex-col gap-1 text-xs font-medium text-muted">
|
||||
{{ $t('workspace.voucherCheck.status') }}
|
||||
<select v-model="status" class="rounded-xl border border-default bg-surface px-3 py-1.5 text-sm text-primary">
|
||||
<option v-for="opt in statusOptions" :key="opt.value || 'all'" :value="opt.value">{{ opt.label }}</option>
|
||||
</select>
|
||||
<span class="period-select">
|
||||
<select v-model="status" class="period-select__control w-[6rem]">
|
||||
<option v-for="opt in statusOptions" :key="opt.value || 'all'" :value="opt.value">{{ opt.label }}</option>
|
||||
</select>
|
||||
<ChevronDown class="period-select__icon" aria-hidden="true" />
|
||||
</span>
|
||||
</label>
|
||||
<label v-else class="flex flex-col gap-1 text-xs font-medium text-muted">
|
||||
{{ $t('workspace.voucherCheck.notifyStatus') }}
|
||||
<select v-model="notifyStatus" class="rounded-xl border border-default bg-surface px-3 py-1.5 text-sm text-primary">
|
||||
<option v-for="opt in notifyStatusOptions" :key="opt.value || 'all'" :value="opt.value">{{ opt.label }}</option>
|
||||
</select>
|
||||
<span class="period-select">
|
||||
<select v-model="notifyStatus" class="period-select__control w-[7.25rem]">
|
||||
<option v-for="opt in notifyStatusOptions" :key="opt.value || 'all'" :value="opt.value">{{ opt.label }}</option>
|
||||
</select>
|
||||
<ChevronDown class="period-select__icon" aria-hidden="true" />
|
||||
</span>
|
||||
</label>
|
||||
<button
|
||||
type="button"
|
||||
@@ -346,25 +610,6 @@ onUnmounted(() => {
|
||||
<Search class="h-3.5 w-3.5" />
|
||||
{{ $t('workspace.voucherCheck.search') }}
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
class="inline-flex items-center gap-1 rounded-xl border border-default px-3 py-1.5 text-sm font-medium text-secondary transition-colors hover:bg-surface-soft"
|
||||
@click="refreshCurrentTab"
|
||||
>
|
||||
<RefreshCw class="h-3.5 w-3.5" />
|
||||
{{ $t('workspace.voucherCheck.refresh') }}
|
||||
</button>
|
||||
<button
|
||||
v-if="listTab === 'tasks'"
|
||||
type="button"
|
||||
class="ml-auto inline-flex items-center gap-1 rounded-xl border border-amber-300 bg-amber-50 px-3 py-1.5 text-sm font-medium text-amber-900 transition-colors hover:bg-amber-100 disabled:opacity-50"
|
||||
:disabled="forcing"
|
||||
@click="openForceRecheck()"
|
||||
>
|
||||
<Loader2 v-if="forcing" class="h-3.5 w-3.5 animate-spin" />
|
||||
<RotateCcw v-else class="h-3.5 w-3.5" />
|
||||
{{ $t('workspace.voucherCheck.forceRecheck') }}
|
||||
</button>
|
||||
</section>
|
||||
|
||||
<section v-if="listTab === 'tasks'" class="overflow-hidden rounded-2xl border border-default bg-surface">
|
||||
@@ -524,3 +769,51 @@ onUnmounted(() => {
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
/**
|
||||
* 隐藏系统原生下拉箭头(含 Chromium ::picker-icon / Edge ::-ms-expand)。
|
||||
* 只保留模板里的 ChevronDown,避免 Windows 下年份与月份箭头叠在一起。
|
||||
*/
|
||||
.period-select {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.period-select__control {
|
||||
box-sizing: border-box;
|
||||
border-radius: 0.75rem;
|
||||
border: 1px solid var(--border-default);
|
||||
background-color: var(--bg-surface);
|
||||
background-image: none;
|
||||
padding: 0.375rem 1.75rem 0.375rem 0.625rem;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
color: var(--text-primary);
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.25rem;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
.period-select__control::-ms-expand {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.period-select__control::picker-icon {
|
||||
display: none;
|
||||
content: none;
|
||||
}
|
||||
|
||||
.period-select__icon {
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
right: 0.5rem;
|
||||
height: 0.875rem;
|
||||
width: 0.875rem;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
</style>
|
||||
@@ -784,6 +784,8 @@
|
||||
"title": "Accounting voucher check tasks",
|
||||
"subtitle": "Every Tuesday the job incrementally checks the previous calendar month, scans sales invoice attachment folders, archives by invoice, and summarizes missing files.",
|
||||
"period": "Document period",
|
||||
"periodMonthAll": "All",
|
||||
"periodMonthValue": "Month {n}",
|
||||
"status": "Status",
|
||||
"statusAll": "All",
|
||||
"statusComplete": "Complete",
|
||||
@@ -791,6 +793,8 @@
|
||||
"statusSkipped": "Skipped",
|
||||
"statusTechError": "Technical failure",
|
||||
"statusPending": "Pending",
|
||||
"statusQueued": "Queued",
|
||||
"statusRunning": "Running",
|
||||
"invoiceNo": "invoice",
|
||||
"invoiceDate": "Invoice date",
|
||||
"invoicePlaceholder": "Filter by invoice",
|
||||
@@ -800,7 +804,6 @@
|
||||
"checkedAt": "Run time",
|
||||
"result": "Result",
|
||||
"search": "Search",
|
||||
"refresh": "Refresh",
|
||||
"loading": "Loading…",
|
||||
"empty": "No check batches yet",
|
||||
"loadFailed": "Failed to load voucher check tasks",
|
||||
@@ -826,9 +829,34 @@
|
||||
"viewDetail": "View details",
|
||||
"forceRecheck": "Force recheck last month",
|
||||
"failureReason": "Failure reason",
|
||||
"forceConfirm": "This will fully recheck the previous calendar month. Already archived files will not be skipped, and the period filter above is ignored. Continue?",
|
||||
"forceQueued": "Force recheck queued ({runNo}). The list will refresh when it finishes.",
|
||||
"forceConfirm": "This will fully recheck the previous calendar month. Already archived files will not be skipped, and the period filter below is ignored. Continue?",
|
||||
"forceQueued": "Force recheck queued ({runNo}). Progress will update on this card.",
|
||||
"forceFailed": "Failed to queue the force recheck",
|
||||
"latestTitle": "Latest check",
|
||||
"latestEmpty": "No check batches yet",
|
||||
"latestLoadFailed": "Failed to load the latest check",
|
||||
"latestBatch": "Batch {runNo}",
|
||||
"latestPeriod": "Period {period}",
|
||||
"modeIncremental": "Incremental",
|
||||
"modeForceAll": "Full recheck",
|
||||
"modeSingle": "Single invoice",
|
||||
"progress": "Progress {percent}%",
|
||||
"startedAt": "Started",
|
||||
"finishedAt": "Finished",
|
||||
"inProgress": "In progress",
|
||||
"viewLatestDetail": "View this batch",
|
||||
"archivedFiles": "Archived files",
|
||||
"processedHint": "Processed {processed} / {total} invoices",
|
||||
"latestDoneHint": "This batch is complete. Missing-file results have been written to Excel.",
|
||||
"latestCompleteHint": "This batch is complete.",
|
||||
"stepQueued": "Force recheck of last month is queued",
|
||||
"stepQueuedHint": "Waiting for the schedule worker to pick it up",
|
||||
"stepFetchErp": "Fetching last month’s sales invoices",
|
||||
"stepFetchErpIncomplete": "Fetching last month’s sales invoices did not finish",
|
||||
"stepScanDms": "Scanning sales invoice attachment type folders",
|
||||
"stepPersist": "Writing check records",
|
||||
"stepNotify": "Sending the WeCom summary",
|
||||
"stepDone": "Check complete",
|
||||
"tabTasks": "Check tasks",
|
||||
"tabNotifications": "WeCom send log",
|
||||
"notifyEmpty": "No WeCom send records yet",
|
||||
|
||||
@@ -720,6 +720,8 @@
|
||||
"title": "งานตรวจเอกสารบัญชี",
|
||||
"subtitle": "ทุกวันอังคารตรวจเดือนปฏิทินก่อนหน้าแบบเพิ่มส่วน แสกนโฟลเดอร์เอกสารขาย แล้วจัดเก็บตาม invoice พร้อมสรุปไฟล์ที่ขาด",
|
||||
"period": "ช่วงเอกสาร",
|
||||
"periodMonthAll": "ทั้งหมด",
|
||||
"periodMonthValue": "เดือน {n}",
|
||||
"status": "สถานะ",
|
||||
"statusAll": "ทั้งหมด",
|
||||
"statusComplete": "ครบ",
|
||||
@@ -727,6 +729,8 @@
|
||||
"statusSkipped": "ข้าม",
|
||||
"statusTechError": "ล้มเหลวทางเทคนิค",
|
||||
"statusPending": "รอดำเนินการ",
|
||||
"statusQueued": "อยู่ในคิว",
|
||||
"statusRunning": "กำลังทำงาน",
|
||||
"invoiceNo": "invoice",
|
||||
"invoiceDate": "วันที่ใบแจ้งหนี้",
|
||||
"invoicePlaceholder": "กรองด้วย invoice",
|
||||
@@ -736,7 +740,6 @@
|
||||
"checkedAt": "เวลาที่รัน",
|
||||
"result": "ผลลัพธ์",
|
||||
"search": "ค้นหา",
|
||||
"refresh": "รีเฟรช",
|
||||
"loading": "กำลังโหลด…",
|
||||
"empty": "ยังไม่มีรอบการตรวจ",
|
||||
"loadFailed": "โหลดงานตรวจไม่สำเร็จ",
|
||||
@@ -762,9 +765,34 @@
|
||||
"viewDetail": "ดูรายละเอียด",
|
||||
"forceRecheck": "ตรวจเดือนที่แล้วใหม่ทั้งชุด",
|
||||
"failureReason": "สาเหตุที่ล้มเหลว",
|
||||
"forceConfirm": "ระบบจะตรวจเดือนปฏิทินก่อนหน้าทั้งชุด ไม่ข้ามไฟล์ที่จัดเก็บแล้ว และไม่ใช้ช่วงที่กรองด้านบน ต้องการเริ่มหรือไม่?",
|
||||
"forceQueued": "จัดคิวตรวจใหม่แล้ว ({runNo}) รายการจะรีเฟรชเมื่อเสร็จ",
|
||||
"forceConfirm": "ระบบจะตรวจเดือนปฏิทินก่อนหน้าทั้งชุด ไม่ข้ามไฟล์ที่จัดเก็บแล้ว และไม่ใช้ช่วงที่กรองด้านล่าง ต้องการเริ่มหรือไม่?",
|
||||
"forceQueued": "จัดคิวตรวจใหม่แล้ว ({runNo}) ความคืบหน้าจะอัปเดตบนการ์ดนี้",
|
||||
"forceFailed": "จัดคิวตรวจใหม่ไม่สำเร็จ",
|
||||
"latestTitle": "การตรวจล่าสุด",
|
||||
"latestEmpty": "ยังไม่มีรอบการตรวจ",
|
||||
"latestLoadFailed": "โหลดการตรวจล่าสุดไม่สำเร็จ",
|
||||
"latestBatch": "รอบ {runNo}",
|
||||
"latestPeriod": "ช่วง {period}",
|
||||
"modeIncremental": "แบบเพิ่มทีละส่วน",
|
||||
"modeForceAll": "ตรวจใหม่ทั้งชุด",
|
||||
"modeSingle": "ใบเดียว",
|
||||
"progress": "ความคืบหน้า {percent}%",
|
||||
"startedAt": "เริ่ม",
|
||||
"finishedAt": "เสร็จ",
|
||||
"inProgress": "กำลังดำเนินการ",
|
||||
"viewLatestDetail": "ดูรายละเอียดรอบนี้",
|
||||
"archivedFiles": "ไฟล์ที่จัดเก็บแล้ว",
|
||||
"processedHint": "ประมวลผลแล้ว {processed} / {total} ใบ invoice",
|
||||
"latestDoneHint": "รอบนี้เสร็จแล้ว ผลไฟล์ที่ขาดถูกเขียนลง Excel",
|
||||
"latestCompleteHint": "รอบนี้เสร็จแล้ว",
|
||||
"stepQueued": "จัดคิวตรวจเดือนที่แล้วใหม่ทั้งชุดแล้ว",
|
||||
"stepQueuedHint": "รอให้ schedule worker รับงาน",
|
||||
"stepFetchErp": "กำลังดึง invoice ขายของเดือนที่แล้ว",
|
||||
"stepFetchErpIncomplete": "ดึง invoice ขายของเดือนที่แล้วยังไม่เสร็จ",
|
||||
"stepScanDms": "กำลังสแกนโฟลเดอร์ประเภทเอกสารใบแจ้งหนี้ขาย",
|
||||
"stepPersist": "กำลังบันทึกผลตรวจ",
|
||||
"stepNotify": "กำลังส่งสรุป WeCom",
|
||||
"stepDone": "ตรวจเสร็จแล้ว",
|
||||
"tabTasks": "งานตรวจ",
|
||||
"tabNotifications": "ประวัติส่ง WeCom",
|
||||
"notifyEmpty": "ยังไม่มีประวัติส่ง WeCom",
|
||||
|
||||
@@ -784,6 +784,8 @@
|
||||
"title": "立账凭证检核任务",
|
||||
"subtitle": "每周二增量检核上一个自然月;扫描销售开票附件类型目录后按 invoice 归档,并汇总缺件。",
|
||||
"period": "资料所属期间",
|
||||
"periodMonthAll": "全部",
|
||||
"periodMonthValue": "{n}月",
|
||||
"status": "状态",
|
||||
"statusAll": "全部",
|
||||
"statusComplete": "完整",
|
||||
@@ -791,6 +793,8 @@
|
||||
"statusSkipped": "跳过",
|
||||
"statusTechError": "技术失败",
|
||||
"statusPending": "待处理",
|
||||
"statusQueued": "排队中",
|
||||
"statusRunning": "执行中",
|
||||
"invoiceNo": "invoice",
|
||||
"invoiceDate": "发票日期",
|
||||
"invoicePlaceholder": "输入 invoice 筛选",
|
||||
@@ -800,7 +804,6 @@
|
||||
"checkedAt": "执行时间",
|
||||
"result": "结论",
|
||||
"search": "查询",
|
||||
"refresh": "刷新",
|
||||
"loading": "加载中…",
|
||||
"empty": "暂无检核批次",
|
||||
"loadFailed": "加载检核任务失败",
|
||||
@@ -826,9 +829,34 @@
|
||||
"viewDetail": "查看详情",
|
||||
"forceRecheck": "强制重检上月",
|
||||
"failureReason": "失败原因",
|
||||
"forceConfirm": "将全量重检上一个自然月,不跳过已归档记录,也不使用上方筛选的期间。确定开始?",
|
||||
"forceQueued": "已入队强制重检({runNo}),完成后列表会自动刷新。",
|
||||
"forceConfirm": "将全量重检上一个自然月,不跳过已归档记录,也不使用下方筛选的期间。确定开始?",
|
||||
"forceQueued": "已入队强制重检({runNo}),进度将在本卡更新。",
|
||||
"forceFailed": "强制重检入队失败",
|
||||
"latestTitle": "最近一次检核",
|
||||
"latestEmpty": "暂无检核批次",
|
||||
"latestLoadFailed": "加载最近一次检核失败",
|
||||
"latestBatch": "批次 {runNo}",
|
||||
"latestPeriod": "期间 {period}",
|
||||
"modeIncremental": "增量",
|
||||
"modeForceAll": "全量重检",
|
||||
"modeSingle": "单票",
|
||||
"progress": "进度 {percent}%",
|
||||
"startedAt": "开始",
|
||||
"finishedAt": "完成",
|
||||
"inProgress": "进行中",
|
||||
"viewLatestDetail": "查看本批详情",
|
||||
"archivedFiles": "已归档文件",
|
||||
"processedHint": "已处理 {processed} / {total} 张 invoice",
|
||||
"latestDoneHint": "本批已完成,缺件结果已写入 Excel。",
|
||||
"latestCompleteHint": "本批已完成。",
|
||||
"stepQueued": "已入队强制重检上月",
|
||||
"stepQueuedHint": "等待 schedule worker 领取",
|
||||
"stepFetchErp": "拉取上月销售 invoice",
|
||||
"stepFetchErpIncomplete": "拉取上月销售 invoice 未完成",
|
||||
"stepScanDms": "扫描销售开票附件类型目录",
|
||||
"stepPersist": "写入检核记录",
|
||||
"stepNotify": "发送企微汇总",
|
||||
"stepDone": "检核完成",
|
||||
"tabTasks": "检核任务",
|
||||
"tabNotifications": "企微发送记录",
|
||||
"notifyEmpty": "暂无企业微信发送记录",
|
||||
|
||||
@@ -784,6 +784,8 @@
|
||||
"title": "立帳憑證檢核任務",
|
||||
"subtitle": "每週二增量檢核上一個自然月;掃描銷售開票附件類型目錄後按 invoice 歸檔,並彙總缺件。",
|
||||
"period": "資料所屬期間",
|
||||
"periodMonthAll": "全部",
|
||||
"periodMonthValue": "{n}月",
|
||||
"status": "狀態",
|
||||
"statusAll": "全部",
|
||||
"statusComplete": "完整",
|
||||
@@ -791,6 +793,8 @@
|
||||
"statusSkipped": "跳過",
|
||||
"statusTechError": "技術失敗",
|
||||
"statusPending": "待處理",
|
||||
"statusQueued": "排隊中",
|
||||
"statusRunning": "執行中",
|
||||
"invoiceNo": "invoice",
|
||||
"invoiceDate": "發票日期",
|
||||
"invoicePlaceholder": "輸入 invoice 篩選",
|
||||
@@ -800,7 +804,6 @@
|
||||
"checkedAt": "執行時間",
|
||||
"result": "結論",
|
||||
"search": "查詢",
|
||||
"refresh": "重新整理",
|
||||
"loading": "載入中…",
|
||||
"empty": "暫無檢核批次",
|
||||
"loadFailed": "載入檢核任務失敗",
|
||||
@@ -826,9 +829,34 @@
|
||||
"viewDetail": "查看詳情",
|
||||
"forceRecheck": "強制重檢上月",
|
||||
"failureReason": "失敗原因",
|
||||
"forceConfirm": "將全量重檢上一個自然月,不跳過已歸檔紀錄,也不使用上方篩選的期間。確定開始?",
|
||||
"forceQueued": "已排入強制重檢({runNo}),完成後列表會自動重新整理。",
|
||||
"forceConfirm": "將全量重檢上一個自然月,不跳過已歸檔紀錄,也不使用下方篩選的期間。確定開始?",
|
||||
"forceQueued": "已排入強制重檢({runNo}),進度將在本卡更新。",
|
||||
"forceFailed": "強制重檢排入失敗",
|
||||
"latestTitle": "最近一次檢核",
|
||||
"latestEmpty": "暫無檢核批次",
|
||||
"latestLoadFailed": "載入最近一次檢核失敗",
|
||||
"latestBatch": "批次 {runNo}",
|
||||
"latestPeriod": "期間 {period}",
|
||||
"modeIncremental": "增量",
|
||||
"modeForceAll": "全量重檢",
|
||||
"modeSingle": "單票",
|
||||
"progress": "進度 {percent}%",
|
||||
"startedAt": "開始",
|
||||
"finishedAt": "完成",
|
||||
"inProgress": "進行中",
|
||||
"viewLatestDetail": "查看本批詳情",
|
||||
"archivedFiles": "已歸檔檔案",
|
||||
"processedHint": "已處理 {processed} / {total} 張 invoice",
|
||||
"latestDoneHint": "本批已完成,缺件結果已寫入 Excel。",
|
||||
"latestCompleteHint": "本批已完成。",
|
||||
"stepQueued": "已排入強制重檢上月",
|
||||
"stepQueuedHint": "等待 schedule worker 領取",
|
||||
"stepFetchErp": "拉取上月銷售 invoice",
|
||||
"stepFetchErpIncomplete": "拉取上月銷售 invoice 未完成",
|
||||
"stepScanDms": "掃描銷售開票附件類型目錄",
|
||||
"stepPersist": "寫入檢核紀錄",
|
||||
"stepNotify": "發送企微彙總",
|
||||
"stepDone": "檢核完成",
|
||||
"tabTasks": "檢核任務",
|
||||
"tabNotifications": "企微發送紀錄",
|
||||
"notifyEmpty": "暫無企業微信發送紀錄",
|
||||
|
||||
Reference in new issue
Block a user