feat(order-delivery-reply): 新增订单交期回复工作台

This commit is contained in:
HTEWJ\26070045 committed 2026-09-21 15:40:15 +08:00
1 parent de9db2ea77
commit 49f6a0f222
57 files changed
+6502 -67

No files matched your search

+203 -10
View File
@@ -1197,6 +1197,10 @@
"trainingLeanTeamManage": "Lean training team management",
"contractPaymentAccess": "Contract payment alert access",
"contractPaymentAccessHint": "Allows this user to open the contract payment workbench (ledger, review, weekly batches). Syncing OA, scanning alerts, and sending weekly alerts remain admin-only.",
"orderDeliveryReplyManage": "Order Delivery Reply Manage",
"orderDeliveryReplyManageHint": "Grants replying delivery batches, sending/batch notifications and manual ERP sync (production planning).",
"orderDeliveryReplyAccess": "Order Delivery Reply Access",
"orderDeliveryReplyAccessHint": "Grants read-only access to synced orders and replies (business users); managing requires the manage permission.",
"password": "Password",
"passwordHint": "(leave blank to keep)",
"noAgents": "No agents available."
@@ -1238,7 +1242,11 @@
"delete": "Delete",
"viewMembers": "View department members"
},
"members": { "title": "{name} Members", "count": "{count} members", "empty": "No members" },
"members": {
"title": "{name} Members",
"count": "{count} members",
"empty": "No members"
},
"fields": {
"name": "Name",
"namePlaceholder": "e.g. IT Department",
@@ -1785,7 +1793,12 @@
"employeeIdSource": "Employee ID Source",
"mobileNormalize": "Normalize mobile number",
"publicBaseUrl": "Public HTTPS base (extranet)",
"userSelect": "Select user"
"userSelect": "Select user",
"callbackToken": "Callback Token",
"encodingAesKey": "EncodingAESKey",
"callbackUrl": "Callback URL",
"homepageUrl": "Homepage URL",
"trustedDomain": "Trusted Domain"
},
"bindModes": {
"match_rules": "Match automatically",
@@ -1898,8 +1911,23 @@
"filterName": "Filter by Name/Username",
"filterDept": "Filter by Department",
"allRoles": "All Roles",
"views": { "apps": "By Application", "members": "By Member" },
"appHeaders": { "app": "Application", "type": "Type", "authorized": "Authorized", "actions": "Actions", "viewMembers": "View members", "accessHint": "Open member permissions", "memberHint": "Add or remove access to this application", "memberSearch": "Search name, username, employee ID, or department", "addMember": "Grant access", "removeMember": "Remove access", "noMembers": "No matching members" },
"views": {
"apps": "By Application",
"members": "By Member"
},
"appHeaders": {
"app": "Application",
"type": "Type",
"authorized": "Authorized",
"actions": "Actions",
"viewMembers": "View members",
"accessHint": "Open member permissions",
"memberHint": "Add or remove access to this application",
"memberSearch": "Search name, username, employee ID, or department",
"addMember": "Grant access",
"removeMember": "Remove access",
"noMembers": "No matching members"
},
"headers": {
"user": "User",
"realName": "Real Name",
@@ -2045,7 +2073,7 @@
"tokens_completion": "Completion Tokens",
"total_tokens": "Total Tokens",
"latency_ms": "Latency (ms)",
"latency": "Latency",
"latency": "Latency (ms)",
"cost": "Cost",
"ip": "IP",
"user_agent": "User Agent",
@@ -2064,7 +2092,6 @@
"source_page": "Source Page",
"risk_status": "Risk Status",
"risk_score": "Risk Score",
"latency": "Latency (ms)",
"is_empty_answer": "Empty Answer",
"is_system_failure": "System Failure",
"feedback_score": "Rating",
@@ -4954,11 +4981,177 @@
}
},
"contractPayment": {
"title": "Contract Payment Alerts", "subtitle": "Sync OA contract, acceptance, and vendor prepayment requests; notify procurement roles through three escalation rounds.", "sync": "Sync OA data", "forceSync": "Force overwrite OA fields", "forceSyncConfirm": "This will overwrite existing OA data with non-empty fields returned this time and record an audit trail. Continue?", "reparseExisting": "Reparse existing contracts", "reparseExistingConfirm": "This will refresh all existing contract parsing results from archived attachments using the current rules. OA fields will not be synced or overwritten. Continue?", "scanAlerts": "Scan to generate alerts", "jobSubmitted": "Job submitted", "actionFailed": "Action failed", "loadFailed": "Failed to load contracts", "searchPlaceholder": "Search contract number, purchase order, or supplier", "allStatus": "All", "search": "Search", "ledger": "Contract ledger", "items": "items", "empty": "No contract data", "purchaseOrder": "Purchase order", "supplier": "Supplier", "amount": "Contract amount", "deliveryDate": "Delivery due date", "timeline": "Payment plan timeline", "notAvailable": "—", "stats": {"contracts": "Contracts", "pendingParse": "Pending contracts", "readyPlans": "Plans ready", "alerts": "Alert nodes"}, "ledgerFocus": {"due": "Due soon", "dueHint": "within 7 days", "overdue": "Overdue unpaid", "needsCompletion": "Needs completion", "dueThisMonth": "Due this month", "dueThisMonthHint": "this calendar month"}, "status": {"completed": "Completed", "needs_review": "Needs review", "pending": "Pending parse"}, "stateLabel": {"parsed": "Parsed", "needs_review": "Needs review", "pending": "Pending parse", "active": "Active"}, "nodeType": {"prepayment": "Prepayment", "shipment": "Shipment payment", "acceptance": "Acceptance payment", "warranty": "Warranty payment"}, "ruleConfirmed": "Confirmed", "prepaymentRule": "Alerts at 7/14/21 days after contract archival; request status comes from OA vendor prepayment requests.", "shipmentRule": "Alerts 7 days before delivery, on the due date, and 14 days after; request status comes from OA vendor prepayment requests.", "acceptanceRule": "Alerts at 30/40/60 days after acceptance archival; warranty alerts are 7 days before, on, and 14 days after maturity.", "pendingAlerts": "Pending alerts", "processing": "Payment initiated", "dataPending": "Data pending", "paid": "Paid", "amountRatioDate": "Amount / ratio · date", "applicant": "Applicant", "statusLabel": "Status", "contractPrefix": "Contract", "datePending": "Date pending", "statusNormal": "Normal", "statusNeedsCompletion": "Needs completion", "statusOverdue": "Overdue", "statusUpcoming": "Due soon", "statusActive": "In progress", "statusCompleted": "Completed", "totalPrefix": "Total", "contractSupplier": "Contract / supplier", "nextAlert": "Next alert", "triggerBasis": "Trigger basis", "alertDate": "Alert date", "alertFirstRound": "Round 1", "payDate": "Payment date", "processStatus": "Status", "owner": "Procurement owner", "oaData": "OA data", "contractRule": "Contract rule", "ownerDefault": "Procurement owner", "workflowNo": "Workflow number", "contractNoPending": "Contract number pending attachment parsing", "synced": "Synced", "detailSubtitle": "OA data, payment nodes, and WeCom alert records", "backToOverview": "Back to overview", "contractInfo": "OA contract details", "alertHistory": "Alert history", "alertRound": "Alert round {round}", "alertAudit": "Alert delivery record", "alertAuditEmpty": "No alert records", "alertNode": "Payment stage", "alertScheduledAt": "Scheduled date", "alertSentAt": "Sent at", "alertStatus": {"pending": "Pending", "sent": "Sent", "failed": "Failed"}, "roundValue": "Round {round}", "weeklyBatchesTitle": "Weekly Summary Batches", "weeklyBatchesSubtitle": "Review recipient-level payment-alert summaries, Excel attachments, and delivery records.", "weeklySend": "Send alerts", "weeklyBatchSubmitted": "Send alert job submitted", "weeklyBatchesLoadFailed": "Failed to load weekly summary batches", "batchNo": "Batch no.", "weekKey": "Week", "batchStatusLabel": "Delivery status", "batchTotal": "Summary count", "batchExcel": "Excel attachment", "batchSentAt": "Sent at", "weeklyBatchesEmpty": "No weekly summary batches", "weeklyPendingSummary": "{count} pending this week · next send {datetime}", "weeklyPendingCountOnly": "{count} pending this week", "downloadExcel": "Download Excel", "excelDownloadFailed": "Failed to download the alert attachment", "batchStatus": {"pending": "Pending", "sent": "Sent", "failed": "Failed", "processing": "Processing", "resolved": "Alerts stopped"}, "backToLedger": "Back", "detailLoadFailed": "Failed to load contract details", "detailLoading": "Loading contract details…", "detailOverview": "Contract Overview", "detailAttachments": "Original Attachments", "detailPaymentPlan": "Payment Plan", "detailAlertHistory": "Alert History", "archiveDate": "Contract archive date", "archiveDateHint": "This date is when the contract apLine truncated
"title": "Contract Payment Alerts",
"subtitle": "Sync OA contract, acceptance, and vendor prepayment requests; notify procurement roles through three escalation rounds.",
"sync": "Sync OA data",
"forceSync": "Force overwrite OA fields",
"forceSyncConfirm": "This will overwrite existing OA data with non-empty fields returned this time and record an audit trail. Continue?",
"reparseExisting": "Reparse existing contracts",
"reparseExistingConfirm": "This will refresh all existing contract parsing results from archived attachments using the current rules. OA fields will not be synced or overwritten. Continue?",
"scanAlerts": "Scan to generate alerts",
"jobSubmitted": "Job submitted",
"actionFailed": "Action failed",
"loadFailed": "Failed to load contracts",
"searchPlaceholder": "Search contract number, purchase order, or supplier",
"allStatus": "All",
"search": "Search",
"ledger": "Contract ledger",
"items": "items",
"empty": "No contract data",
"purchaseOrder": "Purchase order",
"supplier": "Supplier",
"amount": "Contract amount",
"deliveryDate": "Delivery due date",
"timeline": "Payment plan timeline",
"notAvailable": "—",
"stats": {
"contracts": "Contracts",
"pendingParse": "Pending contracts",
"readyPlans": "Plans ready",
"alerts": "Alert nodes"
},
"ledgerFocus": {
"due": "Due soon",
"dueHint": "within 7 days",
"overdue": "Overdue unpaid",
"needsCompletion": "Needs completion",
"dueThisMonth": "Due this month",
"dueThisMonthHint": "this calendar month"
},
"status": {
"completed": "Completed",
"needs_review": "Needs review",
"pending": "Pending parse"
},
"stateLabel": {
"parsed": "Parsed",
"needs_review": "Needs review",
"pending": "Pending parse",
"active": "Active"
},
"nodeType": {
"prepayment": "Prepayment",
"shipment": "Shipment payment",
"acceptance": "Acceptance payment",
"warranty": "Warranty payment"
},
"ruleConfirmed": "Confirmed",
"prepaymentRule": "Alerts at 7/14/21 days after contract archival; request status comes from OA vendor prepayment requests.",
"shipmentRule": "Alerts 7 days before delivery, on the due date, and 14 days after; request status comes from OA vendor prepayment requests.",
"acceptanceRule": "Alerts at 30/40/60 days after acceptance archival; warranty alerts are 7 days before, on, and 14 days after maturity.",
"pendingAlerts": "Pending alerts",
"processing": "Payment initiated",
"dataPending": "Data pending",
"paid": "Paid",
"amountRatioDate": "Amount / ratio · date",
"applicant": "Applicant",
"statusLabel": "Status",
"contractPrefix": "Contract",
"datePending": "Date pending",
"statusNormal": "Normal",
"statusNeedsCompletion": "Needs completion",
"statusOverdue": "Overdue",
"statusUpcoming": "Due soon",
"statusActive": "In progress",
"statusCompleted": "Completed",
"totalPrefix": "Total",
"contractSupplier": "Contract / supplier",
"nextAlert": "Next alert",
"triggerBasis": "Trigger basis",
"alertDate": "Alert date",
"alertFirstRound": "Round 1",
"payDate": "Payment date",
"processStatus": "Status",
"owner": "Procurement owner",
"oaData": "OA data",
"contractRule": "Contract rule",
"ownerDefault": "Procurement owner",
"workflowNo": "Workflow number",
"contractNoPending": "Contract number pending attachment parsing",
"synced": "Synced",
"detailSubtitle": "OA data, payment nodes, and WeCom alert records",
"backToOverview": "Back to overview",
"contractInfo": "OA contract details",
"alertHistory": "Alert history",
"alertRound": "Alert round {round}",
"alertAudit": "Alert delivery record",
"alertAuditEmpty": "No alert records",
"alertNode": "Payment stage",
"alertScheduledAt": "Scheduled date",
"alertSentAt": "Sent at",
"alertStatus": {
"pending": "Pending",
"sent": "Sent",
"failed": "Failed"
},
"roundValue": "Round {round}",
"weeklyBatchesTitle": "Weekly Summary Batches",
"weeklyBatchesSubtitle": "Review recipient-level payment-alert summaries, Excel attachments, and delivery records.",
"weeklySend": "Send alerts",
"weeklyBatchSubmitted": "Send alert job submitted",
"weeklyBatchesLoadFailed": "Failed to load weekly summary batches",
"batchNo": "Batch no.",
"weekKey": "Week",
"batchStatusLabel": "Delivery status",
"batchTotal": "Summary count",
"batchExcel": "Excel attachment",
"batchSentAt": "Sent at",
"weeklyBatchesEmpty": "No weekly summary batches",
"weeklyPendingSummary": "{count} pending this week · next send {datetime}",
"weeklyPendingCountOnly": "{count} pending this week",
"downloadExcel": "Download Excel",
"excelDownloadFailed": "Failed to download the alert attachment",
"batchStatus": {
"pending": "Pending",
"sent": "Sent",
"failed": "Failed",
"processing": "Processing",
"resolved": "Alerts stopped"
},
"backToLedger": "Back",
"detailLoadFailed": "Failed to load contract details",
"detailLoading": "Loading contract details…",
"detailOverview": "Contract Overview",
"detailAttachments": "Original Attachments",
"detailPaymentPlan": "Payment Plan",
"detailAlertHistory": "Alert History",
"archiveDate": "Contract archive date",
"archiveDateHint": "This date is when the contract application form was archived",
"parseStatus": "Parsing status",
"parseIssueTitle": "Parse issues",
"planStatus": "Plan status",
"attachmentsEmpty": "No archived original contract attachments",
"downloadAttachment": "Download",
"attachmentDownloadFailed": "Failed to download contract attachment",
"paymentPlanEmpty": "No payment plan to display",
"anchorDate": "Date basis",
"nodeStatus": {
"pending": "Pending",
"active": "Active",
"paid": "Paid",
"processing": "Processing",
"resolved": "Alerts stopped",
"upcoming": "Due soon",
"notStarted": "Not started",
"overdue": "Overdue",
"review": "Needs review"
}
},
"contractPaymentReview": {
"title": "Contracts for Confirmation",
"subtitle": "Contracts that do not match the equipment procurement synonym title groups, fail payment-ratio validation, or conflict with OA fields are excluded from payment alerts. Download the original contract to verify it.",
"searchPlaceholder": "Contract number, purchase order, or supplier",
"loadFailed": "Failed to load contracts for confirmation",
"contractWorkflow": "Contract / workflow number",
"reason": "Reason for confirmation",
"fallbackIssue": "Parsing result requires manual confirmation",
"empty": "No contracts need confirmation"
},
"contractPaymentReparse": {
"action": "Reparse contract original",
"success": "Reparsed with attachment “{attachment}”",
"failed": "Failed to reparse contract"
},
"contractPaymentReview": {"title": "Contracts for Confirmation", "subtitle": "Contracts that do not match the equipment procurement synonym title groups, fail payment-ratio validation, or conflict with OA fields are excluded from payment alerts. Download the original contract to verify it.", "searchPlaceholder": "Contract number, purchase order, or supplier", "loadFailed": "Failed to load contracts for confirmation", "contractWorkflow": "Contract / workflow number", "reason": "Reason for confirmation", "fallbackIssue": "Parsing result requires manual confirmation", "empty": "No contracts need confirmation"},
"contractPaymentReparse": {"action": "Reparse contract original", "success": "Reparsed with attachment “{attachment}”", "failed": "Failed to reparse contract"},
"contractPaymentReview": {"title": "Contracts for Confirmation", "subtitle": "Contracts that do not match the equipment procurement synonym title groups, fail payment-ratio validation, or conflict with OA fields are excluded from payment alerts. Download the original contract to verify it.", "searchPlaceholder": "Contract number, purchase order, or supplier", "loadFailed": "Failed to load contracts for confirmation", "contractWorkflow": "Contract / workflow number", "reason": "Reason for confirmation", "fallbackIssue": "Parsing result requires manual confirmation", "empty": "No contracts need confirmation"},
"procurementContract": {
"title": "Procurement Contract Review",
"subtitle": "Manage templates, risk red-line rules, and review history",
+14
View File
@@ -1,6 +1,20 @@
{
"generic": "Request failed.",
"codes": {
"ORDER_DELIVERY_REPLY.FORBIDDEN": "You do not have permission to view order delivery replies. Contact an administrator.",
"ORDER_DELIVERY_REPLY.LINE_NOT_FOUND": "Order delivery line not found or no longer in sync scope.",
"ORDER_DELIVERY_REPLY.ADMIN_REQUIRED": "Only platform administrators can grant permissions by department.",
"ORDER_DELIVERY_REPLY.GRANT_DEPARTMENT_REQUIRED": "Please specify the department to grant permissions to.",
"ORDER_DELIVERY_REPLY.GRANT_PERMISSION_INVALID": "Permission type must be manage or access.",
"ORDER_DELIVERY_REPLY.BATCH_REPLY_EMPTY": "Batch reply requires at least one line and at most 200 per request.",
"ORDER_DELIVERY_REPLY.NOTIFY_BATCH_EMPTY": "Batch notify requires at least one line and at most 200 per request.",
"ORDER_DELIVERY_REPLY.SALESPERSON_UNMAPPED": "The salesperson has no linked account or WeCom binding; notification cannot be sent.",
"ORDER_DELIVERY_REPLY.NOTIFY_FAILED": "WeCom notification failed. The line remains unlocked; please retry later.",
"ORDER_DELIVERY_REPLY.LINE_LOCKED": "The delivery schedule of this line is locked after notification and cannot be modified.",
"ORDER_DELIVERY_REPLY.MANAGE_FORBIDDEN": "You do not have manage permission for order delivery replies.",
"ORDER_DELIVERY_REPLY.BATCHES_REQUIRED": "Please provide at least one delivery batch.",
"ORDER_DELIVERY_REPLY.BATCH_COUNT_EXCEEDED": "Too many batches for a single line.",
"ORDER_DELIVERY_REPLY.BATCH_INVALID": "Invalid batch format. Check the date, quantity, or remark.",
"SHIPPING.FULFILLMENT_POLICY_INVALID": "The fulfillment policy or field capability binding is invalid.",
"SHIPPING.FULFILLMENT_POLICY_NOT_FOUND": "The fulfillment policy was not found.",
"SHIPPING.FULFILLMENT_POLICY_CONFLICT": "The fulfillment policy was changed by another administrator. Refresh and try again.",
+98 -3
View File
@@ -113,7 +113,8 @@
"contractPayment": "Contract Payment Alerts",
"contractPaymentLedger": "Contract Ledger",
"contractPaymentReview": "Contracts for Confirmation",
"contractPaymentWeeklyBatches": "Weekly Summary Batches"
"contractPaymentWeeklyBatches": "Weekly Summary Batches",
"orderDeliveryReply": "Order Delivery Reply"
},
"kb": {
"accessDenied": "Administrator access is required to open the knowledge base."
@@ -280,8 +281,8 @@
"customerTaskMissing": "Task number missing — cannot open customer confirm. Refresh and try again.",
"genericBlocking": "This step needs manual attention",
"unknownStep": "Current step",
"continueAction": "Continue",
"recoveryTargets": "Prerequisite recovery",
"continueAction": "Continue",
"recoveryTargets": "Prerequisite recovery",
"actionSubmitted": "Action submitted",
"submitting": "Submitting…",
"readOnlyUseFooter": "Use the footer action bar to proceed",
@@ -846,5 +847,99 @@
"notifyExcel": "Excel",
"downloadExcel": "Download Excel",
"downloadExcelFailed": "Failed to download Excel"
},
"orderDeliveryReply": {
"search": "Search",
"reset": "Reset",
"saving": "Saving…",
"syncNow": "Refresh now",
"syncing": "Syncing…",
"syncNever": "Never synced",
"syncAt": "Last sync: {time}",
"syncRunning": "Sync in progress…",
"syncFailedAt": "Last sync failed ({time}); list shows the last successful snapshot",
"syncDone": "Sync completed, {count} lines",
"syncSkipped": "A sync is already running; try again later",
"syncFailedTitle": "Sync failed; last snapshot kept",
"filterOrderNo": "Order No.",
"filterOrderNoPh": "Enter order number",
"filterProduct": "Part No. / Name / Customer Part",
"filterProductPh": "Part number, name, or customer part number",
"filterCustomer": "Customer No. / Short Name",
"filterCustomerPh": "Customer number or short name",
"filterOrderDate": "Order Date",
"filterStatus": "Reply Status",
"statusAll": "All",
"statusReplied": "Replied",
"statusNotFully": "Not fully replied",
"statusNotReplied": "Not replied",
"statusPartial": "Partially replied",
"totalCount": "{count} product lines",
"selectAll": "Select all (this page)",
"selectedCount": "{count} lines selected",
"batchReply": "+ Batch reply",
"batchNotify": "Batch notify",
"toolbarHint": "Batch reply only saves; click \"Batch notify\" to send and lock.",
"colOrderLine": "Order : Item",
"colOrderDate": "Order Date",
"colCustomer": "Customer",
"colSalesperson": "Salesperson",
"colDept": "Department",
"colCustomerPo": "Customer PO",
"colPartNo": "Part No.",
"colPartName": "Part Name",
"colSpec": "Spec",
"colCustomerPartNo": "Customer Part No.",
"colAgreedDate": "Agreed Date",
"colUnit": "Unit",
"colQty": "Qty",
"colDelivered": "Delivered",
"colUndelivered": "Undelivered",
"colStatus": "Reply Status",
"colReply": "Delivery Reply",
"colNotify": "Notify",
"colReplyPerson": "Replied By",
"batchCount": "{count} batches",
"repliedOf": "replied {replied}/{remain}",
"overTag": "OVER",
"collapse": "Collapse ▲",
"expand": "+{count} more ▾",
"lockedTag": "Locked",
"replyAction": "Reply",
"editReplyAction": "Edit reply",
"notifiedTag": "Notified {name}",
"replyFirst": "Reply first",
"notifyAction": "Send notification",
"pendingNotify": "Recorded after notify",
"empty": "No matching order lines",
"pageInfo": "Page {page} / {pages}",
"modalTitleSingle": "Reply · {order} / item {item}",
"modalTitleBatch": "Batch reply ({count} lines)",
"quickDate": "Quick unified date",
"applyQuickDate": "Apply to all",
"modalHint": "Fill one date, or split into multiple date+qty batches; over-quantity is allowed with a warning only.",
"itemLabel": "Item {item}",
"undeliveredLabel": "Undelivered {remain} {unit}",
"qtyPh": "Qty",
"remarkPh": "Remark (optional)",
"removeBatch": "Remove batch",
"addBatch": "+ Add batch (date + qty + remark)",
"overWarning": "⚠ These lines exceed undelivered qty (savable, warning only): {detail}",
"saveReply": "Save reply",
"noValidBatches": "Fill a date and quantity for at least one line",
"saveSingleDone": "Batches saved (not notified; still editable)",
"saveBatchDone": "Saved batches for {ok} lines (not notified)",
"saveBatchPartial": "Saved: {ok} ok, {fail} failed: {detail}",
"saveFailedTitle": "Save failed",
"loadFailed": "Failed to load order lines",
"notifyConfirm": "Send to salesperson \"{salesperson}\"?\nYou have order {order}:{item} to fill/confirm/check delivery.\nThe schedule will be locked after sending.",
"notifyDone": "Notified and locked: {order}:{item}",
"notifyBatchConfirm": "Send notifications for {count} lines; successful lines will be locked. Continue?",
"notifyPartial": "Partial success: {ok} ok, {fail} failed, {skip} skipped. Failed: {detail}",
"notifyAllFailed": "All failed ({fail} lines): {detail}",
"notifyBatchDone": "Notified and locked {ok} lines, skipped {skip}",
"notifyFailedTitle": "Notification failed; line not locked",
"entryHint": "Query orders, reply delivery, notify sales",
"notNotified": "Not notified"
}
}