feat(in-transit-transfer): 更新证据下载与待匹配清单逻辑

- 修改证据下载接口,分别签发预览地址与带保存名的下载地址,避免浏览器使用对象键哈希作为保存名。
- 待匹配清单接口调整,按外部单号合计数量,不再返回外部项次,提升数据展示的清晰度。
- 移除待匹配桶的「清空并重新解析」功能,简化操作流程,确保用户体验一致性。
- 新增跨页全选支持的 API,允许用户在待处理池中选择全部待处理明细 ID,优化批量操作体验。
This commit is contained in:
hugo committed 2026-10-22 22:08:20 +08:00
1 parent 4c2a7e2a23
commit 663f401873
50 files changed
+2156 -1309

No files matched your search

+7 -23
View File
@@ -3819,6 +3819,7 @@
"movementDateTo": "Movement date end",
"movementDateHint": "Defaults to T−2 and cannot exceed it (2 days before business date; earlier data is all mature); start must not be later than end",
"requeryRow": "Requery",
"requeryStock": "Requery stock",
"colToQty": "To qty",
"colResult": "Result",
"resultExecutable": "Executable",
@@ -3848,15 +3849,13 @@
"downloadErpInventory": "Download ERP inventory",
"downloadExceptions": "Download exceptions Excel",
"backlogTitle": "Backlog exceptions",
"resumeAction": "Resume",
"resumeActionShort": "Resume",
"colAging": "Aging",
"colAction": "Actions",
"selectedRows": "{count} selected",
"selectAllRows": "Select all {count} rows (current filter)",
"clearSelection": "Clear selection",
"movementDateInvalid": "Start date cannot be after end date",
"toastRequeryDone": "Requery done: {ok} rows updated, {failed} failed",
"toastRequeryRecovered": "Resume done: {recovered} executable · {blocked} still blocked",
"toastRequeryOutcome": "Requery done: {ready} executable, {blocked} still blocked, {failed} failed",
"toastExecuteFileChanged": "{count} rows with file updated — re-match",
"toastCloseDone": "Closed: {ok} succeeded, {failed} failed",
"batchCloseTitle": "Mark as no further action ({count} items)",
@@ -3890,7 +3889,7 @@
"homeTodayHint": "After selecting source instances, the system processes transferable movement records with yesterday as the business date by default.",
"homeHistoryLabel": "Pending tasks",
"homeRecoverable": "Pending recovery",
"homeRecoverableHint": "Requery stock or resume in one click",
"homeRecoverableHint": "Requery stock; matching rows move to executable items",
"homeClosed": "Manually closed",
"homeClosedHint": "View reason and restore processing",
"homeUnknown": "Unknown result",
@@ -3952,30 +3951,15 @@
"pendingMatchOutsideTitle": "Landed outside scope",
"pendingMatchOutsideHint": "Read only. No enabled type covers these rows.",
"pendingMatchOutsideEmpty": "No landed rows outside the enabled types",
"transferPendingMatchReadOnlyHint": "Records are not matched yet and cannot be executed; go to match to create executable items",
"transferPendingMatchReadOnlyHint": "Records are not matched yet and cannot be executed; go to match to create executable items. Quantity is the total for each external document",
"transferPendingMatchColSource": "Source",
"transferPendingMatchColRecordKind": "Record kind",
"transferPendingMatchColDocNo": "Doc No.",
"transferPendingMatchColExternalDoc": "External doc",
"transferPendingMatchColMaterial": "Material",
"transferPendingMatchColName": "Name",
"transferPendingMatchColDate": "Movement date",
"transferPendingMatchColQuantity": "Qty",
"reparseButton": "Clear & Reparse",
"reparseTitle": "Clear and re-parse",
"reparseStreamPrefix": "Evidence stream: ",
"reparseFilesPrefix": "Archived files: ",
"reparseFilesSuffix": "",
"reparseProfilePrefix": "Rule ",
"reparseProfileVersionPrefix": " v",
"reparseProfileEmpty": "No parsing rule bound",
"reparseRowsClearPrefix": "Will clear ",
"reparseRowsClearSuffix": " rows",
"reparseRowsKeptPrefix": "; ",
"reparseRowsKeptSuffix": " rows kept (missing evidence)",
"reparseSuccessPrefix": "Cleared ",
"reparseSuccessReinsertPrefix": " rows, re-landed ",
"reparseSuccessSuffix": " rows",
"reparseFailedPrefix": "Re-parse aborted, nothing deleted: ",
"transferPendingMatchColQuantity": "Total qty",
"executableTitle": "Executable items",
"executableEmpty": "No executable items",
"executableSelectedCount": "{count} executable rows selected",
-1
View File
@@ -597,7 +597,6 @@
"TRANSFER.BATCH_ITEMS_REQUIRED": "Item ids are required.",
"TRANSFER.EXECUTE_ITEMS_INVALID": "Some rows do not exist or are not executable; refresh and retry.",
"TRANSFER.ITEMS_STALE": "Some rows were evaluated too long ago; re-run the matching.",
"TRANSFER.FILE_CHANGED": "The inbound file has changed; re-run the matching before executing.",
"TRANSFER.ORG_REQUIRED": "External organization code is required.",
"TRANSFER.RETRIGGER_NOT_ALLOWED": "Only result_unknown tickets can be retriggered; closing and recreating is forbidden.",
"TRANSFER.RETRY_NOT_ALLOWED": "This row was removed along with the file and cannot be requeried; mark it as no further action or wait for the file to re-sync.",
+7 -23
View File
@@ -3819,6 +3819,7 @@
"movementDateTo": "วันที่เคลื่อนไหวสิ้นสุด",
"movementDateHint": "ค่าเริ่มต้นและค่าสูงสุดคือ T−2 (2 วันก่อนวันที่ทำรายการ ข้อมูลก่อนหน้านั้นพร้อมใช้ทั้งหมด) วันเริ่มต้นต้องไม่ช้ากว่าวันสิ้นสุด",
"requeryRow": "ตรวจซ้ำ",
"requeryStock": "ตรวจสต็อกซ้ำ",
"colToQty": "จำนวนปลายทาง",
"colResult": "ผลการจับคู่",
"resultExecutable": "ดำเนินการได้",
@@ -3848,15 +3849,13 @@
"downloadErpInventory": "ดาวน์โหลดสต็อก ERP",
"downloadExceptions": "ดาวน์โหลด Excel ข้อผิดพลาด",
"backlogTitle": "รายการค้างดำเนินการ",
"resumeAction": "ดำเนินการต่อ",
"resumeActionShort": "กู้คืน",
"colAging": "ความเก่า",
"colAction": "การดำเนินการ",
"selectedRows": "เลือกแล้ว {count} แถว",
"selectAllRows": "เลือกทั้งหมด {count} แถว (ตามตัวกรองปัจจุบัน)",
"clearSelection": "ล้างการเลือก",
"movementDateInvalid": "วันเริ่มต้นต้องไม่ช้ากว่าวันสิ้นสุด",
"toastRequeryDone": "ตรวจซ้ำเสร็จ: อัปเดตแล้ว {ok} แถว ล้มเหลว {failed} แถว",
"toastRequeryRecovered": "กู้คืนเสร็จสิ้น: {recovered} รายการดำเนินการได้ · {blocked} รายการยังถูกบล็อก",
"toastRequeryOutcome": "ตรวจซ้ำเสร็จ: ดำเนินการได้ {ready} รายการ ยังถูกบล็อก {blocked} รายการ ล้มเหลว {failed} รายการ",
"toastExecuteFileChanged": "{count} รายการไฟล์มีการเปลี่ยนแปลง กรุณาจับคู่ใหม่",
"toastCloseDone": "ปิดแล้ว: สำเร็จ {ok} รายการ ล้มเหลว {failed} รายการ",
"batchCloseTitle": "ทำเครื่องหมายไม่ต้องดำเนินการต่อ ({count} รายการ)",
@@ -3890,7 +3889,7 @@
"homeTodayHint": "หลังจากเลือกแหล่ง ระบบจะดำเนินการรายการเคลื่อนไหวที่โอนได้โดยใช้เมื่อวานเป็นวันที่ทำรายการโดยค่าเริ่มต้น",
"homeHistoryLabel": "งานค้าง",
"homeRecoverable": "รายการผิดปกติรอกู้คืน",
"homeRecoverableHint": "ตรวจซ้ำสต็อกหรือดำเนินการต่อได้ทันที",
"homeRecoverableHint": "ตรวจสต็อกซ้ำ เมื่อจำนวนตรงกันจะไปที่รายการที่โอนได้",
"homeClosed": "ปิดด้วยตนเองแล้ว",
"homeClosedHint": "สามารถดูสาเหตุและกู้คืนการดำเนินการได้",
"homeUnknown": "ผลลัพธ์ไม่ทราบ",
@@ -3952,30 +3951,15 @@
"pendingMatchOutsideTitle": "บันทึกที่อยู่นอกขอบเขต",
"pendingMatchOutsideHint": "อ่านอย่างเดียว ประเภทที่เปิดใช้ครอบคลุมแถวเหล่านี้ไม่ได้",
"pendingMatchOutsideEmpty": "ไม่มีบันทึกที่ตกอยู่นอกประเภทที่เปิดใช้",
"transferPendingMatchReadOnlyHint": "บันทึกยังไม่จับคู่ จึงดำเนินการไม่ได้ กดไปจับคู่เพื่อสร้างรายการที่โอนได้",
"transferPendingMatchReadOnlyHint": "บันทึกยังไม่จับคู่ จึงดำเนินการไม่ได้ กดไปจับคู่เพื่อสร้างรายการที่โอนได้ จำนวนคือผลรวมของเลขที่เอกสารภายนอกเดียวกัน",
"transferPendingMatchColSource": "แหล่งข้อมูล",
"transferPendingMatchColRecordKind": "ประเภทบันทึก",
"transferPendingMatchColDocNo": "เลขที่เอกสาร",
"transferPendingMatchColExternalDoc": "เลขที่เอกสารภายนอก",
"transferPendingMatchColMaterial": "รหัสสินค้า",
"transferPendingMatchColName": "ชื่อสินค้า",
"transferPendingMatchColDate": "วันที่เคลื่อนไหว",
"transferPendingMatchColQuantity": "จำนวน",
"reparseButton": "ล้างและวิเคราะห์ใหม่",
"reparseTitle": "ล้างและวิเคราะห์ใหม่ทั้งหมด",
"reparseStreamPrefix": "กระแสหลักฐาน: ",
"reparseFilesPrefix": "ไฟล์ที่เก็บถาวร: ",
"reparseFilesSuffix": " ไฟล์",
"reparseProfilePrefix": "ใช้กฎ ",
"reparseProfileVersionPrefix": " v",
"reparseProfileEmpty": "ยังไม่ผูกกฎการแยกวิเคราะห์",
"reparseRowsClearPrefix": "จะล้าง ",
"reparseRowsClearSuffix": " แถว",
"reparseRowsKeptPrefix": "; เก็บไว้ ",
"reparseRowsKeptSuffix": " แถว (ขาดหลักฐาน)",
"reparseSuccessPrefix": "ล้างแล้ว ",
"reparseSuccessReinsertPrefix": " แถว และนำกลับเข้า ",
"reparseSuccessSuffix": " แถว",
"reparseFailedPrefix": "ยกเลิกการวิเคราะห์ใหม่ ไม่มีข้อมูลถูกลบ: ",
"transferPendingMatchColQuantity": "จำนวนรวม",
"executableTitle": "รายการที่โอนได้",
"executableEmpty": "ไม่มีรายการที่โอนได้",
"executableSelectedCount": "เลือกแล้ว {count} รายการ",
-1
View File
@@ -597,7 +597,6 @@
"TRANSFER.BATCH_ITEMS_REQUIRED": "กรุณาระบุรายการที่ต้องการดำเนินการ",
"TRANSFER.EXECUTE_ITEMS_INVALID": "บางรายการไม่มีอยู่หรือดำเนินการไม่ได้ กรุณารีเฟรชแล้วลองใหม่",
"TRANSFER.ITEMS_STALE": "ผลการจับคู่ของบางรายการหมดอายุแล้ว กรุณาจับคู่ใหม่",
"TRANSFER.FILE_CHANGED": "ไฟล์รับเข้ามีการเปลี่ยนแปลง กรุณาจับคู่ใหม่ก่อนดำเนินการ",
"TRANSFER.ORG_REQUIRED": "กรุณาระบุรหัสองค์กรภายนอก",
"TRANSFER.RETRIGGER_NOT_ALLOWED": "เฉพาะตั๋วที่ผลลัพธ์ไม่ทราบแน่ชัด (result_unknown) เท่านั้นที่ทริกเกอร์ซ้ำได้ ห้ามปิดแล้วสร้างใหม่",
"TRANSFER.RETRY_NOT_ALLOWED": "แถวนี้ถูกลบออกไปพร้อมกับไฟล์และตรวจซ้ำไม่ได้ โปรดทำเครื่องหมายว่าไม่จำเป็นต้องดำเนินการต่อ หรือรอให้ไฟล์ซิงก์ใหม่",
+7 -23
View File
@@ -3819,6 +3819,7 @@
"movementDateTo": "异动日期止",
"movementDateHint": "默认与最大可选 T−2(业务日期前 2 天,此前数据全部成熟);起始不得晚于截止",
"requeryRow": "重查",
"requeryStock": "重查库存",
"colToQty": "拨入数量",
"colResult": "匹配结果",
"resultExecutable": "可执行",
@@ -3848,15 +3849,13 @@
"downloadErpInventory": "下载 ERP 库存表",
"downloadExceptions": "下载异常 Excel",
"backlogTitle": "待处理异常",
"resumeAction": "恢复处理",
"resumeActionShort": "恢复",
"colAging": "老化",
"colAction": "操作",
"selectedRows": "已选 {count} 行",
"selectAllRows": "选择全部 {count} 行(按当前筛选)",
"clearSelection": "取消选择",
"movementDateInvalid": "起始日期不得晚于截止日期",
"toastRequeryDone": "重查完成:{ok} 行已更新,{failed} 行失败",
"toastRequeryRecovered": "恢复完成:{recovered} 笔已可执行 · {blocked} 笔仍阻断",
"toastRequeryOutcome": "重查完成:{ready} 笔已可执行,{blocked} 笔仍阻断,{failed} 笔失败",
"toastExecuteFileChanged": "{count} 笔文件已更新,请重新匹配",
"toastCloseDone": "关闭完成:{ok} 行成功,{failed} 行失败",
"batchCloseTitle": "标记无需继续处理({count} 项)",
@@ -3890,7 +3889,7 @@
"homeTodayHint": "选择来源实例后,系统默认以昨天为业务日期处理可调拨异动。",
"homeHistoryLabel": "历史待办",
"homeRecoverable": "待恢复异常",
"homeRecoverableHint": "可重查库存或一键恢复处理",
"homeRecoverableHint": "重查库存,数量对齐后进入可调拨明细",
"homeClosed": "已人工关闭",
"homeClosedHint": "可查看原因并恢复处理",
"homeUnknown": "结果未知",
@@ -3952,30 +3951,15 @@
"pendingMatchOutsideTitle": "其余已落档",
"pendingMatchOutsideHint": "只读。当前启用类型罩不住这些行。",
"pendingMatchOutsideEmpty": "暂无范围外的已落档记录",
"transferPendingMatchReadOnlyHint": "记录尚未匹配,暂不可执行;点「去匹配」按类型圈定生成可调拨明细",
"transferPendingMatchReadOnlyHint": "记录尚未匹配,暂不可执行;点「去匹配」按类型圈定生成可调拨明细。数量为同一外部单号的合计",
"transferPendingMatchColSource": "来源",
"transferPendingMatchColRecordKind": "记录类型",
"transferPendingMatchColDocNo": "单号",
"transferPendingMatchColExternalDoc": "外部单号",
"transferPendingMatchColMaterial": "料号",
"transferPendingMatchColName": "品名",
"transferPendingMatchColDate": "异动日期",
"transferPendingMatchColQuantity": "数量",
"reparseButton": "清空重解析",
"reparseTitle": "清空并重新解析",
"reparseStreamPrefix": "证据流:",
"reparseFilesPrefix": "归档文件 ",
"reparseFilesSuffix": " 份",
"reparseProfilePrefix": "使用规则 ",
"reparseProfileVersionPrefix": " v",
"reparseProfileEmpty": "未绑定解析规则",
"reparseRowsClearPrefix": "将清除 ",
"reparseRowsClearSuffix": " 行",
"reparseRowsKeptPrefix": ";证据缺失保留 ",
"reparseRowsKeptSuffix": " 行",
"reparseSuccessPrefix": "已清除 ",
"reparseSuccessReinsertPrefix": " 行,重落 ",
"reparseSuccessSuffix": " 行",
"reparseFailedPrefix": "重解析中止,未删除任何数据:",
"transferPendingMatchColQuantity": "总数量",
"executableTitle": "可调拨明细",
"executableEmpty": "暂无可调拨明细",
"executableSelectedCount": "已选 {count} 笔可执行明细",
-1
View File
@@ -597,7 +597,6 @@
"TRANSFER.BATCH_ITEMS_REQUIRED": "请提供要操作的明细行。",
"TRANSFER.EXECUTE_ITEMS_INVALID": "部分明细行不存在或不可执行,请刷新后重试。",
"TRANSFER.ITEMS_STALE": "部分明细行匹配结果已过期,请重新匹配。",
"TRANSFER.FILE_CHANGED": "入站文件已更新,请重新匹配后再执行。",
"TRANSFER.ORG_REQUIRED": "外部组织代码不能为空。",
"TRANSFER.RETRIGGER_NOT_ALLOWED": "仅结果未知(result_unknown)票允许重新触发;禁止关闭后重建。",
"TRANSFER.RETRY_NOT_ALLOWED": "该行已随文件移除,无法重查;请标记无需继续处理或等待文件重新同步。",
+7 -23
View File
@@ -3819,6 +3819,7 @@
"movementDateTo": "異動日期止",
"movementDateHint": "預設與最大可選 T−2(業務日期前 2 天,此前資料全部成熟);起始不得晚於截止",
"requeryRow": "重查",
"requeryStock": "重查庫存",
"colToQty": "撥入數量",
"colResult": "匹配結果",
"resultExecutable": "可執行",
@@ -3848,15 +3849,13 @@
"downloadErpInventory": "下載 ERP 庫存表",
"downloadExceptions": "下載異常 Excel",
"backlogTitle": "待處理異常",
"resumeAction": "恢復處理",
"resumeActionShort": "恢復",
"colAging": "老化",
"colAction": "操作",
"selectedRows": "已選 {count} 行",
"selectAllRows": "選擇全部 {count} 行(按當前篩選)",
"clearSelection": "取消選擇",
"movementDateInvalid": "起始日期不得晚於截止日期",
"toastRequeryDone": "重查完成:{ok} 行已更新,{failed} 行失敗",
"toastRequeryRecovered": "恢復完成:{recovered} 筆已可執行 · {blocked} 筆仍阻斷",
"toastRequeryOutcome": "重查完成:{ready} 筆已可執行,{blocked} 筆仍阻斷,{failed} 筆失敗",
"toastExecuteFileChanged": "{count} 筆檔案已更新,請重新匹配",
"toastCloseDone": "關閉完成:{ok} 行成功,{failed} 行失敗",
"batchCloseTitle": "標記無需繼續處理({count} 項)",
@@ -3890,7 +3889,7 @@
"homeTodayHint": "選擇來源實例後,系統預設以昨天為業務日期處理可調撥異動。",
"homeHistoryLabel": "歷史待辦",
"homeRecoverable": "待恢復異常",
"homeRecoverableHint": "可重查庫存或一鍵恢復處理",
"homeRecoverableHint": "重查庫存,數量對齊後進入可調撥明細",
"homeClosed": "已人工關閉",
"homeClosedHint": "可查看原因並恢復處理",
"homeUnknown": "結果未知",
@@ -3952,30 +3951,15 @@
"pendingMatchOutsideTitle": "其餘已落檔",
"pendingMatchOutsideHint": "唯讀。目前啟用類型罩不住這些列。",
"pendingMatchOutsideEmpty": "暫無範圍外的已落檔記錄",
"transferPendingMatchReadOnlyHint": "記錄尚未匹配,暫不可執行;點「去匹配」按類型圈定產生可調撥明細",
"transferPendingMatchReadOnlyHint": "記錄尚未匹配,暫不可執行;點「去匹配」按類型圈定產生可調撥明細。數量為同一外部單號的合計",
"transferPendingMatchColSource": "來源",
"transferPendingMatchColRecordKind": "記錄類型",
"transferPendingMatchColDocNo": "單號",
"transferPendingMatchColExternalDoc": "外部單號",
"transferPendingMatchColMaterial": "料號",
"transferPendingMatchColName": "品名",
"transferPendingMatchColDate": "異動日期",
"transferPendingMatchColQuantity": "數量",
"reparseButton": "清空重解析",
"reparseTitle": "清空並重新解析",
"reparseStreamPrefix": "證據流:",
"reparseFilesPrefix": "歸檔文件 ",
"reparseFilesSuffix": " 份",
"reparseProfilePrefix": "使用規則 ",
"reparseProfileVersionPrefix": " v",
"reparseProfileEmpty": "未綁定解析規則",
"reparseRowsClearPrefix": "將清除 ",
"reparseRowsClearSuffix": " 行",
"reparseRowsKeptPrefix": ";證據缺失保留 ",
"reparseRowsKeptSuffix": " 行",
"reparseSuccessPrefix": "已清除 ",
"reparseSuccessReinsertPrefix": " 行,重落 ",
"reparseSuccessSuffix": " 行",
"reparseFailedPrefix": "重解析中止,未刪除任何資料:",
"transferPendingMatchColQuantity": "總數量",
"executableTitle": "可調撥明細",
"executableEmpty": "暫無可調撥明細",
"executableSelectedCount": "已選 {count} 筆可執行明細",
-1
View File
@@ -597,7 +597,6 @@
"TRANSFER.BATCH_ITEMS_REQUIRED": "請提供要操作的明細行。",
"TRANSFER.EXECUTE_ITEMS_INVALID": "部分明細行不存在或不可執行,請重新整理後再試。",
"TRANSFER.ITEMS_STALE": "部分明細行匹配結果已過期,請重新匹配。",
"TRANSFER.FILE_CHANGED": "入站檔案已更新,請重新匹配後再執行。",
"TRANSFER.ORG_REQUIRED": "外部組織代碼不能為空。",
"TRANSFER.RETRIGGER_NOT_ALLOWED": "僅結果未知(result_unknown)票允許重新觸發;禁止關閉後重建。",
"TRANSFER.RETRY_NOT_ALLOWED": "該行已隨檔案移除,無法重查;請標記無需繼續處理或等待檔案重新同步。",