@gct-paas/word 0.1.74-beta.36 → 0.1.74-beta.37
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/data/enrichers/operation-receive-qty-enricher.d.ts +1 -1
- package/dist/domain/device/device-query.d.ts +6 -1
- package/dist/index.es.js +78 -69
- package/dist/runtime/renderer/dropdowns/components/tables/strategy/selectStrategy.d.ts +2 -0
- package/dist/runtime/renderer/dropdowns/components/tables/utils/quick-search.d.ts +2 -2
- package/dist/word.css +1 -1
- package/package.json +1 -1
|
@@ -14,6 +14,6 @@ type OperationReceiveQtyWidgetInstance = {
|
|
|
14
14
|
};
|
|
15
15
|
/** 从单个 widget 实例解析工序接收数量 enrich 目标 */
|
|
16
16
|
export declare function tryCollectOperationReceiveQtyTarget(instance: OperationReceiveQtyWidgetInstance): OperationReceiveQtyWidgetTarget | null;
|
|
17
|
-
/** 工序接收数量:
|
|
17
|
+
/** 工序接收数量:getOne query 取 container_id_ / routing_operation_id_,空值时拉取 qty_current_ */
|
|
18
18
|
export declare function createOperationReceiveQtyEnricher(doc: Doc, targets: OperationReceiveQtyWidgetTarget[]): DataEnricherRegistration;
|
|
19
19
|
export {};
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
import { SelectApiBinding } from '../table/types';
|
|
2
|
+
/** 填报设备下拉 / 扫码查询 */
|
|
3
|
+
export declare const DEVICE_SEARCH_API: SelectApiBinding;
|
|
4
|
+
export declare const DEVICE_GROUP_QUERY_KEY = "device_group_id_";
|
|
1
5
|
/**
|
|
2
|
-
*
|
|
6
|
+
* 设备可选过滤:使用中 +(校准有效期未过 OR 无校准日期)。
|
|
3
7
|
* `__orExpKeys` 供 buildLikeQuery 把校准两条件做成 OR。
|
|
8
|
+
* 设备组不要放进 extraQuery。
|
|
4
9
|
*/
|
|
5
10
|
export declare function buildDeviceBaseQuery(extraQuery?: Record<string, any>): Record<string, any>;
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @gct-paas/word v0.1.74-beta.
|
|
1
|
+
/*! @gct-paas/word v0.1.74-beta.37 */
|
|
2
2
|
import { Fragment, Suspense, Teleport, Transition, TransitionGroup, cloneVNode, computed, createApp, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createStaticVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, effectScope, getCurrentInstance, getCurrentScope, guardReactiveProps, h, inject, isRef, isVNode, markRaw, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeMount, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, readonly, ref, render, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toHandlers, toRaw, toRef, toValue, unref, useAttrs, useCssVars, useModel, useSlots, vModelRadio, vModelText, vShow, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
3
3
|
import St, { PopperWrapper } from "floating-vue";
|
|
4
4
|
import VueKonva from "vue-konva";
|
|
@@ -98697,25 +98697,31 @@ var init_columns = __esmMin((() => {
|
|
|
98697
98697
|
//#endregion
|
|
98698
98698
|
//#region src/domain/device/device-query.ts
|
|
98699
98699
|
/**
|
|
98700
|
-
*
|
|
98700
|
+
* 设备可选过滤:使用中 +(校准有效期未过 OR 无校准日期)。
|
|
98701
98701
|
* `__orExpKeys` 供 buildLikeQuery 把校准两条件做成 OR。
|
|
98702
|
+
* 设备组不要放进 extraQuery。
|
|
98702
98703
|
*/
|
|
98703
98704
|
function buildDeviceBaseQuery(extraQuery) {
|
|
98704
98705
|
const today = dayjs().startOf("day").format("YYYY-MM-DD HH:mm:ss");
|
|
98705
|
-
const
|
|
98706
|
-
|
|
98706
|
+
const { "device_type_id_.eq": deviceTypeId, ...extra } = extraQuery ?? {};
|
|
98707
|
+
return {
|
|
98707
98708
|
"state_.eq": DeviceStatus.IN_USE,
|
|
98708
98709
|
"next_calibration_date_.ge": today,
|
|
98709
98710
|
"next_calibration_date_.isNull": null,
|
|
98710
|
-
...
|
|
98711
|
+
...extra,
|
|
98712
|
+
...deviceTypeId ? { "device_type_id_.eq": deviceTypeId } : {},
|
|
98711
98713
|
__orExpKeys: ["next_calibration_date_.ge", "next_calibration_date_.isNull"]
|
|
98712
98714
|
};
|
|
98713
|
-
const deviceTypeId = queryData["device_type_id_.eq"];
|
|
98714
|
-
if (deviceTypeId == null || deviceTypeId === "") delete queryData["device_type_id_.eq"];
|
|
98715
|
-
return queryData;
|
|
98716
98715
|
}
|
|
98716
|
+
var DEVICE_SEARCH_API, DEVICE_GROUP_QUERY_KEY;
|
|
98717
98717
|
var init_device_query = __esmMin((() => {
|
|
98718
98718
|
init_enum();
|
|
98719
|
+
DEVICE_SEARCH_API = {
|
|
98720
|
+
modelCategory: "entity",
|
|
98721
|
+
modelKey: "em_device",
|
|
98722
|
+
bsKey: "biz_form_device_search"
|
|
98723
|
+
};
|
|
98724
|
+
DEVICE_GROUP_QUERY_KEY = "device_group_id_";
|
|
98719
98725
|
}));
|
|
98720
98726
|
//#endregion
|
|
98721
98727
|
//#region src/runtime/renderer/dropdowns/components/tables/utils/quick-search.ts
|
|
@@ -98780,9 +98786,14 @@ function buildLikeQuery(searchFields, keyword, extraQuery = {}, options) {
|
|
|
98780
98786
|
exp
|
|
98781
98787
|
};
|
|
98782
98788
|
}
|
|
98783
|
-
/**
|
|
98784
|
-
function buildDeviceQuickSearchQuery(quickSearchField, keyword, extraQuery) {
|
|
98785
|
-
|
|
98789
|
+
/** 设备下拉:条件与 ref 相同;deviceGroupId 只进 query,不进 exp。 */
|
|
98790
|
+
function buildDeviceQuickSearchQuery(quickSearchField, keyword, extraQuery, deviceGroupId) {
|
|
98791
|
+
const { queryData, exp } = buildLikeQuery(quickSearchField || [], keyword, buildDeviceBaseQuery(extraQuery));
|
|
98792
|
+
if (deviceGroupId) queryData[DEVICE_GROUP_QUERY_KEY] = deviceGroupId;
|
|
98793
|
+
return {
|
|
98794
|
+
queryData,
|
|
98795
|
+
exp
|
|
98796
|
+
};
|
|
98786
98797
|
}
|
|
98787
98798
|
/** 关联下拉:按设计端配置搜索。 */
|
|
98788
98799
|
function buildRefQuickSearchQuery(searchField, keyword, extraQuery, options) {
|
|
@@ -98838,12 +98849,13 @@ function getSelectStrategy(fieldType) {
|
|
|
98838
98849
|
if (strategy) return strategy;
|
|
98839
98850
|
return selectStrategyMap[FIELD_TYPE.REF];
|
|
98840
98851
|
}
|
|
98841
|
-
var LOT2SN_STRATEGY, REF_STRATEGY, selectStrategyMap;
|
|
98852
|
+
var LOT2SN_STRATEGY, REF_STRATEGY, REF_OPERATING_STATE_STRATEGY, selectStrategyMap;
|
|
98842
98853
|
var init_selectStrategy = __esmMin((() => {
|
|
98843
98854
|
init_field_type();
|
|
98844
98855
|
init_columns();
|
|
98845
98856
|
init_quick_search();
|
|
98846
98857
|
init_enum();
|
|
98858
|
+
init_device_query();
|
|
98847
98859
|
LOT2SN_STRATEGY = {
|
|
98848
98860
|
columnsKey: "lot-sn",
|
|
98849
98861
|
fetcher: "lot2sn",
|
|
@@ -98866,6 +98878,15 @@ var init_selectStrategy = __esmMin((() => {
|
|
|
98866
98878
|
},
|
|
98867
98879
|
transform: transformLotData
|
|
98868
98880
|
};
|
|
98881
|
+
REF_OPERATING_STATE_STRATEGY = {
|
|
98882
|
+
...REF_STRATEGY,
|
|
98883
|
+
buildQuery({ keyword, searchField, extraParams }) {
|
|
98884
|
+
return buildRefQuickSearchQuery(searchField, keyword, {
|
|
98885
|
+
...extraParams,
|
|
98886
|
+
operating_state_: true
|
|
98887
|
+
});
|
|
98888
|
+
}
|
|
98889
|
+
};
|
|
98869
98890
|
selectStrategyMap = {
|
|
98870
98891
|
[FIELD_TYPE.MATERIAL_NO]: LOT2SN_STRATEGY,
|
|
98871
98892
|
[FIELD_TYPE.SCRAP_MATERIAL_NO]: LOT2SN_STRATEGY,
|
|
@@ -98880,20 +98901,21 @@ var init_selectStrategy = __esmMin((() => {
|
|
|
98880
98901
|
},
|
|
98881
98902
|
[FIELD_TYPE.DEVICE]: {
|
|
98882
98903
|
columnsKey: "device",
|
|
98883
|
-
fetcher: "
|
|
98904
|
+
fetcher: "biz",
|
|
98905
|
+
api: DEVICE_SEARCH_API,
|
|
98884
98906
|
buildQuery({ keyword, searchField, deviceTypeId, deviceGroupId }) {
|
|
98885
|
-
return buildDeviceQuickSearchQuery(searchField, keyword, {
|
|
98886
|
-
...deviceTypeId ? { "device_type_id_.eq": deviceTypeId } : {},
|
|
98887
|
-
...deviceGroupId ? { "device_group_id_.eq": deviceGroupId } : {}
|
|
98888
|
-
});
|
|
98907
|
+
return buildDeviceQuickSearchQuery(searchField, keyword, deviceTypeId ? { "device_type_id_.eq": deviceTypeId } : void 0, deviceGroupId);
|
|
98889
98908
|
},
|
|
98890
98909
|
transform: transformLotData
|
|
98891
98910
|
},
|
|
98892
98911
|
[FIELD_TYPE.ROUTING_OPERATION]: {
|
|
98893
98912
|
columnsKey: "route-operation",
|
|
98894
98913
|
fetcher: "ref",
|
|
98895
|
-
buildQuery({ keyword }) {
|
|
98896
|
-
return buildLikeQuery(["name_", "code_"], keyword, {
|
|
98914
|
+
buildQuery({ keyword, isMockReport }) {
|
|
98915
|
+
return buildLikeQuery(["name_", "code_"], keyword, {
|
|
98916
|
+
type_: "NODE_SPEC",
|
|
98917
|
+
...isMockReport ? {} : { operating_state_: true }
|
|
98918
|
+
});
|
|
98897
98919
|
},
|
|
98898
98920
|
transform: transformLotData
|
|
98899
98921
|
},
|
|
@@ -98902,7 +98924,7 @@ var init_selectStrategy = __esmMin((() => {
|
|
|
98902
98924
|
fetcher: "ref",
|
|
98903
98925
|
clearFieldId: "scrap_reason_1_",
|
|
98904
98926
|
buildQuery({ keyword }) {
|
|
98905
|
-
return buildLikeQuery(["name_", "code_"], keyword
|
|
98927
|
+
return buildLikeQuery(["name_", "code_"], keyword);
|
|
98906
98928
|
},
|
|
98907
98929
|
transform: transformLotData
|
|
98908
98930
|
},
|
|
@@ -98934,7 +98956,7 @@ var init_selectStrategy = __esmMin((() => {
|
|
|
98934
98956
|
isLinkQuery: true
|
|
98935
98957
|
};
|
|
98936
98958
|
if (keyword === null || keyword === void 0 ? void 0 : keyword.trim()) {
|
|
98937
|
-
const { queryData: searchQuery, exp } = buildLikeQuery(["name_", "code_"], keyword
|
|
98959
|
+
const { queryData: searchQuery, exp } = buildLikeQuery(["name_", "code_"], keyword);
|
|
98938
98960
|
return {
|
|
98939
98961
|
queryData: {
|
|
98940
98962
|
...queryData,
|
|
@@ -98948,7 +98970,7 @@ var init_selectStrategy = __esmMin((() => {
|
|
|
98948
98970
|
exp: ""
|
|
98949
98971
|
};
|
|
98950
98972
|
}
|
|
98951
|
-
return buildLikeQuery(["name_", "code_"], keyword
|
|
98973
|
+
return buildLikeQuery(["name_", "code_"], keyword);
|
|
98952
98974
|
},
|
|
98953
98975
|
transform: transformLotData
|
|
98954
98976
|
},
|
|
@@ -98957,7 +98979,7 @@ var init_selectStrategy = __esmMin((() => {
|
|
|
98957
98979
|
fetcher: "ref",
|
|
98958
98980
|
clearFieldId: "not_good_reason_1_",
|
|
98959
98981
|
buildQuery({ keyword }) {
|
|
98960
|
-
return buildLikeQuery(["name_", "code_"], keyword
|
|
98982
|
+
return buildLikeQuery(["name_", "code_"], keyword);
|
|
98961
98983
|
},
|
|
98962
98984
|
transform: transformLotData
|
|
98963
98985
|
},
|
|
@@ -98989,7 +99011,7 @@ var init_selectStrategy = __esmMin((() => {
|
|
|
98989
99011
|
isLinkQuery: true
|
|
98990
99012
|
};
|
|
98991
99013
|
if (keyword === null || keyword === void 0 ? void 0 : keyword.trim()) {
|
|
98992
|
-
const { queryData: searchQuery, exp } = buildLikeQuery(["name_", "code_"], keyword
|
|
99014
|
+
const { queryData: searchQuery, exp } = buildLikeQuery(["name_", "code_"], keyword);
|
|
98993
99015
|
return {
|
|
98994
99016
|
queryData: {
|
|
98995
99017
|
...queryData,
|
|
@@ -99003,7 +99025,7 @@ var init_selectStrategy = __esmMin((() => {
|
|
|
99003
99025
|
exp: ""
|
|
99004
99026
|
};
|
|
99005
99027
|
}
|
|
99006
|
-
return buildLikeQuery(["name_", "code_"], keyword
|
|
99028
|
+
return buildLikeQuery(["name_", "code_"], keyword);
|
|
99007
99029
|
},
|
|
99008
99030
|
transform: transformLotData
|
|
99009
99031
|
},
|
|
@@ -99012,14 +99034,8 @@ var init_selectStrategy = __esmMin((() => {
|
|
|
99012
99034
|
fetcher: "rdo2ref",
|
|
99013
99035
|
isTree: true,
|
|
99014
99036
|
buildQuery({ keyword, searchField, extraParams }) {
|
|
99015
|
-
if (searchField === null || searchField === void 0 ? void 0 : searchField.length) return buildRefQuickSearchQuery(searchField, keyword,
|
|
99016
|
-
|
|
99017
|
-
...extraParams
|
|
99018
|
-
});
|
|
99019
|
-
return buildLikeQuery(["name_", "code_"], keyword, {
|
|
99020
|
-
operating_state_: true,
|
|
99021
|
-
...extraParams
|
|
99022
|
-
});
|
|
99037
|
+
if (searchField === null || searchField === void 0 ? void 0 : searchField.length) return buildRefQuickSearchQuery(searchField, keyword, extraParams);
|
|
99038
|
+
return buildLikeQuery(["name_", "code_"], keyword, extraParams);
|
|
99023
99039
|
},
|
|
99024
99040
|
transform: transformTreeData
|
|
99025
99041
|
},
|
|
@@ -99028,10 +99044,7 @@ var init_selectStrategy = __esmMin((() => {
|
|
|
99028
99044
|
fetcher: "rdo2ref",
|
|
99029
99045
|
isTree: true,
|
|
99030
99046
|
buildQuery({ keyword, searchField, extraParams }) {
|
|
99031
|
-
return buildLikeQuery((searchField === null || searchField === void 0 ? void 0 : searchField.length) ? searchField : ["name_", "code_"], keyword,
|
|
99032
|
-
operating_state_: true,
|
|
99033
|
-
...extraParams
|
|
99034
|
-
});
|
|
99047
|
+
return buildLikeQuery((searchField === null || searchField === void 0 ? void 0 : searchField.length) ? searchField : ["name_", "code_"], keyword, extraParams);
|
|
99035
99048
|
},
|
|
99036
99049
|
transform: transformTreeData
|
|
99037
99050
|
},
|
|
@@ -99040,14 +99053,14 @@ var init_selectStrategy = __esmMin((() => {
|
|
|
99040
99053
|
fetcher: "rdo2ref",
|
|
99041
99054
|
isTree: true,
|
|
99042
99055
|
buildQuery({ keyword, searchField }) {
|
|
99043
|
-
return buildLikeQuery((searchField === null || searchField === void 0 ? void 0 : searchField.length) ? searchField : ["name_", "code_"], keyword
|
|
99056
|
+
return buildLikeQuery((searchField === null || searchField === void 0 ? void 0 : searchField.length) ? searchField : ["name_", "code_"], keyword);
|
|
99044
99057
|
},
|
|
99045
99058
|
transform: transformTreeData
|
|
99046
99059
|
},
|
|
99047
|
-
[FIELD_TYPE.WAREHOUSE]:
|
|
99048
|
-
[FIELD_TYPE.TARGET_WAREHOUSE]:
|
|
99049
|
-
[FIELD_TYPE.LOCATION]:
|
|
99050
|
-
[FIELD_TYPE.SHOPFLOOR]:
|
|
99060
|
+
[FIELD_TYPE.WAREHOUSE]: REF_OPERATING_STATE_STRATEGY,
|
|
99061
|
+
[FIELD_TYPE.TARGET_WAREHOUSE]: REF_OPERATING_STATE_STRATEGY,
|
|
99062
|
+
[FIELD_TYPE.LOCATION]: REF_OPERATING_STATE_STRATEGY,
|
|
99063
|
+
[FIELD_TYPE.SHOPFLOOR]: REF_OPERATING_STATE_STRATEGY,
|
|
99051
99064
|
[FIELD_TYPE.REF]: REF_STRATEGY,
|
|
99052
99065
|
[FIELD_TYPE.MODEL_RELATION]: REF_STRATEGY,
|
|
99053
99066
|
[FIELD_TYPE.PRODUCTION_CONTAINER]: {
|
|
@@ -100208,18 +100221,21 @@ var init_of_inst_num_enricher = __esmMin((() => {
|
|
|
100208
100221
|
}));
|
|
100209
100222
|
//#endregion
|
|
100210
100223
|
//#region src/core/data/enrichers/operation-receive-qty-enricher.ts
|
|
100211
|
-
|
|
100224
|
+
/** 上下文 → getOne query;缺任一条件则不请求 */
|
|
100225
|
+
function resolveQtyCurrentQuery(doc) {
|
|
100212
100226
|
const containerId = readContextParam(doc, "containerId");
|
|
100213
100227
|
const routingOperationId = readContextParam(doc, "routingOperationId");
|
|
100228
|
+
if (isBlank$1(containerId) || isBlank$1(routingOperationId)) return void 0;
|
|
100214
100229
|
return {
|
|
100215
|
-
|
|
100216
|
-
|
|
100230
|
+
container_id_: String(containerId),
|
|
100231
|
+
routing_operation_id_: String(routingOperationId)
|
|
100217
100232
|
};
|
|
100218
100233
|
}
|
|
100219
100234
|
function parseQtyCurrent(res) {
|
|
100220
|
-
const payload = unwrapBizServiceData(res)
|
|
100221
|
-
|
|
100222
|
-
|
|
100235
|
+
const payload = unwrapBizServiceData(res);
|
|
100236
|
+
const row = (payload === null || payload === void 0 ? void 0 : payload.data) && typeof payload.data === "object" ? payload.data : payload;
|
|
100237
|
+
if (!row) return void 0;
|
|
100238
|
+
const raw = row.qty_current_;
|
|
100223
100239
|
if (raw === void 0 || raw === null || raw === "") return void 0;
|
|
100224
100240
|
const num = Number(raw);
|
|
100225
100241
|
return Number.isNaN(num) ? void 0 : num;
|
|
@@ -100237,12 +100253,9 @@ async function fetchQtyCurrent(doc) {
|
|
|
100237
100253
|
const existing = inflightQtyByDoc.get(doc);
|
|
100238
100254
|
if (existing) return existing;
|
|
100239
100255
|
const task = (async () => {
|
|
100240
|
-
const
|
|
100241
|
-
if (!
|
|
100242
|
-
return parseQtyCurrent(await callBizService(OPERATION_RECEIVE_QTY_API, {
|
|
100243
|
-
containerId,
|
|
100244
|
-
routingOperationId
|
|
100245
|
-
}));
|
|
100256
|
+
const query = resolveQtyCurrentQuery(doc);
|
|
100257
|
+
if (!query) return void 0;
|
|
100258
|
+
return parseQtyCurrent(await callBizService(OPERATION_RECEIVE_QTY_API, { query }));
|
|
100246
100259
|
})();
|
|
100247
100260
|
inflightQtyByDoc.set(doc, task);
|
|
100248
100261
|
try {
|
|
@@ -100263,7 +100276,7 @@ function tryCollectOperationReceiveQtyTarget(instance) {
|
|
|
100263
100276
|
if (!field || field.fieldType !== FIELD_TYPE.OPERATION_RECEIVE_QTY || !instance.valuePath) return null;
|
|
100264
100277
|
return { valuePath: String(instance.valuePath) };
|
|
100265
100278
|
}
|
|
100266
|
-
/** 工序接收数量:
|
|
100279
|
+
/** 工序接收数量:getOne query 取 container_id_ / routing_operation_id_,空值时拉取 qty_current_ */
|
|
100267
100280
|
function createOperationReceiveQtyEnricher(doc, targets) {
|
|
100268
100281
|
const pathMatchers = targets.map((item) => createValuePathMatcher(item.valuePath));
|
|
100269
100282
|
return {
|
|
@@ -137240,16 +137253,11 @@ async function submitDeviceScan(params) {
|
|
|
137240
137253
|
ok: false,
|
|
137241
137254
|
message: MSG_NO_CODE
|
|
137242
137255
|
};
|
|
137243
|
-
const { queryData, exp } =
|
|
137244
|
-
|
|
137245
|
-
|
|
137246
|
-
}));
|
|
137247
|
-
const option = (_res$options = (await apiFetchers.ref.getOptions({
|
|
137248
|
-
fieldKey: fieldInfo.key,
|
|
137249
|
-
modelKey: fieldInfo.modelKey,
|
|
137250
|
-
refModelKey: fieldInfo.bindInfo,
|
|
137251
|
-
exp,
|
|
137256
|
+
const { queryData, exp } = buildDeviceQuickSearchQuery([], "", { "code_.eq": code }, deviceGroupId);
|
|
137257
|
+
const option = (_res$options = (await apiFetchers.biz.getOptions({
|
|
137258
|
+
api: DEVICE_SEARCH_API,
|
|
137252
137259
|
queryData,
|
|
137260
|
+
exp,
|
|
137253
137261
|
pageNo: 1,
|
|
137254
137262
|
pageSize: 30
|
|
137255
137263
|
})).options) === null || _res$options === void 0 ? void 0 : _res$options[0];
|
|
@@ -139434,7 +139442,8 @@ function useTableDropdown(props, searchFilters) {
|
|
|
139434
139442
|
deviceTypeId: deviceTypeId ?? (filters === null || filters === void 0 ? void 0 : filters.deviceTypeId),
|
|
139435
139443
|
deviceGroupId: widgetProps.value.enableCascadeDataFilter ? widgetProps.value.deviceGroupId : void 0,
|
|
139436
139444
|
extraParams,
|
|
139437
|
-
optionMapping
|
|
139445
|
+
optionMapping,
|
|
139446
|
+
isMockReport: !!docInst.value.isMockReport
|
|
139438
139447
|
})) ?? {};
|
|
139439
139448
|
const apiFetcher = apiFetchers[fetcher];
|
|
139440
139449
|
if (!apiFetcher) return {
|
|
@@ -165225,7 +165234,7 @@ async function fetchProductOptions() {
|
|
|
165225
165234
|
modelCategory: ENTITY_CATEGORY$1
|
|
165226
165235
|
}, {}, {
|
|
165227
165236
|
exp: "",
|
|
165228
|
-
query: {
|
|
165237
|
+
query: {},
|
|
165229
165238
|
pageNo: 1,
|
|
165230
165239
|
pageSize: 9999
|
|
165231
165240
|
});
|
|
@@ -165244,7 +165253,7 @@ async function fetchUomConvertRuleOptions() {
|
|
|
165244
165253
|
modelKey: UOM_CONVERT_RULE_MODEL_KEY,
|
|
165245
165254
|
modelCategory: ENTITY_CATEGORY$1
|
|
165246
165255
|
}, {}, {
|
|
165247
|
-
query: {
|
|
165256
|
+
query: {},
|
|
165248
165257
|
pageNo: 1,
|
|
165249
165258
|
pageSize: 999
|
|
165250
165259
|
});
|
|
@@ -169781,7 +169790,7 @@ var field_e_sop_version_config_vue_vue_type_script_setup_true_lang_default = /*@
|
|
|
169781
169790
|
modelCategory: "entity"
|
|
169782
169791
|
}, {}, {
|
|
169783
169792
|
exp: "",
|
|
169784
|
-
query: {
|
|
169793
|
+
query: {},
|
|
169785
169794
|
pageNo: 1,
|
|
169786
169795
|
pageSize: 9999
|
|
169787
169796
|
});
|
|
@@ -169873,7 +169882,7 @@ var field_e_sop_version_config_vue_vue_type_script_setup_true_lang_default = /*@
|
|
|
169873
169882
|
//#region src/suites/edhr/panel-config/field/e-sop-version/field-e-sop-version-config.vue
|
|
169874
169883
|
var field_e_sop_version_config_exports = /* @__PURE__ */ __exportAll({ default: () => field_e_sop_version_config_default });
|
|
169875
169884
|
init__plugin_vue_export_helper();
|
|
169876
|
-
var field_e_sop_version_config_default = /*#__PURE__*/ _plugin_vue_export_helper_default(field_e_sop_version_config_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
169885
|
+
var field_e_sop_version_config_default = /*#__PURE__*/ _plugin_vue_export_helper_default(field_e_sop_version_config_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-378f7219"]]);
|
|
169877
169886
|
//#endregion
|
|
169878
169887
|
//#region src/suites/shared/panel/config/editor/enum-opt-editor/enum-option-item.vue?vue&type=script&setup=true&lang.ts
|
|
169879
169888
|
init_base$2();
|
|
@@ -18,8 +18,8 @@ export declare function buildLikeQuery(searchFields: string[], keyword: string,
|
|
|
18
18
|
queryData: Record<string, any>;
|
|
19
19
|
exp: string;
|
|
20
20
|
};
|
|
21
|
-
/**
|
|
22
|
-
export declare function buildDeviceQuickSearchQuery(quickSearchField: string[] | undefined, keyword: string, extraQuery?: Record<string, any
|
|
21
|
+
/** 设备下拉:条件与 ref 相同;deviceGroupId 只进 query,不进 exp。 */
|
|
22
|
+
export declare function buildDeviceQuickSearchQuery(quickSearchField: string[] | undefined, keyword: string, extraQuery?: Record<string, any>, deviceGroupId?: string): {
|
|
23
23
|
queryData: Record<string, any>;
|
|
24
24
|
exp: string;
|
|
25
25
|
};
|
package/dist/word.css
CHANGED
|
@@ -13618,7 +13618,7 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
13618
13618
|
.panel-field-datetime-config[data-v-c9d1de47] {
|
|
13619
13619
|
padding: 16px;
|
|
13620
13620
|
}
|
|
13621
|
-
.panel-field-e-sop-version-config[data-v-
|
|
13621
|
+
.panel-field-e-sop-version-config[data-v-378f7219] {
|
|
13622
13622
|
padding: 16px;
|
|
13623
13623
|
}
|
|
13624
13624
|
.enum-option-item[data-v-b9876231] {
|