@kengic/vue 0.5.27 → 0.5.29-beta.0
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/kengic-vue.js +75 -75
- package/dist/src/apis/WMS/Controllers/VarContextController/ExportXls.d.ts +0 -2
- package/dist/src/apis/WMS/Controllers/VarContextController/List.d.ts +0 -2
- package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +1 -1
- package/dist/src/apis/WMS/models.d.ts +4 -4
- package/dist/src/components/KgWarehouse/index.hooks.d.ts +2 -2
- package/dist/src/components/KgWarehouse/index.store.d.ts +4 -4
- package/package.json +1 -1
package/dist/kengic-vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var d = (e, t, r) => (
|
1
|
+
var Ie = Object.defineProperty;
|
2
|
+
var Ae = (e, t, r) => t in e ? Ie(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
3
|
+
var d = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
|
4
4
|
import { h, nextTick, createVNode, defineComponent, ref, Fragment, computed, unref, createTextVNode, getCurrentInstance, inject, markRaw, watch, reactive, effectScope, isRef, isReactive, toRef, toRaw, onUnmounted, toRefs, provide, isVNode, mergeProps, onMounted, Teleport, getCurrentScope, onScopeDispose } from "vue";
|
5
5
|
import { Button, Modal, Progress, Spin, Form, Checkbox, Divider, Row, Col, DatePicker, Input, InputNumber, Select, Switch, Drawer, message, Tag, Tabs, Dropdown, Menu, Table, Pagination, Upload, ConfigProvider, Transfer, Radio, Textarea, Card, TabPane, Tooltip } from "ant-design-vue";
|
6
6
|
const index$7 = "";
|
@@ -126,6 +126,7 @@ class VarButton {
|
|
126
126
|
d(this, "primary_flg");
|
127
127
|
d(this, "reload_all_after_done_flg");
|
128
128
|
d(this, "show_modal_flg");
|
129
|
+
d(this, "show_success_message_flg");
|
129
130
|
d(this, "srtseq");
|
130
131
|
d(this, "typ");
|
131
132
|
d(this, "var_nam");
|
@@ -150,6 +151,7 @@ class VarButton {
|
|
150
151
|
case "primary_flg":
|
151
152
|
case "reload_all_after_done_flg":
|
152
153
|
case "show_modal_flg":
|
154
|
+
case "show_success_message_flg":
|
153
155
|
case "srtseq":
|
154
156
|
case "typ":
|
155
157
|
case "var_nam":
|
@@ -186,14 +188,12 @@ class VarCatalog {
|
|
186
188
|
class VarContext {
|
187
189
|
constructor(t) {
|
188
190
|
d(this, "frm_id");
|
189
|
-
d(this, "frm_nam");
|
190
191
|
d(this, "grp_nam");
|
191
192
|
d(this, "id");
|
192
193
|
d(this, "var_nam");
|
193
194
|
keys$1(t != null ? t : {}).forEach((r) => {
|
194
195
|
switch (r) {
|
195
196
|
case "frm_id":
|
196
|
-
case "frm_nam":
|
197
197
|
case "grp_nam":
|
198
198
|
case "id":
|
199
199
|
case "var_nam":
|
@@ -741,7 +741,7 @@ class VarVariableInput {
|
|
741
741
|
});
|
742
742
|
}
|
743
743
|
}
|
744
|
-
class
|
744
|
+
class WhDTO {
|
745
745
|
constructor(t) {
|
746
746
|
d(this, "activeFlg");
|
747
747
|
d(this, "adrId");
|
@@ -887,14 +887,12 @@ Edit$1.url = "/var/VarContext/edit";
|
|
887
887
|
class ExportXlsQuery$1 {
|
888
888
|
constructor(t) {
|
889
889
|
d(this, "frm_id");
|
890
|
-
d(this, "frm_nam");
|
891
890
|
d(this, "grp_nam");
|
892
891
|
d(this, "id");
|
893
892
|
d(this, "var_nam");
|
894
893
|
keys$1(t != null ? t : {}).forEach((r) => {
|
895
894
|
switch (r) {
|
896
895
|
case "frm_id":
|
897
|
-
case "frm_nam":
|
898
896
|
case "grp_nam":
|
899
897
|
case "id":
|
900
898
|
case "var_nam":
|
@@ -933,7 +931,6 @@ ImportExcel$1.url = "/var/VarContext/importExcel";
|
|
933
931
|
class ListQuery$1 {
|
934
932
|
constructor(t) {
|
935
933
|
d(this, "frm_id");
|
936
|
-
d(this, "frm_nam");
|
937
934
|
d(this, "grp_nam");
|
938
935
|
d(this, "var_nam");
|
939
936
|
d(this, "column");
|
@@ -943,7 +940,6 @@ class ListQuery$1 {
|
|
943
940
|
keys$1(t != null ? t : {}).forEach((r) => {
|
944
941
|
switch (r) {
|
945
942
|
case "frm_id":
|
946
|
-
case "frm_nam":
|
947
943
|
case "grp_nam":
|
948
944
|
case "var_nam":
|
949
945
|
case "column":
|
@@ -4739,8 +4735,8 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
|
|
4739
4735
|
case g:
|
4740
4736
|
return G ? B(1, X) : B(0, X + 1);
|
4741
4737
|
case u:
|
4742
|
-
var ce = this.$locale().weekStart || 0,
|
4743
|
-
return B(G ? ae -
|
4738
|
+
var ce = this.$locale().weekStart || 0, fe = (Y < ce ? Y + 7 : Y) - ce;
|
4739
|
+
return B(G ? ae - fe : ae + (6 - fe), X);
|
4744
4740
|
case c:
|
4745
4741
|
case b:
|
4746
4742
|
return W(te + "Hours", 0);
|
@@ -4794,10 +4790,10 @@ var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u"
|
|
4794
4790
|
return P && (P[x] || P(D, G)) || H[x].slice(0, q);
|
4795
4791
|
}, ce = function(P) {
|
4796
4792
|
return w.s(B % 12 || 12, P, "0");
|
4797
|
-
},
|
4793
|
+
}, fe = R.meridiem || function(P, x, H) {
|
4798
4794
|
var q = P < 12 ? "AM" : "PM";
|
4799
4795
|
return H ? q.toLowerCase() : q;
|
4800
|
-
}, oe = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: Y + 1, MM: w.s(Y + 1, 2, "0"), MMM: te(R.monthsShort, Y, ae, 3), MMMM: te(ae, Y), D: this.$D, DD: w.s(this.$D, 2, "0"), d: String(this.$W), dd: te(R.weekdaysMin, this.$W, X, 2), ddd: te(R.weekdaysShort, this.$W, X, 3), dddd: X[this.$W], H: String(B), HH: w.s(B, 2, "0"), h: ce(1), hh: ce(2), a:
|
4796
|
+
}, oe = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: Y + 1, MM: w.s(Y + 1, 2, "0"), MMM: te(R.monthsShort, Y, ae, 3), MMMM: te(ae, Y), D: this.$D, DD: w.s(this.$D, 2, "0"), d: String(this.$W), dd: te(R.weekdaysMin, this.$W, X, 2), ddd: te(R.weekdaysShort, this.$W, X, 3), dddd: X[this.$W], H: String(B), HH: w.s(B, 2, "0"), h: ce(1), hh: ce(2), a: fe(B, W, !0), A: fe(B, W, !1), m: String(W), mm: w.s(W, 2, "0"), s: String(this.$s), ss: w.s(this.$s, 2, "0"), SSS: w.s(this.$ms, 3, "0"), Z: N };
|
4801
4797
|
return G.replace(C, function(P, x) {
|
4802
4798
|
return x || oe[P] || N.replace(":", "");
|
4803
4799
|
});
|
@@ -7351,14 +7347,18 @@ const KgFormItemCheckboxGroup = defineComponent({
|
|
7351
7347
|
emit: r,
|
7352
7348
|
attrs: n
|
7353
7349
|
}) {
|
7354
|
-
const a = inject("$dayjs", dayjs)
|
7355
|
-
|
7356
|
-
|
7357
|
-
|
7350
|
+
const a = inject("$dayjs", dayjs), o = computed(() => {
|
7351
|
+
let i = e.value;
|
7352
|
+
if (!!i && (a.isDayjs(i) || (i = a(i)), !!a.isDayjs(i)))
|
7353
|
+
return i;
|
7354
|
+
});
|
7355
|
+
function s(i) {
|
7356
|
+
const l = i ? a(i) : void 0;
|
7357
|
+
r("update:value", l), r("kgChange", l);
|
7358
7358
|
}
|
7359
7359
|
return () => createVNode(DatePicker, {
|
7360
|
-
value:
|
7361
|
-
"onUpdate:value":
|
7360
|
+
value: o.value,
|
7361
|
+
"onUpdate:value": s,
|
7362
7362
|
id: n.id,
|
7363
7363
|
disabled: e.kgDisabled,
|
7364
7364
|
placeholder: e.kgPlaceholder,
|
@@ -9701,7 +9701,7 @@ const getProps$p = () => ({
|
|
9701
9701
|
return m.value ? 398 : (z = (K = E.value) == null ? void 0 : K.max_width) != null ? z : DEFAULT_MAX_WIDTH;
|
9702
9702
|
}), B = computed(() => m.value ? 398 : D.value.kgWidth), W = ref(null), Y = ref({}), X = ref(null);
|
9703
9703
|
_useResizeObserver$1(X);
|
9704
|
-
const ae = _useTitle(), te = computed(() => m.value ? 400 : D.value.kgWidth && D.value.kgWidth > 0 ? D.value.kgWidth + 2 : 0), ce = computed(() => te.value === 0 ? !1 : !!(c.value || u.value || g.value || p.value)),
|
9704
|
+
const ae = _useTitle(), te = computed(() => m.value ? 400 : D.value.kgWidth && D.value.kgWidth > 0 ? D.value.kgWidth + 2 : 0), ce = computed(() => te.value === 0 ? !1 : !!(c.value || u.value || g.value || p.value)), fe = computed(() => {
|
9705
9705
|
var z, Q;
|
9706
9706
|
let K = "kg-submit";
|
9707
9707
|
return oe.isFullscreen && (K += " kg-submit--fullscreen"), ((z = E.value) == null ? void 0 : z.responsive_flg) !== 0 && (K += " kg-submit--responsive"), (((Q = E.value) == null ? void 0 : Q.display_type) === KG_VAR_SUBMIT__DISPLAY_TYPE.MODAL || p.value) && (K += " kg-submit--modal"), e.kgClass && (K += ` ${e.kgClass}`), K;
|
@@ -9801,24 +9801,24 @@ const getProps$p = () => ({
|
|
9801
9801
|
return;
|
9802
9802
|
switch (!0) {
|
9803
9803
|
case c.value:
|
9804
|
-
await
|
9804
|
+
await ge();
|
9805
9805
|
break;
|
9806
9806
|
case u.value:
|
9807
|
-
await
|
9807
|
+
await pe();
|
9808
9808
|
break;
|
9809
9809
|
case g.value:
|
9810
|
-
await
|
9810
|
+
await ye();
|
9811
9811
|
break;
|
9812
9812
|
case p.value:
|
9813
|
-
await
|
9813
|
+
await Se();
|
9814
9814
|
break;
|
9815
9815
|
}
|
9816
9816
|
} catch (Q) {
|
9817
9817
|
KgUtil.throwIfNotFormError(Q);
|
9818
9818
|
}
|
9819
9819
|
}
|
9820
|
-
async function
|
9821
|
-
var z, Q, Z, ne, se, ie, le;
|
9820
|
+
async function ge() {
|
9821
|
+
var z, Q, Z, ne, se, ie, le, ue;
|
9822
9822
|
const K = (z = b.value) == null ? void 0 : z.cmd;
|
9823
9823
|
if (!K) {
|
9824
9824
|
Logger.error("[KgSubmit] \u521B\u5EFA\u6309\u94AE\u7684\u63A5\u53E3\u5730\u5740\u4E3A\u7A7A.", {
|
@@ -9828,26 +9828,26 @@ const getProps$p = () => ({
|
|
9828
9828
|
}
|
9829
9829
|
a.store.setIsCreatingRequesting(a.formID, !0);
|
9830
9830
|
try {
|
9831
|
-
const ee = KgUtil.parseParams(KgVarUtil.parseCommandParameter((Z = (Q = b.value) == null ? void 0 : Q.cmd_prm) != null ? Z : ""), a.formID, r),
|
9831
|
+
const ee = KgUtil.parseParams(KgVarUtil.parseCommandParameter((Z = (Q = b.value) == null ? void 0 : Q.cmd_prm) != null ? Z : ""), a.formID, r), de = KgUtil.parseParams(toRaw(s.model.value), a.formID, r);
|
9832
9832
|
if (await s.store.emit(a.formID, "beforeRequest", {
|
9833
9833
|
params: ee,
|
9834
|
-
data:
|
9834
|
+
data: de
|
9835
9835
|
}))
|
9836
9836
|
return;
|
9837
9837
|
await httpClient().request({
|
9838
9838
|
method: (se = (ne = b.value) == null ? void 0 : ne.cmd_method) != null ? se : "POST",
|
9839
9839
|
url: K,
|
9840
9840
|
params: ee,
|
9841
|
-
data:
|
9842
|
-
}), message.success(ae.title.value + n.t("kg.succeed")), s.store.emit(a.formID, "ok"), a.store.setIsCreating(a.formID, !1), (
|
9841
|
+
data: de
|
9842
|
+
}), ((ie = b.value) == null ? void 0 : ie.show_success_message_flg) !== 0 && message.success(ae.title.value + n.t("kg.succeed")), s.store.emit(a.formID, "ok"), a.store.setIsCreating(a.formID, !1), (ue = (le = i.search).value) == null || ue.call(le, !0);
|
9843
9843
|
} catch (ee) {
|
9844
9844
|
console.error(ee);
|
9845
9845
|
} finally {
|
9846
9846
|
a.store.setIsCreatingRequesting(a.formID, !1);
|
9847
9847
|
}
|
9848
9848
|
}
|
9849
|
-
async function
|
9850
|
-
var z, Q, Z, ne, se, ie, le;
|
9849
|
+
async function pe() {
|
9850
|
+
var z, Q, Z, ne, se, ie, le, ue;
|
9851
9851
|
const K = (z = _.value) == null ? void 0 : z.cmd;
|
9852
9852
|
if (!K) {
|
9853
9853
|
Logger.error("[KgSubmit] \u66F4\u65B0\u6309\u94AE\u7684\u63A5\u53E3\u5730\u5740\u4E3A\u7A7A.", {
|
@@ -9857,26 +9857,26 @@ const getProps$p = () => ({
|
|
9857
9857
|
}
|
9858
9858
|
try {
|
9859
9859
|
a.store.setIsUpdatingRequesting(a.formID, !0);
|
9860
|
-
const ee = KgVarUtil.parseCommandParameter((Z = (Q = _.value) == null ? void 0 : Q.cmd_prm) != null ? Z : ""),
|
9860
|
+
const ee = KgVarUtil.parseCommandParameter((Z = (Q = _.value) == null ? void 0 : Q.cmd_prm) != null ? Z : ""), de = toRaw(s.model.value);
|
9861
9861
|
if (await s.store.emit(a.formID, "beforeRequest", {
|
9862
9862
|
params: ee,
|
9863
|
-
data:
|
9863
|
+
data: de
|
9864
9864
|
}))
|
9865
9865
|
return;
|
9866
9866
|
await httpClient().request({
|
9867
9867
|
method: (se = (ne = _.value) == null ? void 0 : ne.cmd_method) != null ? se : "POST",
|
9868
9868
|
url: K,
|
9869
9869
|
params: ee,
|
9870
|
-
data:
|
9871
|
-
}), message.success(n.t("kg.updateSuccess")), s.store.emit(a.formID, "ok"), a.store.setIsUpdating(a.formID, !1), (
|
9870
|
+
data: de
|
9871
|
+
}), ((ie = _.value) == null ? void 0 : ie.show_success_message_flg) !== 0 && message.success(n.t("kg.updateSuccess")), s.store.emit(a.formID, "ok"), a.store.setIsUpdating(a.formID, !1), (ue = (le = i.search).value) == null || ue.call(le);
|
9872
9872
|
} catch (ee) {
|
9873
9873
|
console.error(ee);
|
9874
9874
|
} finally {
|
9875
9875
|
a.store.setIsUpdatingRequesting(a.formID, !1);
|
9876
9876
|
}
|
9877
9877
|
}
|
9878
|
-
async function
|
9879
|
-
var z, Q, Z, ne, se, ie, le;
|
9878
|
+
async function ye() {
|
9879
|
+
var z, Q, Z, ne, se, ie, le, ue;
|
9880
9880
|
const K = (z = v.value) == null ? void 0 : z.cmd;
|
9881
9881
|
if (!K) {
|
9882
9882
|
Logger.error("[KgSubmit] \u590D\u5236\u6309\u94AE\u7684\u63A5\u53E3\u5730\u5740\u4E3A\u7A7A.", {
|
@@ -9886,26 +9886,26 @@ const getProps$p = () => ({
|
|
9886
9886
|
}
|
9887
9887
|
try {
|
9888
9888
|
a.store.setIsCopyingRequesting(a.formID, !0);
|
9889
|
-
const ee = KgVarUtil.parseCommandParameter((Z = (Q = v.value) == null ? void 0 : Q.cmd_prm) != null ? Z : ""),
|
9890
|
-
if (delete
|
9889
|
+
const ee = KgVarUtil.parseCommandParameter((Z = (Q = v.value) == null ? void 0 : Q.cmd_prm) != null ? Z : ""), de = toRaw(s.model.value);
|
9890
|
+
if (delete de.id, await s.store.emit(a.formID, "beforeRequest", {
|
9891
9891
|
params: ee,
|
9892
|
-
data:
|
9892
|
+
data: de
|
9893
9893
|
}))
|
9894
9894
|
return;
|
9895
9895
|
await httpClient().request({
|
9896
9896
|
method: (se = (ne = v.value) == null ? void 0 : ne.cmd_method) != null ? se : "POST",
|
9897
9897
|
url: K,
|
9898
9898
|
params: ee,
|
9899
|
-
data:
|
9900
|
-
}), message.success(n.t("kg.copySuccess")), s.store.emit(a.formID, "ok"), a.store.setIsCopying(a.formID, !1), (
|
9899
|
+
data: de
|
9900
|
+
}), ((ie = v.value) == null ? void 0 : ie.show_success_message_flg) !== 0 && message.success(n.t("kg.copySuccess")), s.store.emit(a.formID, "ok"), a.store.setIsCopying(a.formID, !1), (ue = (le = i.search).value) == null || ue.call(le, !0);
|
9901
9901
|
} catch (ee) {
|
9902
9902
|
console.error(ee);
|
9903
9903
|
} finally {
|
9904
9904
|
a.store.setIsCopyingRequesting(a.formID, !1);
|
9905
9905
|
}
|
9906
9906
|
}
|
9907
|
-
async function
|
9908
|
-
var z, Q, Z, ne, se, ie, le;
|
9907
|
+
async function Se() {
|
9908
|
+
var z, Q, Z, ne, se, ie, le, ue;
|
9909
9909
|
const K = (z = C.value) == null ? void 0 : z.cmd;
|
9910
9910
|
if (!K) {
|
9911
9911
|
Logger.error("[KgSubmit] \u5220\u9664\u6309\u94AE\u7684\u63A5\u53E3\u5730\u5740\u4E3A\u7A7A.", {
|
@@ -9916,9 +9916,9 @@ const getProps$p = () => ({
|
|
9916
9916
|
try {
|
9917
9917
|
a.store.setIsDeletingRequesting(a.formID, !0);
|
9918
9918
|
const ee = {
|
9919
|
-
ids: (Z = (Q = o.selectedRows.value) == null ? void 0 : Q.map((
|
9920
|
-
var
|
9921
|
-
return (
|
9919
|
+
ids: (Z = (Q = o.selectedRows.value) == null ? void 0 : Q.map((me) => {
|
9920
|
+
var _e, ve, be;
|
9921
|
+
return (be = me[(ve = (_e = C.value) == null ? void 0 : _e.del_param_clm) != null ? ve : "id"]) != null ? be : "";
|
9922
9922
|
})) != null ? Z : []
|
9923
9923
|
};
|
9924
9924
|
if (await s.store.emit(a.formID, "beforeRequest", {
|
@@ -9932,14 +9932,14 @@ const getProps$p = () => ({
|
|
9932
9932
|
params: ee
|
9933
9933
|
}, {
|
9934
9934
|
joinParamsToUrl: !0
|
9935
|
-
}), message.success(n.t("kg.deleteSuccess")), s.store.emit(a.formID, "ok"), a.store.setIsDeleting(a.formID, !1), (
|
9935
|
+
}), ((ie = C.value) == null ? void 0 : ie.show_success_message_flg) !== 0 && message.success(n.t("kg.deleteSuccess")), s.store.emit(a.formID, "ok"), a.store.setIsDeleting(a.formID, !1), (ue = (le = i.search).value) == null || ue.call(le, !0);
|
9936
9936
|
} catch (ee) {
|
9937
9937
|
console.error(ee);
|
9938
9938
|
} finally {
|
9939
9939
|
a.store.setIsDeletingRequesting(a.formID, !1);
|
9940
9940
|
}
|
9941
9941
|
}
|
9942
|
-
function
|
9942
|
+
function he(K) {
|
9943
9943
|
var Q, Z;
|
9944
9944
|
const z = (Z = (Q = l == null ? void 0 : l.KgSubmit) == null ? void 0 : Q["KgForm.Item"]) == null ? void 0 : Z[K.var_nam];
|
9945
9945
|
return isFunction$2(z) ? createVNode(KgForm.Item, {
|
@@ -9953,15 +9953,15 @@ const getProps$p = () => ({
|
|
9953
9953
|
props: se,
|
9954
9954
|
model: ie,
|
9955
9955
|
varConfig: le,
|
9956
|
-
varProfileDetail:
|
9957
|
-
varSubmitField:
|
9956
|
+
varProfileDetail: ue,
|
9957
|
+
varSubmitField: ee
|
9958
9958
|
}) => z({
|
9959
9959
|
varName: ne,
|
9960
9960
|
props: se,
|
9961
9961
|
model: ie,
|
9962
9962
|
varConfig: le,
|
9963
|
-
varProfileDetail:
|
9964
|
-
varSubmitField:
|
9963
|
+
varProfileDetail: ue,
|
9964
|
+
varSubmitField: ee
|
9965
9965
|
})
|
9966
9966
|
}) : createVNode(KgForm.Item, {
|
9967
9967
|
kgVarName: K.var_nam,
|
@@ -9970,7 +9970,7 @@ const getProps$p = () => ({
|
|
9970
9970
|
onKgSubmit: J
|
9971
9971
|
}, null);
|
9972
9972
|
}
|
9973
|
-
function
|
9973
|
+
function Ce() {
|
9974
9974
|
var Q;
|
9975
9975
|
let K, z;
|
9976
9976
|
return createVNode(KgResizable, {
|
@@ -9997,11 +9997,11 @@ const getProps$p = () => ({
|
|
9997
9997
|
ref: X
|
9998
9998
|
}, [U.value.length > 0 && createVNode(Row, {
|
9999
9999
|
gutter: 12
|
10000
|
-
}, _isSlot$7(K = U.value.map(
|
10000
|
+
}, _isSlot$7(K = U.value.map(he)) ? K : {
|
10001
10001
|
default: () => [K]
|
10002
10002
|
}), U.value.length > 0 && I.value.length > 0 && createVNode(Divider, null, null), I.value.length > 0 && createVNode(Row, {
|
10003
10003
|
gutter: 12
|
10004
|
-
}, _isSlot$7(z = I.value.map(
|
10004
|
+
}, _isSlot$7(z = I.value.map(he)) ? z : {
|
10005
10005
|
default: () => [z]
|
10006
10006
|
}), m.value && createVNode("div", {
|
10007
10007
|
style: "text-align: center; padding: 6px 0 12px;"
|
@@ -10011,7 +10011,7 @@ const getProps$p = () => ({
|
|
10011
10011
|
})]
|
10012
10012
|
});
|
10013
10013
|
}
|
10014
|
-
function
|
10014
|
+
function Te() {
|
10015
10015
|
let K, z;
|
10016
10016
|
return createVNode("div", null, [createVNode(Button, {
|
10017
10017
|
type: "primary",
|
@@ -10030,12 +10030,12 @@ const getProps$p = () => ({
|
|
10030
10030
|
default: () => [z]
|
10031
10031
|
})]);
|
10032
10032
|
}
|
10033
|
-
function
|
10033
|
+
function Ee() {
|
10034
10034
|
return createVNode("div", {
|
10035
10035
|
title: ae.title.value
|
10036
10036
|
}, [ae.title.value]);
|
10037
10037
|
}
|
10038
|
-
function
|
10038
|
+
function ke() {
|
10039
10039
|
return createVNode(KgSubmitHeader, {
|
10040
10040
|
isFullscreen: oe.isFullscreen,
|
10041
10041
|
"onUpdate:isFullscreen": (K) => oe.isFullscreen = K,
|
@@ -10054,13 +10054,13 @@ const getProps$p = () => ({
|
|
10054
10054
|
keyboard: !1,
|
10055
10055
|
destroyOnClose: !0,
|
10056
10056
|
width: te.value,
|
10057
|
-
class:
|
10057
|
+
class: fe.value,
|
10058
10058
|
"kg-frm-id": a.formID
|
10059
10059
|
}, {
|
10060
|
-
title:
|
10061
|
-
extra:
|
10062
|
-
default:
|
10063
|
-
footer:
|
10060
|
+
title: Ee,
|
10061
|
+
extra: ke,
|
10062
|
+
default: Ce,
|
10063
|
+
footer: Te
|
10064
10064
|
});
|
10065
10065
|
}
|
10066
10066
|
}), KgVar$1 = "", getProps$o = () => ({
|
@@ -10917,7 +10917,7 @@ const KgTable$1 = "", KgTable = defineComponent({
|
|
10917
10917
|
var P, x;
|
10918
10918
|
return (x = (P = v.value) == null ? void 0 : P.cmd) != null ? x : null;
|
10919
10919
|
}), V = computed(() => {
|
10920
|
-
var x, H, q, re, J,
|
10920
|
+
var x, H, q, re, J, ge, pe;
|
10921
10921
|
let P = {
|
10922
10922
|
pageNo: A.pageIndex,
|
10923
10923
|
pageSize: A.pageSize,
|
@@ -10929,8 +10929,8 @@ const KgTable$1 = "", KgTable = defineComponent({
|
|
10929
10929
|
...KgVarUtil.parseCommandParameter((re = (q = v.value) == null ? void 0 : q.cmd_prm) != null ? re : "")
|
10930
10930
|
}), (J = s.varGridConfig.value) != null && J.cmd_prm && (P = {
|
10931
10931
|
...P,
|
10932
|
-
...KgVarUtil.parseCommandParameter((
|
10933
|
-
}), ((
|
10932
|
+
...KgVarUtil.parseCommandParameter((ge = s.varGridConfig.value.cmd_prm) != null ? ge : "")
|
10933
|
+
}), ((pe = s.varGridConfig.value) == null ? void 0 : pe.convert_sort_field_to_under_score_flg) === 1 && P.column && (P.column = snakeCase$1(P.column)), P;
|
10934
10934
|
}), w = computed(() => {
|
10935
10935
|
var P;
|
10936
10936
|
if (((P = s.varGridConfig.value) == null ? void 0 : P.show_check_column_flg) === 1)
|
@@ -11103,7 +11103,7 @@ const KgTable$1 = "", KgTable = defineComponent({
|
|
11103
11103
|
return createVNode("pre", null, [P]);
|
11104
11104
|
}
|
11105
11105
|
}
|
11106
|
-
function
|
11106
|
+
function fe({
|
11107
11107
|
column: P,
|
11108
11108
|
index: x,
|
11109
11109
|
record: H,
|
@@ -11119,7 +11119,7 @@ const KgTable$1 = "", KgTable = defineComponent({
|
|
11119
11119
|
value: q,
|
11120
11120
|
renderIndex: x
|
11121
11121
|
}) : J = q;
|
11122
|
-
const
|
11122
|
+
const ge = createVNode(KgTableCell, {
|
11123
11123
|
kgRow: H,
|
11124
11124
|
kgValue: J,
|
11125
11125
|
kgVarName: P.dataIndex,
|
@@ -11130,8 +11130,8 @@ const KgTable$1 = "", KgTable = defineComponent({
|
|
11130
11130
|
record: H,
|
11131
11131
|
index: x,
|
11132
11132
|
column: P,
|
11133
|
-
defaultRender:
|
11134
|
-
}) :
|
11133
|
+
defaultRender: ge
|
11134
|
+
}) : ge;
|
11135
11135
|
}
|
11136
11136
|
function oe() {
|
11137
11137
|
return !y.value && !c.store.getIsRetrieved(s.formID) ? o.t("kg.KgTable.emptyText") : o.t("kg.emptyText");
|
@@ -11166,7 +11166,7 @@ const KgTable$1 = "", KgTable = defineComponent({
|
|
11166
11166
|
onExpand: X
|
11167
11167
|
}, {
|
11168
11168
|
headerCell: ce,
|
11169
|
-
bodyCell:
|
11169
|
+
bodyCell: fe,
|
11170
11170
|
emptyText: oe,
|
11171
11171
|
expandedRowRender: (P = a == null ? void 0 : a.KgTable) == null ? void 0 : P.expandedRowRender
|
11172
11172
|
}), (E.value || T.value) && createVNode("div", {
|
@@ -14037,7 +14037,7 @@ export {
|
|
14037
14037
|
VarSubmitField,
|
14038
14038
|
VarVariableConfig,
|
14039
14039
|
VarVariableInput,
|
14040
|
-
|
14040
|
+
WhDTO,
|
14041
14041
|
createKgWarehouseGuard,
|
14042
14042
|
getAppByPath,
|
14043
14043
|
getAppIndexPath,
|
@@ -3,8 +3,6 @@ import { IRequestConfig, IRequestOptions } from '../../../../services';
|
|
3
3
|
export declare class ExportXlsQuery {
|
4
4
|
/** 界面标识(FormID). */
|
5
5
|
frm_id?: string | null;
|
6
|
-
/** 界面名称(FormName). */
|
7
|
-
frm_nam?: string | null;
|
8
6
|
/** 分组(GroupName). */
|
9
7
|
grp_nam?: string | null;
|
10
8
|
/** 主键. */
|
@@ -43,7 +43,7 @@ wh-分页列表查询VO
|
|
43
43
|
* @param config 请求配置.
|
44
44
|
* @param option 请求选项.
|
45
45
|
*/
|
46
|
-
export declare function ListVO(config?: IRequestConfig<ListVOQuery, {}>, option?: IRequestOptions): Promise<DEF.WMS.IPage<DEF.WMS.
|
46
|
+
export declare function ListVO(config?: IRequestConfig<ListVOQuery, {}>, option?: IRequestOptions): Promise<DEF.WMS.IPage<DEF.WMS.WhDTO>>;
|
47
47
|
export declare namespace ListVO {
|
48
48
|
var method: "GET";
|
49
49
|
var url: string;
|
@@ -105,6 +105,8 @@ export declare class VarButton {
|
|
105
105
|
reload_all_after_done_flg?: number | null;
|
106
106
|
/** 是否显示确认弹窗. */
|
107
107
|
show_modal_flg?: number | null;
|
108
|
+
/** 是否显示成功消息提示. */
|
109
|
+
show_success_message_flg?: number | null;
|
108
110
|
/** 显示顺序(SortSequence). */
|
109
111
|
srtseq?: number | null;
|
110
112
|
/** 按钮类型(Type). */
|
@@ -135,8 +137,6 @@ export declare class VarCatalog {
|
|
135
137
|
export declare class VarContext {
|
136
138
|
/** 界面标识(FormID). */
|
137
139
|
frm_id?: string | null;
|
138
|
-
/** 界面名称(FormName). */
|
139
|
-
frm_nam?: string | null;
|
140
140
|
/** 分组(GroupName). */
|
141
141
|
grp_nam?: string | null;
|
142
142
|
/** 主键. */
|
@@ -582,7 +582,7 @@ export declare class VarVariableInput {
|
|
582
582
|
constructor(obj?: VarVariableInput);
|
583
583
|
}
|
584
584
|
/** 仓库(Warehouse). */
|
585
|
-
export declare class
|
585
|
+
export declare class WhDTO {
|
586
586
|
/** 是否活动 */
|
587
587
|
activeFlg?: number | null;
|
588
588
|
/** 地址编号 */
|
@@ -607,7 +607,7 @@ export declare class WhVO {
|
|
607
607
|
whDsc?: string | null;
|
608
608
|
/** 仓库编号 */
|
609
609
|
whId?: string | null;
|
610
|
-
constructor(obj?:
|
610
|
+
constructor(obj?: WhDTO);
|
611
611
|
}
|
612
612
|
/**
|
613
613
|
* 获取对象的属性名数组.
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { Pinia } from 'pinia';
|
2
2
|
import { ComputedRef } from 'vue';
|
3
|
-
import {
|
3
|
+
import { WhDTO } from '../../apis/WMS/models';
|
4
4
|
import { IRemoveEventListenerHandler } from '../../consts';
|
5
5
|
import { IKgWarehouseMountedCb, IKgWarehouseStore } from './index.store';
|
6
6
|
export declare type IUseKgWarehouse = {
|
7
7
|
store: IKgWarehouseStore;
|
8
8
|
visible: ComputedRef<boolean>;
|
9
9
|
/** 当前仓库. */
|
10
|
-
warehouse: ComputedRef<
|
10
|
+
warehouse: ComputedRef<WhDTO | null>;
|
11
11
|
/** 监听事件: 组件加载完成. */
|
12
12
|
onMounted(cb: IKgWarehouseMountedCb): IRemoveEventListenerHandler;
|
13
13
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Pinia, StoreDefinition } from 'pinia';
|
2
|
-
import {
|
2
|
+
import { WhDTO } from '../../apis/WMS/models';
|
3
3
|
/**
|
4
4
|
* 事件类型.
|
5
5
|
* 'mounted': 组件加载完成
|
@@ -11,13 +11,13 @@ export declare type IKgWarehouseCb = IKgWarehouseMountedCb;
|
|
11
11
|
export interface IKgWarehouseState {
|
12
12
|
/** 弹窗是否显示. */
|
13
13
|
visible: boolean;
|
14
|
-
warehouse:
|
14
|
+
warehouse: WhDTO | null;
|
15
15
|
mountedListeners: Array<IKgWarehouseMountedCb>;
|
16
16
|
}
|
17
17
|
export declare type IKgWarehouseStoreDefinition = StoreDefinition<'KgWarehouse', IKgWarehouseState, {
|
18
18
|
getVisible: boolean;
|
19
19
|
/** 获取当前仓库. */
|
20
|
-
getWarehouse:
|
20
|
+
getWarehouse: WhDTO | null;
|
21
21
|
}, {
|
22
22
|
/**
|
23
23
|
* 注册事件监听.
|
@@ -38,7 +38,7 @@ export declare type IKgWarehouseStoreDefinition = StoreDefinition<'KgWarehouse',
|
|
38
38
|
*/
|
39
39
|
emit(event: IKgWarehouseEvent, args?: any | null): void;
|
40
40
|
setVisible(visible: boolean): void;
|
41
|
-
setWarehouse(warehouse?:
|
41
|
+
setWarehouse(warehouse?: WhDTO | null): void;
|
42
42
|
}>;
|
43
43
|
export declare type IKgWarehouseStore = ReturnType<IKgWarehouseStoreDefinition>;
|
44
44
|
export declare const useKgWarehouseStore: (_pinia?: Pinia) => IKgWarehouseStoreDefinition;
|