liufumingren
aca6867d57
feat(order,return): 打包任务列表新增打包员筛选、拆包单列表新增拆包人筛选
order.packing.list / order.packing.export 新增 where.operator_text(打包员,目标列 wms_pack_task.operator_text,多人姓名逗号拼接快照):
支持 {operator,value,type} 标准结构,value 支持字符串或数组(多值取并集);contains/like 与缺省为 LIKE '%值%'(通配符已转义)、
eq/in 精确、ne 不等、notlike 逐个排除;值为 ''/null/空数组时忽略该条件。
returnUnpack.list / returnUnpack.export 新增 where.unpacker_name(拆包人,目标列 wms_return_unpack.unpacker_name 工号名称快照):
{operator:'like',value} 或直接值为 LIKE '%值%',value 为数组时多值 LIKE 取并集(_resolveConditionValue 的 like 分支增强,标量行为不变);
文本字段循环跳过空值条件,避免生成 unpacker_name IS NULL 的恒空条件。两个 export 与 list 复用同一 _buildListWhere,语义自动对齐。
顺带修复:where.operator_text=null 经 prepareWhereContext 归一为 {operator:'eq',value:null} 后,
原「?.value ?? 原条件对象」写法会 String() 出 '[object Object]' 条件把列表清空,改为「条件对象只取 .value」。
文档:methods/system.json 更新 order.packing.list/export 与 returnUnpack.list/export 共 4 处参数说明(版本 0.3.190→0.3.191),
methods/changes/system.json 追加变更记录 2026.09.26-order-packing-returnUnpack-where-person-filter。
测试:新增 order_packing.list.operatorText(13 例)与 return_unpack.list.unpackerName(6 例),
test/support/where_matcher.js 补充字段级 Op.or/Op.and/Op.not 支持;相关 4 个测试文件 37 passing。
2026-09-26 19:03:48 +08:00
..
2026-09-26 19:03:48 +08:00
2026-03-16 14:01:22 +08:00
2026-09-10 20:59:39 +08:00
2026-09-24 03:26:15 +08:00
2026-09-05 22:43:38 +08:00
2026-09-15 16:18:39 +08:00
2026-08-31 17:17:48 +08:00
2026-08-01 03:43:47 +08:00
2026-09-17 02:41:43 +08:00
2026-08-01 03:39:41 +08:00
2026-09-15 23:49:34 +08:00
2026-07-27 03:46:51 +08:00
2026-06-23 18:48:33 +08:00
2026-04-09 01:36:49 +08:00
2026-09-24 03:26:21 +08:00
2026-09-25 23:40:56 +08:00
2026-09-18 22:38:57 +08:00
2026-09-25 03:14:15 +08:00
2026-06-14 19:03:58 +08:00
2026-09-20 16:13:59 +08:00
2026-08-12 20:47:19 +08:00
2026-09-20 16:13:59 +08:00
2026-07-29 13:57:04 +08:00
2026-08-31 17:17:48 +08:00
2026-09-03 17:03:40 +08:00
2026-09-15 16:14:46 +08:00
2026-08-13 21:40:57 +08:00
2026-08-15 20:12:26 +08:00
2026-08-04 08:18:43 +08:00
2026-04-09 01:36:49 +08:00
2026-07-06 22:07:10 +08:00
2026-09-23 02:46:28 +08:00
2026-07-10 18:10:11 +08:00
2026-09-24 03:26:08 +08:00
2026-09-21 02:28:04 +08:00