feat(agent): 立账凭证检核

(cherry picked from commit f9e2fb5efc1ec7bf4f6e52e08dd3591b4e77edd9)
This commit is contained in:
sophie committed 2026-08-06 10:05:46 +08:00
1 parent 9bcbf9d211
commit f615e56bb9
70 files changed
+4968 -108

No files matched your search

+11 -1
View File
@@ -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}",
+7
View File
@@ -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"
}
}
+9 -1
View File
@@ -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."
}
}
+29 -1
View File
@@ -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"
}
}