@gct-paas/word 0.1.74-beta.18 → 0.1.74-beta.19
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.
- package/dist/core/model/logic/subtable/repeating/RepeatingRegion.d.ts +4 -0
- package/dist/domain/table/business/preprocess/pretreatment-list/actions/index.d.ts +0 -1
- package/dist/domain/table/business/preprocess/pretreatment-list/actions/scan.d.ts +6 -7
- package/dist/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +2 -4
- package/dist/domain/table/business/shared/production-identification-scan-api.d.ts +13 -0
- package/dist/domain/table/business/shared/scan-action.d.ts +27 -20
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/index.d.ts +0 -1
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/scan.d.ts +6 -7
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts +0 -2
- package/dist/domain/table/business/warehouse/shared/inventory-scan-api.d.ts +15 -0
- package/dist/domain/table/business/warehouse/warehouse-allocate/actions/index.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-allocate/actions/scan.d.ts +7 -7
- package/dist/domain/table/business/warehouse/warehouse-in/actions/index.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-in/actions/scan.d.ts +3 -0
- package/dist/domain/table/business/warehouse/warehouse-in/index.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-inventory/actions/index.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-inventory/actions/scan.d.ts +9 -7
- package/dist/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/index.d.ts +0 -1
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-calc.d.ts +3 -54
- package/dist/domain/table/business/warehouse/warehouse-out/actions/index.d.ts +1 -0
- package/dist/domain/table/business/warehouse/warehouse-out/actions/scan.d.ts +7 -0
- package/dist/domain/table/business/warehouse/warehouse-out/index.d.ts +1 -0
- package/dist/index.es.js +1590 -1540
- package/dist/runtime/canvas/table/render/label-parse-rule/type.d.ts +7 -1
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/business-scan-menu.d.ts +9 -0
- package/dist/runtime/canvas/table/render/table-structure-overlay/sub-table-action/index.d.ts +1 -1
- package/dist/runtime/renderer/dialogs/signature/signature-dialog.vue.d.ts +0 -2
- package/dist/utils/adapters/TriggerUtil.d.ts +1 -1
- package/dist/word.css +61 -61
- package/package.json +1 -1
- package/dist/domain/table/business/preprocess/pretreatment-list/actions/change-parse-rule.d.ts +0 -7
- package/dist/domain/table/business/preprocess/pretreatment-list/runtime/remote-sync-apply.d.ts +0 -2
- package/dist/domain/table/business/shared/change-parse-rule.d.ts +0 -10
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/actions/change-parse-rule.d.ts +0 -7
- package/dist/domain/table/business/sterilize/entrust-steril-batch-list/runtime/remote-sync-apply.d.ts +0 -2
- package/dist/domain/table/business/warehouse/warehouse-allocate/actions/change-parse-rule.d.ts +0 -7
- package/dist/domain/table/business/warehouse/warehouse-inventory/actions/change-parse-rule.d.ts +0 -7
- package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/scan-config.d.ts +0 -38
|
@@ -15,12 +15,16 @@ export type DynamicTableProps = RepeatingWidgetPropsBase & {
|
|
|
15
15
|
};
|
|
16
16
|
export type WarehouseInTableProps = RepeatingWidgetPropsBase & {
|
|
17
17
|
layoutType: 'warehouse-in-table';
|
|
18
|
+
/** 条码解析规则 */
|
|
19
|
+
barcode_parsing_rules_id_?: string;
|
|
18
20
|
};
|
|
19
21
|
export type WarehouseInboundTableProps = RepeatingWidgetPropsBase & {
|
|
20
22
|
layoutType: 'warehouse-inbound-table';
|
|
21
23
|
};
|
|
22
24
|
export type WarehouseOutTableProps = RepeatingWidgetPropsBase & {
|
|
23
25
|
layoutType: 'warehouse-out-table';
|
|
26
|
+
/** 条码解析规则 */
|
|
27
|
+
barcode_parsing_rules_id_?: string;
|
|
24
28
|
};
|
|
25
29
|
export type WarehouseOutboundTableProps = RepeatingWidgetPropsBase & {
|
|
26
30
|
layoutType: 'warehouse-outbound-table';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}): Promise<void>;
|
|
1
|
+
import { BusinessScanHandler } from '../../../shared/scan-action';
|
|
2
|
+
/**
|
|
3
|
+
* 预处理表:扫码后入行
|
|
4
|
+
* 接口同入库:em_production_identification / biz_production_identification_scan
|
|
5
|
+
*/
|
|
6
|
+
export declare const handlePretreatmentListScan: BusinessScanHandler;
|
|
@@ -24,18 +24,16 @@ export declare const F: {
|
|
|
24
24
|
/** 生产日期 */
|
|
25
25
|
readonly productionDate: "production_date_";
|
|
26
26
|
};
|
|
27
|
-
/** remoteSync 成功回写的基础字段 */
|
|
28
|
-
export declare const INVENTORY_INFO_APPLY_FIELDS: readonly ["product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "mfg_order_code_"];
|
|
29
27
|
/** 设计态输入属性固定禁用、运行态只读:物料名称 / 编码 / 规格 */
|
|
30
28
|
export declare const DISABLED_INPUT_FIELDS: readonly ["product_id_name_", "product_id_code_", "product_id_spec_"];
|
|
31
29
|
/** 行变更 handler:生产批次号清空时的字段集 */
|
|
32
30
|
export declare const CLEAR_ON_PROD_CONTAINER_EMPTY: readonly ("product_id_" | "product_id_name_" | "product_id_code_" | "product_id_spec_" | "mfg_order_code_" | "qty_" | "production_date_")[];
|
|
33
31
|
/** 行变更 handler:生产批次号切换时的字段集 */
|
|
34
|
-
export declare const CLEAR_ON_PROD_CONTAINER_SWITCH: ("
|
|
32
|
+
export declare const CLEAR_ON_PROD_CONTAINER_SWITCH: ("material_container_no_" | "mfg_order_id_")[];
|
|
35
33
|
/** 行变更 handler:工单清空时的字段集 */
|
|
36
34
|
export declare const CLEAR_ON_MFG_ORDER_EMPTY: ("product_id_" | "product_id_name_" | "product_id_code_" | "product_id_spec_" | "mfg_order_code_" | "qty_" | "production_date_")[];
|
|
37
35
|
/** 行变更 handler:工单切换时的字段集 */
|
|
38
|
-
export declare const CLEAR_ON_MFG_ORDER_SWITCH: ("
|
|
36
|
+
export declare const CLEAR_ON_MFG_ORDER_SWITCH: ("material_container_no_" | "production_container_id_")[];
|
|
39
37
|
/** 行变更 handler:物料批次号清空时的字段集 */
|
|
40
38
|
export declare const CLEAR_ON_MATERIAL_CONTAINER_NO_EMPTY: ("product_id_" | "product_id_name_" | "product_id_code_" | "product_id_spec_" | "mfg_order_code_" | "qty_" | "production_date_")[];
|
|
41
39
|
/** 行变更 handler:物料批次号切换时的字段集 */
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IRuleParseData } from '../../../../runtime/canvas/table/render/label-parse-rule/type';
|
|
2
|
+
import { BizServiceApiDef } from '../../types';
|
|
3
|
+
export declare const PRODUCTION_IDENTIFICATION_SCAN_NOT_FOUND_MSG = "\u626B\u63CF\u7684\u7269\u6599\u4E0D\u5B58\u5728";
|
|
4
|
+
export declare const PRODUCTION_IDENTIFICATION_SCAN_LOT_OR_UNIQUE_REQUIRED_MSG = "\u6761\u7801\u4E2D\u672A\u89E3\u6790\u5230\u7269\u6599\u6279\u53F7\u6216\u552F\u4E00\u7801";
|
|
5
|
+
export declare const PRODUCTION_IDENTIFICATION_SCAN_API: BizServiceApiDef;
|
|
6
|
+
/** 物料批号、唯一码至少有一个非空 */
|
|
7
|
+
export declare function hasProductionIdentificationScanKey(parsed: IRuleParseData): boolean;
|
|
8
|
+
/** 条码解析结果 → 扫码接口入参(字段名与后端约定一致,含 vaildate_ 拼写) */
|
|
9
|
+
export declare function buildProductionIdentificationScanBody(parsed: IRuleParseData): Record<string, unknown>;
|
|
10
|
+
/** 调用生产标识扫码匹配接口,返回 0/1/N 条候选 */
|
|
11
|
+
export declare function matchProductionIdentificationScanRecords(parsed: IRuleParseData): Promise<Record<string, unknown>[]>;
|
|
12
|
+
/** 多条候选 → 公共多选弹框 */
|
|
13
|
+
export declare function pickProductionIdentificationScanRecord(records: Record<string, unknown>[]): Promise<Record<string, unknown> | undefined>;
|
|
@@ -1,25 +1,32 @@
|
|
|
1
|
+
import { Doc, SubRenderer } from '../../../../core';
|
|
1
2
|
import { ParseRuleProps } from '../material/types';
|
|
2
|
-
|
|
3
|
+
/** 扫码数量调整方向(盘点加减实盘等可复用) */
|
|
4
|
+
export type ScanAdjustType = 'add' | 'minus';
|
|
5
|
+
/** CommonScanModal 回传(可另带 barcode/type) */
|
|
6
|
+
export type ScanModalInput = {
|
|
7
|
+
str?: string;
|
|
8
|
+
parsedValue?: unknown;
|
|
9
|
+
transformedData?: unknown;
|
|
10
|
+
barcode?: string;
|
|
11
|
+
type?: ScanAdjustType | string;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
};
|
|
14
|
+
export type BusinessScanContext = {
|
|
15
|
+
doc: Doc;
|
|
16
|
+
subRenderer: SubRenderer;
|
|
17
|
+
subFieldKey: string;
|
|
18
|
+
subModelKey?: string;
|
|
19
|
+
};
|
|
20
|
+
export type BusinessScanHandler = (ctx: BusinessScanContext, input: ScanModalInput) => void | Promise<void>;
|
|
21
|
+
/** 取 CommonScanModal.parsedValue(条码解析结果) */
|
|
22
|
+
export declare function resolveScanParsedValue<T extends Record<string, unknown> = Record<string, unknown>>(input: ScanModalInput): T | undefined;
|
|
23
|
+
/** 取 CommonScanModal.transformedData(字段映射结果) */
|
|
24
|
+
export declare function resolveScanFillData(input: ScanModalInput): Record<string, unknown>;
|
|
25
|
+
/** 取扫码数量调整方向,默认 add */
|
|
26
|
+
export declare function resolveScanAdjustType(input: ScanModalInput): ScanAdjustType;
|
|
3
27
|
/** 将 widget 上的条码解析规则 id 字符串转为配置对象 */
|
|
4
28
|
export declare function toParseRuleConfig(value?: string): ParseRuleProps | undefined;
|
|
5
|
-
export interface ScanRuleInfo {
|
|
6
|
-
rules_?: string;
|
|
7
|
-
[key: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export interface OpenScanWithParseRuleOptions {
|
|
10
|
-
regionId: string;
|
|
11
|
-
barcodeParsingRulesId?: string;
|
|
12
|
-
modalEvent: TriggerName;
|
|
13
|
-
title?: string;
|
|
14
|
-
onScan: (input: {
|
|
15
|
-
str: string;
|
|
16
|
-
}, ctx: {
|
|
17
|
-
parseRuleProps: ParseRuleProps;
|
|
18
|
-
scanRuleInfo: ScanRuleInfo;
|
|
19
|
-
}) => void | Promise<void>;
|
|
20
|
-
}
|
|
21
29
|
/**
|
|
22
|
-
*
|
|
23
|
-
* 业务侧只实现 onScan
|
|
30
|
+
* 业务子表统一扫码入口:同一个 CommonScanModal,差异只在 onScan 业务处理
|
|
24
31
|
*/
|
|
25
|
-
export declare function
|
|
32
|
+
export declare function openBusinessTableScan(ctx: BusinessScanContext, onScan: BusinessScanHandler): Promise<void>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}): Promise<void>;
|
|
1
|
+
import { BusinessScanHandler } from '../../../shared/scan-action';
|
|
2
|
+
/**
|
|
3
|
+
* 委托灭菌生产批次表:扫码后入行
|
|
4
|
+
* 接口同入库:em_production_identification / biz_production_identification_scan
|
|
5
|
+
*/
|
|
6
|
+
export declare const handleEntrustSterilBatchListScan: BusinessScanHandler;
|
package/dist/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts
CHANGED
|
@@ -22,7 +22,5 @@ export declare const F: {
|
|
|
22
22
|
/** 生产日期 */
|
|
23
23
|
readonly productionDate: "production_date_";
|
|
24
24
|
};
|
|
25
|
-
/** remoteSync 成功回写的基础字段 */
|
|
26
|
-
export declare const INVENTORY_INFO_APPLY_FIELDS: readonly ["product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "mfg_order_code_", "mfg_order_id_"];
|
|
27
25
|
/** 行变更 handler:生产批次号清空时的字段集 */
|
|
28
26
|
export declare const CLEAR_ON_PROD_CONTAINER_EMPTY: readonly ["product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "qty_", "mfg_order_code_", "mfg_order_id_", "production_date_"];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IRuleParseData } from '../../../../../runtime/canvas/table/render/label-parse-rule/type';
|
|
2
|
+
import { BizServiceApiDef } from '../../../types';
|
|
3
|
+
export declare const SCAN_NOT_FOUND_MSG = "\u626B\u63CF\u7684\u7269\u6599\u4E0D\u5B58\u5728";
|
|
4
|
+
export declare const SCAN_LOT_OR_UNIQUE_REQUIRED_MSG = "\u6761\u7801\u4E2D\u672A\u89E3\u6790\u5230\u7269\u6599\u6279\u53F7\u6216\u552F\u4E00\u7801";
|
|
5
|
+
export declare const INVENTORY_PRODUCTION_IDENTIFICATION_SCAN_API: BizServiceApiDef;
|
|
6
|
+
/** 物料批号、唯一码至少有一个非空 */
|
|
7
|
+
export declare function hasLotOrUniqueCode(parsed: IRuleParseData): boolean;
|
|
8
|
+
/** 条码解析结果 + 当前仓库 → 扫码接口入参 */
|
|
9
|
+
export declare function buildInventoryScanRequestBody(parsed: IRuleParseData, warehouseId?: string): Record<string, unknown>;
|
|
10
|
+
/** 调用库存扫码匹配接口,返回 0/1/N 条候选 */
|
|
11
|
+
export declare function matchInventoryScanRecords(parsed: IRuleParseData, warehouseId?: string): Promise<Record<string, unknown>[]>;
|
|
12
|
+
/** 多条候选 → 公共多选弹框 */
|
|
13
|
+
export declare function pickInventoryScanRecord(records: Record<string, unknown>[]): Promise<Record<string, unknown> | undefined>;
|
|
14
|
+
/** 解析扫码数量,缺省为 1 */
|
|
15
|
+
export declare function resolveScanQty(parsedQty: unknown, recordQty?: unknown, fallback?: number): number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { BusinessScanHandler } from '../../../shared/scan-action';
|
|
2
|
+
/**
|
|
3
|
+
* 库存调拨表:扫码后入行
|
|
4
|
+
* - 连续扫码每次新增一行
|
|
5
|
+
* - 重复扫同一码不合并
|
|
6
|
+
*/
|
|
7
|
+
export declare const handleWarehouseAllocateScan: BusinessScanHandler;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './scan';
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { BusinessScanHandler } from '../../../shared/scan-action';
|
|
2
|
+
/**
|
|
3
|
+
* 库存盘点表扫码(新逻辑)
|
|
4
|
+
* - 接口:em_inventory / biz_inventory_production_identification_scan
|
|
5
|
+
* - 0 条 → 报错;1 条自动写入;N 条手选
|
|
6
|
+
* - 连续扫码:新物料新增一行,不覆盖
|
|
7
|
+
* - 同物料+批次(需求已去掉「重复建多行不合并」):累加实盘数量
|
|
8
|
+
*/
|
|
9
|
+
export declare const handleWarehouseInventoryScan: BusinessScanHandler;
|
|
@@ -43,7 +43,5 @@ export declare const DISABLED_INPUT_FIELDS: readonly ["production_identification
|
|
|
43
43
|
export declare const CLEAR_ON_PRODUCT_EMPTY: readonly ["inventory_id_", "production_identification_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "stock_num_", "stocktake_num_", "diff_num_", "warehouse_id_", "location_id_", "validity_", "re_inspection_date_"];
|
|
44
44
|
/** 按批次+物料+仓库分组(initLoad / 汇总) */
|
|
45
45
|
export declare const WAREHOUSE_IDENTITY_GROUP_KEYS: readonly ["production_identification_id_", "product_id_", "warehouse_id_"];
|
|
46
|
-
/** 扫码合并键(含库位);扫码产品逻辑未定前仍保留 */
|
|
47
|
-
export declare const SCAN_MERGE_GROUP_KEYS: readonly ["production_identification_id_", "product_id_", "warehouse_id_", "location_id_"];
|
|
48
46
|
/** 库存记录映射基础字段(initLoad mapper / 扫码聚合) */
|
|
49
47
|
export declare const INVENTORY_BASE_FIELDS: readonly ["production_identification_id_", "product_id_", "product_id_name_", "product_id_code_", "product_id_spec_", "warehouse_id_"];
|
package/dist/domain/table/business/warehouse/warehouse-inventory/runtime/stocktake-calc.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Doc } from '../../../../../../core';
|
|
2
|
-
import {
|
|
2
|
+
import { ScanAdjustType } from '../../../shared/scan-action';
|
|
3
3
|
import { StocktakeStatusKey } from '../types';
|
|
4
4
|
/** 盘点状态 key 对应展示文案 */
|
|
5
5
|
export declare function getStocktakeStatusLabel(key: StocktakeStatusKey): string;
|
|
@@ -9,63 +9,12 @@ export declare function calcDiffNum(stocktakeNum?: number | null, stockNum?: num
|
|
|
9
9
|
export declare function calcStocktakeStatus(stocktakeNum?: number | null, stockNum?: number | null): StocktakeStatusKey;
|
|
10
10
|
/** 刷新单行盘点衍生字段 */
|
|
11
11
|
export declare function refreshStocktakeDerivedFields(doc: Doc, subFieldKey: string, rowIndex: number): void;
|
|
12
|
-
/** 按批次+物料+仓库将接口明细拆成多组(扫码可能一次返回多种物料) */
|
|
13
|
-
export declare function groupRecordsByInventoryIdentity(records: Record<string, unknown>[]): Record<string, unknown>[][];
|
|
14
|
-
/**
|
|
15
|
-
* 扫码记录处理结果
|
|
16
|
-
* @property kind='accumulate' - 匹配到已有盘点行,执行数量累加
|
|
17
|
-
* @property kind='skip-location-not-selected' - 因未选择仓位而跳过处理
|
|
18
|
-
* @property kind='unprocessed' - 未匹配到已有盘点行,等待后续新增行处理
|
|
19
|
-
*/
|
|
20
|
-
export type ScanRecordDisposition = {
|
|
21
|
-
kind: 'accumulate';
|
|
22
|
-
index: number;
|
|
23
|
-
} | {
|
|
24
|
-
kind: 'skip-location-not-selected';
|
|
25
|
-
} | {
|
|
26
|
-
kind: 'unprocessed';
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* 判断单条扫码明细如何处理:
|
|
30
|
-
* - 已有相同行且库位已选(或无库位字段)→ 累加条码 qty 到实盘数
|
|
31
|
-
* - 已有相同物料行但库位未选 → 跳过
|
|
32
|
-
* - 否则 → 待新建行
|
|
33
|
-
*/
|
|
34
|
-
export declare function dispositionScanRecord(record: Record<string, unknown>, visibleRows: Record<string, unknown>[], groupByWarehouse: boolean): ScanRecordDisposition;
|
|
35
|
-
/**
|
|
36
|
-
* 待新建明细:先按批次+物料+仓库分组,取第一组再组装 resolve 入参
|
|
37
|
-
* - 页面无库位:该组全部明细 groupBy 累加
|
|
38
|
-
* - 页面有库位 + 组内多条:整组走多库位候选(不自动填库位)
|
|
39
|
-
* - 页面有库位 + 组内单条:自动填库位
|
|
40
|
-
*/
|
|
41
|
-
export declare function pickRecordsForNewScanRow(unprocessed: Record<string, unknown>[], groupByWarehouse: boolean): {
|
|
42
|
-
records: Record<string, unknown>[];
|
|
43
|
-
productGroupCount: number;
|
|
44
|
-
};
|
|
45
12
|
/** 盘点数量下限 */
|
|
46
13
|
export declare const MIN_STOCKTAKE_NUM = 0;
|
|
47
|
-
/** 条码未解析到数量时的默认扫码数量 */
|
|
48
|
-
export declare const DEFAULT_SCAN_QTY = 1;
|
|
49
|
-
export interface ResolveStocktakeQtyOptions {
|
|
50
|
-
/** 空值或无效数字时的回落;未指定则返回 null */
|
|
51
|
-
fallback?: number;
|
|
52
|
-
}
|
|
53
|
-
/** 解析盘点/扫码数量 */
|
|
54
|
-
export declare function resolveStocktakeQty(value: unknown, options?: ResolveStocktakeQtyOptions): number | null;
|
|
55
14
|
/** 扣减导致实盘数量小于 0 时的拦截原因;add 或无需校验时返回 undefined */
|
|
56
|
-
export declare function getScanQtyDeductionBlockReason(current: unknown, scanQty: unknown, type?:
|
|
15
|
+
export declare function getScanQtyDeductionBlockReason(current: unknown, scanQty: unknown, type?: ScanAdjustType): string | undefined;
|
|
57
16
|
/** 按条码 qty 与调整方向更新盘点数量;原值为空时视为 0 */
|
|
58
|
-
export declare function applyScanQtyToStocktake(current: unknown, scanQty: unknown, type?:
|
|
59
|
-
/** 扫码命中已有行:按 add/minus 调整 stocktake_num_ */
|
|
60
|
-
export declare function accumulateScanQtyOnRow(visibleRows: Record<string, unknown>[], rowIndex: number, scanQty: unknown, type?: WarehouseInventoryScanAdjustType): {
|
|
61
|
-
rows: Record<string, unknown>[];
|
|
62
|
-
mergedIndex: number;
|
|
63
|
-
};
|
|
64
|
-
/** 未处理明细新建行 */
|
|
65
|
-
export declare function appendScanRowFromResolve(visibleRows: Record<string, unknown>[], rowData: Record<string, unknown>): {
|
|
66
|
-
rows: Record<string, unknown>[];
|
|
67
|
-
mergedIndex: number;
|
|
68
|
-
};
|
|
17
|
+
export declare function applyScanQtyToStocktake(current: unknown, scanQty: unknown, type?: ScanAdjustType): unknown;
|
|
69
18
|
/**
|
|
70
19
|
* 将库存接口结果转为盘点行:
|
|
71
20
|
* - groupByWarehouse=true(按仓库汇总):按 批次+物料+仓库 聚合,库存累加,无库位
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './scan';
|