1
This commit is contained in:
1 parent
78576f5745
commit
63b997a7e4
68 files changed
+3680
-1413
No files matched your search
@@ -3,6 +3,7 @@
|
||||
* 常用问题 / FAQ 缓存创建与编辑居中弹窗。
|
||||
* 依赖:QuestionFormState、admin 通用 modal 样式。
|
||||
* 逻辑:QuestionsPage 打开本组件;提交时 emit save,由 composable 调 API。
|
||||
* is_enabled 仅控制工作台首页入口;cache_enabled 单独控制聊天是否跳过 Dify。
|
||||
*/
|
||||
<script setup lang="ts">
|
||||
import { computed } from 'vue';
|
||||
@@ -86,13 +87,16 @@ const isStale = computed(() => Boolean(props.form.stale_at));
|
||||
<label class="label-field">{{ t('admin.question.fields.sortOrder') }}</label>
|
||||
<input v-model.number="form.sort_order" type="number" class="input-field text-sm" />
|
||||
</div>
|
||||
<div class="md:col-span-2 flex flex-wrap gap-6">
|
||||
<label class="inline-flex items-center gap-2 text-sm text-secondary cursor-pointer">
|
||||
<input v-model="form.is_enabled" type="checkbox" class="accent-brand-600" />
|
||||
<span>{{ t('admin.question.fields.isEnabled') }}</span>
|
||||
<div class="md:col-span-2 space-y-3">
|
||||
<label class="flex items-start gap-2 text-sm text-secondary cursor-pointer">
|
||||
<input v-model="form.is_enabled" type="checkbox" class="mt-0.5 accent-brand-600" />
|
||||
<span>
|
||||
<span class="block">{{ t('admin.question.fields.isEnabled') }}</span>
|
||||
<span class="block text-xs text-muted mt-0.5">{{ t('admin.question.fields.isEnabledHelp') }}</span>
|
||||
</span>
|
||||
</label>
|
||||
<label class="inline-flex items-center gap-2 text-sm text-secondary cursor-pointer">
|
||||
<input v-model="form.cache_enabled" type="checkbox" class="accent-brand-600" />
|
||||
<label class="flex items-start gap-2 text-sm text-secondary cursor-pointer">
|
||||
<input v-model="form.cache_enabled" type="checkbox" class="mt-0.5 accent-brand-600" />
|
||||
<span>{{ t('admin.question.fields.cacheEnabled') }}</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
@@ -1,82 +1,89 @@
|
||||
/**
|
||||
* features/workspace/api/voucherCheck.api.ts
|
||||
* 用途:工作台立账凭证检核记录查询 API 客户端。
|
||||
* 用途:工作台立账凭证检核任务列表、批次明细与强制重检 API 客户端。
|
||||
* 依赖:@/shared/api/client、getAuthHeaders。
|
||||
* 逻辑:AccountingVoucherCheckView 调用;对应 /api/workspace/accounting-voucher-check/*。
|
||||
*/
|
||||
import { requestJson } from '@/shared/api/client';
|
||||
import { getAuthHeaders } from '@/shared/utils/auth';
|
||||
|
||||
export interface VoucherCheckStateItem {
|
||||
export interface VoucherCheckRunItem {
|
||||
id: number;
|
||||
scope_code: string;
|
||||
schedule_run_id?: number | null;
|
||||
run_no: string;
|
||||
profile_code: string;
|
||||
period_month: string | null;
|
||||
invoice_no: string;
|
||||
invoice_date?: string | null;
|
||||
mode: string;
|
||||
status: string;
|
||||
folder_path?: string | null;
|
||||
folder_exists?: boolean;
|
||||
matched_files?: Record<string, string>;
|
||||
missing_materials?: Array<{ code?: string; name?: string }>;
|
||||
last_checked_at?: string | null;
|
||||
last_missing_notified_on?: string | null;
|
||||
subject_count: number;
|
||||
missing_file_count: number;
|
||||
missing_invoice_count: number;
|
||||
technical_error_count: number;
|
||||
staged_file_count: number;
|
||||
finished_at?: string | null;
|
||||
}
|
||||
|
||||
export interface VoucherCheckStatesResponse {
|
||||
scope_code: string;
|
||||
period: string;
|
||||
export interface VoucherCheckRunsResponse {
|
||||
page: number;
|
||||
page_size: number;
|
||||
total: number;
|
||||
items: VoucherCheckStateItem[];
|
||||
items: VoucherCheckRunItem[];
|
||||
}
|
||||
|
||||
export interface VoucherCheckRunInvoiceItem {
|
||||
id: number;
|
||||
invoice_no: string;
|
||||
result: string;
|
||||
status_label?: string | null;
|
||||
missing_materials?: Array<{ code?: string; name?: string }>;
|
||||
cells?: Record<string, string>;
|
||||
checked_at?: string | null;
|
||||
}
|
||||
|
||||
export interface VoucherCheckRunItemsResponse {
|
||||
run_id: number;
|
||||
engine_run_id?: number;
|
||||
run_no: string;
|
||||
page: number;
|
||||
page_size: number;
|
||||
total: number;
|
||||
items: Array<{
|
||||
id: number;
|
||||
invoice_no: string;
|
||||
invoice_date?: string | null;
|
||||
result: string;
|
||||
folder_path?: string | null;
|
||||
folder_exists?: boolean;
|
||||
matched_files?: Record<string, string>;
|
||||
missing_materials?: Array<{ code?: string; name?: string }>;
|
||||
error_code?: string | null;
|
||||
error_message?: string | null;
|
||||
checked_at?: string | null;
|
||||
}>;
|
||||
items: VoucherCheckRunInvoiceItem[];
|
||||
}
|
||||
|
||||
export interface VoucherCheckForceRunResponse {
|
||||
schedule_task_id: number;
|
||||
schedule_run_id: number;
|
||||
run_no: string;
|
||||
job_id: number;
|
||||
mode: string;
|
||||
status: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 按月份/状态/发票号筛选最新检核状态。
|
||||
* 分页查询检核任务列表。
|
||||
*/
|
||||
export function listVoucherCheckStates(params: {
|
||||
export function listVoucherCheckRuns(params: {
|
||||
period?: string;
|
||||
profile_code?: string;
|
||||
status?: string;
|
||||
invoice_no?: string;
|
||||
page?: number;
|
||||
page_size?: number;
|
||||
}) {
|
||||
const q = new URLSearchParams();
|
||||
if (params.period) q.set('period', params.period);
|
||||
if (params.profile_code) q.set('profile_code', params.profile_code);
|
||||
if (params.status) q.set('status', params.status);
|
||||
if (params.invoice_no) q.set('invoice_no', params.invoice_no);
|
||||
if (params.page) q.set('page', String(params.page));
|
||||
if (params.page_size) q.set('page_size', String(params.page_size));
|
||||
const qs = q.toString();
|
||||
return requestJson<VoucherCheckStatesResponse>(
|
||||
`/api/workspace/accounting-voucher-check/states${qs ? `?${qs}` : ''}`,
|
||||
return requestJson<VoucherCheckRunsResponse>(
|
||||
`/api/workspace/accounting-voucher-check/runs${qs ? `?${qs}` : ''}`,
|
||||
{ headers: getAuthHeaders() },
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 分页查询指定批次明细。
|
||||
* 分页查询指定排程批次的 invoice 明细。
|
||||
*/
|
||||
export function listVoucherCheckRunItems(runId: number, params?: { result?: string; page?: number; page_size?: number }) {
|
||||
const q = new URLSearchParams();
|
||||
@@ -89,3 +96,17 @@ export function listVoucherCheckRunItems(runId: number, params?: { result?: stri
|
||||
{ headers: getAuthHeaders() },
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 强制重检上一个自然月(不走增量跳过)。
|
||||
*/
|
||||
export function triggerVoucherCheckForceAll() {
|
||||
return requestJson<VoucherCheckForceRunResponse>(
|
||||
'/api/workspace/accounting-voucher-check/runs',
|
||||
{
|
||||
method: 'POST',
|
||||
headers: { ...getAuthHeaders(), 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({ mode: 'force_all' }),
|
||||
},
|
||||
);
|
||||
}
|
||||
@@ -1,19 +1,21 @@
|
||||
<script setup lang="ts">
|
||||
/**
|
||||
* features/workspace/views/AccountingVoucherCheckView.vue
|
||||
* 用途:立账凭证检核记录页——按月筛选最新状态与缺资料票。
|
||||
* 用途:立账凭证检核任务列表——按资料所属期间查看批次统计,并可展开 invoice 明细。
|
||||
* 依赖:voucherCheck.api、vue-i18n、useMessage。
|
||||
* 逻辑:路由 /workspace/accounting-voucher-check;企微 textcard 也可跳转至此。
|
||||
* 逻辑:路由 /workspace/accounting-voucher-check;企微汇总卡片可带 run_id 跳转批次明细;强制重检入队周批 force_all。
|
||||
*/
|
||||
import { computed, onMounted, ref, watch } from 'vue';
|
||||
import { computed, onMounted, onUnmounted, ref, watch } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { Loader2, RefreshCw, Search } from 'lucide-vue-next';
|
||||
import { Loader2, RefreshCw, RotateCcw, Search } from 'lucide-vue-next';
|
||||
import { useMessage } from '@/shared/composables/useMessage';
|
||||
import {
|
||||
listVoucherCheckRunItems,
|
||||
listVoucherCheckStates,
|
||||
type VoucherCheckStateItem,
|
||||
listVoucherCheckRuns,
|
||||
triggerVoucherCheckForceAll,
|
||||
type VoucherCheckRunInvoiceItem,
|
||||
type VoucherCheckRunItem,
|
||||
} from '../api/voucherCheck.api';
|
||||
|
||||
const { t } = useI18n();
|
||||
@@ -21,47 +23,49 @@ const msg = useMessage();
|
||||
const route = useRoute();
|
||||
|
||||
const loading = ref(false);
|
||||
const items = ref<VoucherCheckStateItem[]>([]);
|
||||
const forcing = ref(false);
|
||||
const items = ref<VoucherCheckRunItem[]>([]);
|
||||
const total = ref(0);
|
||||
const page = ref(1);
|
||||
const pageSize = 50;
|
||||
const period = ref('');
|
||||
const status = ref('');
|
||||
const invoiceNo = ref('');
|
||||
const runIdFilter = ref<number | null>(null);
|
||||
const runItems = ref<Awaited<ReturnType<typeof listVoucherCheckRunItems>>['items']>([]);
|
||||
const runItems = ref<VoucherCheckRunInvoiceItem[]>([]);
|
||||
let forcePollTimer: ReturnType<typeof setInterval> | null = null;
|
||||
|
||||
/**
|
||||
* 默认检核月份(当前自然月 YYYY-MM)。
|
||||
* 默认资料所属期间为上一个自然月 YYYY-MM。
|
||||
*/
|
||||
function currentPeriod(): string {
|
||||
function previousPeriod(): 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}`;
|
||||
}
|
||||
|
||||
const statusOptions = computed(() => [
|
||||
{ value: '', label: t('workspace.voucherCheck.statusAll') },
|
||||
{ value: 'complete', label: t('workspace.voucherCheck.statusComplete') },
|
||||
{ value: 'missing', label: t('workspace.voucherCheck.statusMissing') },
|
||||
{ value: 'completed', label: t('workspace.voucherCheck.statusComplete') },
|
||||
{ value: 'technical_failed', label: t('workspace.voucherCheck.statusTechError') },
|
||||
]);
|
||||
|
||||
/**
|
||||
* 加载最新状态列表。
|
||||
* 加载检核任务列表。
|
||||
*/
|
||||
async function loadStates() {
|
||||
async function loadRuns() {
|
||||
loading.value = true;
|
||||
try {
|
||||
const data = await listVoucherCheckStates({
|
||||
const data = await listVoucherCheckRuns({
|
||||
period: period.value || undefined,
|
||||
status: status.value || undefined,
|
||||
invoice_no: invoiceNo.value || undefined,
|
||||
page: page.value,
|
||||
page_size: pageSize,
|
||||
});
|
||||
items.value = data.items || [];
|
||||
total.value = data.total || 0;
|
||||
if (data.period && !period.value) period.value = data.period;
|
||||
} catch (e: any) {
|
||||
msg.error(e?.message || t('workspace.voucherCheck.loadFailed'));
|
||||
} finally {
|
||||
@@ -70,7 +74,7 @@ async function loadStates() {
|
||||
}
|
||||
|
||||
/**
|
||||
* 若 URL 带 run_id,额外加载该批次明细。
|
||||
* 若 URL 带 run_id(排程批次),加载该批 invoice 明细。
|
||||
*/
|
||||
async function loadRunItemsIfNeeded() {
|
||||
const raw = route.query.run_id;
|
||||
@@ -90,10 +94,11 @@ async function loadRunItemsIfNeeded() {
|
||||
}
|
||||
|
||||
function statusLabel(value: string) {
|
||||
if (value === 'complete') return t('workspace.voucherCheck.statusComplete');
|
||||
if (value === 'complete' || value === 'completed') return t('workspace.voucherCheck.statusComplete');
|
||||
if (value === 'missing') return t('workspace.voucherCheck.statusMissing');
|
||||
if (value === 'skipped') return t('workspace.voucherCheck.statusSkipped');
|
||||
if (value === 'technical_error') return t('workspace.voucherCheck.statusTechError');
|
||||
if (value === 'technical_error' || value === 'technical_failed') return t('workspace.voucherCheck.statusTechError');
|
||||
if (value === 'pending') return t('workspace.voucherCheck.statusPending');
|
||||
return value || '-';
|
||||
}
|
||||
|
||||
@@ -102,11 +107,60 @@ function formatMissing(list?: Array<{ code?: string; name?: string }>) {
|
||||
return list.map((x) => x.name || x.code || '').filter(Boolean).join('、');
|
||||
}
|
||||
|
||||
async function openRunDetail(row: VoucherCheckRunItem) {
|
||||
if (!row.schedule_run_id) {
|
||||
msg.error(t('workspace.voucherCheck.loadFailed'));
|
||||
return;
|
||||
}
|
||||
const scheduleRunId = row.schedule_run_id;
|
||||
runIdFilter.value = scheduleRunId;
|
||||
try {
|
||||
const data = await listVoucherCheckRunItems(scheduleRunId, { page: 1, page_size: 100 });
|
||||
runItems.value = data.items || [];
|
||||
} catch (e: any) {
|
||||
msg.error(e?.message || t('workspace.voucherCheck.loadFailed'));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 停止强制重检后的列表轮询。
|
||||
*/
|
||||
function stopForcePoll() {
|
||||
if (forcePollTimer) {
|
||||
clearInterval(forcePollTimer);
|
||||
forcePollTimer = null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 入队强制重检上一个月:不跳过已归档记录,期间取执行日的上一个自然月。
|
||||
*/
|
||||
async function forceRecheck() {
|
||||
if (forcing.value) return;
|
||||
if (!window.confirm(t('workspace.voucherCheck.forceConfirm'))) return;
|
||||
forcing.value = true;
|
||||
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);
|
||||
} catch (e: any) {
|
||||
msg.error(e?.message || t('workspace.voucherCheck.forceFailed'));
|
||||
} finally {
|
||||
forcing.value = false;
|
||||
}
|
||||
}
|
||||
|
||||
onMounted(async () => {
|
||||
period.value = currentPeriod();
|
||||
period.value = previousPeriod();
|
||||
const qStatus = route.query.status;
|
||||
if (typeof qStatus === 'string' && qStatus) status.value = qStatus;
|
||||
await Promise.all([loadStates(), loadRunItemsIfNeeded()]);
|
||||
await Promise.all([loadRuns(), loadRunItemsIfNeeded()]);
|
||||
});
|
||||
|
||||
watch(
|
||||
@@ -115,6 +169,10 @@ watch(
|
||||
void loadRunItemsIfNeeded();
|
||||
},
|
||||
);
|
||||
|
||||
onUnmounted(() => {
|
||||
stopForcePoll();
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -135,20 +193,10 @@ watch(
|
||||
<option v-for="opt in statusOptions" :key="opt.value || 'all'" :value="opt.value">{{ opt.label }}</option>
|
||||
</select>
|
||||
</label>
|
||||
<label class="flex min-w-[12rem] flex-1 flex-col gap-1 text-xs text-slate-500">
|
||||
{{ $t('workspace.voucherCheck.invoiceNo') }}
|
||||
<input
|
||||
v-model="invoiceNo"
|
||||
type="text"
|
||||
class="rounded-lg border border-slate-200 px-3 py-2 text-sm text-slate-800"
|
||||
:placeholder="$t('workspace.voucherCheck.invoicePlaceholder')"
|
||||
@keyup.enter="page = 1; loadStates()"
|
||||
/>
|
||||
</label>
|
||||
<button
|
||||
type="button"
|
||||
class="inline-flex items-center gap-1 rounded-lg bg-sky-600 px-3 py-2 text-sm font-medium text-white hover:bg-sky-700"
|
||||
@click="page = 1; loadStates()"
|
||||
@click="page = 1; loadRuns()"
|
||||
>
|
||||
<Search class="h-4 w-4" />
|
||||
{{ $t('workspace.voucherCheck.search') }}
|
||||
@@ -156,11 +204,21 @@ watch(
|
||||
<button
|
||||
type="button"
|
||||
class="inline-flex items-center gap-1 rounded-lg border border-slate-200 px-3 py-2 text-sm text-slate-700 hover:bg-slate-50"
|
||||
@click="loadStates()"
|
||||
@click="loadRuns()"
|
||||
>
|
||||
<RefreshCw class="h-4 w-4" />
|
||||
{{ $t('workspace.voucherCheck.refresh') }}
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
class="ml-auto inline-flex items-center gap-1 rounded-lg border border-amber-300 bg-amber-50 px-3 py-2 text-sm font-medium text-amber-900 hover:bg-amber-100 disabled:opacity-50"
|
||||
:disabled="forcing"
|
||||
@click="forceRecheck()"
|
||||
>
|
||||
<Loader2 v-if="forcing" class="h-4 w-4 animate-spin" />
|
||||
<RotateCcw v-else class="h-4 w-4" />
|
||||
{{ $t('workspace.voucherCheck.forceRecheck') }}
|
||||
</button>
|
||||
</section>
|
||||
|
||||
<section v-if="runIdFilter" class="rounded-xl border border-amber-200 bg-amber-50/60 p-3">
|
||||
@@ -177,7 +235,7 @@ watch(
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="row in runItems" :key="row.id" class="border-t border-amber-100">
|
||||
<tr v-for="(row, idx) in runItems" :key="`${row.invoice_no}-${idx}`" class="border-t border-amber-100">
|
||||
<td class="px-2 py-1.5 font-medium text-slate-800">{{ row.invoice_no }}</td>
|
||||
<td class="px-2 py-1.5">{{ statusLabel(row.result) }}</td>
|
||||
<td class="px-2 py-1.5 text-slate-600">{{ formatMissing(row.missing_materials) }}</td>
|
||||
@@ -199,31 +257,43 @@ watch(
|
||||
<table class="min-w-full text-left text-sm">
|
||||
<thead class="sticky top-0 bg-slate-50 text-xs text-slate-500">
|
||||
<tr>
|
||||
<th class="px-3 py-2">{{ $t('workspace.voucherCheck.invoiceNo') }}</th>
|
||||
<th class="px-3 py-2">{{ $t('workspace.voucherCheck.invoiceDate') }}</th>
|
||||
<th class="px-3 py-2">{{ $t('workspace.voucherCheck.runNo') }}</th>
|
||||
<th class="px-3 py-2">{{ $t('workspace.voucherCheck.profile') }}</th>
|
||||
<th class="px-3 py-2">{{ $t('workspace.voucherCheck.period') }}</th>
|
||||
<th class="px-3 py-2">{{ $t('workspace.voucherCheck.subjectCount') }}</th>
|
||||
<th class="px-3 py-2">{{ $t('workspace.voucherCheck.missingFiles') }}</th>
|
||||
<th class="px-3 py-2">{{ $t('workspace.voucherCheck.missingInvoices') }}</th>
|
||||
<th class="px-3 py-2">{{ $t('workspace.voucherCheck.status') }}</th>
|
||||
<th class="px-3 py-2">{{ $t('workspace.voucherCheck.folder') }}</th>
|
||||
<th class="px-3 py-2">{{ $t('workspace.voucherCheck.missing') }}</th>
|
||||
<th class="px-3 py-2">{{ $t('workspace.voucherCheck.checkedAt') }}</th>
|
||||
<th class="px-3 py-2"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="row in items" :key="row.id" class="border-t border-slate-100 hover:bg-slate-50/80">
|
||||
<td class="px-3 py-2 font-medium text-slate-800">{{ row.invoice_no }}</td>
|
||||
<td class="px-3 py-2 text-slate-600">{{ row.invoice_date || '-' }}</td>
|
||||
<td class="px-3 py-2 font-medium text-slate-800">{{ row.run_no }}</td>
|
||||
<td class="px-3 py-2 text-slate-600">{{ row.profile_code }}</td>
|
||||
<td class="px-3 py-2 text-slate-600">{{ row.period_month || '-' }}</td>
|
||||
<td class="px-3 py-2 text-slate-600">{{ row.subject_count }}</td>
|
||||
<td class="px-3 py-2 text-slate-600">{{ row.missing_file_count }}</td>
|
||||
<td class="px-3 py-2 text-slate-600">{{ row.missing_invoice_count }}</td>
|
||||
<td class="px-3 py-2">
|
||||
<span
|
||||
class="inline-flex rounded-full px-2 py-0.5 text-xs font-medium"
|
||||
:class="row.status === 'complete' ? 'bg-emerald-50 text-emerald-700' : 'bg-rose-50 text-rose-700'"
|
||||
:class="row.status === 'missing' ? 'bg-rose-50 text-rose-700' : row.status === 'completed' ? 'bg-emerald-50 text-emerald-700' : 'bg-slate-100 text-slate-700'"
|
||||
>
|
||||
{{ statusLabel(row.status) }}
|
||||
</span>
|
||||
</td>
|
||||
<td class="max-w-[16rem] truncate px-3 py-2 text-slate-600" :title="row.folder_path || ''">
|
||||
{{ row.folder_path || '-' }}
|
||||
<td class="px-3 py-2 text-slate-600">{{ row.finished_at || '-' }}</td>
|
||||
<td class="px-3 py-2">
|
||||
<button
|
||||
type="button"
|
||||
class="text-sky-700 hover:underline"
|
||||
@click="openRunDetail(row)"
|
||||
>
|
||||
{{ $t('workspace.voucherCheck.viewDetail') }}
|
||||
</button>
|
||||
</td>
|
||||
<td class="px-3 py-2 text-slate-600">{{ formatMissing(row.missing_materials) }}</td>
|
||||
<td class="px-3 py-2 text-slate-600">{{ row.last_checked_at || '-' }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -235,7 +305,7 @@ watch(
|
||||
type="button"
|
||||
class="rounded border border-slate-200 px-2 py-1 disabled:opacity-40"
|
||||
:disabled="page <= 1 || loading"
|
||||
@click="page -= 1; loadStates()"
|
||||
@click="page -= 1; loadRuns()"
|
||||
>
|
||||
{{ $t('workspace.voucherCheck.prevPage') }}
|
||||
</button>
|
||||
@@ -244,7 +314,7 @@ watch(
|
||||
type="button"
|
||||
class="rounded border border-slate-200 px-2 py-1 disabled:opacity-40"
|
||||
:disabled="page * pageSize >= total || loading"
|
||||
@click="page += 1; loadStates()"
|
||||
@click="page += 1; loadRuns()"
|
||||
>
|
||||
{{ $t('workspace.voucherCheck.nextPage') }}
|
||||
</button>
|
||||
|
||||
@@ -1578,7 +1578,8 @@
|
||||
"answerPlaceholder": "Full answer returned directly on cache hit…",
|
||||
"cacheEnabled": "Enable FAQ cache (skip Dify)",
|
||||
"isEnabled": "Show on workspace",
|
||||
"cacheHelp": "When enabled, matched queries return the preset answer below without calling Dify.",
|
||||
"isEnabledHelp": "Only controls the homepage shortcut. It does not affect whether chat returns the cached answer.",
|
||||
"cacheHelp": "When enabled, matched queries return the preset answer below without calling Dify. Independent of the homepage shortcut.",
|
||||
"expiresAt": "Expires At",
|
||||
"expiresAtHelp": "Optional. After expiry the entry will not match. Leave empty for no expiry."
|
||||
},
|
||||
|
||||
@@ -3422,10 +3422,12 @@
|
||||
"hints": "Notes:"
|
||||
},
|
||||
"voucherCheck": {
|
||||
"total": "Month total",
|
||||
"total": "Invoices",
|
||||
"scanned": "To scan",
|
||||
"skipped": "Skipped",
|
||||
"complete": "Complete",
|
||||
"missing": "Missing"
|
||||
"missing": "Missing invoices",
|
||||
"missingFiles": "Missing files",
|
||||
"missingInvoices": "Missing invoices"
|
||||
}
|
||||
}
|
||||
@@ -517,11 +517,17 @@
|
||||
"SHIPPING.REVIEW_INVENTORY_SOURCE_UNRESOLVED": "Inventory source is not uniquely resolved. Complete inventory-source review before creating a formal order.",
|
||||
"VOUCHER_CHECK_CONFIG_INVALID": "Accounting voucher check configuration is invalid.",
|
||||
"VOUCHER_CHECK_INVOICE_REQUIRED": "Invoice number is required.",
|
||||
"VOUCHER_CHECK_INVOICE_NOT_IN_PERIOD": "The invoice is not in the current-month ERP set.",
|
||||
"VOUCHER_CHECK_INVOICE_NOT_IN_PERIOD": "The invoice is not in the previous-month ERP set.",
|
||||
"VOUCHER_CHECK_INVOICE_PATH_INVALID": "Invoice number contains illegal path characters.",
|
||||
"VOUCHER_CHECK_SHARE_UNAVAILABLE": "Shared folder is unavailable. Check the mount and health marker.",
|
||||
"VOUCHER_CHECK_ERP_UNAVAILABLE": "ERP (Oracle) is unavailable. Please try again later.",
|
||||
"VOUCHER_CHECK_DMS_UNAVAILABLE": "The sales invoice attachment library is unavailable. Please try again later.",
|
||||
"VOUCHER_CHECK_ADAPTER_NOT_WIRED": "This document source is not wired yet.",
|
||||
"VOUCHER_CHECK_ARCHIVE_NOT_WIRED": "Document library copy/create-folder API is not wired yet.",
|
||||
"VOUCHER_CHECK_ARCHIVE_FAILED": "Failed to create a folder or copy a file in the document library.",
|
||||
"VOUCHER_CHECK_RUN_NOT_FOUND": "Voucher check run or invoice state was not found.",
|
||||
"VOUCHER_CHECK_RUN_IN_PROGRESS": "An accounting voucher check is already queued or running. Try again later.",
|
||||
"VOUCHER_CHECK_SCHEDULE_NOT_FOUND": "The accounting voucher check schedule was not found.",
|
||||
"VOUCHER_CHECK_PERSIST_FAILED": "Failed to persist voucher check results."
|
||||
}
|
||||
}
|
||||
@@ -780,30 +780,41 @@
|
||||
"localAccountDisabled": "This local account is disabled. Please contact the administrator."
|
||||
},
|
||||
"voucherCheck": {
|
||||
"title": "Accounting Voucher Check Records",
|
||||
"subtitle": "View completeness of required voucher materials for the current calendar month. Existence check only — no amount or supplier matching.",
|
||||
"period": "Period",
|
||||
"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",
|
||||
"status": "Status",
|
||||
"statusAll": "All",
|
||||
"statusComplete": "Complete",
|
||||
"statusMissing": "Missing",
|
||||
"statusSkipped": "Skipped",
|
||||
"statusTechError": "Technical error",
|
||||
"invoiceNo": "Invoice No.",
|
||||
"invoiceDate": "Invoice Date",
|
||||
"invoicePlaceholder": "Filter by invoice number",
|
||||
"folder": "Share path",
|
||||
"missing": "Missing materials",
|
||||
"checkedAt": "Checked at",
|
||||
"statusTechError": "Technical failure",
|
||||
"statusPending": "Pending",
|
||||
"invoiceNo": "invoice",
|
||||
"invoiceDate": "Invoice date",
|
||||
"invoicePlaceholder": "Filter by invoice",
|
||||
"folder": "Type folder",
|
||||
"missing": "Missing files",
|
||||
"checkedAt": "Run time",
|
||||
"result": "Result",
|
||||
"search": "Search",
|
||||
"refresh": "Refresh",
|
||||
"loading": "Loading…",
|
||||
"empty": "No check records yet",
|
||||
"loadFailed": "Failed to load voucher check records",
|
||||
"empty": "No check batches yet",
|
||||
"loadFailed": "Failed to load voucher check tasks",
|
||||
"totalCount": "{total} records",
|
||||
"prevPage": "Previous",
|
||||
"nextPage": "Next",
|
||||
"runItemsTitle": "Run {runId} details"
|
||||
"runItemsTitle": "Batch {runId} details",
|
||||
"runNo": "Batch no.",
|
||||
"profile": "Profile",
|
||||
"subjectCount": "Invoices",
|
||||
"missingFiles": "Missing files",
|
||||
"missingInvoices": "Missing invoices",
|
||||
"viewDetail": "View details",
|
||||
"forceRecheck": "Force recheck last month",
|
||||
"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.",
|
||||
"forceFailed": "Failed to queue the force recheck"
|
||||
}
|
||||
}
|
||||
@@ -1578,7 +1578,8 @@
|
||||
"answerPlaceholder": "คำตอบเต็มที่ส่งกลับเมื่อ cache hit…",
|
||||
"cacheEnabled": "เปิด FAQ cache (ข้าม Dify)",
|
||||
"isEnabled": "แสดงในหน้า workspace",
|
||||
"cacheHelp": "เมื่อเปิดใช้ คำถามที่จับคู่ได้จะส่งคำตอบด้านล่างโดยไม่เรียก Dify",
|
||||
"isEnabledHelp": "ควบคุมเฉพาะทางลัดบนหน้าแรก ไม่มีผลว่าแชทจะตอบจาก cache หรือไม่",
|
||||
"cacheHelp": "เมื่อเปิดใช้ คำถามที่จับคู่ได้จะส่งคำตอบด้านล่างโดยไม่เรียก Dify ไม่ขึ้นกับว่าจะแสดงบนหน้าแรกหรือไม่",
|
||||
"expiresAt": "หมดอายุเมื่อ",
|
||||
"expiresAtHelp": "ไม่บังคับ หลังหมดอายุจะไม่จับคู่ ปล่อยว่างหากไม่มีวันหมดอายุ"
|
||||
},
|
||||
|
||||
@@ -3422,10 +3422,12 @@
|
||||
"hints": "หมายเหตุ:"
|
||||
},
|
||||
"voucherCheck": {
|
||||
"total": "ทั้งหมดเดือนนี้",
|
||||
"total": "จำนวน invoice",
|
||||
"scanned": "รอดตรวจ",
|
||||
"skipped": "ข้าม",
|
||||
"complete": "ครบ",
|
||||
"missing": "ขาดเอกสาร"
|
||||
"missing": "invoice ที่ขาด",
|
||||
"missingFiles": "ไฟล์ที่ขาด",
|
||||
"missingInvoices": "invoice ที่ขาด"
|
||||
}
|
||||
}
|
||||
@@ -517,11 +517,17 @@
|
||||
"SHIPPING.REVIEW_INVENTORY_SOURCE_UNRESOLVED": "ยังไม่ยืนยันแหล่งสต็อกแบบเฉพาะเจาะจง ไม่สามารถสร้างคำสั่งอย่างเป็นทางการได้ กรุณาตรวจสอบแหล่งสต็อกก่อน",
|
||||
"VOUCHER_CHECK_CONFIG_INVALID": "การตั้งค่าการตรวจสอบเอกสารบัญชีไม่ถูกต้อง",
|
||||
"VOUCHER_CHECK_INVOICE_REQUIRED": "ต้องระบุเลขที่ใบแจ้งหนี้",
|
||||
"VOUCHER_CHECK_INVOICE_NOT_IN_PERIOD": "ใบแจ้งหนี้ไม่อยู่ในชุด ERP ของเดือนปัจจุบัน",
|
||||
"VOUCHER_CHECK_INVOICE_NOT_IN_PERIOD": "ใบแจ้งหนี้ไม่อยู่ในชุด ERP ของเดือนที่แล้ว",
|
||||
"VOUCHER_CHECK_INVOICE_PATH_INVALID": "เลขที่ใบแจ้งหนี้มีอักขระเส้นทางที่ไม่ถูกต้อง",
|
||||
"VOUCHER_CHECK_SHARE_UNAVAILABLE": "โฟลเดอร์แชร์ใช้ไม่ได้ โปรดตรวจสอบการเมานต์และไฟล์สุขภาพ",
|
||||
"VOUCHER_CHECK_ERP_UNAVAILABLE": "ERP (Oracle) ใช้ไม่ได้ โปรดลองใหม่ภายหลัง",
|
||||
"VOUCHER_CHECK_DMS_UNAVAILABLE": "คลังเอกสารใบแจ้งหนี้ขายใช้ไม่ได้ โปรดลองใหม่ภายหลัง",
|
||||
"VOUCHER_CHECK_ADAPTER_NOT_WIRED": "แหล่งเอกสารนี้ยังไม่ได้ต่อระบบ",
|
||||
"VOUCHER_CHECK_ARCHIVE_NOT_WIRED": "API คัดลอก/สร้างโฟลเดอร์ของคลังเอกสารยังไม่ได้ต่อระบบ",
|
||||
"VOUCHER_CHECK_ARCHIVE_FAILED": "สร้างโฟลเดอร์หรือคัดลอกไฟล์ในคลังเอกสารไม่สำเร็จ",
|
||||
"VOUCHER_CHECK_RUN_NOT_FOUND": "ไม่พบรอบการตรวจหรือสถานะใบแจ้งหนี้",
|
||||
"VOUCHER_CHECK_RUN_IN_PROGRESS": "งานตรวจเอกสารบัญชียังอยู่ในคิวหรือกำลังทำงาน โปรดลองใหม่ภายหลัง",
|
||||
"VOUCHER_CHECK_SCHEDULE_NOT_FOUND": "ไม่พบตารางงานตรวจเอกสารบัญชี",
|
||||
"VOUCHER_CHECK_PERSIST_FAILED": "บันทึกผลการตรวจไม่สำเร็จ"
|
||||
}
|
||||
}
|
||||
@@ -716,30 +716,41 @@
|
||||
"untitled": "บทสนทนาไม่มีชื่อ"
|
||||
},
|
||||
"voucherCheck": {
|
||||
"title": "บันทึกตรวจสอบเอกสารบัญชี",
|
||||
"subtitle": "ดูสถานะครบ/ขาดเอกสารใบแจ้งหนี้ของเดือนปฏิทินปัจจุบัน ตรวจสอบเฉพาะการมีอยู่ของไฟล์ ไม่เทียบยอดหรือผู้ขาย",
|
||||
"period": "เดือนที่ตรวจ",
|
||||
"title": "งานตรวจเอกสารบัญชี",
|
||||
"subtitle": "ทุกวันอังคารตรวจเดือนปฏิทินก่อนหน้าแบบเพิ่มส่วน แสกนโฟลเดอร์เอกสารขาย แล้วจัดเก็บตาม invoice พร้อมสรุปไฟล์ที่ขาด",
|
||||
"period": "ช่วงเอกสาร",
|
||||
"status": "สถานะ",
|
||||
"statusAll": "ทั้งหมด",
|
||||
"statusComplete": "ครบ",
|
||||
"statusMissing": "ขาดเอกสาร",
|
||||
"statusSkipped": "ข้าม",
|
||||
"statusTechError": "ข้อผิดพลาดทางเทคนิค",
|
||||
"invoiceNo": "เลขที่ใบแจ้งหนี้",
|
||||
"statusTechError": "ล้มเหลวทางเทคนิค",
|
||||
"statusPending": "รอดำเนินการ",
|
||||
"invoiceNo": "invoice",
|
||||
"invoiceDate": "วันที่ใบแจ้งหนี้",
|
||||
"invoicePlaceholder": "กรองด้วยเลขที่ใบแจ้งหนี้",
|
||||
"folder": "เส้นทางแชร์",
|
||||
"missing": "เอกสารที่ขาด",
|
||||
"checkedAt": "เวลาที่ตรวจ",
|
||||
"invoicePlaceholder": "กรองด้วย invoice",
|
||||
"folder": "โฟลเดอร์ประเภท",
|
||||
"missing": "ไฟล์ที่ขาด",
|
||||
"checkedAt": "เวลาที่รัน",
|
||||
"result": "ผลลัพธ์",
|
||||
"search": "ค้นหา",
|
||||
"refresh": "รีเฟรช",
|
||||
"loading": "กำลังโหลด…",
|
||||
"empty": "ยังไม่มีบันทึกการตรวจ",
|
||||
"loadFailed": "โหลดบันทึกตรวจสอบไม่สำเร็จ",
|
||||
"empty": "ยังไม่มีรอบการตรวจ",
|
||||
"loadFailed": "โหลดงานตรวจไม่สำเร็จ",
|
||||
"totalCount": "ทั้งหมด {total} รายการ",
|
||||
"prevPage": "ก่อนหน้า",
|
||||
"nextPage": "ถัดไป",
|
||||
"runItemsTitle": "รายละเอียดรอบ {runId}"
|
||||
"runItemsTitle": "รายละเอียดรอบ {runId}",
|
||||
"runNo": "เลขรอบ",
|
||||
"profile": "ฝ่ายธุรกิจ",
|
||||
"subjectCount": "จำนวน invoice",
|
||||
"missingFiles": "จำนวนไฟล์ที่ขาด",
|
||||
"missingInvoices": "จำนวน invoice ที่ขาด",
|
||||
"viewDetail": "ดูรายละเอียด",
|
||||
"forceRecheck": "ตรวจเดือนที่แล้วใหม่ทั้งชุด",
|
||||
"forceConfirm": "ระบบจะตรวจเดือนปฏิทินก่อนหน้าทั้งชุด ไม่ข้ามไฟล์ที่จัดเก็บแล้ว และไม่ใช้ช่วงที่กรองด้านบน ต้องการเริ่มหรือไม่?",
|
||||
"forceQueued": "จัดคิวตรวจใหม่แล้ว ({runNo}) รายการจะรีเฟรชเมื่อเสร็จ",
|
||||
"forceFailed": "จัดคิวตรวจใหม่ไม่สำเร็จ"
|
||||
}
|
||||
}
|
||||
@@ -1712,7 +1712,8 @@
|
||||
"answerPlaceholder": "填写命中后直接返回给用户的完整回答…",
|
||||
"cacheEnabled": "启用 FAQ 缓存(跳过 Dify)",
|
||||
"isEnabled": "在前台展示",
|
||||
"cacheHelp": "开启后,匹配成功的问题将直接返回下方标准答案,不再调用 Dify。",
|
||||
"isEnabledHelp": "仅控制工作台首页是否出现快捷入口,不影响聊天是否直答。",
|
||||
"cacheHelp": "开启后,匹配成功的问题将直接返回下方标准答案,不再调用 Dify。与是否在前台展示无关。",
|
||||
"expiresAt": "过期时间",
|
||||
"expiresAtHelp": "可选。到期后不再命中缓存,留空表示长期有效。"
|
||||
},
|
||||
|
||||
@@ -3496,10 +3496,12 @@
|
||||
"hints": "提示:"
|
||||
},
|
||||
"voucherCheck": {
|
||||
"total": "当月总数",
|
||||
"total": "主体总数",
|
||||
"scanned": "本次待检",
|
||||
"skipped": "跳过",
|
||||
"complete": "齐全",
|
||||
"missing": "缺资料"
|
||||
"complete": "完整",
|
||||
"missing": "缺件 invoice",
|
||||
"missingFiles": "缺件文件",
|
||||
"missingInvoices": "缺件 invoice"
|
||||
}
|
||||
}
|
||||
@@ -517,11 +517,17 @@
|
||||
"SHIPPING.REVIEW_INVENTORY_SOURCE_UNRESOLVED": "库存源尚未唯一确定,不能创建正式订单。请先完成库存源复核。",
|
||||
"VOUCHER_CHECK_CONFIG_INVALID": "立账凭证检核配置无效。",
|
||||
"VOUCHER_CHECK_INVOICE_REQUIRED": "请提供发票号。",
|
||||
"VOUCHER_CHECK_INVOICE_NOT_IN_PERIOD": "指定发票不在当前月 ERP 集合中。",
|
||||
"VOUCHER_CHECK_INVOICE_NOT_IN_PERIOD": "指定发票不在上一个月 ERP 集合中。",
|
||||
"VOUCHER_CHECK_INVOICE_PATH_INVALID": "发票号含非法路径字符。",
|
||||
"VOUCHER_CHECK_SHARE_UNAVAILABLE": "共享盘不可用,请检查挂载与健康标记。",
|
||||
"VOUCHER_CHECK_ERP_UNAVAILABLE": "ERP(Oracle)不可用,请稍后重试。",
|
||||
"VOUCHER_CHECK_DMS_UNAVAILABLE": "销售开票附件文档库不可用,请稍后重试。",
|
||||
"VOUCHER_CHECK_ADAPTER_NOT_WIRED": "该资料获取方式尚未接线。",
|
||||
"VOUCHER_CHECK_ARCHIVE_NOT_WIRED": "文档库复制/建文件夹接口尚未接线。",
|
||||
"VOUCHER_CHECK_ARCHIVE_FAILED": "文档库建文件夹或复制失败。",
|
||||
"VOUCHER_CHECK_RUN_NOT_FOUND": "检核批次或发票状态不存在。",
|
||||
"VOUCHER_CHECK_RUN_IN_PROGRESS": "立账凭证检核正在执行或排队中,请稍后再试。",
|
||||
"VOUCHER_CHECK_SCHEDULE_NOT_FOUND": "未找到立账凭证检核排程任务。",
|
||||
"VOUCHER_CHECK_PERSIST_FAILED": "检核结果落库失败。"
|
||||
}
|
||||
}
|
||||
@@ -779,31 +779,42 @@
|
||||
"casdoorNotMatchedNeedLocalUser": "Casdoor 登录成功,但未匹配到本地账号。请让管理员在本地用户表创建同名 username 或相同 email 的账号。",
|
||||
"localAccountDisabled": "该本地账号已被禁用,请联系管理员启用后再登录。"
|
||||
},
|
||||
"voucherCheck": {
|
||||
"title": "立账凭证检核记录",
|
||||
"subtitle": "按当前自然月查看发票材料齐全/缺资料状态;只判文件是否存在,不核对金额与供应商。",
|
||||
"period": "检核月份",
|
||||
"voucherCheck": {
|
||||
"title": "立账凭证检核任务",
|
||||
"subtitle": "每周二增量检核上一个自然月;扫描销售开票附件类型目录后按 invoice 归档,并汇总缺件。",
|
||||
"period": "资料所属期间",
|
||||
"status": "状态",
|
||||
"statusAll": "全部",
|
||||
"statusComplete": "齐全",
|
||||
"statusMissing": "缺资料",
|
||||
"statusComplete": "完整",
|
||||
"statusMissing": "缺件",
|
||||
"statusSkipped": "跳过",
|
||||
"statusTechError": "技术异常",
|
||||
"invoiceNo": "发票号",
|
||||
"statusTechError": "技术失败",
|
||||
"statusPending": "待处理",
|
||||
"invoiceNo": "invoice",
|
||||
"invoiceDate": "发票日期",
|
||||
"invoicePlaceholder": "输入发票号筛选",
|
||||
"folder": "共享盘路径",
|
||||
"missing": "缺失材料",
|
||||
"checkedAt": "检核时间",
|
||||
"invoicePlaceholder": "输入 invoice 筛选",
|
||||
"folder": "类型目录",
|
||||
"missing": "缺失文件",
|
||||
"checkedAt": "执行时间",
|
||||
"result": "结论",
|
||||
"search": "查询",
|
||||
"refresh": "刷新",
|
||||
"loading": "加载中…",
|
||||
"empty": "暂无检核记录",
|
||||
"loadFailed": "加载检核记录失败",
|
||||
"empty": "暂无检核批次",
|
||||
"loadFailed": "加载检核任务失败",
|
||||
"totalCount": "共 {total} 条",
|
||||
"prevPage": "上一页",
|
||||
"nextPage": "下一页",
|
||||
"runItemsTitle": "批次 {runId} 明细"
|
||||
"runItemsTitle": "批次 {runId} 明细",
|
||||
"runNo": "批次号",
|
||||
"profile": "业务方",
|
||||
"subjectCount": "主体总数",
|
||||
"missingFiles": "缺件文件数",
|
||||
"missingInvoices": "缺件 invoice 数",
|
||||
"viewDetail": "查看详情",
|
||||
"forceRecheck": "强制重检上月",
|
||||
"forceConfirm": "将全量重检上一个自然月,不跳过已归档记录,也不使用上方筛选的期间。确定开始?",
|
||||
"forceQueued": "已入队强制重检({runNo}),完成后列表会自动刷新。",
|
||||
"forceFailed": "强制重检入队失败"
|
||||
}
|
||||
}
|
||||
@@ -1583,7 +1583,8 @@
|
||||
"answerPlaceholder": "填寫命中後直接返回給使用者的完整回答…",
|
||||
"cacheEnabled": "啟用 FAQ 快取(跳過 Dify)",
|
||||
"isEnabled": "在前台展示",
|
||||
"cacheHelp": "開啟後,匹配成功的問題將直接返回下方標準答案,不再呼叫 Dify。",
|
||||
"isEnabledHelp": "僅控制工作台首頁是否出現快捷入口,不影響聊天是否直答。",
|
||||
"cacheHelp": "開啟後,匹配成功的問題將直接返回下方標準答案,不再呼叫 Dify。與是否在前台展示無關。",
|
||||
"expiresAt": "過期時間",
|
||||
"expiresAtHelp": "可選。到期後不再命中快取,留空表示長期有效。"
|
||||
},
|
||||
|
||||
@@ -3422,10 +3422,12 @@
|
||||
"hints": "提示:"
|
||||
},
|
||||
"voucherCheck": {
|
||||
"total": "當月總數",
|
||||
"total": "主體總數",
|
||||
"scanned": "本次待檢",
|
||||
"skipped": "跳過",
|
||||
"complete": "齊全",
|
||||
"missing": "缺資料"
|
||||
"complete": "完整",
|
||||
"missing": "缺件 invoice",
|
||||
"missingFiles": "缺件檔案",
|
||||
"missingInvoices": "缺件 invoice"
|
||||
}
|
||||
}
|
||||
@@ -517,11 +517,17 @@
|
||||
"SHIPPING.REVIEW_INVENTORY_SOURCE_UNRESOLVED": "庫存源尚未唯一確定,不能建立正式訂單。請先完成庫存源複核。",
|
||||
"VOUCHER_CHECK_CONFIG_INVALID": "立帳憑證檢核設定無效。",
|
||||
"VOUCHER_CHECK_INVOICE_REQUIRED": "請提供發票號。",
|
||||
"VOUCHER_CHECK_INVOICE_NOT_IN_PERIOD": "指定發票不在當前月 ERP 集合中。",
|
||||
"VOUCHER_CHECK_INVOICE_NOT_IN_PERIOD": "指定發票不在上一月 ERP 集合中。",
|
||||
"VOUCHER_CHECK_INVOICE_PATH_INVALID": "發票號含非法路徑字元。",
|
||||
"VOUCHER_CHECK_SHARE_UNAVAILABLE": "共用磁碟不可用,請檢查掛載與健康標記。",
|
||||
"VOUCHER_CHECK_ERP_UNAVAILABLE": "ERP(Oracle)不可用,請稍後重試。",
|
||||
"VOUCHER_CHECK_DMS_UNAVAILABLE": "銷售開票附件文件庫不可用,請稍後重試。",
|
||||
"VOUCHER_CHECK_ADAPTER_NOT_WIRED": "該資料取得方式尚未接線。",
|
||||
"VOUCHER_CHECK_ARCHIVE_NOT_WIRED": "文件庫複製/建立資料夾介面尚未接線。",
|
||||
"VOUCHER_CHECK_ARCHIVE_FAILED": "文件庫建立資料夾或複製失敗。",
|
||||
"VOUCHER_CHECK_RUN_NOT_FOUND": "檢核批次或發票狀態不存在。",
|
||||
"VOUCHER_CHECK_RUN_IN_PROGRESS": "立帳憑證檢核正在執行或排隊中,請稍後再試。",
|
||||
"VOUCHER_CHECK_SCHEDULE_NOT_FOUND": "找不到立帳憑證檢核排程任務。",
|
||||
"VOUCHER_CHECK_PERSIST_FAILED": "檢核結果寫入失敗。"
|
||||
}
|
||||
}
|
||||
@@ -780,30 +780,41 @@
|
||||
"localAccountDisabled": "該本地賬號已被禁用,請聯繫管理員啟用後再登錄。"
|
||||
},
|
||||
"voucherCheck": {
|
||||
"title": "立帳憑證檢核紀錄",
|
||||
"subtitle": "依當前自然月查看發票材料齊全/缺資料狀態;只判斷檔案是否存在,不核對金額與供應商。",
|
||||
"period": "檢核月份",
|
||||
"title": "立帳憑證檢核任務",
|
||||
"subtitle": "每週二增量檢核上一個自然月;掃描銷售開票附件類型目錄後按 invoice 歸檔,並彙總缺件。",
|
||||
"period": "資料所屬期間",
|
||||
"status": "狀態",
|
||||
"statusAll": "全部",
|
||||
"statusComplete": "齊全",
|
||||
"statusMissing": "缺資料",
|
||||
"statusComplete": "完整",
|
||||
"statusMissing": "缺件",
|
||||
"statusSkipped": "跳過",
|
||||
"statusTechError": "技術異常",
|
||||
"invoiceNo": "發票號",
|
||||
"statusTechError": "技術失敗",
|
||||
"statusPending": "待處理",
|
||||
"invoiceNo": "invoice",
|
||||
"invoiceDate": "發票日期",
|
||||
"invoicePlaceholder": "輸入發票號篩選",
|
||||
"folder": "共用磁碟路徑",
|
||||
"missing": "缺失材料",
|
||||
"checkedAt": "檢核時間",
|
||||
"invoicePlaceholder": "輸入 invoice 篩選",
|
||||
"folder": "類型目錄",
|
||||
"missing": "缺失檔案",
|
||||
"checkedAt": "執行時間",
|
||||
"result": "結論",
|
||||
"search": "查詢",
|
||||
"refresh": "重新整理",
|
||||
"loading": "載入中…",
|
||||
"empty": "暫無檢核紀錄",
|
||||
"loadFailed": "載入檢核紀錄失敗",
|
||||
"empty": "暫無檢核批次",
|
||||
"loadFailed": "載入檢核任務失敗",
|
||||
"totalCount": "共 {total} 筆",
|
||||
"prevPage": "上一頁",
|
||||
"nextPage": "下一頁",
|
||||
"runItemsTitle": "批次 {runId} 明細"
|
||||
"runItemsTitle": "批次 {runId} 明細",
|
||||
"runNo": "批次號",
|
||||
"profile": "業務方",
|
||||
"subjectCount": "主體總數",
|
||||
"missingFiles": "缺件檔案數",
|
||||
"missingInvoices": "缺件 invoice 數",
|
||||
"viewDetail": "查看詳情",
|
||||
"forceRecheck": "強制重檢上月",
|
||||
"forceConfirm": "將全量重檢上一個自然月,不跳過已歸檔紀錄,也不使用上方篩選的期間。確定開始?",
|
||||
"forceQueued": "已排入強制重檢({runNo}),完成後列表會自動重新整理。",
|
||||
"forceFailed": "強制重檢排入失敗"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user