feat(agent): 立账凭证检核
(cherry picked from commit f9e2fb5efc1ec7bf4f6e52e08dd3591b4e77edd9)
This commit is contained in:
1 parent
9bcbf9d211
commit
f615e56bb9
70 files changed
+4968
-108
No files matched your search
@@ -55,6 +55,12 @@ export const workspaceRoutes: RouteRecordRaw[] = [
|
||||
component: () => import('@/features/workspace/pages/ShippingNoticePage.vue'),
|
||||
meta: { title: 'workspace.nav.shippingNotice' },
|
||||
},
|
||||
{
|
||||
path: 'accounting-voucher-check',
|
||||
name: 'workspace-accounting-voucher-check',
|
||||
component: () => import('@/features/workspace/pages/AccountingVoucherCheckPage.vue'),
|
||||
meta: { title: 'workspace.nav.accountingVoucherCheck' },
|
||||
},
|
||||
{
|
||||
path: 'feedback',
|
||||
name: 'workspace-feedback',
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
/**
|
||||
* features/chat/components/ToolRunProgressCard.vue
|
||||
* 用途:展示文件检核等 Agent 异步 tool_run 的实时进度、知识库同步态与 Excel 下载。
|
||||
* 用途:展示文件检核/立账凭证检核等 Agent 异步 tool_run 的实时进度、知识库同步态与 Excel 下载。
|
||||
* 依赖:vue-i18n、lucide 图标、getAuthHeaders、toolRunProgress.api。
|
||||
* 逻辑:由聊天消息列表在绑定 run_id 后挂载;轮询结果经 props.run 传入,本组件只负责展示与下载。
|
||||
* 逻辑:由聊天消息列表在绑定 run_id 后挂载;有 progress_metrics 时按领域指标渲染,否则回退八格。
|
||||
*/
|
||||
import { ref } from 'vue';
|
||||
import { computed, ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { AlertCircle, CheckCircle2, Clock3, Download, Loader2 } from 'lucide-vue-next';
|
||||
import { getAuthHeaders } from '@/shared/utils/auth';
|
||||
@@ -19,10 +19,26 @@ const props = defineProps<{
|
||||
fallbackTitle?: string;
|
||||
}>();
|
||||
|
||||
const { t } = useI18n();
|
||||
const { t, te } = useI18n();
|
||||
const downloadingExcel = ref(false);
|
||||
const downloadError = ref('');
|
||||
|
||||
/**
|
||||
* 领域自定义进度指标;有值时覆盖默认文件检核八格。
|
||||
* 核心逻辑:读取 progress_metrics,按 label_key 做 i18n,缺省回退 label/key。
|
||||
*/
|
||||
const domainMetrics = computed(() => {
|
||||
const metrics = props.run?.progress_metrics;
|
||||
if (!Array.isArray(metrics) || !metrics.length) return null;
|
||||
return metrics.map((item) => {
|
||||
const labelKey = String(item.label_key || '').trim();
|
||||
const label = labelKey && te(labelKey)
|
||||
? t(labelKey)
|
||||
: (item.label || item.key);
|
||||
return { key: item.key, label, value: Number(item.value) || 0 };
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* 将后端 run.status 映射为本地化状态文案。
|
||||
* 核心逻辑:命中已知状态码用 i18n;未知状态回退原始值,再回退“等待中”。
|
||||
@@ -215,7 +231,20 @@ const downloadExcel = async () => {
|
||||
<span>{{ $t('chat.toolRun.startedAt', { time: formatTime(run.started_at) }) }} · {{ $t('chat.toolRun.finishedAt', { time: formatTime(run.finished_at) }) }}</span>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-2 gap-1.5 sm:grid-cols-4 lg:grid-cols-8">
|
||||
<div
|
||||
v-if="domainMetrics"
|
||||
class="grid grid-cols-2 gap-1.5 sm:grid-cols-3 lg:grid-cols-5"
|
||||
>
|
||||
<div
|
||||
v-for="metric in domainMetrics"
|
||||
:key="metric.key"
|
||||
class="rounded-lg bg-white/80 px-2 py-1.5"
|
||||
>
|
||||
<div class="whitespace-nowrap text-xs text-slate-500">{{ metric.label }}</div>
|
||||
<div class="text-base font-bold text-slate-800">{{ metric.value }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else class="grid grid-cols-2 gap-1.5 sm:grid-cols-4 lg:grid-cols-8">
|
||||
<div class="rounded-lg bg-white/80 px-2 py-1.5">
|
||||
<div class="whitespace-nowrap text-xs text-slate-500">{{ $t('chat.toolRun.total') }}</div>
|
||||
<div class="text-base font-bold text-slate-800">{{ run.total_count }}</div>
|
||||
|
||||
@@ -31,6 +31,13 @@ export interface ToolRunProgress {
|
||||
dify_error_count?: number;
|
||||
invalid_result_count?: number;
|
||||
};
|
||||
/** 领域自定义指标;有值时进度卡按此渲染,否则回退文件检核八格 */
|
||||
progress_metrics?: Array<{
|
||||
key: string;
|
||||
label_key?: string;
|
||||
label?: string;
|
||||
value: number;
|
||||
}> | null;
|
||||
progress_percent: number;
|
||||
started_at?: string | null;
|
||||
finished_at?: string | null;
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
/**
|
||||
* features/workspace/api/voucherCheck.api.ts
|
||||
* 用途:工作台立账凭证检核记录查询 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 {
|
||||
id: number;
|
||||
scope_code: string;
|
||||
period_month: string | null;
|
||||
invoice_no: string;
|
||||
invoice_date?: string | null;
|
||||
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;
|
||||
}
|
||||
|
||||
export interface VoucherCheckStatesResponse {
|
||||
scope_code: string;
|
||||
period: string;
|
||||
page: number;
|
||||
page_size: number;
|
||||
total: number;
|
||||
items: VoucherCheckStateItem[];
|
||||
}
|
||||
|
||||
export interface VoucherCheckRunItemsResponse {
|
||||
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;
|
||||
}>;
|
||||
}
|
||||
|
||||
/**
|
||||
* 按月份/状态/发票号筛选最新检核状态。
|
||||
*/
|
||||
export function listVoucherCheckStates(params: {
|
||||
period?: 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.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}` : ''}`,
|
||||
{ headers: getAuthHeaders() },
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 分页查询指定批次明细。
|
||||
*/
|
||||
export function listVoucherCheckRunItems(runId: number, params?: { result?: string; page?: number; page_size?: number }) {
|
||||
const q = new URLSearchParams();
|
||||
if (params?.result) q.set('result', params.result);
|
||||
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<VoucherCheckRunItemsResponse>(
|
||||
`/api/workspace/accounting-voucher-check/runs/${runId}/items${qs ? `?${qs}` : ''}`,
|
||||
{ headers: getAuthHeaders() },
|
||||
);
|
||||
}
|
||||
@@ -8,7 +8,7 @@
|
||||
import { inject } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
import {
|
||||
LayoutGrid, Bot, FileText, User, LogOut, Edit, Megaphone, Clock, Package, PanelLeftClose, PanelLeftOpen,
|
||||
LayoutGrid, Bot, FileText, User, LogOut, Edit, Megaphone, Clock, Package, PanelLeftClose, PanelLeftOpen, ClipboardCheck,
|
||||
} from 'lucide-vue-next';
|
||||
import { WORKSPACE_PATHS } from '../constants/routes';
|
||||
import { WORKSPACE_KEY } from '../composables/workspace.context';
|
||||
@@ -26,6 +26,7 @@ const linkItems = [
|
||||
{ path: WORKSPACE_PATHS.applications, labelKey: 'workspace.nav.applications', icon: LayoutGrid, match: ['workspace-applications'] },
|
||||
{ path: WORKSPACE_PATHS.scheduleRuns, labelKey: 'workspace.nav.scheduleRuns', icon: Clock, match: ['workspace-schedule-runs'] },
|
||||
{ path: WORKSPACE_PATHS.shippingNotice, labelKey: 'workspace.nav.shippingNotice', icon: Package, match: ['workspace-shipping-notice'] },
|
||||
{ path: WORKSPACE_PATHS.accountingVoucherCheck, labelKey: 'workspace.nav.accountingVoucherCheck', icon: ClipboardCheck, match: ['workspace-accounting-voucher-check'] },
|
||||
{ path: WORKSPACE_PATHS.feedback, labelKey: 'workspace.nav.feedback', icon: Edit, match: ['workspace-feedback'] },
|
||||
{ path: WORKSPACE_PATHS.updates, labelKey: 'workspace.nav.updates', icon: Megaphone, match: ['workspace-updates'] },
|
||||
] as const;
|
||||
|
||||
@@ -10,6 +10,7 @@ export const WORKSPACE_PATHS = {
|
||||
knowledgeBase: '/workspace/knowledge-base',
|
||||
scheduleRuns: '/workspace/schedule-runs',
|
||||
shippingNotice: '/workspace/shipping-notice',
|
||||
accountingVoucherCheck: '/workspace/accounting-voucher-check',
|
||||
feedback: '/workspace/feedback',
|
||||
history: '/workspace/history',
|
||||
} as const;
|
||||
@@ -23,6 +24,7 @@ export const LEGACY_VIEW_TO_PATH: Record<string, string> = {
|
||||
knowledge_base: WORKSPACE_PATHS.knowledgeBase,
|
||||
schedule_runs: WORKSPACE_PATHS.scheduleRuns,
|
||||
shipping_notice: WORKSPACE_PATHS.shippingNotice,
|
||||
accounting_voucher_check: WORKSPACE_PATHS.accountingVoucherCheck,
|
||||
history: WORKSPACE_PATHS.history,
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
/**
|
||||
* features/workspace/pages/AccountingVoucherCheckPage.vue
|
||||
* 用途:立账凭证检核工作台页面壳。
|
||||
* 依赖:AccountingVoucherCheckView。
|
||||
* 逻辑:路由懒加载入口。
|
||||
*/
|
||||
import AccountingVoucherCheckView from '../views/AccountingVoucherCheckView.vue';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AccountingVoucherCheckView />
|
||||
</template>
|
||||
@@ -0,0 +1,255 @@
|
||||
<script setup lang="ts">
|
||||
/**
|
||||
* features/workspace/views/AccountingVoucherCheckView.vue
|
||||
* 用途:立账凭证检核记录页——按月筛选最新状态与缺资料票。
|
||||
* 依赖:voucherCheck.api、vue-i18n、useMessage。
|
||||
* 逻辑:路由 /workspace/accounting-voucher-check;企微 textcard 也可跳转至此。
|
||||
*/
|
||||
import { computed, onMounted, ref, watch } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { Loader2, RefreshCw, Search } from 'lucide-vue-next';
|
||||
import { useMessage } from '@/shared/composables/useMessage';
|
||||
import {
|
||||
listVoucherCheckRunItems,
|
||||
listVoucherCheckStates,
|
||||
type VoucherCheckStateItem,
|
||||
} from '../api/voucherCheck.api';
|
||||
|
||||
const { t } = useI18n();
|
||||
const msg = useMessage();
|
||||
const route = useRoute();
|
||||
|
||||
const loading = ref(false);
|
||||
const items = ref<VoucherCheckStateItem[]>([]);
|
||||
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']>([]);
|
||||
|
||||
/**
|
||||
* 默认检核月份(当前自然月 YYYY-MM)。
|
||||
*/
|
||||
function currentPeriod(): string {
|
||||
const d = new Date();
|
||||
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') },
|
||||
]);
|
||||
|
||||
/**
|
||||
* 加载最新状态列表。
|
||||
*/
|
||||
async function loadStates() {
|
||||
loading.value = true;
|
||||
try {
|
||||
const data = await listVoucherCheckStates({
|
||||
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 {
|
||||
loading.value = false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 若 URL 带 run_id,额外加载该批次明细。
|
||||
*/
|
||||
async function loadRunItemsIfNeeded() {
|
||||
const raw = route.query.run_id;
|
||||
const id = Number(Array.isArray(raw) ? raw[0] : raw);
|
||||
if (!Number.isFinite(id) || id <= 0) {
|
||||
runIdFilter.value = null;
|
||||
runItems.value = [];
|
||||
return;
|
||||
}
|
||||
runIdFilter.value = id;
|
||||
try {
|
||||
const data = await listVoucherCheckRunItems(id, { page: 1, page_size: 100 });
|
||||
runItems.value = data.items || [];
|
||||
} catch (e: any) {
|
||||
msg.error(e?.message || t('workspace.voucherCheck.loadFailed'));
|
||||
}
|
||||
}
|
||||
|
||||
function statusLabel(value: string) {
|
||||
if (value === 'complete') 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');
|
||||
return value || '-';
|
||||
}
|
||||
|
||||
function formatMissing(list?: Array<{ code?: string; name?: string }>) {
|
||||
if (!list?.length) return '-';
|
||||
return list.map((x) => x.name || x.code || '').filter(Boolean).join('、');
|
||||
}
|
||||
|
||||
onMounted(async () => {
|
||||
period.value = currentPeriod();
|
||||
const qStatus = route.query.status;
|
||||
if (typeof qStatus === 'string' && qStatus) status.value = qStatus;
|
||||
await Promise.all([loadStates(), loadRunItemsIfNeeded()]);
|
||||
});
|
||||
|
||||
watch(
|
||||
() => route.query.run_id,
|
||||
() => {
|
||||
void loadRunItemsIfNeeded();
|
||||
},
|
||||
);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="mx-auto flex h-full w-full max-w-6xl flex-col gap-4 p-4 md:p-6">
|
||||
<header class="space-y-1">
|
||||
<h1 class="text-xl font-semibold text-slate-800">{{ $t('workspace.voucherCheck.title') }}</h1>
|
||||
<p class="text-sm text-slate-500">{{ $t('workspace.voucherCheck.subtitle') }}</p>
|
||||
</header>
|
||||
|
||||
<section class="flex flex-wrap items-end gap-3 rounded-xl border border-slate-200 bg-white p-3">
|
||||
<label class="flex flex-col gap-1 text-xs text-slate-500">
|
||||
{{ $t('workspace.voucherCheck.period') }}
|
||||
<input v-model="period" type="month" class="rounded-lg border border-slate-200 px-3 py-2 text-sm text-slate-800" />
|
||||
</label>
|
||||
<label class="flex flex-col gap-1 text-xs text-slate-500">
|
||||
{{ $t('workspace.voucherCheck.status') }}
|
||||
<select v-model="status" class="rounded-lg border border-slate-200 px-3 py-2 text-sm text-slate-800">
|
||||
<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()"
|
||||
>
|
||||
<Search class="h-4 w-4" />
|
||||
{{ $t('workspace.voucherCheck.search') }}
|
||||
</button>
|
||||
<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()"
|
||||
>
|
||||
<RefreshCw class="h-4 w-4" />
|
||||
{{ $t('workspace.voucherCheck.refresh') }}
|
||||
</button>
|
||||
</section>
|
||||
|
||||
<section v-if="runIdFilter" class="rounded-xl border border-amber-200 bg-amber-50/60 p-3">
|
||||
<h2 class="mb-2 text-sm font-semibold text-amber-900">
|
||||
{{ $t('workspace.voucherCheck.runItemsTitle', { runId: runIdFilter }) }}
|
||||
</h2>
|
||||
<div class="overflow-x-auto">
|
||||
<table class="min-w-full text-left text-sm">
|
||||
<thead class="text-xs text-slate-500">
|
||||
<tr>
|
||||
<th class="px-2 py-1">{{ $t('workspace.voucherCheck.invoiceNo') }}</th>
|
||||
<th class="px-2 py-1">{{ $t('workspace.voucherCheck.result') }}</th>
|
||||
<th class="px-2 py-1">{{ $t('workspace.voucherCheck.missing') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="row in runItems" :key="row.id" 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>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="min-h-0 flex-1 overflow-hidden rounded-xl border border-slate-200 bg-white">
|
||||
<div v-if="loading" class="flex items-center justify-center gap-2 py-16 text-sm text-slate-500">
|
||||
<Loader2 class="h-4 w-4 animate-spin" />
|
||||
{{ $t('workspace.voucherCheck.loading') }}
|
||||
</div>
|
||||
<div v-else-if="!items.length" class="py-16 text-center text-sm text-slate-500">
|
||||
{{ $t('workspace.voucherCheck.empty') }}
|
||||
</div>
|
||||
<div v-else class="max-h-full overflow-auto">
|
||||
<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.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>
|
||||
</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">
|
||||
<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'"
|
||||
>
|
||||
{{ 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>
|
||||
<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>
|
||||
</div>
|
||||
<div class="flex items-center justify-between border-t border-slate-100 px-3 py-2 text-xs text-slate-500">
|
||||
<span>{{ $t('workspace.voucherCheck.totalCount', { total }) }}</span>
|
||||
<div class="flex items-center gap-2">
|
||||
<button
|
||||
type="button"
|
||||
class="rounded border border-slate-200 px-2 py-1 disabled:opacity-40"
|
||||
:disabled="page <= 1 || loading"
|
||||
@click="page -= 1; loadStates()"
|
||||
>
|
||||
{{ $t('workspace.voucherCheck.prevPage') }}
|
||||
</button>
|
||||
<span>{{ page }}</span>
|
||||
<button
|
||||
type="button"
|
||||
class="rounded border border-slate-200 px-2 py-1 disabled:opacity-40"
|
||||
:disabled="page * pageSize >= total || loading"
|
||||
@click="page += 1; loadStates()"
|
||||
>
|
||||
{{ $t('workspace.voucherCheck.nextPage') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
@@ -1274,7 +1274,17 @@
|
||||
"agentOptionId": " (ID: {id})",
|
||||
"difySystemPrompt": "Dify System Prompt",
|
||||
"difySystemPromptHint": "Available when a Dify Agent is enabled. Saved as system_prompt in the Workflow; LLM nodes must reference this variable.",
|
||||
"difySystemPromptPlaceholder": "e.g. You are a material compliance assistant. Based on record test data, return JSON with dify_result (pass/fail/manual review) and dify_message."
|
||||
"difySystemPromptPlaceholder": "e.g. You are a material compliance assistant. Based on record test data, return JSON with dify_result (pass/fail/manual review) and dify_message.",
|
||||
"platformJobAccountingVoucherCheck": "Accounting voucher check",
|
||||
"accountingVoucherCheckHint": "Fetch the current-month ERP invoice list and scan the share for required filenames (no file content reading).",
|
||||
"voucherCheckScope": "Ledger scope",
|
||||
"voucherCheckDirTemplate": "Directory template",
|
||||
"voucherCheckDirTemplateHelp": "Only {root}/{YYYY}/{MM}/{invoice_no} placeholders are allowed",
|
||||
"voucherCheckRequiredFiles": "Required materials",
|
||||
"voucherCheckCaseSensitive": "Case-sensitive filenames",
|
||||
"voucherCheckNotifyMissing": "Notify on missing materials",
|
||||
"voucherCheckNotifyFailure": "Failure alert",
|
||||
"voucherCheckSameDayDedup": "Same-invoice same-day dedup"
|
||||
},
|
||||
"testRun": {
|
||||
"title": "Test run — {name}",
|
||||
|
||||
@@ -1407,5 +1407,12 @@
|
||||
"tableHeaderSystem": "System field",
|
||||
"tableHeaderInventory": "Inventory column",
|
||||
"hints": "Notes:"
|
||||
},
|
||||
"voucherCheck": {
|
||||
"total": "Month total",
|
||||
"scanned": "To scan",
|
||||
"skipped": "Skipped",
|
||||
"complete": "Complete",
|
||||
"missing": "Missing"
|
||||
}
|
||||
}
|
||||
@@ -69,6 +69,14 @@
|
||||
"SHIPPING_NOTICE_REVISION_TARGET_INVALID": "The revision target task is invalid.",
|
||||
"SHIPPING_NOTICE_REVISION_ALREADY_EXISTS": "A later revision of this task already exists.",
|
||||
"SHIPPING_NOTICE_REVISION_CONFLICT": "A revision of this task already exists. Open the existing revision or re-check.",
|
||||
"SHIPPING_NOTICE_FINGERPRINT_UNAVAILABLE": "A reliable business fingerprint could not be generated; only file-hash dedupe applies."
|
||||
"SHIPPING_NOTICE_FINGERPRINT_UNAVAILABLE": "A reliable business fingerprint could not be generated; only file-hash dedupe applies.",
|
||||
"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_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_RUN_NOT_FOUND": "Voucher check run or invoice state was not found.",
|
||||
"VOUCHER_CHECK_PERSIST_FAILED": "Failed to persist voucher check results."
|
||||
}
|
||||
}
|
||||
@@ -104,7 +104,8 @@
|
||||
"updates": "Recent Updates",
|
||||
"backToChat": "Back to Chat",
|
||||
"backShort": "Back",
|
||||
"logout": "Logout"
|
||||
"logout": "Logout",
|
||||
"accountingVoucherCheck": "Voucher Check"
|
||||
},
|
||||
"kb": {
|
||||
"accessDenied": "Administrator access is required to open the knowledge base."
|
||||
@@ -274,5 +275,32 @@
|
||||
"casdoorNotMatchedContactAdmin": "Casdoor login succeeded, but no local account matched. Please contact the administrator.",
|
||||
"casdoorNotMatchedNeedLocalUser": "Casdoor login succeeded, but no local account matched. Ask the administrator to create a local user with the same username or email.",
|
||||
"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",
|
||||
"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",
|
||||
"result": "Result",
|
||||
"search": "Search",
|
||||
"refresh": "Refresh",
|
||||
"loading": "Loading…",
|
||||
"empty": "No check records yet",
|
||||
"loadFailed": "Failed to load voucher check records",
|
||||
"totalCount": "{total} records",
|
||||
"prevPage": "Previous",
|
||||
"nextPage": "Next",
|
||||
"runItemsTitle": "Run {runId} details"
|
||||
}
|
||||
}
|
||||
@@ -1153,7 +1153,17 @@
|
||||
"agentOptionId": " (ID: {id})",
|
||||
"difySystemPrompt": "Dify System Prompt",
|
||||
"difySystemPromptHint": "ใช้ได้เมื่อเปิดใช้ Dify Agent จะบันทึกเป็น system_prompt ใน Workflow; โหนด LLM ต้องอ้างอิงตัวแปรนี้",
|
||||
"difySystemPromptPlaceholder": "เช่น คุณเป็นผู้ช่วยตรวจสอบความสอดคล้องของวัสดุ จากข้อมูล record ให้คืน JSON: dify_result (ผ่าน/ไม่ผ่าน/ตรวจด้วยมือ) และ dify_message"
|
||||
"difySystemPromptPlaceholder": "เช่น คุณเป็นผู้ช่วยตรวจสอบความสอดคล้องของวัสดุ จากข้อมูล record ให้คืน JSON: dify_result (ผ่าน/ไม่ผ่าน/ตรวจด้วยมือ) และ dify_message",
|
||||
"platformJobAccountingVoucherCheck": "ตรวจสอบเอกสารบัญชี",
|
||||
"accountingVoucherCheckHint": "ดึงรายการใบแจ้งหนี้ ERP ของเดือนปัจจุบัน และสแกนไฟล์ที่ต้องมีบนแชร์ (ไม่อ่านเนื้อหาไฟล์)",
|
||||
"voucherCheckScope": "ชุดบัญชี",
|
||||
"voucherCheckDirTemplate": "เทมเพลตโฟลเดอร์",
|
||||
"voucherCheckDirTemplateHelp": "อนุญาตเฉพาะ {root}/{YYYY}/{MM}/{invoice_no}",
|
||||
"voucherCheckRequiredFiles": "เอกสารที่ต้องมี",
|
||||
"voucherCheckCaseSensitive": "แยกตัวพิมพ์เล็ก/ใหญ่ในชื่อไฟล์",
|
||||
"voucherCheckNotifyMissing": "แจ้งเตือนเมื่อขาดเอกสาร",
|
||||
"voucherCheckNotifyFailure": "แจ้งเตือนเมื่อล้มเหลว",
|
||||
"voucherCheckSameDayDedup": "ไม่แจ้งซ้ำใบเดียวกันในวันเดียวกัน"
|
||||
},
|
||||
"status": {
|
||||
"all": "ทุกสถานะ",
|
||||
|
||||
@@ -1407,5 +1407,12 @@
|
||||
"tableHeaderSystem": "ฟิลด์ระบบ",
|
||||
"tableHeaderInventory": "คอลัมน์สต็อก",
|
||||
"hints": "หมายเหตุ:"
|
||||
},
|
||||
"voucherCheck": {
|
||||
"total": "ทั้งหมดเดือนนี้",
|
||||
"scanned": "รอดตรวจ",
|
||||
"skipped": "ข้าม",
|
||||
"complete": "ครบ",
|
||||
"missing": "ขาดเอกสาร"
|
||||
}
|
||||
}
|
||||
@@ -69,6 +69,14 @@
|
||||
"SHIPPING_NOTICE_REVISION_TARGET_INVALID": "งานเป้าหมายสำหรับการแก้ไขไม่ถูกต้อง",
|
||||
"SHIPPING_NOTICE_REVISION_ALREADY_EXISTS": "งานนี้มีเวอร์ชันแก้ไขถัดไปอยู่แล้ว",
|
||||
"SHIPPING_NOTICE_REVISION_CONFLICT": "งานเป้าหมายมีเวอร์ชันแก้ไขอยู่แล้ว กรุณาเปิดเวอร์ชันที่มีหรือตรวจสอบใหม่",
|
||||
"SHIPPING_NOTICE_FINGERPRINT_UNAVAILABLE": "สร้างลายนิ้วมือทางธุรกิจที่เชื่อถือได้ไม่ได้ จะใช้การตัดรายการซ้ำด้วยแฮชไฟล์เท่านั้น"
|
||||
"SHIPPING_NOTICE_FINGERPRINT_UNAVAILABLE": "สร้างลายนิ้วมือทางธุรกิจที่เชื่อถือได้ไม่ได้ จะใช้การตัดรายการซ้ำด้วยแฮชไฟล์เท่านั้น",
|
||||
"VOUCHER_CHECK_CONFIG_INVALID": "การตั้งค่าการตรวจสอบเอกสารบัญชีไม่ถูกต้อง",
|
||||
"VOUCHER_CHECK_INVOICE_REQUIRED": "ต้องระบุเลขที่ใบแจ้งหนี้",
|
||||
"VOUCHER_CHECK_INVOICE_NOT_IN_PERIOD": "ใบแจ้งหนี้ไม่อยู่ในชุด ERP ของเดือนปัจจุบัน",
|
||||
"VOUCHER_CHECK_INVOICE_PATH_INVALID": "เลขที่ใบแจ้งหนี้มีอักขระเส้นทางที่ไม่ถูกต้อง",
|
||||
"VOUCHER_CHECK_SHARE_UNAVAILABLE": "โฟลเดอร์แชร์ใช้ไม่ได้ โปรดตรวจสอบการเมานต์และไฟล์สุขภาพ",
|
||||
"VOUCHER_CHECK_ERP_UNAVAILABLE": "ERP (Oracle) ใช้ไม่ได้ โปรดลองใหม่ภายหลัง",
|
||||
"VOUCHER_CHECK_RUN_NOT_FOUND": "ไม่พบรอบการตรวจหรือสถานะใบแจ้งหนี้",
|
||||
"VOUCHER_CHECK_PERSIST_FAILED": "บันทึกผลการตรวจไม่สำเร็จ"
|
||||
}
|
||||
}
|
||||
@@ -100,7 +100,8 @@
|
||||
"updates": "อัปเดตล่าสุด",
|
||||
"backToChat": "กลับไปแชท",
|
||||
"backShort": "กลับ",
|
||||
"logout": "ออกจากระบบ"
|
||||
"logout": "ออกจากระบบ",
|
||||
"accountingVoucherCheck": "ตรวจเอกสารบัญชี"
|
||||
},
|
||||
"kb": {
|
||||
"accessDenied": "ต้องมีสิทธิ์ผู้ดูแลระบบจึงจะเข้าถึงคลังความรู้ได้"
|
||||
@@ -211,5 +212,32 @@
|
||||
"upload_failed": "อัปโหลดไปยังระบบขนส่งไม่สำเร็จ",
|
||||
"backend_orchestrator_task_finished": "งานเบื้องหลังเสร็จแล้ว"
|
||||
}
|
||||
},
|
||||
"voucherCheck": {
|
||||
"title": "บันทึกตรวจสอบเอกสารบัญชี",
|
||||
"subtitle": "ดูสถานะครบ/ขาดเอกสารใบแจ้งหนี้ของเดือนปฏิทินปัจจุบัน ตรวจสอบเฉพาะการมีอยู่ของไฟล์ ไม่เทียบยอดหรือผู้ขาย",
|
||||
"period": "เดือนที่ตรวจ",
|
||||
"status": "สถานะ",
|
||||
"statusAll": "ทั้งหมด",
|
||||
"statusComplete": "ครบ",
|
||||
"statusMissing": "ขาดเอกสาร",
|
||||
"statusSkipped": "ข้าม",
|
||||
"statusTechError": "ข้อผิดพลาดทางเทคนิค",
|
||||
"invoiceNo": "เลขที่ใบแจ้งหนี้",
|
||||
"invoiceDate": "วันที่ใบแจ้งหนี้",
|
||||
"invoicePlaceholder": "กรองด้วยเลขที่ใบแจ้งหนี้",
|
||||
"folder": "เส้นทางแชร์",
|
||||
"missing": "เอกสารที่ขาด",
|
||||
"checkedAt": "เวลาที่ตรวจ",
|
||||
"result": "ผลลัพธ์",
|
||||
"search": "ค้นหา",
|
||||
"refresh": "รีเฟรช",
|
||||
"loading": "กำลังโหลด…",
|
||||
"empty": "ยังไม่มีบันทึกการตรวจ",
|
||||
"loadFailed": "โหลดบันทึกตรวจสอบไม่สำเร็จ",
|
||||
"totalCount": "ทั้งหมด {total} รายการ",
|
||||
"prevPage": "ก่อนหน้า",
|
||||
"nextPage": "ถัดไป",
|
||||
"runItemsTitle": "รายละเอียดรอบ {runId}"
|
||||
}
|
||||
}
|
||||
@@ -1253,7 +1253,17 @@
|
||||
"agentOptionId": "(ID: {id})",
|
||||
"difySystemPrompt": "Dify System Prompt",
|
||||
"difySystemPromptHint": "仅在启用 Dify Agent 时可配置。保存后将作为 system_prompt 传入 Workflow;编排中 LLM 节点需引用该变量。",
|
||||
"difySystemPromptPlaceholder": "例如:你是物料合规判定助手。根据 record 中的检测数据判定是否合格,仅返回 JSON:dify_result(合格/不合格/人工判定)与 dify_message。"
|
||||
"difySystemPromptPlaceholder": "例如:你是物料合规判定助手。根据 record 中的检测数据判定是否合格,仅返回 JSON:dify_result(合格/不合格/人工判定)与 dify_message。",
|
||||
"platformJobAccountingVoucherCheck": "立账凭证检核",
|
||||
"accountingVoucherCheckHint": "按当前自然月拉取 ERP 发票清单,扫描共享盘必检材料是否存在(不读文件内容)。",
|
||||
"voucherCheckScope": "账套",
|
||||
"voucherCheckDirTemplate": "目录模板",
|
||||
"voucherCheckDirTemplateHelp": "仅允许 {root}/{YYYY}/{MM}/{invoice_no}",
|
||||
"voucherCheckRequiredFiles": "必检材料",
|
||||
"voucherCheckCaseSensitive": "文件名区分大小写",
|
||||
"voucherCheckNotifyMissing": "缺资料通知",
|
||||
"voucherCheckNotifyFailure": "失败告警",
|
||||
"voucherCheckSameDayDedup": "同票同日去重"
|
||||
},
|
||||
"testRun": {
|
||||
"title": "测试执行 — {name}",
|
||||
|
||||
@@ -1407,5 +1407,12 @@
|
||||
"tableHeaderSystem": "系统字段",
|
||||
"tableHeaderInventory": "库存列",
|
||||
"hints": "提示:"
|
||||
},
|
||||
"voucherCheck": {
|
||||
"total": "当月总数",
|
||||
"scanned": "本次待检",
|
||||
"skipped": "跳过",
|
||||
"complete": "齐全",
|
||||
"missing": "缺资料"
|
||||
}
|
||||
}
|
||||
@@ -69,6 +69,14 @@
|
||||
"SHIPPING_NOTICE_REVISION_TARGET_INVALID": "修订目标任务无效。",
|
||||
"SHIPPING_NOTICE_REVISION_ALREADY_EXISTS": "该任务已有后续修订版本。",
|
||||
"SHIPPING_NOTICE_REVISION_CONFLICT": "目标任务已有修订版本,请打开已有修订或重新检测。",
|
||||
"SHIPPING_NOTICE_FINGERPRINT_UNAVAILABLE": "无法生成可靠业务指纹,将仅按文件去重。"
|
||||
"SHIPPING_NOTICE_FINGERPRINT_UNAVAILABLE": "无法生成可靠业务指纹,将仅按文件去重。",
|
||||
"VOUCHER_CHECK_CONFIG_INVALID": "立账凭证检核配置无效。",
|
||||
"VOUCHER_CHECK_INVOICE_REQUIRED": "请提供发票号。",
|
||||
"VOUCHER_CHECK_INVOICE_NOT_IN_PERIOD": "指定发票不在当前月 ERP 集合中。",
|
||||
"VOUCHER_CHECK_INVOICE_PATH_INVALID": "发票号含非法路径字符。",
|
||||
"VOUCHER_CHECK_SHARE_UNAVAILABLE": "共享盘不可用,请检查挂载与健康标记。",
|
||||
"VOUCHER_CHECK_ERP_UNAVAILABLE": "ERP(Oracle)不可用,请稍后重试。",
|
||||
"VOUCHER_CHECK_RUN_NOT_FOUND": "检核批次或发票状态不存在。",
|
||||
"VOUCHER_CHECK_PERSIST_FAILED": "检核结果落库失败。"
|
||||
}
|
||||
}
|
||||
@@ -104,7 +104,8 @@
|
||||
"updates": "最近更新",
|
||||
"backToChat": "返回聊天",
|
||||
"backShort": "返",
|
||||
"logout": "退出登录"
|
||||
"logout": "退出登录",
|
||||
"accountingVoucherCheck": "立账凭证"
|
||||
},
|
||||
"kb": {
|
||||
"accessDenied": "需要管理员权限才能访问知识库。"
|
||||
@@ -274,5 +275,32 @@
|
||||
"casdoorNotMatchedContactAdmin": "Casdoor 登录成功,但未匹配到本地账号,请联系管理员。",
|
||||
"casdoorNotMatchedNeedLocalUser": "Casdoor 登录成功,但未匹配到本地账号。请让管理员在本地用户表创建同名 username 或相同 email 的账号。",
|
||||
"localAccountDisabled": "该本地账号已被禁用,请联系管理员启用后再登录。"
|
||||
},
|
||||
"voucherCheck": {
|
||||
"title": "立账凭证检核记录",
|
||||
"subtitle": "按当前自然月查看发票材料齐全/缺资料状态;只判文件是否存在,不核对金额与供应商。",
|
||||
"period": "检核月份",
|
||||
"status": "状态",
|
||||
"statusAll": "全部",
|
||||
"statusComplete": "齐全",
|
||||
"statusMissing": "缺资料",
|
||||
"statusSkipped": "跳过",
|
||||
"statusTechError": "技术异常",
|
||||
"invoiceNo": "发票号",
|
||||
"invoiceDate": "发票日期",
|
||||
"invoicePlaceholder": "输入发票号筛选",
|
||||
"folder": "共享盘路径",
|
||||
"missing": "缺失材料",
|
||||
"checkedAt": "检核时间",
|
||||
"result": "结论",
|
||||
"search": "查询",
|
||||
"refresh": "刷新",
|
||||
"loading": "加载中…",
|
||||
"empty": "暂无检核记录",
|
||||
"loadFailed": "加载检核记录失败",
|
||||
"totalCount": "共 {total} 条",
|
||||
"prevPage": "上一页",
|
||||
"nextPage": "下一页",
|
||||
"runItemsTitle": "批次 {runId} 明细"
|
||||
}
|
||||
}
|
||||
@@ -1153,7 +1153,17 @@
|
||||
"agentOptionId": "(ID: {id})",
|
||||
"difySystemPrompt": "Dify System Prompt",
|
||||
"difySystemPromptHint": "僅在啟用 Dify Agent 時可配置。保存後將作為 system_prompt 傳入 Workflow;編排中 LLM 節點需引用該變數。",
|
||||
"difySystemPromptPlaceholder": "例如:你是物料合規判定助手。根據 record 中的檢測資料判定是否合格,僅返回 JSON:dify_result(合格/不合格/人工判定)與 dify_message。"
|
||||
"difySystemPromptPlaceholder": "例如:你是物料合規判定助手。根據 record 中的檢測資料判定是否合格,僅返回 JSON:dify_result(合格/不合格/人工判定)與 dify_message。",
|
||||
"platformJobAccountingVoucherCheck": "立帳憑證檢核",
|
||||
"accountingVoucherCheckHint": "依當前自然月拉取 ERP 發票清單,掃描共用磁碟必檢材料是否存在(不讀檔案內容)。",
|
||||
"voucherCheckScope": "帳套",
|
||||
"voucherCheckDirTemplate": "目錄範本",
|
||||
"voucherCheckDirTemplateHelp": "僅允許 {root}/{YYYY}/{MM}/{invoice_no}",
|
||||
"voucherCheckRequiredFiles": "必檢材料",
|
||||
"voucherCheckCaseSensitive": "檔名區分大小寫",
|
||||
"voucherCheckNotifyMissing": "缺資料通知",
|
||||
"voucherCheckNotifyFailure": "失敗告警",
|
||||
"voucherCheckSameDayDedup": "同票同日去重"
|
||||
},
|
||||
"status": {
|
||||
"all": "全部狀態",
|
||||
|
||||
@@ -1407,5 +1407,12 @@
|
||||
"tableHeaderSystem": "系統欄位",
|
||||
"tableHeaderInventory": "庫存欄",
|
||||
"hints": "提示:"
|
||||
},
|
||||
"voucherCheck": {
|
||||
"total": "當月總數",
|
||||
"scanned": "本次待檢",
|
||||
"skipped": "跳過",
|
||||
"complete": "齊全",
|
||||
"missing": "缺資料"
|
||||
}
|
||||
}
|
||||
@@ -69,6 +69,14 @@
|
||||
"SHIPPING_NOTICE_REVISION_TARGET_INVALID": "修訂目標任務無效。",
|
||||
"SHIPPING_NOTICE_REVISION_ALREADY_EXISTS": "該任務已有後續修訂版本。",
|
||||
"SHIPPING_NOTICE_REVISION_CONFLICT": "目標任務已有修訂版本,請打開已有修訂或重新檢測。",
|
||||
"SHIPPING_NOTICE_FINGERPRINT_UNAVAILABLE": "無法產生可靠業務指紋,將僅按檔案去重。"
|
||||
"SHIPPING_NOTICE_FINGERPRINT_UNAVAILABLE": "無法產生可靠業務指紋,將僅按檔案去重。",
|
||||
"VOUCHER_CHECK_CONFIG_INVALID": "立帳憑證檢核設定無效。",
|
||||
"VOUCHER_CHECK_INVOICE_REQUIRED": "請提供發票號。",
|
||||
"VOUCHER_CHECK_INVOICE_NOT_IN_PERIOD": "指定發票不在當前月 ERP 集合中。",
|
||||
"VOUCHER_CHECK_INVOICE_PATH_INVALID": "發票號含非法路徑字元。",
|
||||
"VOUCHER_CHECK_SHARE_UNAVAILABLE": "共用磁碟不可用,請檢查掛載與健康標記。",
|
||||
"VOUCHER_CHECK_ERP_UNAVAILABLE": "ERP(Oracle)不可用,請稍後重試。",
|
||||
"VOUCHER_CHECK_RUN_NOT_FOUND": "檢核批次或發票狀態不存在。",
|
||||
"VOUCHER_CHECK_PERSIST_FAILED": "檢核結果寫入失敗。"
|
||||
}
|
||||
}
|
||||
@@ -104,7 +104,8 @@
|
||||
"updates": "最近更新",
|
||||
"backToChat": "返回聊天",
|
||||
"backShort": "返",
|
||||
"logout": "退出登錄"
|
||||
"logout": "退出登錄",
|
||||
"accountingVoucherCheck": "立帳憑證"
|
||||
},
|
||||
"kb": {
|
||||
"accessDenied": "需要管理員權限才能存取知識庫。"
|
||||
@@ -274,5 +275,32 @@
|
||||
"casdoorNotMatchedContactAdmin": "Casdoor 登錄成功,但未匹配到本地賬號,請聯繫管理員。",
|
||||
"casdoorNotMatchedNeedLocalUser": "Casdoor 登錄成功,但未匹配到本地賬號。請讓管理員在本地用戶表建立同名 username 或相同 email 的賬號。",
|
||||
"localAccountDisabled": "該本地賬號已被禁用,請聯繫管理員啟用後再登錄。"
|
||||
},
|
||||
"voucherCheck": {
|
||||
"title": "立帳憑證檢核紀錄",
|
||||
"subtitle": "依當前自然月查看發票材料齊全/缺資料狀態;只判斷檔案是否存在,不核對金額與供應商。",
|
||||
"period": "檢核月份",
|
||||
"status": "狀態",
|
||||
"statusAll": "全部",
|
||||
"statusComplete": "齊全",
|
||||
"statusMissing": "缺資料",
|
||||
"statusSkipped": "跳過",
|
||||
"statusTechError": "技術異常",
|
||||
"invoiceNo": "發票號",
|
||||
"invoiceDate": "發票日期",
|
||||
"invoicePlaceholder": "輸入發票號篩選",
|
||||
"folder": "共用磁碟路徑",
|
||||
"missing": "缺失材料",
|
||||
"checkedAt": "檢核時間",
|
||||
"result": "結論",
|
||||
"search": "查詢",
|
||||
"refresh": "重新整理",
|
||||
"loading": "載入中…",
|
||||
"empty": "暫無檢核紀錄",
|
||||
"loadFailed": "載入檢核紀錄失敗",
|
||||
"totalCount": "共 {total} 筆",
|
||||
"prevPage": "上一頁",
|
||||
"nextPage": "下一頁",
|
||||
"runItemsTitle": "批次 {runId} 明細"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user