模板行参考 + 新建规则
现在已经不只是编辑样板规则,而是可以针对模板行直接新建一条规则。
首版先支持:drawing_no / qty_per_unit / spec_text / remark_text / box_no。
line_no row_name template_row_id
1 Row 1 TR-00001
1.1 Row 1.1 TR-00002
1.2 Row 1.2 TR-00003
1.3 Row 1.3 TR-00004
1.4 Row 1.4 TR-00005
1.5 Row 1.5 TR-00006
1.6 Row 1.6 TR-00007
1.7 Row 1.7 TR-00008
1.8 Row 1.8 TR-00009
1.9 Row 1.9 TR-00010
1.10 Row 1.10 TR-00011
1.11 Row 1.11 TR-00012
1.12 Row 1.12 TR-00013
1.13 Row 1.13 TR-00014
1.14 Row 1.14 TR-00015
1.15 Row 1.15 TR-00016
1.16 Row 1.16 TR-00017
1.17 Row 1.17 TR-00018
1.18 Row 1.18 TR-00019
1.19 Row 1.19 TR-00020
1.20 Row 1.20 TR-00021
1.21 Row 1.21 TR-00022
1.22 Row 1.22 TR-00023
1.23 Row 1.23 TR-00024
1.24 Row 1.24 TR-00025
1.25 Row 1.25 TR-00026
1.26 Row 1.26 TR-00027
1.27 Row 1.27 TR-00028
1.28 Row 1.28 TR-00029
1.29 Row 1.29 TR-00030
新建规则
规则列表
rule_set_id template_row_id field_name rule_type 操作
RS_DRAWING_NO_001 TR-00001 drawing_no mapping 编辑 / 预览
RS_QTY_001 TR-00001 qty_per_unit param 编辑 / 预览
RS_SPEC_001 TR-00001 spec_text compose 编辑 / 预览
RS_TR-00002_drawing_no_1772887161 TR-00002 drawing_no mapping 编辑 / 预览
RS_TR-00003_qty_per_unit_1772887286 TR-00003 qty_per_unit param 编辑 / 预览
RS_TR-00004_spec_text_1772887392 TR-00004 spec_text compose 编辑 / 预览
规则编辑 + 试算
当前规则:RS_DRAWING_NO_001 / drawing_no / mapping
mapping 规则编辑
规则结构
rule_items
item_type source_scope source_field target_value
mapping_field mapping default_drawing_no
mapping_field mapping version_code
rule_segments
segment_type source_scope source_field literal_text
该规则没有 rule_segments
最终结果值
trace
step source_table / type source_field value
mapping param_mapping_results default_drawing_no