@kengic/core.react 0.0.2-beta.5 → 0.0.2-beta.6
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/kengic-core.react.js +2 -2
- package/package.json +1 -1
- package/src/api/WMS/models.d.ts +15 -1
package/kengic-core.react.js
CHANGED
|
@@ -67735,7 +67735,7 @@ class KgUtil {
|
|
|
67735
67735
|
}
|
|
67736
67736
|
function KgWorkStationModal() {
|
|
67737
67737
|
var $a;
|
|
67738
|
-
const e = useID(), t = doKgWorkStation(e), r = useIntl(), n = useKg(), a = useDispatch(), s = useSelector(isVisibleSelector(e)), u = useSelector(isOpenSelector(e)), [p, C] = reactExports.useState([]), [w, L] = reactExports.useState(!1), [G, ne] = reactExports.useState([]), [oe, ie] = reactExports.useState([]), [ue, ae] = reactExports.useState(""), [ut, ea] = reactExports.useState(""), ct = useSelector(workStationSelector()), ra = useSelector(workStationAreaSelector()), ta = (($a = p.find((va) => va.devcod === G[0])) == null ? void 0 : $a.
|
|
67738
|
+
const e = useID(), t = doKgWorkStation(e), r = useIntl(), n = useKg(), a = useDispatch(), s = useSelector(isVisibleSelector(e)), u = useSelector(isOpenSelector(e)), [p, C] = reactExports.useState([]), [w, L] = reactExports.useState(!1), [G, ne] = reactExports.useState([]), [oe, ie] = reactExports.useState([]), [ue, ae] = reactExports.useState(""), [ut, ea] = reactExports.useState(""), ct = useSelector(workStationSelector()), ra = useSelector(workStationAreaSelector()), ta = (($a = p.find((va) => va.devcod === G[0])) == null ? void 0 : $a.workstationAndAreaRelationshipDTOList) ?? [], oa = p.filter((va) => {
|
|
67739
67739
|
var ua, fa, ga, xa;
|
|
67740
67740
|
return ue ? ((fa = (ua = va.devcod) == null ? void 0 : ua.toLowerCase()) == null ? void 0 : fa.includes(ue.toLowerCase())) || ((xa = (ga = va.devcodDsc) == null ? void 0 : ga.toLowerCase()) == null ? void 0 : xa.includes(ue.toLowerCase())) : va;
|
|
67741
67741
|
}) ?? [], ia = ta.filter((va) => {
|
|
@@ -67823,7 +67823,7 @@ function KgWorkStationModal() {
|
|
|
67823
67823
|
try {
|
|
67824
67824
|
L(!0);
|
|
67825
67825
|
const fa = ((va = await List({ params: { pageNo: 1, pageSize: 999 } })) == null ? void 0 : va.records) ?? [];
|
|
67826
|
-
fa.find((ga) => ga.devcod === (ct == null ? void 0 : ct.devcod)) ? (ne([ct == null ? void 0 : ct.devcod]), (ua = ct == null ? void 0 : ct.
|
|
67826
|
+
fa.find((ga) => ga.devcod === (ct == null ? void 0 : ct.devcod)) ? (ne([ct == null ? void 0 : ct.devcod]), (ua = ct == null ? void 0 : ct.workstationAndAreaRelationshipDTOList) != null && ua.find((ga) => ga.wrkare === (ra == null ? void 0 : ra.wrkare)) ? ie([ra == null ? void 0 : ra.wrkare]) : ie([])) : (ne([]), ie([])), C(fa);
|
|
67827
67827
|
} finally {
|
|
67828
67828
|
L(!1);
|
|
67829
67829
|
}
|
package/package.json
CHANGED
package/src/api/WMS/models.d.ts
CHANGED
|
@@ -39,20 +39,34 @@ export declare class WorkstationDTO {
|
|
|
39
39
|
devcodDsc?: string | null;
|
|
40
40
|
/** 主工作区. */
|
|
41
41
|
hmewrkare?: string | null;
|
|
42
|
+
/** 主工作区描述. */
|
|
43
|
+
hmewrkareDsc?: string | null;
|
|
42
44
|
/** 主键. */
|
|
43
45
|
id?: string | null;
|
|
44
46
|
/** 创建日期. */
|
|
45
47
|
insDt?: string | null;
|
|
46
48
|
/** 创建用户. */
|
|
47
49
|
insUsrId?: string | null;
|
|
50
|
+
/** 标签打印机(Label Printer Address). */
|
|
51
|
+
lblPrtadr?: string | null;
|
|
52
|
+
/** 标签打印机名称. */
|
|
53
|
+
lblPrtadrDsc?: string | null;
|
|
54
|
+
/** 便携标签打印机(Mobile Printer Address). */
|
|
55
|
+
mobPrtadr?: string | null;
|
|
56
|
+
/** 便携标签打印机名称. */
|
|
57
|
+
mobPrtadrDsc?: string | null;
|
|
48
58
|
/** 修改日期. */
|
|
49
59
|
modUsrId?: string | null;
|
|
50
60
|
/** 修改用户. */
|
|
51
61
|
moddte?: string | null;
|
|
62
|
+
/** 纸张打印机(Paper Printer Address). */
|
|
63
|
+
papPrtadr?: string | null;
|
|
64
|
+
/** 纸张打印机名称. */
|
|
65
|
+
papPrtadrDsc?: string | null;
|
|
52
66
|
/** 仓库. */
|
|
53
67
|
whId?: string | null;
|
|
54
68
|
/** 工作站与工作区域关系. */
|
|
55
|
-
|
|
69
|
+
workstationAndAreaRelationshipDTOList?: Array<WorkstationAreaDTO> | null;
|
|
56
70
|
constructor(obj?: WorkstationDTO);
|
|
57
71
|
}
|
|
58
72
|
/**
|