iv-npm 1.1.45 → 1.1.46
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/package.json +1 -1
- package/packages/ui/dist/api/api.config.d.ts +1 -1
- package/packages/ui/dist/business-ui/component/IVMrpRateDropdown.d.ts +0 -18
- package/packages/ui/dist/business-ui/component/IVMrpUnitDropdown.d.ts +18 -0
- package/packages/ui/dist/index.cjs.js +89 -89
- package/packages/ui/dist/index.esm.js +89 -89
- package/packages/ui/dist/index.umd.js +89 -89
package/package.json
CHANGED
|
@@ -6,21 +6,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
type: null;
|
|
7
7
|
required: true;
|
|
8
8
|
};
|
|
9
|
-
params: {
|
|
10
|
-
type: ObjectConstructor;
|
|
11
|
-
required: false;
|
|
12
|
-
};
|
|
13
|
-
data: {
|
|
14
|
-
type: ObjectConstructor;
|
|
15
|
-
required: false;
|
|
16
|
-
};
|
|
17
9
|
fieldNames: {
|
|
18
10
|
type: null;
|
|
19
11
|
required: false;
|
|
20
12
|
default: () => {
|
|
21
13
|
label: string;
|
|
22
14
|
value: string;
|
|
23
|
-
options: string;
|
|
24
15
|
};
|
|
25
16
|
};
|
|
26
17
|
inputStyle: {
|
|
@@ -34,21 +25,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
25
|
type: null;
|
|
35
26
|
required: true;
|
|
36
27
|
};
|
|
37
|
-
params: {
|
|
38
|
-
type: ObjectConstructor;
|
|
39
|
-
required: false;
|
|
40
|
-
};
|
|
41
|
-
data: {
|
|
42
|
-
type: ObjectConstructor;
|
|
43
|
-
required: false;
|
|
44
|
-
};
|
|
45
28
|
fieldNames: {
|
|
46
29
|
type: null;
|
|
47
30
|
required: false;
|
|
48
31
|
default: () => {
|
|
49
32
|
label: string;
|
|
50
33
|
value: string;
|
|
51
|
-
options: string;
|
|
52
34
|
};
|
|
53
35
|
};
|
|
54
36
|
inputStyle: {
|
|
@@ -6,12 +6,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
type: null;
|
|
7
7
|
required: true;
|
|
8
8
|
};
|
|
9
|
+
params: {
|
|
10
|
+
type: ObjectConstructor;
|
|
11
|
+
required: false;
|
|
12
|
+
};
|
|
13
|
+
data: {
|
|
14
|
+
type: ObjectConstructor;
|
|
15
|
+
required: false;
|
|
16
|
+
};
|
|
9
17
|
fieldNames: {
|
|
10
18
|
type: null;
|
|
11
19
|
required: false;
|
|
12
20
|
default: () => {
|
|
13
21
|
label: string;
|
|
14
22
|
value: string;
|
|
23
|
+
options: string;
|
|
15
24
|
};
|
|
16
25
|
};
|
|
17
26
|
inputStyle: {
|
|
@@ -25,12 +34,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
34
|
type: null;
|
|
26
35
|
required: true;
|
|
27
36
|
};
|
|
37
|
+
params: {
|
|
38
|
+
type: ObjectConstructor;
|
|
39
|
+
required: false;
|
|
40
|
+
};
|
|
41
|
+
data: {
|
|
42
|
+
type: ObjectConstructor;
|
|
43
|
+
required: false;
|
|
44
|
+
};
|
|
28
45
|
fieldNames: {
|
|
29
46
|
type: null;
|
|
30
47
|
required: false;
|
|
31
48
|
default: () => {
|
|
32
49
|
label: string;
|
|
33
50
|
value: string;
|
|
51
|
+
options: string;
|
|
34
52
|
};
|
|
35
53
|
};
|
|
36
54
|
inputStyle: {
|
|
@@ -1353,7 +1353,7 @@ var API_OPTION = {
|
|
|
1353
1353
|
method: "GET"
|
|
1354
1354
|
}, DEFIND_OPTION)
|
|
1355
1355
|
},
|
|
1356
|
-
|
|
1356
|
+
getIVMrpUnitDropdown: {
|
|
1357
1357
|
url: "/api/basis-management/measurement-type/allIncludItem",
|
|
1358
1358
|
option: _objectSpread2({
|
|
1359
1359
|
method: "GET"
|
|
@@ -2690,6 +2690,92 @@ script$5.__file = "src/business-ui/component/IVMrpManagDropdown.vue";
|
|
|
2690
2690
|
|
|
2691
2691
|
var script$4 = /*#__PURE__*/vue.defineComponent({
|
|
2692
2692
|
__name: 'IVMrpRateDropdown',
|
|
2693
|
+
props: {
|
|
2694
|
+
value: {
|
|
2695
|
+
type: null,
|
|
2696
|
+
required: true
|
|
2697
|
+
},
|
|
2698
|
+
fieldNames: {
|
|
2699
|
+
type: null,
|
|
2700
|
+
required: false,
|
|
2701
|
+
"default": function _default() {
|
|
2702
|
+
return {
|
|
2703
|
+
label: "name",
|
|
2704
|
+
value: "id"
|
|
2705
|
+
};
|
|
2706
|
+
}
|
|
2707
|
+
},
|
|
2708
|
+
inputStyle: {
|
|
2709
|
+
type: Object,
|
|
2710
|
+
required: false
|
|
2711
|
+
}
|
|
2712
|
+
},
|
|
2713
|
+
emits: ["update:value", "change"],
|
|
2714
|
+
setup: function setup(__props, _ref) {
|
|
2715
|
+
var emit = _ref.emit;
|
|
2716
|
+
var props = __props;
|
|
2717
|
+
/**
|
|
2718
|
+
* 获取数据-------------------------------------
|
|
2719
|
+
* */
|
|
2720
|
+
|
|
2721
|
+
var dataV = vue.ref([{
|
|
2722
|
+
id: 1,
|
|
2723
|
+
name: 0
|
|
2724
|
+
}, {
|
|
2725
|
+
id: 2,
|
|
2726
|
+
name: 3
|
|
2727
|
+
}, {
|
|
2728
|
+
id: 3,
|
|
2729
|
+
name: 6
|
|
2730
|
+
}, {
|
|
2731
|
+
id: 4,
|
|
2732
|
+
name: 9
|
|
2733
|
+
}, {
|
|
2734
|
+
id: 5,
|
|
2735
|
+
name: 13
|
|
2736
|
+
}]);
|
|
2737
|
+
var inputV = vue.computed({
|
|
2738
|
+
get: function get() {
|
|
2739
|
+
return props.value;
|
|
2740
|
+
},
|
|
2741
|
+
set: function set(value) {
|
|
2742
|
+
emit("update:value", value);
|
|
2743
|
+
}
|
|
2744
|
+
});
|
|
2745
|
+
return function (_ctx, _cache) {
|
|
2746
|
+
var _component_a_select = vue.resolveComponent("a-select");
|
|
2747
|
+
|
|
2748
|
+
return vue.openBlock(), vue.createBlock(_component_a_select, {
|
|
2749
|
+
value: vue.unref(inputV),
|
|
2750
|
+
"onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
|
|
2751
|
+
return vue.isRef(inputV) ? inputV.value = $event : null;
|
|
2752
|
+
}),
|
|
2753
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
2754
|
+
return triggerNode.parentNode;
|
|
2755
|
+
},
|
|
2756
|
+
style: vue.normalizeStyle(__props.inputStyle),
|
|
2757
|
+
bordered: false,
|
|
2758
|
+
options: dataV.value,
|
|
2759
|
+
fieldNames: __props.fieldNames,
|
|
2760
|
+
"filter-option": vue.unref(filterOptionHeadle),
|
|
2761
|
+
onChange: _cache[1] || (_cache[1] = function ($event) {
|
|
2762
|
+
return _ctx.$emit('change', $event);
|
|
2763
|
+
})
|
|
2764
|
+
}, null, 8
|
|
2765
|
+
/* PROPS */
|
|
2766
|
+
, ["value", "getPopupContainer", "style", "options", "fieldNames", "filter-option"]);
|
|
2767
|
+
};
|
|
2768
|
+
}
|
|
2769
|
+
});
|
|
2770
|
+
|
|
2771
|
+
script$4.__file = "src/business-ui/component/IVMrpRateDropdown.vue";
|
|
2772
|
+
|
|
2773
|
+
/**
|
|
2774
|
+
* 组件定义-------------------------------------
|
|
2775
|
+
* */
|
|
2776
|
+
|
|
2777
|
+
var script$3 = /*#__PURE__*/vue.defineComponent({
|
|
2778
|
+
__name: 'IVMrpUnitDropdown',
|
|
2693
2779
|
props: {
|
|
2694
2780
|
value: {
|
|
2695
2781
|
type: null,
|
|
@@ -2743,9 +2829,9 @@ var script$4 = /*#__PURE__*/vue.defineComponent({
|
|
|
2743
2829
|
case 0:
|
|
2744
2830
|
_option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
|
|
2745
2831
|
_context.next = 3;
|
|
2746
|
-
return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.
|
|
2832
|
+
return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.getIVMrpUnitDropdown.url, _option.params), assign({
|
|
2747
2833
|
data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
|
|
2748
|
-
}, API_OPTION.
|
|
2834
|
+
}, API_OPTION.getIVMrpUnitDropdown.option)));
|
|
2749
2835
|
|
|
2750
2836
|
case 3:
|
|
2751
2837
|
_yield$formatHTTP = _context.sent;
|
|
@@ -2823,92 +2909,6 @@ var script$4 = /*#__PURE__*/vue.defineComponent({
|
|
|
2823
2909
|
}
|
|
2824
2910
|
});
|
|
2825
2911
|
|
|
2826
|
-
script$4.__file = "src/business-ui/component/IVMrpRateDropdown.vue";
|
|
2827
|
-
|
|
2828
|
-
/**
|
|
2829
|
-
* 组件定义-------------------------------------
|
|
2830
|
-
* */
|
|
2831
|
-
|
|
2832
|
-
var script$3 = /*#__PURE__*/vue.defineComponent({
|
|
2833
|
-
__name: 'IVMrpUnitDropdown',
|
|
2834
|
-
props: {
|
|
2835
|
-
value: {
|
|
2836
|
-
type: null,
|
|
2837
|
-
required: true
|
|
2838
|
-
},
|
|
2839
|
-
fieldNames: {
|
|
2840
|
-
type: null,
|
|
2841
|
-
required: false,
|
|
2842
|
-
"default": function _default() {
|
|
2843
|
-
return {
|
|
2844
|
-
label: "name",
|
|
2845
|
-
value: "id"
|
|
2846
|
-
};
|
|
2847
|
-
}
|
|
2848
|
-
},
|
|
2849
|
-
inputStyle: {
|
|
2850
|
-
type: Object,
|
|
2851
|
-
required: false
|
|
2852
|
-
}
|
|
2853
|
-
},
|
|
2854
|
-
emits: ["update:value", "change"],
|
|
2855
|
-
setup: function setup(__props, _ref) {
|
|
2856
|
-
var emit = _ref.emit;
|
|
2857
|
-
var props = __props;
|
|
2858
|
-
/**
|
|
2859
|
-
* 获取数据-------------------------------------
|
|
2860
|
-
* */
|
|
2861
|
-
|
|
2862
|
-
var dataV = vue.ref([{
|
|
2863
|
-
id: 1,
|
|
2864
|
-
name: 0
|
|
2865
|
-
}, {
|
|
2866
|
-
id: 2,
|
|
2867
|
-
name: 3
|
|
2868
|
-
}, {
|
|
2869
|
-
id: 3,
|
|
2870
|
-
name: 6
|
|
2871
|
-
}, {
|
|
2872
|
-
id: 4,
|
|
2873
|
-
name: 9
|
|
2874
|
-
}, {
|
|
2875
|
-
id: 5,
|
|
2876
|
-
name: 13
|
|
2877
|
-
}]);
|
|
2878
|
-
var inputV = vue.computed({
|
|
2879
|
-
get: function get() {
|
|
2880
|
-
return props.value;
|
|
2881
|
-
},
|
|
2882
|
-
set: function set(value) {
|
|
2883
|
-
emit("update:value", value);
|
|
2884
|
-
}
|
|
2885
|
-
});
|
|
2886
|
-
return function (_ctx, _cache) {
|
|
2887
|
-
var _component_a_select = vue.resolveComponent("a-select");
|
|
2888
|
-
|
|
2889
|
-
return vue.openBlock(), vue.createBlock(_component_a_select, {
|
|
2890
|
-
value: vue.unref(inputV),
|
|
2891
|
-
"onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
|
|
2892
|
-
return vue.isRef(inputV) ? inputV.value = $event : null;
|
|
2893
|
-
}),
|
|
2894
|
-
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
2895
|
-
return triggerNode.parentNode;
|
|
2896
|
-
},
|
|
2897
|
-
style: vue.normalizeStyle(__props.inputStyle),
|
|
2898
|
-
bordered: false,
|
|
2899
|
-
options: dataV.value,
|
|
2900
|
-
fieldNames: __props.fieldNames,
|
|
2901
|
-
"filter-option": vue.unref(filterOptionHeadle),
|
|
2902
|
-
onChange: _cache[1] || (_cache[1] = function ($event) {
|
|
2903
|
-
return _ctx.$emit('change', $event);
|
|
2904
|
-
})
|
|
2905
|
-
}, null, 8
|
|
2906
|
-
/* PROPS */
|
|
2907
|
-
, ["value", "getPopupContainer", "style", "options", "fieldNames", "filter-option"]);
|
|
2908
|
-
};
|
|
2909
|
-
}
|
|
2910
|
-
});
|
|
2911
|
-
|
|
2912
2912
|
script$3.__file = "src/business-ui/component/IVMrpUnitDropdown.vue";
|
|
2913
2913
|
|
|
2914
2914
|
var _hoisted_1$2 = {
|
|
@@ -1349,7 +1349,7 @@ var API_OPTION = {
|
|
|
1349
1349
|
method: "GET"
|
|
1350
1350
|
}, DEFIND_OPTION)
|
|
1351
1351
|
},
|
|
1352
|
-
|
|
1352
|
+
getIVMrpUnitDropdown: {
|
|
1353
1353
|
url: "/api/basis-management/measurement-type/allIncludItem",
|
|
1354
1354
|
option: _objectSpread2({
|
|
1355
1355
|
method: "GET"
|
|
@@ -2686,6 +2686,92 @@ script$5.__file = "src/business-ui/component/IVMrpManagDropdown.vue";
|
|
|
2686
2686
|
|
|
2687
2687
|
var script$4 = /*#__PURE__*/defineComponent({
|
|
2688
2688
|
__name: 'IVMrpRateDropdown',
|
|
2689
|
+
props: {
|
|
2690
|
+
value: {
|
|
2691
|
+
type: null,
|
|
2692
|
+
required: true
|
|
2693
|
+
},
|
|
2694
|
+
fieldNames: {
|
|
2695
|
+
type: null,
|
|
2696
|
+
required: false,
|
|
2697
|
+
"default": function _default() {
|
|
2698
|
+
return {
|
|
2699
|
+
label: "name",
|
|
2700
|
+
value: "id"
|
|
2701
|
+
};
|
|
2702
|
+
}
|
|
2703
|
+
},
|
|
2704
|
+
inputStyle: {
|
|
2705
|
+
type: Object,
|
|
2706
|
+
required: false
|
|
2707
|
+
}
|
|
2708
|
+
},
|
|
2709
|
+
emits: ["update:value", "change"],
|
|
2710
|
+
setup: function setup(__props, _ref) {
|
|
2711
|
+
var emit = _ref.emit;
|
|
2712
|
+
var props = __props;
|
|
2713
|
+
/**
|
|
2714
|
+
* 获取数据-------------------------------------
|
|
2715
|
+
* */
|
|
2716
|
+
|
|
2717
|
+
var dataV = ref([{
|
|
2718
|
+
id: 1,
|
|
2719
|
+
name: 0
|
|
2720
|
+
}, {
|
|
2721
|
+
id: 2,
|
|
2722
|
+
name: 3
|
|
2723
|
+
}, {
|
|
2724
|
+
id: 3,
|
|
2725
|
+
name: 6
|
|
2726
|
+
}, {
|
|
2727
|
+
id: 4,
|
|
2728
|
+
name: 9
|
|
2729
|
+
}, {
|
|
2730
|
+
id: 5,
|
|
2731
|
+
name: 13
|
|
2732
|
+
}]);
|
|
2733
|
+
var inputV = computed({
|
|
2734
|
+
get: function get() {
|
|
2735
|
+
return props.value;
|
|
2736
|
+
},
|
|
2737
|
+
set: function set(value) {
|
|
2738
|
+
emit("update:value", value);
|
|
2739
|
+
}
|
|
2740
|
+
});
|
|
2741
|
+
return function (_ctx, _cache) {
|
|
2742
|
+
var _component_a_select = resolveComponent("a-select");
|
|
2743
|
+
|
|
2744
|
+
return openBlock(), createBlock(_component_a_select, {
|
|
2745
|
+
value: unref(inputV),
|
|
2746
|
+
"onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
|
|
2747
|
+
return isRef(inputV) ? inputV.value = $event : null;
|
|
2748
|
+
}),
|
|
2749
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
2750
|
+
return triggerNode.parentNode;
|
|
2751
|
+
},
|
|
2752
|
+
style: normalizeStyle(__props.inputStyle),
|
|
2753
|
+
bordered: false,
|
|
2754
|
+
options: dataV.value,
|
|
2755
|
+
fieldNames: __props.fieldNames,
|
|
2756
|
+
"filter-option": unref(filterOptionHeadle),
|
|
2757
|
+
onChange: _cache[1] || (_cache[1] = function ($event) {
|
|
2758
|
+
return _ctx.$emit('change', $event);
|
|
2759
|
+
})
|
|
2760
|
+
}, null, 8
|
|
2761
|
+
/* PROPS */
|
|
2762
|
+
, ["value", "getPopupContainer", "style", "options", "fieldNames", "filter-option"]);
|
|
2763
|
+
};
|
|
2764
|
+
}
|
|
2765
|
+
});
|
|
2766
|
+
|
|
2767
|
+
script$4.__file = "src/business-ui/component/IVMrpRateDropdown.vue";
|
|
2768
|
+
|
|
2769
|
+
/**
|
|
2770
|
+
* 组件定义-------------------------------------
|
|
2771
|
+
* */
|
|
2772
|
+
|
|
2773
|
+
var script$3 = /*#__PURE__*/defineComponent({
|
|
2774
|
+
__name: 'IVMrpUnitDropdown',
|
|
2689
2775
|
props: {
|
|
2690
2776
|
value: {
|
|
2691
2777
|
type: null,
|
|
@@ -2739,9 +2825,9 @@ var script$4 = /*#__PURE__*/defineComponent({
|
|
|
2739
2825
|
case 0:
|
|
2740
2826
|
_option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
|
|
2741
2827
|
_context.next = 3;
|
|
2742
|
-
return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.
|
|
2828
|
+
return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.getIVMrpUnitDropdown.url, _option.params), assign({
|
|
2743
2829
|
data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
|
|
2744
|
-
}, API_OPTION.
|
|
2830
|
+
}, API_OPTION.getIVMrpUnitDropdown.option)));
|
|
2745
2831
|
|
|
2746
2832
|
case 3:
|
|
2747
2833
|
_yield$formatHTTP = _context.sent;
|
|
@@ -2819,92 +2905,6 @@ var script$4 = /*#__PURE__*/defineComponent({
|
|
|
2819
2905
|
}
|
|
2820
2906
|
});
|
|
2821
2907
|
|
|
2822
|
-
script$4.__file = "src/business-ui/component/IVMrpRateDropdown.vue";
|
|
2823
|
-
|
|
2824
|
-
/**
|
|
2825
|
-
* 组件定义-------------------------------------
|
|
2826
|
-
* */
|
|
2827
|
-
|
|
2828
|
-
var script$3 = /*#__PURE__*/defineComponent({
|
|
2829
|
-
__name: 'IVMrpUnitDropdown',
|
|
2830
|
-
props: {
|
|
2831
|
-
value: {
|
|
2832
|
-
type: null,
|
|
2833
|
-
required: true
|
|
2834
|
-
},
|
|
2835
|
-
fieldNames: {
|
|
2836
|
-
type: null,
|
|
2837
|
-
required: false,
|
|
2838
|
-
"default": function _default() {
|
|
2839
|
-
return {
|
|
2840
|
-
label: "name",
|
|
2841
|
-
value: "id"
|
|
2842
|
-
};
|
|
2843
|
-
}
|
|
2844
|
-
},
|
|
2845
|
-
inputStyle: {
|
|
2846
|
-
type: Object,
|
|
2847
|
-
required: false
|
|
2848
|
-
}
|
|
2849
|
-
},
|
|
2850
|
-
emits: ["update:value", "change"],
|
|
2851
|
-
setup: function setup(__props, _ref) {
|
|
2852
|
-
var emit = _ref.emit;
|
|
2853
|
-
var props = __props;
|
|
2854
|
-
/**
|
|
2855
|
-
* 获取数据-------------------------------------
|
|
2856
|
-
* */
|
|
2857
|
-
|
|
2858
|
-
var dataV = ref([{
|
|
2859
|
-
id: 1,
|
|
2860
|
-
name: 0
|
|
2861
|
-
}, {
|
|
2862
|
-
id: 2,
|
|
2863
|
-
name: 3
|
|
2864
|
-
}, {
|
|
2865
|
-
id: 3,
|
|
2866
|
-
name: 6
|
|
2867
|
-
}, {
|
|
2868
|
-
id: 4,
|
|
2869
|
-
name: 9
|
|
2870
|
-
}, {
|
|
2871
|
-
id: 5,
|
|
2872
|
-
name: 13
|
|
2873
|
-
}]);
|
|
2874
|
-
var inputV = computed({
|
|
2875
|
-
get: function get() {
|
|
2876
|
-
return props.value;
|
|
2877
|
-
},
|
|
2878
|
-
set: function set(value) {
|
|
2879
|
-
emit("update:value", value);
|
|
2880
|
-
}
|
|
2881
|
-
});
|
|
2882
|
-
return function (_ctx, _cache) {
|
|
2883
|
-
var _component_a_select = resolveComponent("a-select");
|
|
2884
|
-
|
|
2885
|
-
return openBlock(), createBlock(_component_a_select, {
|
|
2886
|
-
value: unref(inputV),
|
|
2887
|
-
"onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
|
|
2888
|
-
return isRef(inputV) ? inputV.value = $event : null;
|
|
2889
|
-
}),
|
|
2890
|
-
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
2891
|
-
return triggerNode.parentNode;
|
|
2892
|
-
},
|
|
2893
|
-
style: normalizeStyle(__props.inputStyle),
|
|
2894
|
-
bordered: false,
|
|
2895
|
-
options: dataV.value,
|
|
2896
|
-
fieldNames: __props.fieldNames,
|
|
2897
|
-
"filter-option": unref(filterOptionHeadle),
|
|
2898
|
-
onChange: _cache[1] || (_cache[1] = function ($event) {
|
|
2899
|
-
return _ctx.$emit('change', $event);
|
|
2900
|
-
})
|
|
2901
|
-
}, null, 8
|
|
2902
|
-
/* PROPS */
|
|
2903
|
-
, ["value", "getPopupContainer", "style", "options", "fieldNames", "filter-option"]);
|
|
2904
|
-
};
|
|
2905
|
-
}
|
|
2906
|
-
});
|
|
2907
|
-
|
|
2908
2908
|
script$3.__file = "src/business-ui/component/IVMrpUnitDropdown.vue";
|
|
2909
2909
|
|
|
2910
2910
|
var _hoisted_1$2 = {
|
|
@@ -1353,7 +1353,7 @@
|
|
|
1353
1353
|
method: "GET"
|
|
1354
1354
|
}, DEFIND_OPTION)
|
|
1355
1355
|
},
|
|
1356
|
-
|
|
1356
|
+
getIVMrpUnitDropdown: {
|
|
1357
1357
|
url: "/api/basis-management/measurement-type/allIncludItem",
|
|
1358
1358
|
option: _objectSpread2({
|
|
1359
1359
|
method: "GET"
|
|
@@ -2690,6 +2690,92 @@
|
|
|
2690
2690
|
|
|
2691
2691
|
var script$4 = /*#__PURE__*/vue.defineComponent({
|
|
2692
2692
|
__name: 'IVMrpRateDropdown',
|
|
2693
|
+
props: {
|
|
2694
|
+
value: {
|
|
2695
|
+
type: null,
|
|
2696
|
+
required: true
|
|
2697
|
+
},
|
|
2698
|
+
fieldNames: {
|
|
2699
|
+
type: null,
|
|
2700
|
+
required: false,
|
|
2701
|
+
"default": function _default() {
|
|
2702
|
+
return {
|
|
2703
|
+
label: "name",
|
|
2704
|
+
value: "id"
|
|
2705
|
+
};
|
|
2706
|
+
}
|
|
2707
|
+
},
|
|
2708
|
+
inputStyle: {
|
|
2709
|
+
type: Object,
|
|
2710
|
+
required: false
|
|
2711
|
+
}
|
|
2712
|
+
},
|
|
2713
|
+
emits: ["update:value", "change"],
|
|
2714
|
+
setup: function setup(__props, _ref) {
|
|
2715
|
+
var emit = _ref.emit;
|
|
2716
|
+
var props = __props;
|
|
2717
|
+
/**
|
|
2718
|
+
* 获取数据-------------------------------------
|
|
2719
|
+
* */
|
|
2720
|
+
|
|
2721
|
+
var dataV = vue.ref([{
|
|
2722
|
+
id: 1,
|
|
2723
|
+
name: 0
|
|
2724
|
+
}, {
|
|
2725
|
+
id: 2,
|
|
2726
|
+
name: 3
|
|
2727
|
+
}, {
|
|
2728
|
+
id: 3,
|
|
2729
|
+
name: 6
|
|
2730
|
+
}, {
|
|
2731
|
+
id: 4,
|
|
2732
|
+
name: 9
|
|
2733
|
+
}, {
|
|
2734
|
+
id: 5,
|
|
2735
|
+
name: 13
|
|
2736
|
+
}]);
|
|
2737
|
+
var inputV = vue.computed({
|
|
2738
|
+
get: function get() {
|
|
2739
|
+
return props.value;
|
|
2740
|
+
},
|
|
2741
|
+
set: function set(value) {
|
|
2742
|
+
emit("update:value", value);
|
|
2743
|
+
}
|
|
2744
|
+
});
|
|
2745
|
+
return function (_ctx, _cache) {
|
|
2746
|
+
var _component_a_select = vue.resolveComponent("a-select");
|
|
2747
|
+
|
|
2748
|
+
return vue.openBlock(), vue.createBlock(_component_a_select, {
|
|
2749
|
+
value: vue.unref(inputV),
|
|
2750
|
+
"onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
|
|
2751
|
+
return vue.isRef(inputV) ? inputV.value = $event : null;
|
|
2752
|
+
}),
|
|
2753
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
2754
|
+
return triggerNode.parentNode;
|
|
2755
|
+
},
|
|
2756
|
+
style: vue.normalizeStyle(__props.inputStyle),
|
|
2757
|
+
bordered: false,
|
|
2758
|
+
options: dataV.value,
|
|
2759
|
+
fieldNames: __props.fieldNames,
|
|
2760
|
+
"filter-option": vue.unref(filterOptionHeadle),
|
|
2761
|
+
onChange: _cache[1] || (_cache[1] = function ($event) {
|
|
2762
|
+
return _ctx.$emit('change', $event);
|
|
2763
|
+
})
|
|
2764
|
+
}, null, 8
|
|
2765
|
+
/* PROPS */
|
|
2766
|
+
, ["value", "getPopupContainer", "style", "options", "fieldNames", "filter-option"]);
|
|
2767
|
+
};
|
|
2768
|
+
}
|
|
2769
|
+
});
|
|
2770
|
+
|
|
2771
|
+
script$4.__file = "src/business-ui/component/IVMrpRateDropdown.vue";
|
|
2772
|
+
|
|
2773
|
+
/**
|
|
2774
|
+
* 组件定义-------------------------------------
|
|
2775
|
+
* */
|
|
2776
|
+
|
|
2777
|
+
var script$3 = /*#__PURE__*/vue.defineComponent({
|
|
2778
|
+
__name: 'IVMrpUnitDropdown',
|
|
2693
2779
|
props: {
|
|
2694
2780
|
value: {
|
|
2695
2781
|
type: null,
|
|
@@ -2743,9 +2829,9 @@
|
|
|
2743
2829
|
case 0:
|
|
2744
2830
|
_option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
|
|
2745
2831
|
_context.next = 3;
|
|
2746
|
-
return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.
|
|
2832
|
+
return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.getIVMrpUnitDropdown.url, _option.params), assign({
|
|
2747
2833
|
data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
|
|
2748
|
-
}, API_OPTION.
|
|
2834
|
+
}, API_OPTION.getIVMrpUnitDropdown.option)));
|
|
2749
2835
|
|
|
2750
2836
|
case 3:
|
|
2751
2837
|
_yield$formatHTTP = _context.sent;
|
|
@@ -2823,92 +2909,6 @@
|
|
|
2823
2909
|
}
|
|
2824
2910
|
});
|
|
2825
2911
|
|
|
2826
|
-
script$4.__file = "src/business-ui/component/IVMrpRateDropdown.vue";
|
|
2827
|
-
|
|
2828
|
-
/**
|
|
2829
|
-
* 组件定义-------------------------------------
|
|
2830
|
-
* */
|
|
2831
|
-
|
|
2832
|
-
var script$3 = /*#__PURE__*/vue.defineComponent({
|
|
2833
|
-
__name: 'IVMrpUnitDropdown',
|
|
2834
|
-
props: {
|
|
2835
|
-
value: {
|
|
2836
|
-
type: null,
|
|
2837
|
-
required: true
|
|
2838
|
-
},
|
|
2839
|
-
fieldNames: {
|
|
2840
|
-
type: null,
|
|
2841
|
-
required: false,
|
|
2842
|
-
"default": function _default() {
|
|
2843
|
-
return {
|
|
2844
|
-
label: "name",
|
|
2845
|
-
value: "id"
|
|
2846
|
-
};
|
|
2847
|
-
}
|
|
2848
|
-
},
|
|
2849
|
-
inputStyle: {
|
|
2850
|
-
type: Object,
|
|
2851
|
-
required: false
|
|
2852
|
-
}
|
|
2853
|
-
},
|
|
2854
|
-
emits: ["update:value", "change"],
|
|
2855
|
-
setup: function setup(__props, _ref) {
|
|
2856
|
-
var emit = _ref.emit;
|
|
2857
|
-
var props = __props;
|
|
2858
|
-
/**
|
|
2859
|
-
* 获取数据-------------------------------------
|
|
2860
|
-
* */
|
|
2861
|
-
|
|
2862
|
-
var dataV = vue.ref([{
|
|
2863
|
-
id: 1,
|
|
2864
|
-
name: 0
|
|
2865
|
-
}, {
|
|
2866
|
-
id: 2,
|
|
2867
|
-
name: 3
|
|
2868
|
-
}, {
|
|
2869
|
-
id: 3,
|
|
2870
|
-
name: 6
|
|
2871
|
-
}, {
|
|
2872
|
-
id: 4,
|
|
2873
|
-
name: 9
|
|
2874
|
-
}, {
|
|
2875
|
-
id: 5,
|
|
2876
|
-
name: 13
|
|
2877
|
-
}]);
|
|
2878
|
-
var inputV = vue.computed({
|
|
2879
|
-
get: function get() {
|
|
2880
|
-
return props.value;
|
|
2881
|
-
},
|
|
2882
|
-
set: function set(value) {
|
|
2883
|
-
emit("update:value", value);
|
|
2884
|
-
}
|
|
2885
|
-
});
|
|
2886
|
-
return function (_ctx, _cache) {
|
|
2887
|
-
var _component_a_select = vue.resolveComponent("a-select");
|
|
2888
|
-
|
|
2889
|
-
return vue.openBlock(), vue.createBlock(_component_a_select, {
|
|
2890
|
-
value: vue.unref(inputV),
|
|
2891
|
-
"onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
|
|
2892
|
-
return vue.isRef(inputV) ? inputV.value = $event : null;
|
|
2893
|
-
}),
|
|
2894
|
-
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
2895
|
-
return triggerNode.parentNode;
|
|
2896
|
-
},
|
|
2897
|
-
style: vue.normalizeStyle(__props.inputStyle),
|
|
2898
|
-
bordered: false,
|
|
2899
|
-
options: dataV.value,
|
|
2900
|
-
fieldNames: __props.fieldNames,
|
|
2901
|
-
"filter-option": vue.unref(filterOptionHeadle),
|
|
2902
|
-
onChange: _cache[1] || (_cache[1] = function ($event) {
|
|
2903
|
-
return _ctx.$emit('change', $event);
|
|
2904
|
-
})
|
|
2905
|
-
}, null, 8
|
|
2906
|
-
/* PROPS */
|
|
2907
|
-
, ["value", "getPopupContainer", "style", "options", "fieldNames", "filter-option"]);
|
|
2908
|
-
};
|
|
2909
|
-
}
|
|
2910
|
-
});
|
|
2911
|
-
|
|
2912
2912
|
script$3.__file = "src/business-ui/component/IVMrpUnitDropdown.vue";
|
|
2913
2913
|
|
|
2914
2914
|
var _hoisted_1$2 = {
|