feat(shipping-notice): 新增发货批次和任务管理功能,支持批次创建与任务处理

This commit is contained in:
hugo committed 2026-06-17 20:45:19 +08:00
1 parent 457f0f4e5e
commit 634dee4b81
81 files changed
+9088 -3625

No files matched your search

@@ -1,4 +1,4 @@
/**
/**
* 对话页:子组件 inject 用的 handlers 对象打包(请假表单、出货映射、消息气泡)。
*/
import type { LeaveMessageHandlers } from '../components/messages/LeaveMessageBlock.vue';
@@ -31,8 +31,14 @@ type ShippingHandlerSource = Pick<
| 'normalizeShippingHeaderForDisplay'
| 'hasShippingInventorySampleRows'
| 'getShippingInventorySampleRowText'
| 'getShippingParseReviewPayload'
| 'getShippingMatchResultPayload'
| 'reuploadShippingInventoryFromMappingForm'
| 'applyShippingInventoryMappingForm'
| 'updateShippingParseReviewHeader'
| 'updateShippingParseReviewLine'
| 'addShippingParseReviewLine'
| 'removeShippingParseReviewLine'
>;
/** 请假消息块 handlers(LeaveMessageBlock) */
@@ -62,8 +68,16 @@ export function createShippingMappingHandlers(shipping: ShippingHandlerSource):
normalizeHeader: shipping.normalizeShippingHeaderForDisplay,
hasSampleRows: shipping.hasShippingInventorySampleRows,
getSampleRowText: shipping.getShippingInventorySampleRowText,
getParseReviewPayload: shipping.getShippingParseReviewPayload,
getMatchResultPayload: shipping.getShippingMatchResultPayload,
reupload: shipping.reuploadShippingInventoryFromMappingForm,
apply: shipping.applyShippingInventoryMappingForm,
updateParseReviewHeader: shipping.updateShippingParseReviewHeader,
updateParseReviewLine: shipping.updateShippingParseReviewLine,
updateHeader: shipping.updateShippingParseReviewHeader,
updateLine: shipping.updateShippingParseReviewLine,
addLine: shipping.addShippingParseReviewLine,
removeLine: shipping.removeShippingParseReviewLine,
};
}