Merge branch 'hugo-auto-transfer' into dev

This commit is contained in:
hugo committed 2026-10-26 17:58:09 +08:00
commit 00c52fdaae
44 files changed
+1487 -524

No files matched your search

@@ -8,6 +8,7 @@
来源站点详情三块折叠——库存报表|入站报表|出站报表;入站/出站走独立 get/save API。
复制新增只预填未保存草稿(sourceCloneDraft),保存后新站点保持停用。卡片入口是右上角复制图标,抽屉底栏保留文字按钮。
报表规则列表按用途分段(库存→入站→出站),组内按 profile_code / version 排序。
系统连接回显用户名明文,密码留空表示不修改。自动上传只保存开关,页面动作在连接器代码里。
视觉层已迁移 Element Plus(element-trial 主题),间距由 AdminLayout 壳层持有。
-->
<template>
@@ -143,7 +144,7 @@
<label><span>{{ t('admin.freightRpa.connectionName') }}</span><el-input v-model="profile.display_name" required /></label>
<label><span>{{ t('admin.freightRpa.connectorType') }}</span><el-select v-model="profile.connector_type"><el-option value="dbs" :label="t('admin.freightRpa.platform.dbs')" /><el-option value="crane" :label="t('admin.freightRpa.platform.crane')" /></el-select></label>
<label><span>{{ t('admin.freightRpa.loginUrl') }}</span><el-input v-model="profile.login_url" type="url" required /></label>
<label><span>{{ t('admin.freightRpa.username') }}</span><el-input v-model="profile.username" name="shipping-rpa-credential-user" autocomplete="one-time-code" readonly :placeholder="t('admin.freightRpa.writeOnlyHint')" @focus="unlockCredentialField" /></label>
<label><span>{{ t('admin.freightRpa.username') }}</span><el-input v-model="profile.username" name="shipping-rpa-username" autocomplete="off" /></label>
<label><span>{{ t('admin.freightRpa.password') }}</span><el-input v-model="profile.password" name="shipping-rpa-credential-password" type="password" autocomplete="new-password" readonly :placeholder="t('admin.freightRpa.writeOnlyHint')" @focus="unlockCredentialField" /></label>
<div class="switch-field"><span>{{ t('admin.freightRpa.enabled') }}</span><div class="switch-control"><el-switch v-model="profile.enabled" /><b>{{ profile.enabled ? t('admin.freightRpa.enabledState') : t('admin.freightRpa.disabledState') }}</b></div></div>
@@ -153,14 +154,6 @@
<small>{{ t('admin.freightRpa.uploadConfigHint') }}</small>
</header>
<div class="switch-field"><span>{{ t('admin.freightRpa.uploadAutoEnabled') }}</span><div class="switch-control"><el-switch v-model="profile.upload_config_json.enabled" /><b>{{ profile.upload_config_json.enabled ? t('admin.freightRpa.enabledState') : t('admin.freightRpa.disabledState') }}</b></div></div>
<label><span>{{ t('admin.freightRpa.uploadEntryUrl') }}</span><el-input v-model="profile.upload_config_json.entry_url" type="url" /></label>
<label><span>{{ t('admin.freightRpa.uploadFileSelector') }}</span><el-input v-model="profile.upload_config_json.file_input_selector" /></label>
<label><span>{{ t('admin.freightRpa.uploadSubmitMode') }}</span><el-select v-model="profile.upload_config_json.submit_mode"><el-option value="auto_after_file" :label="t('admin.freightRpa.uploadSubmitAuto')" /><el-option value="click_submit" :label="t('admin.freightRpa.uploadSubmitClick')" /></el-select></label>
<label v-if="profile.upload_config_json.submit_mode === 'click_submit'"><span>{{ t('admin.freightRpa.uploadSubmitSelector') }}</span><el-input v-model="profile.upload_config_json.submit_selector" /></label>
<label><span>{{ t('admin.freightRpa.uploadResultMode') }}</span><el-select v-model="profile.upload_config_json.result_mode"><el-option value="page_notice" :label="t('admin.freightRpa.uploadResultPageNotice')" /><el-option value="history_record" :label="t('admin.freightRpa.uploadResultHistory')" /></el-select></label>
<label><span>{{ t('admin.freightRpa.uploadResultSelector') }}</span><el-input v-model="profile.upload_config_json.result_selector" /></label>
<label><span>{{ t('admin.freightRpa.uploadSuccessTexts') }}</span><el-input v-model="successTextsInput" type="textarea" :rows="2" :placeholder="t('admin.freightRpa.uploadSuccessTextsHint')" /></label>
<label><span>{{ t('admin.freightRpa.uploadTimeout') }}</span><el-input-number v-model="profile.upload_config_json.timeout_seconds" :min="1" /></label>
<div class="form-tip full">{{ t('admin.freightRpa.uploadConfigBoundary') }}</div>
</section>
@@ -746,33 +739,12 @@ const filenameVariableCandidates = computed(() => {
return filenameVariables.filter((item) => item.key.toLowerCase().includes(query) || t(item.labelKey).toLowerCase().includes(query));
});
/** 连接级“发货 Excel 自动上传”配置的受控 JSON 形状(字段与后端白名单一致)。 */
interface ProfileUploadConfig {
enabled: boolean;
entry_url: string;
file_input_selector: string;
submit_mode: 'auto_after_file' | 'click_submit';
submit_selector: string | null;
result_mode: 'page_notice' | 'history_record';
result_selector: string | null;
success_texts: string[];
timeout_seconds: number;
}
/** 连接级“发货 Excel 自动上传”默认配置:DSV 为已确认 URL+input#file2;Crane 保持未启用待管理员补全。 */
function defaultUploadConfig(connectorType: string): ProfileUploadConfig {
if (connectorType === 'crane') {
return { enabled: false, entry_url: 'https://wms-portal.craneww.com/#/shipping-order-upload', file_input_selector: 'input[name="OrderFileUpload"]', submit_mode: 'click_submit', submit_selector: null, result_mode: 'page_notice', result_selector: null, success_texts: [], timeout_seconds: 120 };
}
return { enabled: true, entry_url: 'https://s360.dbschenker.com/main/portal/frame/WMSUpload2', file_input_selector: 'input#file2', submit_mode: 'auto_after_file', submit_selector: null, result_mode: 'page_notice', result_selector: null, success_texts: [], timeout_seconds: 120 };
/** 系统连接只保存是否启用自动上传;页面路径和成功判断在连接器代码里。 */
function defaultUploadConfig(connectorType: string): { enabled: boolean } {
return { enabled: connectorType !== 'crane' };
}
const profile = reactive({ profile_code: '', display_name: '', connector_type: 'dbs', login_url: '', username: '', password: '', login_config_json: { auth_mode: 'password' }, enabled: true, upload_config_json: defaultUploadConfig('dbs') });
/** 成功文本以换行分隔的输入视图,写回 success_texts 数组。 */
const successTextsInput = computed<string>({
get: () => (profile.upload_config_json.success_texts || []).join('\n'),
set: (value) => { profile.upload_config_json.success_texts = String(value || '').split(/\r?\n/).map((item) => item.trim()).filter(Boolean); },
});
const parsing = reactive({
profile_code: '', display_name: '', file_format: 'xlsx', sheet_name: '', header_row_index: 1,
purpose: 'onhand' as 'onhand' | 'inbound' | 'outbound',
@@ -1130,7 +1102,7 @@ watch(
{ immediate: true },
);
/** 新建连接时按货代类型切换上传配置默认值;编辑既有连接不覆盖已保存配置。 */
/** 新建连接时按货代类型决定自动上传默认开关;编辑既有连接不覆盖已保存配置。 */
watch(
() => profile.connector_type,
(nextType) => {
@@ -1176,11 +1148,11 @@ function createNew(): void {
drawerOpen.value = true;
}
/** 将列表对象复制到当前编辑表单,凭据字段永远不从列表回填。 */
/** 将列表对象复制到当前编辑表单。用户名回填明文,密码不回填。 */
function selectItem(item: Item): void {
selectedId.value = Number(item.id);
sourceCloneFrom.value = null;
if (activeTab.value === 'profiles') Object.assign(profile, { ...item, username: '', password: '', login_config_json: item.login_config_json || { auth_mode: 'password' }, upload_config_json: item.upload_config_json || defaultUploadConfig(item.connector_type) });
if (activeTab.value === 'profiles') Object.assign(profile, { ...item, username: String(item.username || ''), password: '', login_config_json: item.login_config_json || { auth_mode: 'password' }, upload_config_json: { enabled: Boolean(item.upload_config_json?.enabled) } });
if (activeTab.value === 'parsing') Object.assign(parsing, {
profile_code: item.profile_code, display_name: item.display_name, file_format: item.file_format,
sheet_name: item.definition?.sheet_name || '', header_row_index: item.definition?.header_row_index ?? 0,
@@ -1504,7 +1476,7 @@ function duplicateSourceFromDrawer(): void {
async function saveCurrent(): Promise<void> {
saving.value = true;
try {
if (activeTab.value === 'profiles') await saveShippingRpaProfile({ ...profile, display_name: profile.display_name || profile.profile_code, upload_config_json: profile.upload_config_json }, selectedId.value || undefined);
if (activeTab.value === 'profiles') await saveShippingRpaProfile({ ...profile, display_name: profile.display_name || profile.profile_code, upload_config_json: { enabled: Boolean(profile.upload_config_json?.enabled) } }, selectedId.value || undefined);
if (activeTab.value === 'parsing') {
const payload = parsingUsesMovementContract.value ? {
profile_code: parsing.profile_code, display_name: parsing.display_name || parsing.profile_code, file_format: parsing.file_format,
@@ -1956,11 +1928,16 @@ function rowTitle(item: Item): string {
/**
* 列表卡副标题。
* 核心逻辑:mappings 展示「在途仓编码 → 目标仓编码」;缺在途仓时退化为仅目标编码。
* 核心逻辑:mappings 展示「在途仓编码 → 目标仓编码」;系统连接展示平台与用户名。
* @param item - 当前列表行对象
* @returns 副标题文案
*/
function rowMeta(item: Item): string {
if (activeTab.value === 'profiles') {
const platform = item.connector_type ? t(`admin.freightRpa.platform.${item.connector_type}`) : String(item.profile_code || '');
const username = String(item.username || '').trim();
return username ? `${platform} · ${username}` : platform;
}
if (activeTab.value === 'mappings') {
const targetCode = String(item.external_warehouse_code || '-');
const inTransit = String(item.in_transit_warehouse_code || '').trim();
@@ -1399,6 +1399,19 @@ export async function batchConfirmWorkspaceShippingNoticesUploaded(businessNos:
);
}
/**
* 手动刷新 Crane 分配状态。后端只排队一次状态回查,不重新上传 Excel。
* @param businessNo - 对外发货通知单号,同时是 Crane 的 Pull Request #
* @returns 已排队的回查结果
*/
export async function refreshWorkspaceCraneUploadStatus(businessNo: string) {
const body = await requestJson<ShippingDecisionResponse & ShippingApiStatusPayload>(
`/api/workspace/shipping-notices/${encodeURIComponent(businessNo)}/refresh-crane-upload`,
jsonPost({}),
);
return assertShippingOk(body);
}
/** 按多个发货通知单号批量受理货代 RPA 上传;RPA 成功仍以回调为准。 */
export async function batchStartWorkspaceShippingNoticeRpaUpload(businessNos: string[]) {
return requestJson<{ results: Array<Record<string, unknown>> }>(
@@ -35,6 +35,7 @@ import {
getWorkspaceShippingFreightNoticeGroups,
batchConfirmWorkspaceShippingNoticesUploaded,
batchStartWorkspaceShippingNoticeRpaUpload,
refreshWorkspaceCraneUploadStatus,
retryWorkspaceShippingOrderStpAutoCreate,
retryShippingNoticeIntake,
decideWorkspaceShippingOrderReviewLineFulfillment,
@@ -2542,7 +2543,7 @@ const freightNoticeGroupsLoadFailed = ref(false);
/** 货代上传分组请求在途守卫:独立于 loading,避免轮询 tick 与动作后刷新并发重载。 */
const freightGroupsInFlight = ref(false);
const selectedFreightBusinessNos = ref<string[]>([]);
const freightBatchBusy = ref<'download' | 'confirm' | 'rpa' | 'regenerate' | null>(null);
const freightBatchBusy = ref<'download' | 'confirm' | 'rpa' | 'regenerate' | 'refresh' | null>(null);
/**
* 判断货代通知聚合行是否已具备上传成功事实。
* 核心逻辑:聚合接口 upload_status 已经过后端 project_notice_upload_status 归一,
@@ -3459,7 +3460,7 @@ watch(
function hasFreightGroupsInFlightRpa(groups: ShippingFreightNoticeGroup[]): boolean {
return (groups || []).some((group) => {
const st = String(group.upload_status || '').trim().toLowerCase();
return st === 'uploading';
return st === 'uploading' || st === 'allocating';
});
}
@@ -3524,14 +3525,35 @@ function toggleFreightNoticeSelection(businessNo: string, checked: boolean) {
: selectedFreightBusinessNos.value.filter((item) => item !== businessNo);
}
/** 已选通知单中任一已上传时,批量写入动作必须 fail-closed,避免重复提交成功通知。 */
/** 已选通知单中任一已上传或仍在 Crane 分配中时,批量写入动作必须停住,避免重复上传。 */
const selectedFreightNoticesContainUploaded = computed(() => {
const selected = new Set(selectedFreightBusinessNos.value);
return freightNoticeGroups.value.some((group) => (
selected.has(group.business_no) && isFreightNoticeUploaded(group)
selected.has(group.business_no)
&& (isFreightNoticeUploaded(group) || String(group.upload_status || '').trim().toLowerCase() === 'allocating')
));
});
/**
* 手动刷新一张仍在分配中的 Crane 发货单。
* @param businessNo - 发货通知单号,即 Pull Request #
*/
async function refreshCraneUploadStatus(businessNo: string) {
if (freightBatchBusy.value) return;
freightBatchBusy.value = 'refresh';
try {
await refreshWorkspaceCraneUploadStatus(businessNo);
const taskNo = String(confirmedNoticeTaskNo.value || '').trim();
if (taskNo) await loadFreightNoticeGroups(taskNo);
freightNoticeGroupsFinalized = false;
startWorkflowProgressPolling();
} catch (error) {
msg.warning(error instanceof Error ? error.message : t('chat.shippingOrderReview.workbench.resultNotReady'));
} finally {
freightBatchBusy.value = null;
}
}
async function downloadFreightNotice(businessNo: string) {
try {
await downloadWorkspaceShippingNoticeExcelFile(businessNo);
@@ -3824,13 +3846,21 @@ function freightLineNoDisplay(line: { line_no?: string | number | null }): {
* @param group - 当前发货通知单聚合行(含 upload_status 与逐单错误字段)。
*/
function freightUploadStatusDisplay(group: ShippingFreightNoticeGroup): {
state: 'uploaded' | 'uploading' | 'failed' | 'needs_human' | 'pending';
state: 'uploaded' | 'uploading' | 'allocating' | 'failed' | 'needs_human' | 'pending';
label: string;
chipClass: string;
reason: string | null;
} {
const status = String(group.upload_status || '').trim().toLowerCase();
const reason = group.upload_error_message || group.upload_error_code || null;
if (status === 'allocating') {
return {
state: 'allocating',
label: t('chat.shippingOrderReview.lifecycle.freightUpload.uploadStatus.allocating'),
chipClass: 'bg-amber-100 text-amber-800 dark:bg-amber-950/50 dark:text-amber-200',
reason: null,
};
}
if (status === 'uploaded') {
return {
state: 'uploaded',
@@ -5496,7 +5526,15 @@ watch(
<span :class="freightUploadStatusDisplay(group).chipClass" :title="freightUploadStatusDisplay(group).reason || undefined" class="rounded-full px-2 py-0.5 font-medium cursor-help" tabindex="0">{{ freightUploadStatusDisplay(group).label }}</span>
<button type="button" class="rounded border border-brand-200 px-2 py-1 font-medium text-brand-700 hover:bg-brand-50" data-testid="review-freight-upload-download" :disabled="saving" @click="void downloadFreightNotice(group.business_no)">{{ t('chat.shippingOrderReview.lifecycle.freightUpload.download') }}</button>
<button
v-if="canRunFreightNoticeAction(group, 'retry_freight_upload_rpa')"
v-if="freightUploadStatusDisplay(group).state === 'allocating'"
type="button"
class="rounded border border-default px-2 py-1 font-medium text-primary hover:bg-surface-muted disabled:opacity-50"
data-testid="review-freight-upload-refresh"
:disabled="freightBatchBusy !== null"
@click="void refreshCraneUploadStatus(group.business_no)"
>{{ t('chat.shippingOrderReview.lifecycle.freightUpload.refreshStatus') }}</button>
<button
v-if="canRunFreightNoticeAction(group, 'retry_freight_upload_rpa') && freightUploadStatusDisplay(group).state !== 'allocating'"
type="button"
class="rounded border border-default px-2 py-1 font-medium text-primary hover:bg-surface-muted disabled:opacity-50"
data-testid="review-freight-upload-rpa"
@@ -5504,7 +5542,7 @@ watch(
@click="void runFreightNoticeAction(group, 'rpa')"
>{{ t('chat.shippingOrderReview.lifecycle.freightUpload.rpa') }}</button>
<button
v-if="canRunFreightNoticeAction(group, 'mark_manual_uploaded')"
v-if="canRunFreightNoticeAction(group, 'mark_manual_uploaded') && freightUploadStatusDisplay(group).state !== 'allocating'"
type="button"
class="rounded border border-default px-2 py-1 font-medium text-primary hover:bg-surface-muted disabled:opacity-50"
data-testid="review-freight-upload-confirm"
+3 -2
View File
@@ -1026,7 +1026,7 @@
},
"connectionBoundary": "Enter only the login information here. The system handles the required page actions, downloads, and waiting for the selected freight platform.",
"uploadConfigTitle": "Shipping Excel Auto Upload",
"uploadConfigHint": "Edited from this System Connection and stored as a restricted JSON. No free JavaScript, scripts, URL templates, cookies, or arbitrary browser actions are allowed.",
"uploadConfigHint": "This switch only enables auto-upload. The page, buttons, and success checks are fixed in the freight connector.",
"uploadAutoEnabled": "Enable auto-upload (admin has reviewed this connection's upload behavior)",
"uploadEntryUrl": "Upload entry URL",
"uploadFileSelector": "File input selector",
@@ -1041,7 +1041,7 @@
"uploadSuccessTexts": "Success texts (one per line)",
"uploadSuccessTextsHint": "Matching any success text marks success",
"uploadTimeout": "Timeout (seconds)",
"uploadConfigBoundary": "Upload config changes do not increment the inventory RPA config_version; used only for this connection's freight upload, not propagated to inventory/receipt RPA.",
"uploadConfigBoundary": "The upload page, buttons, and success checks are fixed in the connector. This switch only turns auto-upload on or off.",
"platform": {
"dbs": "DBS",
"crane": "Crane"
@@ -2635,6 +2635,7 @@
"platformJobFreightRpaOnhand": "Freight onhand inventory RPA",
"platformJobFaqHotAggregate": "FAQ hot aggregate",
"platformJobFileAssetCleanup": "Temporary file asset cleanup",
"transferTypeCodes": "Transfer types",
"transferSourceCodes": "Source instances",
"transferRecoverHistory": "Recover retryable history",
"transferReceiptDateFrom": "Movement date from (T-N)",
+2
View File
@@ -1746,6 +1746,7 @@
"download": "Download Excel",
"rpa": "RPA upload",
"confirm": "Confirm uploaded",
"refreshStatus": "Refresh upload status",
"lineNo": "Line",
"lineNoSourceCustomerPo": "Customer PO line no.",
"lineNoSourceSequence": "System sequence (internal line no. not recognized)",
@@ -1758,6 +1759,7 @@
"uploadStatus": {
"pending": "Pending upload",
"uploading": "Uploading",
"allocating": "Accepted, allocating",
"failed": "Upload failed",
"uploaded": "Uploaded",
"needsHuman": "Manual upload needed"
+3
View File
@@ -17,6 +17,9 @@
"ORDER_DELIVERY_REPLY.BATCH_INVALID": "Invalid batch format. Check the date, quantity, or remark.",
"ORDER_DELIVERY_REPLY.BATCH_QTY_TOTAL_MISMATCH": "The total of all batch quantities must equal the order quantity. Please adjust and save again.",
"SHIPPING.NOTICE_ODM_CHOICE_INVALID": "The selected ODM ID is not among the feasible candidates. Please choose again.",
"SHIPPING.UPLOAD_CRANE_ALLOCATING": "The forwarder accepted the file and is still allocating it. Refresh the status instead of uploading again.",
"SHIPPING.UPLOAD_CRANE_REFRESH_INFLIGHT": "A status refresh is already queued. Try again shortly.",
"SHIPPING.UPLOAD_TRIGGER_UNAVAILABLE": "The upload status-check directory is unavailable. Check the RPA shared folder.",
"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.",
+3 -2
View File
@@ -1026,7 +1026,7 @@
},
"connectionBoundary": "กรอกเฉพาะข้อมูลเข้าสู่ระบบ ระบบจะดำเนินการหน้าเว็บ ดาวน์โหลด และรอตามแพลตฟอร์มผู้ให้บริการที่เลือกโดยอัตโนมัติ",
"uploadConfigTitle": "อัปโหลด Excel การจัดส่งอัตโนมัติ",
"uploadConfigHint": "แก้ไขจากหน้าการเชื่อมต่อระบบนี้และบันทึกเป็น JSON แบบจำกัด; ห้ามใช้ JavaScript/สคริปต์/URL template/Cookie หรือการกระทำเบราว์เซอร์โดยอิสระ",
"uploadConfigHint": "สวิตช์นี้เปิดเฉพาะการอัปโหลดอัตโนมัติ หน้า ปุ่ม และเงื่อนไขสำเร็จถูกกำหนดไว้ในตัวเชื่อมต่อ",
"uploadAutoEnabled": "เปิดใช้งานอัปโหลดอัตโนมัติ (ผู้ดูแลตรวจสอบพฤติกรรมการอัปโหลดของการเชื่อมต่อนี้แล้ว)",
"uploadEntryUrl": "URL หน้าอัปโหลด",
"uploadFileSelector": "ตัวเลือกไฟล์ (selector)",
@@ -1041,7 +1041,7 @@
"uploadSuccessTexts": "ข้อความสำเร็จ (หนึ่งรายการต่อบรรทัด)",
"uploadSuccessTextsHint": "หากตรงกับข้อความสำเร็จข้อใดข้อหนึ่งถือว่าสำเร็จ",
"uploadTimeout": "ระยะเวลารอ (วินาที)",
"uploadConfigBoundary": "การเปลี่ยนค่าอัปโหลดไม่เพิ่ม config_version ของ RPA คลัง; ใช้เฉพาะการอัปโหลดของสายการขนส่งนี้เท่านั้น ไม่แพร่ไปยัง RPA คลัง/รับของ",
"uploadConfigBoundary": "หน้า ปุ่ม และเงื่อนไขสำเร็จถูกกำหนดในโปรแกรม สวิตช์นี้เปิดหรือปิดการอัปโหลดอัตโนมัติเท่านั้น",
"platform": {
"dbs": "DBS",
"crane": "Crane"
@@ -2515,6 +2515,7 @@
"platformJobFreightRpaOnhand": "Freight onhand inventory RPA",
"platformJobFaqHotAggregate": "FAQ hot aggregate",
"platformJobFileAssetCleanup": "Temporary file asset cleanup",
"transferTypeCodes": "ประเภทการโอนย้าย",
"transferSourceCodes": "Source instances",
"transferRecoverHistory": "Recover retryable history",
"transferReceiptDateFrom": "วันที่เคลื่อนไหวเริ่ม (T-N)",
+2
View File
@@ -1746,6 +1746,7 @@
"download": "ดาวน์โหลด Excel",
"rpa": "อัปโหลด RPA",
"confirm": "ยืนยันอัปโหลด",
"refreshStatus": "รีเฟรชสถานะอัปโหลด",
"lineNo": "รายการ",
"lineNoSourceCustomerPo": "เลขบรรทัด PO ของลูกค้า",
"lineNoSourceSequence": "ลำดับระบบ (ไม่พบเลขรายการภายใน)",
@@ -1758,6 +1759,7 @@
"uploadStatus": {
"pending": "รออัปโหลด",
"uploading": "กำลังอัปโหลด",
"allocating": "รับไฟล์แล้ว กำลังจัดสรร",
"failed": "อัปโหลดล้มเหลว",
"uploaded": "อัปโหลดแล้ว",
"needsHuman": "ต้องอัปโหลดด้วยตนเอง"
+3
View File
@@ -17,6 +17,9 @@
"ORDER_DELIVERY_REPLY.BATCH_INVALID": "รูปแบบงวดไม่ถูกต้อง โปรดตรวจสอบวันที่ จำนวน หรือหมายเหตุ",
"ORDER_DELIVERY_REPLY.BATCH_QTY_TOTAL_MISMATCH": "ผลรวมจำนวนทุกงวดต้องเท่ากับจำนวนของคำสั่งซื้อ โปรดปรับแล้วบันทึกอีกครั้ง",
"SHIPPING.NOTICE_ODM_CHOICE_INVALID": "ODM ID ที่เลือกไม่อยู่ในตัวเลือกที่ทำได้ โปรดเลือกใหม่",
"SHIPPING.UPLOAD_CRANE_ALLOCATING": "ผู้รับขนรับไฟล์แล้วและกำลังจัดสรร โปรดรีเฟรชสถานะ อย่าอัปโหลดซ้ำ",
"SHIPPING.UPLOAD_CRANE_REFRESH_INFLIGHT": "มีการรีเฟรชสถานะค้างอยู่ในคิว โปรดลองอีกครั้งในอีกสักครู่",
"SHIPPING.UPLOAD_TRIGGER_UNAVAILABLE": "โฟลเดอร์ตรวจสถานะการอัปโหลดไม่พร้อม โปรดตรวจโฟลเดอร์ที่ใช้ร่วมกันของ RPA",
"SHIPPING.FULFILLMENT_POLICY_INVALID": "นโยบายการปฏิบัติตามหรือการผูกความสามารถของฟิลด์ไม่ถูกต้อง",
"SHIPPING.FULFILLMENT_POLICY_NOT_FOUND": "ไม่พบนโยบายการปฏิบัติตาม",
"SHIPPING.FULFILLMENT_POLICY_CONFLICT": "นโยบายการปฏิบัติตามถูกแก้ไขโดยผู้ดูแลรายอื่น โปรดรีเฟรชแล้วลองใหม่",
+3 -2
View File
@@ -1157,7 +1157,7 @@
},
"connectionBoundary": "连接配置只填写登录所需信息;系统会按货代平台自动执行页面操作、下载和等待。",
"uploadConfigTitle": "发货 Excel 自动上传",
"uploadConfigHint": "该配置由系统连接管理端编辑,后端保存为受限 JSON;禁止自由 JavaScript、脚本、URL 模板、Cookie 或任意浏览器动作。",
"uploadConfigHint": "只控制这条连接是否自动上传。上传页面、按钮和成功判断由对应货代平台的程序固定。",
"uploadAutoEnabled": "启用自动上传(代表管理员已审核该连接的上传行为)",
"uploadEntryUrl": "上传入口 URL",
"uploadFileSelector": "文件选择器",
@@ -1172,7 +1172,7 @@
"uploadSuccessTexts": "成功文本(每行一条)",
"uploadSuccessTextsHint": "命中任一条成功文本即判定成功",
"uploadTimeout": "超时时间(秒)",
"uploadConfigBoundary": "上传配置变更不递增库存 RPA config_version;仅该连接的货代上传使用,不向库存/收料 RPA 扩散。",
"uploadConfigBoundary": "上传页面、按钮和成功判断由货代平台程序固定。这里只开关自动上传,变更不递增库存 RPA config_version。",
"platform": {
"dbs": "DBS 平台",
"crane": "Crane 平台"
@@ -2766,6 +2766,7 @@
"platformJobFreightRpaOnhand": "货代库存 RPA",
"platformJobFaqHotAggregate": "FAQ 热点聚合",
"platformJobFileAssetCleanup": "临时文件资产清理",
"transferTypeCodes": "调拨类型",
"transferSourceCodes": "来源实例",
"transferRecoverHistory": "历史可恢复异常复核",
"transferReceiptDateFrom": "异动日期起(T-N)",
+2
View File
@@ -1780,6 +1780,7 @@
"download": "下载 Excel",
"rpa": "RPA 上传",
"confirm": "确认上传",
"refreshStatus": "刷新上传状态",
"lineNo": "项次",
"lineNoSourceCustomerPo": "客户 PO 行号",
"lineNoSourceSequence": "系统行序(未识别到内部项次)",
@@ -1792,6 +1793,7 @@
"uploadStatus": {
"pending": "待上传",
"uploading": "上传中",
"allocating": "已接收,分配中",
"failed": "上传失败",
"uploaded": "已上传",
"needsHuman": "需人工上传"
+3
View File
@@ -17,6 +17,9 @@
"ORDER_DELIVERY_REPLY.BATCH_INVALID": "批次格式不合法,请检查交期、数量或备注。",
"ORDER_DELIVERY_REPLY.BATCH_QTY_TOTAL_MISMATCH": "各批次数量合计必须等于订单数量,请调整后重新保存。",
"SHIPPING.NOTICE_ODM_CHOICE_INVALID": "所选 ODM ID 不在当前可行候选内,请重新选择。",
"SHIPPING.UPLOAD_CRANE_ALLOCATING": "货代已接收文件并正在分配,请刷新状态,不要再次上传。",
"SHIPPING.UPLOAD_CRANE_REFRESH_INFLIGHT": "上一次状态刷新还在排队,请稍后再试。",
"SHIPPING.UPLOAD_TRIGGER_UNAVAILABLE": "上传回查目录不可用,请检查 RPA 共享目录。",
"SHIPPING.FULFILLMENT_POLICY_INVALID": "货代履约策略或字段能力绑定无效。",
"SHIPPING.FULFILLMENT_POLICY_NOT_FOUND": "未找到货代履约策略。",
"SHIPPING.FULFILLMENT_POLICY_CONFLICT": "货代履约策略已被其他管理员修改,请刷新后重试。",
+3 -2
View File
@@ -1026,7 +1026,7 @@
},
"connectionBoundary": "連線設定只填寫登入所需資訊;系統會依貨代平台自動執行頁面操作、下載與等待。",
"uploadConfigTitle": "發貨 Excel 自動上傳",
"uploadConfigHint": "本設定由系統連線管理端編輯,後端儲存為受限 JSON;禁止自由 JavaScript、腳本、URL 範本、Cookie 或任意瀏覽器動作。",
"uploadConfigHint": "只控制這條連線是否自動上傳。上傳頁面、按鈕和成功判斷由對應貨代平台的程式固定。",
"uploadAutoEnabled": "啟用自動上傳(代表管理員已審核該連線的上傳行為)",
"uploadEntryUrl": "上傳入口 URL",
"uploadFileSelector": "檔案選擇器",
@@ -1041,7 +1041,7 @@
"uploadSuccessTexts": "成功文字(每行一條)",
"uploadSuccessTextsHint": "命中任一條成功文字即判定成功",
"uploadTimeout": "逾時時間(秒)",
"uploadConfigBoundary": "上傳設定變更不遞增庫存 RPA config_version;僅該連線的貨代上傳使用,不擴散至庫存/收料 RPA。",
"uploadConfigBoundary": "上傳頁面、按鈕和成功判斷由貨代平台程式固定。這裡只開關自動上傳,變更不遞增庫存 RPA config_version。",
"platform": {
"dbs": "DBS 平台",
"crane": "Crane 平台"
@@ -2515,6 +2515,7 @@
"platformJobFreightRpaOnhand": "貨代庫存 RPA",
"platformJobFaqHotAggregate": "FAQ 熱點聚合",
"platformJobFileAssetCleanup": "暫存檔案資產清理",
"transferTypeCodes": "調撥類型",
"transferSourceCodes": "來源實例",
"transferRecoverHistory": "歷史可復原異常複核",
"transferReceiptDateFrom": "異動日期起(T-N)",
+2
View File
@@ -1746,6 +1746,7 @@
"download": "下載 Excel",
"rpa": "RPA 上傳",
"confirm": "確認上傳",
"refreshStatus": "重新整理上傳狀態",
"lineNo": "項次",
"lineNoSourceCustomerPo": "客戶 PO 行號",
"lineNoSourceSequence": "系統行序(未識別到內部項次)",
@@ -1758,6 +1759,7 @@
"uploadStatus": {
"pending": "待上傳",
"uploading": "上傳中",
"allocating": "已接收,分配中",
"failed": "上傳失敗",
"uploaded": "已上傳",
"needsHuman": "需人工上傳"
+3
View File
@@ -17,6 +17,9 @@
"ORDER_DELIVERY_REPLY.BATCH_INVALID": "批次格式不合法,請檢查交期、數量或備註。",
"ORDER_DELIVERY_REPLY.BATCH_QTY_TOTAL_MISMATCH": "各批次數量合計必須等於訂單數量,請調整後重新保存。",
"SHIPPING.NOTICE_ODM_CHOICE_INVALID": "所選 ODM ID 不在當前可行候選內,請重新選擇。",
"SHIPPING.UPLOAD_CRANE_ALLOCATING": "貨代已接收檔案並正在分配,請重新整理狀態,不要再次上傳。",
"SHIPPING.UPLOAD_CRANE_REFRESH_INFLIGHT": "上一次狀態重新整理還在排隊,請稍後再試。",
"SHIPPING.UPLOAD_TRIGGER_UNAVAILABLE": "上傳回查目錄不可用,請檢查 RPA 共用目錄。",
"SHIPPING.FULFILLMENT_POLICY_INVALID": "貨代履約策略或欄位能力綁定無效。",
"SHIPPING.FULFILLMENT_POLICY_NOT_FOUND": "找不到貨代履約策略。",
"SHIPPING.FULFILLMENT_POLICY_CONFLICT": "貨代履約策略已被其他管理員修改,請重新整理後再試。",