@gct-paas/word 0.2.31-beta.0 → 0.2.31-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  import { BusinessScanHandler } from '../../../shared/scan-action';
2
- /** 物料替换表:按条码解析规则映射结果填充空行,否则新增一行。 */
2
+ /** 物料替换表:生产标识扫码匹配后,按映射回填两侧物料,优先填充空行。 */
3
3
  export declare const handleMaterialSubstitutionScan: BusinessScanHandler;
@@ -0,0 +1,4 @@
1
+ /** 兼容生产标识扫码记录和列表记录的物料、批次字段。 */
2
+ export declare function normalizeMaterialSubstitutionScanRecord(record: Record<string, unknown>): Record<string, unknown>;
3
+ /** 根据映射选择回填侧;产品字段写真实 ID,数量和自定义映射沿用用户配置。 */
4
+ export declare function buildMaterialSubstitutionScanRow(record: Record<string, unknown>, fillData: Record<string, unknown>): Record<string, unknown>;