@kengic/vue 0.5.20 → 0.5.21-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/index.css +1 -1
- package/dist/kengic-vue.js +1147 -1072
- package/dist/src/apis/WMS/models.d.ts +4 -0
- package/dist/src/components/KgButton/components/KgButton.Other.d.ts +0 -2
- package/dist/src/components/KgTable/index.vm.d.ts +1 -1
- package/dist/src/components/KgVar/index.store.d.ts +6 -0
- package/dist/src/consts/i18n/zh_CN.d.ts +3 -3
- package/dist/src/utils/kg.util.d.ts +11 -2
- package/package.json +1 -1
@@ -93,12 +93,16 @@ export declare class VarButton {
|
|
93
93
|
id?: string | null;
|
94
94
|
/** 确认弹窗配置属性. */
|
95
95
|
modal_props?: string | null;
|
96
|
+
/** 要将哪个字段作为参数传给接口. */
|
97
|
+
param_clm?: string | null;
|
96
98
|
/** 权限码. */
|
97
99
|
permission_code?: string | null;
|
98
100
|
/** 权限策略. */
|
99
101
|
permission_type?: number | null;
|
100
102
|
/** 是否使用主要按钮样式(PrimaryFlag). */
|
101
103
|
primary_flg?: number | null;
|
104
|
+
/** 接口调用成功之后, 是否重新加载所有数据. */
|
105
|
+
reload_all_after_done_flg?: number | null;
|
102
106
|
/** 是否显示确认弹窗. */
|
103
107
|
show_modal_flg?: number | null;
|
104
108
|
/** 显示顺序(SortSequence). */
|
@@ -11,7 +11,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
11
11
|
kgText: import("vue").PropType<string | null>;
|
12
12
|
kgColor: import("vue").PropType<KG_BUTTON_COLOR | null>;
|
13
13
|
kgDisabled: {
|
14
|
-
/** 点击按钮. */
|
15
14
|
type: import("vue").PropType<boolean | null | undefined>;
|
16
15
|
default: undefined;
|
17
16
|
};
|
@@ -29,7 +28,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
29
28
|
kgText: import("vue").PropType<string | null>;
|
30
29
|
kgColor: import("vue").PropType<KG_BUTTON_COLOR | null>;
|
31
30
|
kgDisabled: {
|
32
|
-
/** 点击按钮. */
|
33
31
|
type: import("vue").PropType<boolean | null | undefined>;
|
34
32
|
default: undefined;
|
35
33
|
};
|
@@ -207,6 +207,12 @@ export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState
|
|
207
207
|
* @param enable 是否启用.
|
208
208
|
*/
|
209
209
|
setVarProfileDetailEnable(formID: string, var_nam: string | null | undefined, enable: number): void;
|
210
|
+
/**
|
211
|
+
* 设置查询条件是否显示.
|
212
|
+
* @param formID 界面标识.
|
213
|
+
* @param visible 是否显示
|
214
|
+
*/
|
215
|
+
setVarProfileConfigVisible(formID: string, visible: boolean): void;
|
210
216
|
/**
|
211
217
|
* 设置当前选择的表格视图的 ID.
|
212
218
|
* @param formID 界面标识.
|
@@ -42,15 +42,15 @@ declare const _default: {
|
|
42
42
|
KgTableSettingGridConfigModal: {
|
43
43
|
title: string;
|
44
44
|
};
|
45
|
-
KgTableSettingVarGridMasterSaveAs: {
|
46
|
-
title: string;
|
47
|
-
};
|
48
45
|
KgTableSettingVarGridConfig: {
|
49
46
|
emptyPageSizeOptions: string;
|
50
47
|
invalidCommandParameter: string;
|
51
48
|
invalidPageSizeOption: string;
|
52
49
|
invalidPageSizeOptions: string;
|
53
50
|
};
|
51
|
+
KgTableSettingVarGridMasterSaveAs: {
|
52
|
+
title: string;
|
53
|
+
};
|
54
54
|
KgVarConfig: {
|
55
55
|
action: string;
|
56
56
|
allForm: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
|
2
|
-
import { Dayjs } from 'dayjs';
|
2
|
+
import dayjs, { Dayjs } from 'dayjs';
|
3
3
|
/**
|
4
4
|
* 通用工具.
|
5
5
|
*/
|
@@ -28,13 +28,22 @@ export declare class KgUtil {
|
|
28
28
|
* 1. 填充通用参数的值
|
29
29
|
* a. 仓库: '{WAREHOUSE}'
|
30
30
|
* @param params 请求参数.
|
31
|
+
* @param formID 界面标识.
|
32
|
+
* @param $dayjs dayjs 实例.
|
31
33
|
*/
|
32
|
-
static parseParams(params?: Record<string, any> | null): any;
|
34
|
+
static parseParams(params?: Record<string, any> | null, formID?: string, $dayjs?: typeof dayjs): any;
|
33
35
|
/**
|
34
36
|
* 解析请求参数: 解析字符串类型的参数值.
|
35
37
|
* @param value 参数的原始值.
|
36
38
|
*/
|
37
39
|
private static parseParamFromString;
|
40
|
+
/**
|
41
|
+
* 解析请求参数: 解析 DayJS 类型的参数值.
|
42
|
+
* @param key 属性名.
|
43
|
+
* @param value 参数的原始值.
|
44
|
+
* @param formID 界面标识.
|
45
|
+
*/
|
46
|
+
private static parseParamFromDayJS;
|
38
47
|
/**
|
39
48
|
* 确认弹窗.
|
40
49
|
* 设置了多个属性的默认值, 简化使用.
|