feat: split transport plan list columns into load and delivery product rows

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-10-06 09:45:11 +08:00
1 parent c19318d0d0
commit 56776bb197
3 files changed
+466 -325

No files matched your search

@@ -28,6 +28,8 @@ export function usePlPlanMergeListTable(options: {
archivePairMode?: boolean | Ref<boolean> | ComputedRef<boolean>
loadCustomerKeywords?: Ref<string[] | null> | ComputedRef<string[] | null>
deliveryCustomerKeywords?: Ref<string[] | null> | ComputedRef<string[] | null>
/** 产品名称关键字:只保留命中产品行并重算 rowspan */
productKeywords?: Ref<string[] | null> | ComputedRef<string[] | null>
}) {
const displayRows = computed(() => {
const pairMode = !!unref(options.archivePairMode)
@@ -41,7 +43,8 @@ export function usePlPlanMergeListTable(options: {
: null,
customerKeywords: options.stopCustomerKeywords
? unref(options.stopCustomerKeywords)
: null
: null,
productKeywords: options.productKeywords ? unref(options.productKeywords) : null
})
}
return flattenPlanListRows(unref(options.planList), {