fix: use native ERP product search
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"contract_version": "ltjt-lifecycle-v2.9-roster-leader-contact-2026-08",
|
||||
"current_agent_parse_prompt_version": "ltjt-agent-prompt-v1.8-independent-headcount-categories",
|
||||
"current_extension_version": "0.5.164",
|
||||
"current_extension_version": "0.5.165",
|
||||
"historical_test_marker": "TEST-202609",
|
||||
"scope": "/System/Business/",
|
||||
"erp_session_keepalive": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://local.lwltapi/schemas/ltjt_form_mapping.schema.json",
|
||||
"mapping_version": "2026-08-11.team_order_batch_create.orders_adds.v0.2",
|
||||
"status": "live_batch_requery_and_suffix_override_repeatedly_validated_0.5.81_candidate",
|
||||
"mapping_version": "2026-09-02.team_order_batch_create.orders_adds.v0.3",
|
||||
"status": "native_nonempty_product_search_live_verified_release_gated_0.5.165",
|
||||
"source": {
|
||||
"schema": "schemas/standard_system_operation.schema.json",
|
||||
"action": "team_order_batch_create"
|
||||
@@ -20,7 +20,7 @@
|
||||
{ "step": 1, "operation": "open_native_batch_entry", "description": "在独立团订单列表打开批量下单功能。" },
|
||||
{ "step": 2, "operation": "set_date_range", "source": "data.recurrence.start_date/end_date", "targets": ["Riqi1", "Riqi2"] },
|
||||
{ "step": 3, "operation": "resolve_booking_customer", "source": "data.customer.keyword || data.customer.name", "target": "zutuanshe", "setval_targets": ["zutuansheid", "zutuanshe", "lianxiren", "zutuanshegzr"], "rule": "exact/unique normalized matching first; if those fail, all recognizable source-region tokens may select only one current ERP customer name", "unique_required": true },
|
||||
{ "step": 4, "operation": "resolve_and_select_product", "source": "data.product.keyword || data.product.name", "search_target": "S_chanpinming", "radio_target": "cp_id", "side_effect": "page set_th fills tuanxuhao1/tuanxuhao2", "unique_required": true },
|
||||
{ "step": 4, "operation": "resolve_and_select_product", "source": "data.product.keyword || data.product.name", "search_target": "S_chanpinming", "radio_target": "cp_id", "side_effect": "page set_th fills tuanxuhao1/tuanxuhao2", "unique_required": true, "fallback": "match loaded candidates first; if unresolved, issue the native non-empty product-name query after stripping only a trailing numeric duration, then match locally; retain one empty-query compatibility reload; never choose the first row" },
|
||||
{ "step": 5, "operation": "conditionally_apply_explicit_order_suffix", "source": "data.order_number.suffix", "target": "tuanxuhao2", "rule": "ordinary Agent output leaves this absent; when a host/business system explicitly supplies it, apply only after product set_th and require exact persistence before payload approval" },
|
||||
{ "step": 6, "operation": "record_source_region_context", "source": "the final uniquely resolved ERP product/customer candidate names plus optional source_region context", "rule": "source-region context is report-only; product and customer candidates are resolved independently and a mismatch never blocks DoInfoJHs" },
|
||||
{ "step": 7, "operation": "set_passenger_counts", "targets": ["darenshu", "xiaorenshu", "ertrenshu", "yingrenshu", "quanrenshu"], "side_effect": "GetVisitorsHtml()" },
|
||||
@@ -42,7 +42,8 @@
|
||||
"product": {
|
||||
"search_field": "S_chanpinming",
|
||||
"radio_name": "cp_id",
|
||||
"match_order": ["exact_row_text", "unique_contiguous", "unique_tokenized_contains"],
|
||||
"match_order": ["unique_contiguous", "unique_name_duration_tokens", "unique_ordered_tokens"],
|
||||
"native_query_policy": "submit the complete product name unchanged, or strip a trailing numeric duration shorthand before querying; await native Ajax and match returned candidates locally; use one empty query only as the final compatibility reload",
|
||||
"ambiguous_or_empty": "block",
|
||||
"context": "customer selection must be applied before product query"
|
||||
},
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://local.lwltapi/schemas/ltjt_form_mapping.schema.json",
|
||||
"mapping_version": "2026-08-18.shared_plan_create.plan_add.v0.8",
|
||||
"status": "multi_date_split_facts_repeated_live_validated_test_context_release_gated_0.5.81",
|
||||
"mapping_version": "2026-09-02.shared_plan_create.plan_add.v0.9",
|
||||
"status": "native_nonempty_product_search_live_verified_release_gated_0.5.165",
|
||||
"source": {
|
||||
"schema": "schemas/standard_system_operation.schema.json",
|
||||
"action": "shared_plan_create"
|
||||
@@ -18,7 +18,7 @@
|
||||
},
|
||||
"ordered_steps": [
|
||||
{ "step": 1, "operation": "set_date_range", "source": "data.recurrence.start_date/end_date", "targets": ["Riqi1", "Riqi2"] },
|
||||
{ "step": 2, "operation": "resolve_and_select_product", "source": "data.product.keyword || data.product.name", "search_target": "S_chanpinming", "radio_target": "cp_id", "side_effect": "set_th fills tuanxuhao1/tuanxuhao2", "unique_required": true, "fallback": "match loaded candidates by product-name/duration fields; if unresolved, reload with an empty native query and match locally; never send a compound name+duration keyword or choose the first row" },
|
||||
{ "step": 2, "operation": "resolve_and_select_product", "source": "data.product.keyword || data.product.name", "search_target": "S_chanpinming", "radio_target": "cp_id", "side_effect": "set_th fills tuanxuhao1/tuanxuhao2", "unique_required": true, "fallback": "match loaded candidates first; if unresolved, issue the native non-empty product-name query and match the returned name/duration fields locally; strip only a trailing numeric duration before the native query; retain one empty-query compatibility reload; never choose the first row" },
|
||||
{ "step": 3, "operation": "conditionally_apply_explicit_order_suffix", "source": "data.order_number.suffix", "target": "tuanxuhao2", "rule": "ordinary Agent output leaves this absent; when a host/business system explicitly supplies it, apply only after product set_th and require exact persistence before payload approval" },
|
||||
{ "step": 4, "operation": "set_planned_capacity", "source": "data.planned_capacity", "target": "jihuashu" },
|
||||
{ "step": 5, "operation": "set_room_counts", "source": "data.room_counts", "targets": ["frenshu0", "frenshu1", "frenshu2", "frenshu3", "frenshu4", "frenshu5", "frenshu6"], "side_effect": "sum_fang()" },
|
||||
@@ -35,7 +35,7 @@
|
||||
"radio_name": "cp_id",
|
||||
"match_order": ["unique_contiguous", "unique_name_duration_tokens", "unique_ordered_tokens"],
|
||||
"label_scope": "product-name-and-duration cell, not full remarks",
|
||||
"native_query_policy": "S_chanpinming supports contiguous product-name LIKE only; use empty query for broad reload when a compound keyword cannot be resolved",
|
||||
"native_query_policy": "S_chanpinming supports contiguous product-name LIKE only; submit the complete product name unchanged, or strip a trailing numeric duration shorthand before querying; await native Ajax and match returned candidates locally; use one empty query only as the final compatibility reload",
|
||||
"ambiguous_or_empty": "block"
|
||||
},
|
||||
"customer": {
|
||||
|
||||
Reference in New Issue
Block a user