iv-npm 1.1.48 → 1.1.49
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/business-ui/component/IVMrpMaterialTypeDropdown.d.ts +158 -0
- package/packages/ui/dist/business-ui/index.d.ts +1 -1
- package/packages/ui/dist/index.cjs.js +293 -67
- package/packages/ui/dist/index.esm.js +283 -57
- package/packages/ui/dist/index.umd.js +293 -67
- package/packages/ui/dist/index.umd.js.map +1 -1
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
|
|
7
|
-
var _hoisted_1$
|
|
7
|
+
var _hoisted_1$d = {
|
|
8
8
|
id: "IVMrpModal"
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
@@ -21,7 +21,7 @@ var _hoisted_1$c = {
|
|
|
21
21
|
*
|
|
22
22
|
* */
|
|
23
23
|
|
|
24
|
-
var script$
|
|
24
|
+
var script$f = /*#__PURE__*/vue.defineComponent({
|
|
25
25
|
__name: 'IVMrpModal',
|
|
26
26
|
props: {
|
|
27
27
|
show: {
|
|
@@ -51,7 +51,7 @@ var script$e = /*#__PURE__*/vue.defineComponent({
|
|
|
51
51
|
|
|
52
52
|
var _component_a_modal = vue.resolveComponent("a-modal");
|
|
53
53
|
|
|
54
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
54
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [vue.createVNode(_component_a_modal, {
|
|
55
55
|
wrapClassName: [__props.removePadding ? '' : 'not-padding', 'module-class modal-components'],
|
|
56
56
|
visible: vue.unref(inputV),
|
|
57
57
|
"onUpdate:visible": _cache[0] || (_cache[0] = function ($event) {
|
|
@@ -81,7 +81,7 @@ var script$e = /*#__PURE__*/vue.defineComponent({
|
|
|
81
81
|
}
|
|
82
82
|
});
|
|
83
83
|
|
|
84
|
-
script$
|
|
84
|
+
script$f.__file = "src/function-ui/component/IVMrpModal.vue";
|
|
85
85
|
|
|
86
86
|
function ownKeys(object, enumerableOnly) {
|
|
87
87
|
var keys = Object.keys(object);
|
|
@@ -515,7 +515,7 @@ function _defineProperty(obj, key, value) {
|
|
|
515
515
|
return obj;
|
|
516
516
|
}
|
|
517
517
|
|
|
518
|
-
var _hoisted_1$
|
|
518
|
+
var _hoisted_1$c = {
|
|
519
519
|
key: 0,
|
|
520
520
|
id: "top"
|
|
521
521
|
};
|
|
@@ -607,7 +607,7 @@ var _hoisted_19$3 = {
|
|
|
607
607
|
var _hoisted_20$3 = /*#__PURE__*/vue.createStaticVNode("<div class=\"centent\"><svg class=\"ant-empty-img-simple\" width=\"64\" height=\"41\" viewBox=\"0 0 64 41\"><g transform=\"translate(0 1)\" fill=\"none\" fill-rule=\"evenodd\"><ellipse class=\"ant-empty-img-simple-ellipse\" fill=\"#F5F5F5\" cx=\"32\" cy=\"33\" rx=\"32\" ry=\"7\"></ellipse><g class=\"ant-empty-img-simple-g\" fill-rule=\"nonzero\" stroke=\"#D9D9D9\"><path d=\"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z\"></path><path d=\"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z\" fill=\"#FAFAFA\" class=\"ant-empty-img-simple-path\"></path></g></g></svg> 没有数据 </div>", 1);
|
|
608
608
|
|
|
609
609
|
var _hoisted_21$3 = [_hoisted_20$3];
|
|
610
|
-
var script$
|
|
610
|
+
var script$e = /*#__PURE__*/vue.defineComponent({
|
|
611
611
|
__name: 'IVMrpTable',
|
|
612
612
|
props: {
|
|
613
613
|
dataTh: {
|
|
@@ -723,7 +723,7 @@ var script$d = /*#__PURE__*/vue.defineComponent({
|
|
|
723
723
|
|
|
724
724
|
var _component_a_pagination = vue.resolveComponent("a-pagination");
|
|
725
725
|
|
|
726
|
-
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [vue.createCommentVNode(" 主体 "), offsetWidth.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
726
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [vue.createCommentVNode(" 主体 "), offsetWidth.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [vue.createElementVNode("table", {
|
|
727
727
|
"class": "relative w-full mb-[24px]",
|
|
728
728
|
style: vue.normalizeStyle([{
|
|
729
729
|
"table-layout": "fixed"
|
|
@@ -766,7 +766,7 @@ var script$d = /*#__PURE__*/vue.defineComponent({
|
|
|
766
766
|
/* UNKEYED_FRAGMENT */
|
|
767
767
|
))])], 4
|
|
768
768
|
/* STYLE */
|
|
769
|
-
), __props.isTableControl ? (vue.openBlock(), vue.createBlock(vue.unref(script$
|
|
769
|
+
), __props.isTableControl ? (vue.openBlock(), vue.createBlock(vue.unref(script$d), {
|
|
770
770
|
key: 0,
|
|
771
771
|
setHeight: __props.setHeight,
|
|
772
772
|
onDensity: density,
|
|
@@ -873,7 +873,7 @@ var script$d = /*#__PURE__*/vue.defineComponent({
|
|
|
873
873
|
))]);
|
|
874
874
|
}), 128
|
|
875
875
|
/* KEYED_FRAGMENT */
|
|
876
|
-
)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_19$3, _hoisted_21$3))]), __props.isTableControl ? (vue.openBlock(), vue.createBlock(vue.unref(script$
|
|
876
|
+
)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_19$3, _hoisted_21$3))]), __props.isTableControl ? (vue.openBlock(), vue.createBlock(vue.unref(script$d), {
|
|
877
877
|
key: 0,
|
|
878
878
|
setHeight: __props.setHeight,
|
|
879
879
|
onDensity: density,
|
|
@@ -908,13 +908,13 @@ var script$d = /*#__PURE__*/vue.defineComponent({
|
|
|
908
908
|
}
|
|
909
909
|
});
|
|
910
910
|
|
|
911
|
-
script$
|
|
911
|
+
script$e.__file = "src/function-ui/component/IVMrpTable.vue";
|
|
912
912
|
|
|
913
913
|
var _withScopeId = function _withScopeId(n) {
|
|
914
914
|
return vue.pushScopeId("data-v-4b5cf48c"), n = n(), vue.popScopeId(), n;
|
|
915
915
|
};
|
|
916
916
|
|
|
917
|
-
var _hoisted_1$
|
|
917
|
+
var _hoisted_1$b = {
|
|
918
918
|
"class": "tableControl"
|
|
919
919
|
};
|
|
920
920
|
|
|
@@ -938,7 +938,7 @@ var _hoisted_6$3 = /*#__PURE__*/_withScopeId(function () {
|
|
|
938
938
|
|
|
939
939
|
var _hoisted_7$3 = /*#__PURE__*/vue.createTextVNode(" 全选 ");
|
|
940
940
|
|
|
941
|
-
var script$
|
|
941
|
+
var script$d = /*#__PURE__*/vue.defineComponent({
|
|
942
942
|
__name: 'IVMrpTableControl',
|
|
943
943
|
props: {
|
|
944
944
|
setHeight: {
|
|
@@ -1033,7 +1033,7 @@ var script$c = /*#__PURE__*/vue.defineComponent({
|
|
|
1033
1033
|
|
|
1034
1034
|
var _component_setting_outlined = vue.resolveComponent("setting-outlined");
|
|
1035
1035
|
|
|
1036
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1036
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, [vue.createVNode(_component_a_popover, {
|
|
1037
1037
|
trigger: "hover",
|
|
1038
1038
|
visible: hovered.value,
|
|
1039
1039
|
onVisibleChange: handleHoverChange
|
|
@@ -1184,8 +1184,8 @@ var script$c = /*#__PURE__*/vue.defineComponent({
|
|
|
1184
1184
|
}
|
|
1185
1185
|
});
|
|
1186
1186
|
|
|
1187
|
-
script$
|
|
1188
|
-
script$
|
|
1187
|
+
script$d.__scopeId = "data-v-4b5cf48c";
|
|
1188
|
+
script$d.__file = "src/function-ui/component/IVMrpTableControl.vue";
|
|
1189
1189
|
|
|
1190
1190
|
function _loadChildren(obj, list) {
|
|
1191
1191
|
var arr = list.filter(function (x) {
|
|
@@ -1389,7 +1389,7 @@ var formatUrl = function formatUrl(base, api, params) {
|
|
|
1389
1389
|
return buildURL(base + api, params);
|
|
1390
1390
|
};
|
|
1391
1391
|
|
|
1392
|
-
var _hoisted_1$
|
|
1392
|
+
var _hoisted_1$a = {
|
|
1393
1393
|
key: 0,
|
|
1394
1394
|
"class": "text-[#0000006D] text-[14px]"
|
|
1395
1395
|
};
|
|
@@ -1397,7 +1397,7 @@ var _hoisted_1$9 = {
|
|
|
1397
1397
|
* 组件定义-------------------------------------
|
|
1398
1398
|
* */
|
|
1399
1399
|
|
|
1400
|
-
var script$
|
|
1400
|
+
var script$c = /*#__PURE__*/vue.defineComponent({
|
|
1401
1401
|
__name: 'IVMrpOrgDropdown',
|
|
1402
1402
|
props: {
|
|
1403
1403
|
value: {
|
|
@@ -1568,7 +1568,7 @@ var script$b = /*#__PURE__*/vue.defineComponent({
|
|
|
1568
1568
|
colon: __props.isTitle
|
|
1569
1569
|
}, {
|
|
1570
1570
|
label: vue.withCtx(function () {
|
|
1571
|
-
return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1571
|
+
return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, vue.toDisplayString(__props.title), 1
|
|
1572
1572
|
/* TEXT */
|
|
1573
1573
|
)) : vue.createCommentVNode("v-if", true)];
|
|
1574
1574
|
}),
|
|
@@ -1608,9 +1608,9 @@ var script$b = /*#__PURE__*/vue.defineComponent({
|
|
|
1608
1608
|
}
|
|
1609
1609
|
});
|
|
1610
1610
|
|
|
1611
|
-
script$
|
|
1611
|
+
script$c.__file = "src/business-ui/component/IVMrpOrgDropdown.vue";
|
|
1612
1612
|
|
|
1613
|
-
var _hoisted_1$
|
|
1613
|
+
var _hoisted_1$9 = {
|
|
1614
1614
|
key: 0,
|
|
1615
1615
|
"class": "text-[#0000006D] text-[14px]"
|
|
1616
1616
|
};
|
|
@@ -1618,7 +1618,7 @@ var _hoisted_1$8 = {
|
|
|
1618
1618
|
* 组件定义-------------------------------------
|
|
1619
1619
|
* */
|
|
1620
1620
|
|
|
1621
|
-
var script$
|
|
1621
|
+
var script$b = /*#__PURE__*/vue.defineComponent({
|
|
1622
1622
|
__name: 'IVMrpProdBaseDropdown',
|
|
1623
1623
|
props: {
|
|
1624
1624
|
value: {
|
|
@@ -1788,7 +1788,7 @@ var script$a = /*#__PURE__*/vue.defineComponent({
|
|
|
1788
1788
|
colon: __props.isTitle
|
|
1789
1789
|
}, {
|
|
1790
1790
|
label: vue.withCtx(function () {
|
|
1791
|
-
return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1791
|
+
return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, vue.toDisplayString(__props.title), 1
|
|
1792
1792
|
/* TEXT */
|
|
1793
1793
|
)) : vue.createCommentVNode("v-if", true)];
|
|
1794
1794
|
}),
|
|
@@ -1826,9 +1826,9 @@ var script$a = /*#__PURE__*/vue.defineComponent({
|
|
|
1826
1826
|
}
|
|
1827
1827
|
});
|
|
1828
1828
|
|
|
1829
|
-
script$
|
|
1829
|
+
script$b.__file = "src/business-ui/component/IVMrpProdBaseDropdown.vue";
|
|
1830
1830
|
|
|
1831
|
-
var _hoisted_1$
|
|
1831
|
+
var _hoisted_1$8 = {
|
|
1832
1832
|
key: 0,
|
|
1833
1833
|
"class": "text-[#0000006D] text-[14px]"
|
|
1834
1834
|
};
|
|
@@ -1836,7 +1836,7 @@ var _hoisted_1$7 = {
|
|
|
1836
1836
|
* 组件定义-------------------------------------
|
|
1837
1837
|
* */
|
|
1838
1838
|
|
|
1839
|
-
var script$
|
|
1839
|
+
var script$a = /*#__PURE__*/vue.defineComponent({
|
|
1840
1840
|
__name: 'IVMrpLineDropdown',
|
|
1841
1841
|
props: {
|
|
1842
1842
|
value: {
|
|
@@ -2008,7 +2008,7 @@ var script$9 = /*#__PURE__*/vue.defineComponent({
|
|
|
2008
2008
|
colon: __props.isTitle
|
|
2009
2009
|
}, {
|
|
2010
2010
|
label: vue.withCtx(function () {
|
|
2011
|
-
return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2011
|
+
return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$8, vue.toDisplayString(__props.title), 1
|
|
2012
2012
|
/* TEXT */
|
|
2013
2013
|
)) : vue.createCommentVNode("v-if", true)];
|
|
2014
2014
|
}),
|
|
@@ -2046,9 +2046,9 @@ var script$9 = /*#__PURE__*/vue.defineComponent({
|
|
|
2046
2046
|
}
|
|
2047
2047
|
});
|
|
2048
2048
|
|
|
2049
|
-
script$
|
|
2049
|
+
script$a.__file = "src/business-ui/component/IVMrpLineDropdown.vue";
|
|
2050
2050
|
|
|
2051
|
-
var _hoisted_1$
|
|
2051
|
+
var _hoisted_1$7 = {
|
|
2052
2052
|
key: 0,
|
|
2053
2053
|
"class": "text-[#0000006D] text-[14px]"
|
|
2054
2054
|
};
|
|
@@ -2056,7 +2056,7 @@ var _hoisted_1$6 = {
|
|
|
2056
2056
|
* 组件定义-------------------------------------
|
|
2057
2057
|
* */
|
|
2058
2058
|
|
|
2059
|
-
var script$
|
|
2059
|
+
var script$9 = /*#__PURE__*/vue.defineComponent({
|
|
2060
2060
|
__name: 'IVMrpSetofbookDropdown',
|
|
2061
2061
|
props: {
|
|
2062
2062
|
value: {
|
|
@@ -2232,7 +2232,7 @@ var script$8 = /*#__PURE__*/vue.defineComponent({
|
|
|
2232
2232
|
colon: __props.isTitle
|
|
2233
2233
|
}, {
|
|
2234
2234
|
label: vue.withCtx(function () {
|
|
2235
|
-
return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2235
|
+
return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, vue.toDisplayString(__props.title), 1
|
|
2236
2236
|
/* TEXT */
|
|
2237
2237
|
)) : vue.createCommentVNode("v-if", true)];
|
|
2238
2238
|
}),
|
|
@@ -2272,9 +2272,9 @@ var script$8 = /*#__PURE__*/vue.defineComponent({
|
|
|
2272
2272
|
}
|
|
2273
2273
|
});
|
|
2274
2274
|
|
|
2275
|
-
script$
|
|
2275
|
+
script$9.__file = "src/business-ui/component/IVMrpSetofbookDropdown.vue";
|
|
2276
2276
|
|
|
2277
|
-
var _hoisted_1$
|
|
2277
|
+
var _hoisted_1$6 = {
|
|
2278
2278
|
key: 0,
|
|
2279
2279
|
"class": "text-[#0000006D] text-[14px]"
|
|
2280
2280
|
};
|
|
@@ -2282,7 +2282,7 @@ var _hoisted_1$5 = {
|
|
|
2282
2282
|
* 组件定义-------------------------------------
|
|
2283
2283
|
* */
|
|
2284
2284
|
|
|
2285
|
-
var script$
|
|
2285
|
+
var script$8 = /*#__PURE__*/vue.defineComponent({
|
|
2286
2286
|
__name: 'IVMrpPostDropdown',
|
|
2287
2287
|
props: {
|
|
2288
2288
|
value: {
|
|
@@ -2449,7 +2449,7 @@ var script$7 = /*#__PURE__*/vue.defineComponent({
|
|
|
2449
2449
|
colon: __props.isTitle
|
|
2450
2450
|
}, {
|
|
2451
2451
|
label: vue.withCtx(function () {
|
|
2452
|
-
return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2452
|
+
return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, vue.toDisplayString(__props.title), 1
|
|
2453
2453
|
/* TEXT */
|
|
2454
2454
|
)) : vue.createCommentVNode("v-if", true)];
|
|
2455
2455
|
}),
|
|
@@ -2488,9 +2488,9 @@ var script$7 = /*#__PURE__*/vue.defineComponent({
|
|
|
2488
2488
|
}
|
|
2489
2489
|
});
|
|
2490
2490
|
|
|
2491
|
-
script$
|
|
2491
|
+
script$8.__file = "src/business-ui/component/IVMrpPostDropdown.vue";
|
|
2492
2492
|
|
|
2493
|
-
var _hoisted_1$
|
|
2493
|
+
var _hoisted_1$5 = {
|
|
2494
2494
|
key: 0,
|
|
2495
2495
|
"class": "text-[#0000006D] text-[14px]"
|
|
2496
2496
|
};
|
|
@@ -2498,7 +2498,7 @@ var _hoisted_1$4 = {
|
|
|
2498
2498
|
* 组件定义-------------------------------------
|
|
2499
2499
|
* */
|
|
2500
2500
|
|
|
2501
|
-
var script$
|
|
2501
|
+
var script$7 = /*#__PURE__*/vue.defineComponent({
|
|
2502
2502
|
__name: 'IVMrpManagDropdown',
|
|
2503
2503
|
props: {
|
|
2504
2504
|
value: {
|
|
@@ -2656,7 +2656,7 @@ var script$6 = /*#__PURE__*/vue.defineComponent({
|
|
|
2656
2656
|
colon: __props.isTitle
|
|
2657
2657
|
}, {
|
|
2658
2658
|
label: vue.withCtx(function () {
|
|
2659
|
-
return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2659
|
+
return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, vue.toDisplayString(__props.title), 1
|
|
2660
2660
|
/* TEXT */
|
|
2661
2661
|
)) : vue.createCommentVNode("v-if", true)];
|
|
2662
2662
|
}),
|
|
@@ -2694,13 +2694,13 @@ var script$6 = /*#__PURE__*/vue.defineComponent({
|
|
|
2694
2694
|
}
|
|
2695
2695
|
});
|
|
2696
2696
|
|
|
2697
|
-
script$
|
|
2697
|
+
script$7.__file = "src/business-ui/component/IVMrpManagDropdown.vue";
|
|
2698
2698
|
|
|
2699
2699
|
/**
|
|
2700
2700
|
* 组件定义-------------------------------------
|
|
2701
2701
|
* */
|
|
2702
2702
|
|
|
2703
|
-
var script$
|
|
2703
|
+
var script$6 = /*#__PURE__*/vue.defineComponent({
|
|
2704
2704
|
__name: 'IVMrpRateDropdown',
|
|
2705
2705
|
props: {
|
|
2706
2706
|
value: {
|
|
@@ -2780,13 +2780,13 @@ var script$5 = /*#__PURE__*/vue.defineComponent({
|
|
|
2780
2780
|
}
|
|
2781
2781
|
});
|
|
2782
2782
|
|
|
2783
|
-
script$
|
|
2783
|
+
script$6.__file = "src/business-ui/component/IVMrpRateDropdown.vue";
|
|
2784
2784
|
|
|
2785
2785
|
/**
|
|
2786
2786
|
* 组件定义-------------------------------------
|
|
2787
2787
|
* */
|
|
2788
2788
|
|
|
2789
|
-
var script$
|
|
2789
|
+
var script$5 = /*#__PURE__*/vue.defineComponent({
|
|
2790
2790
|
__name: 'IVMrpUnitDropdown',
|
|
2791
2791
|
props: {
|
|
2792
2792
|
value: {
|
|
@@ -2921,7 +2921,233 @@ var script$4 = /*#__PURE__*/vue.defineComponent({
|
|
|
2921
2921
|
}
|
|
2922
2922
|
});
|
|
2923
2923
|
|
|
2924
|
-
script$
|
|
2924
|
+
script$5.__file = "src/business-ui/component/IVMrpUnitDropdown.vue";
|
|
2925
|
+
|
|
2926
|
+
var _hoisted_1$4 = {
|
|
2927
|
+
key: 0,
|
|
2928
|
+
"class": "text-[#0000006D] text-[14px]"
|
|
2929
|
+
};
|
|
2930
|
+
/**
|
|
2931
|
+
* 组件定义-------------------------------------
|
|
2932
|
+
* */
|
|
2933
|
+
|
|
2934
|
+
var script$4 = /*#__PURE__*/vue.defineComponent({
|
|
2935
|
+
__name: 'IVMrpMaterialTypeDropdown',
|
|
2936
|
+
props: {
|
|
2937
|
+
value: {
|
|
2938
|
+
type: null,
|
|
2939
|
+
required: true
|
|
2940
|
+
},
|
|
2941
|
+
params: {
|
|
2942
|
+
type: Object,
|
|
2943
|
+
required: false
|
|
2944
|
+
},
|
|
2945
|
+
data: {
|
|
2946
|
+
type: Object,
|
|
2947
|
+
required: false
|
|
2948
|
+
},
|
|
2949
|
+
replaceFields: {
|
|
2950
|
+
type: null,
|
|
2951
|
+
required: false,
|
|
2952
|
+
"default": function _default() {
|
|
2953
|
+
return {
|
|
2954
|
+
children: "childs",
|
|
2955
|
+
label: "name",
|
|
2956
|
+
key: "id",
|
|
2957
|
+
value: "id"
|
|
2958
|
+
};
|
|
2959
|
+
}
|
|
2960
|
+
},
|
|
2961
|
+
inputStyle: {
|
|
2962
|
+
type: Object,
|
|
2963
|
+
required: true
|
|
2964
|
+
},
|
|
2965
|
+
formItemStyle: {
|
|
2966
|
+
type: Object,
|
|
2967
|
+
required: false
|
|
2968
|
+
},
|
|
2969
|
+
labelCol: {
|
|
2970
|
+
type: Object,
|
|
2971
|
+
required: false,
|
|
2972
|
+
"default": function _default() {
|
|
2973
|
+
return {
|
|
2974
|
+
span: 4
|
|
2975
|
+
};
|
|
2976
|
+
}
|
|
2977
|
+
},
|
|
2978
|
+
wrapperCol: {
|
|
2979
|
+
type: Object,
|
|
2980
|
+
required: false,
|
|
2981
|
+
"default": function _default() {
|
|
2982
|
+
return {
|
|
2983
|
+
span: 11
|
|
2984
|
+
};
|
|
2985
|
+
}
|
|
2986
|
+
},
|
|
2987
|
+
isRequired: {
|
|
2988
|
+
type: Boolean,
|
|
2989
|
+
required: true,
|
|
2990
|
+
"default": true
|
|
2991
|
+
},
|
|
2992
|
+
multiple: {
|
|
2993
|
+
type: Boolean,
|
|
2994
|
+
required: false,
|
|
2995
|
+
"default": false
|
|
2996
|
+
},
|
|
2997
|
+
isTitle: {
|
|
2998
|
+
type: Boolean,
|
|
2999
|
+
required: false,
|
|
3000
|
+
"default": true
|
|
3001
|
+
},
|
|
3002
|
+
placeholder: {
|
|
3003
|
+
type: String,
|
|
3004
|
+
required: false,
|
|
3005
|
+
"default": "请选择"
|
|
3006
|
+
},
|
|
3007
|
+
title: {
|
|
3008
|
+
type: String,
|
|
3009
|
+
required: false,
|
|
3010
|
+
"default": "材料类型"
|
|
3011
|
+
}
|
|
3012
|
+
},
|
|
3013
|
+
emits: ["update:value", "change"],
|
|
3014
|
+
setup: function setup(__props, _ref) {
|
|
3015
|
+
var emit = _ref.emit;
|
|
3016
|
+
var props = __props;
|
|
3017
|
+
/**
|
|
3018
|
+
* 获取数据-------------------------------------
|
|
3019
|
+
* */
|
|
3020
|
+
|
|
3021
|
+
var dataV = vue.ref();
|
|
3022
|
+
|
|
3023
|
+
var getData = /*#__PURE__*/function () {
|
|
3024
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
3025
|
+
var _option,
|
|
3026
|
+
_a,
|
|
3027
|
+
_args = arguments;
|
|
3028
|
+
|
|
3029
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
3030
|
+
while (1) {
|
|
3031
|
+
switch (_context.prev = _context.next) {
|
|
3032
|
+
case 0:
|
|
3033
|
+
_option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
|
|
3034
|
+
_context.next = 3;
|
|
3035
|
+
return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.getIVMrpMaterialTypeDropdown.url, _option.params), assign({
|
|
3036
|
+
data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
|
|
3037
|
+
}, API_OPTION.getIVMrpMaterialTypeDropdown.option)));
|
|
3038
|
+
|
|
3039
|
+
case 3:
|
|
3040
|
+
dataV.value = _context.sent;
|
|
3041
|
+
|
|
3042
|
+
case 4:
|
|
3043
|
+
case "end":
|
|
3044
|
+
return _context.stop();
|
|
3045
|
+
}
|
|
3046
|
+
}
|
|
3047
|
+
}, _callee);
|
|
3048
|
+
}));
|
|
3049
|
+
|
|
3050
|
+
return function getData() {
|
|
3051
|
+
return _ref2.apply(this, arguments);
|
|
3052
|
+
};
|
|
3053
|
+
}();
|
|
3054
|
+
|
|
3055
|
+
var inputV = vue.computed({
|
|
3056
|
+
get: function get() {
|
|
3057
|
+
return props.value;
|
|
3058
|
+
},
|
|
3059
|
+
set: function set(value) {
|
|
3060
|
+
emit("update:value", value);
|
|
3061
|
+
}
|
|
3062
|
+
});
|
|
3063
|
+
/**
|
|
3064
|
+
* 侦听器-------------------------------------
|
|
3065
|
+
* */
|
|
3066
|
+
|
|
3067
|
+
vue.watchEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
3068
|
+
var _a, _b;
|
|
3069
|
+
|
|
3070
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
3071
|
+
while (1) {
|
|
3072
|
+
switch (_context2.prev = _context2.next) {
|
|
3073
|
+
case 0:
|
|
3074
|
+
// 由于打包问题,侦听器一定要在最后,否则找不到getData方法
|
|
3075
|
+
getData({
|
|
3076
|
+
params: assign((_a = props.params) !== null && _a !== void 0 ? _a : {}, {
|
|
3077
|
+
type: 1
|
|
3078
|
+
}),
|
|
3079
|
+
data: (_b = props.data) !== null && _b !== void 0 ? _b : null
|
|
3080
|
+
});
|
|
3081
|
+
|
|
3082
|
+
case 1:
|
|
3083
|
+
case "end":
|
|
3084
|
+
return _context2.stop();
|
|
3085
|
+
}
|
|
3086
|
+
}
|
|
3087
|
+
}, _callee2);
|
|
3088
|
+
})));
|
|
3089
|
+
return function (_ctx, _cache) {
|
|
3090
|
+
var _component_a_tree_select = vue.resolveComponent("a-tree-select");
|
|
3091
|
+
|
|
3092
|
+
var _component_a_form_item = vue.resolveComponent("a-form-item");
|
|
3093
|
+
|
|
3094
|
+
return vue.openBlock(), vue.createBlock(_component_a_form_item, {
|
|
3095
|
+
name: "materialCategoryId",
|
|
3096
|
+
"label-col": __props.labelCol,
|
|
3097
|
+
"wrapper-col": __props.wrapperCol,
|
|
3098
|
+
rules: [{
|
|
3099
|
+
required: __props.isRequired,
|
|
3100
|
+
message: '请选择' + __props.title
|
|
3101
|
+
}],
|
|
3102
|
+
style: vue.normalizeStyle(__props.formItemStyle),
|
|
3103
|
+
colon: __props.isTitle
|
|
3104
|
+
}, {
|
|
3105
|
+
label: vue.withCtx(function () {
|
|
3106
|
+
return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, vue.toDisplayString(__props.title), 1
|
|
3107
|
+
/* TEXT */
|
|
3108
|
+
)) : vue.createCommentVNode("v-if", true)];
|
|
3109
|
+
}),
|
|
3110
|
+
"default": vue.withCtx(function () {
|
|
3111
|
+
return [vue.createVNode(_component_a_tree_select, {
|
|
3112
|
+
value: vue.unref(inputV),
|
|
3113
|
+
"onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
|
|
3114
|
+
return vue.isRef(inputV) ? inputV.value = $event : null;
|
|
3115
|
+
}),
|
|
3116
|
+
"tree-data": dataV.value,
|
|
3117
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
3118
|
+
return triggerNode.parentNode;
|
|
3119
|
+
},
|
|
3120
|
+
placeholder: __props.placeholder,
|
|
3121
|
+
showArrow: "",
|
|
3122
|
+
showSearch: "",
|
|
3123
|
+
allowClear: !__props.isRequired,
|
|
3124
|
+
"dropdown-style": {
|
|
3125
|
+
maxHeight: '400px',
|
|
3126
|
+
overflow: 'auto'
|
|
3127
|
+
},
|
|
3128
|
+
"filter-option": vue.unref(filterOptionHeadle),
|
|
3129
|
+
multiple: __props.multiple,
|
|
3130
|
+
treeDefaultExpandAll: "",
|
|
3131
|
+
style: vue.normalizeStyle(__props.inputStyle),
|
|
3132
|
+
onChange: _cache[1] || (_cache[1] = function ($event) {
|
|
3133
|
+
return _ctx.$emit('change', $event);
|
|
3134
|
+
}),
|
|
3135
|
+
replaceFields: __props.replaceFields
|
|
3136
|
+
}, null, 8
|
|
3137
|
+
/* PROPS */
|
|
3138
|
+
, ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filter-option", "multiple", "style", "replaceFields"])];
|
|
3139
|
+
}),
|
|
3140
|
+
_: 1
|
|
3141
|
+
/* STABLE */
|
|
3142
|
+
|
|
3143
|
+
}, 8
|
|
3144
|
+
/* PROPS */
|
|
3145
|
+
, ["label-col", "wrapper-col", "rules", "style", "colon"]);
|
|
3146
|
+
};
|
|
3147
|
+
}
|
|
3148
|
+
});
|
|
3149
|
+
|
|
3150
|
+
script$4.__file = "src/business-ui/component/IVMrpMaterialTypeDropdown.vue";
|
|
2925
3151
|
|
|
2926
3152
|
var _hoisted_1$3 = {
|
|
2927
3153
|
"class": "relative mt-[8px] w-[30px] h-[23px]"
|
|
@@ -3263,7 +3489,7 @@ var script$2 = /*#__PURE__*/vue.defineComponent({
|
|
|
3263
3489
|
|
|
3264
3490
|
var _component_a_dropdown = vue.resolveComponent("a-dropdown");
|
|
3265
3491
|
|
|
3266
|
-
return vue.openBlock(), vue.createBlock(script$
|
|
3492
|
+
return vue.openBlock(), vue.createBlock(script$f, {
|
|
3267
3493
|
show: vue.unref(inputV),
|
|
3268
3494
|
"onUpdate:show": _cache[5] || (_cache[5] = function ($event) {
|
|
3269
3495
|
return vue.isRef(inputV) ? inputV.value = $event : null;
|
|
@@ -3274,7 +3500,7 @@ var script$2 = /*#__PURE__*/vue.defineComponent({
|
|
|
3274
3500
|
return [vue.createElementVNode("div", _hoisted_1$2, [vue.createVNode(script$3), _hoisted_2$2])];
|
|
3275
3501
|
}),
|
|
3276
3502
|
body: vue.withCtx(function () {
|
|
3277
|
-
return [vue.createElementVNode("div", _hoisted_3$2, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4$2, [vue.createElementVNode("div", _hoisted_5$2, [vue.createVNode(vue.unref(script$
|
|
3503
|
+
return [vue.createElementVNode("div", _hoisted_3$2, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4$2, [vue.createElementVNode("div", _hoisted_5$2, [vue.createVNode(vue.unref(script$c), {
|
|
3278
3504
|
value: formData.organizationId,
|
|
3279
3505
|
"onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
|
|
3280
3506
|
return formData.organizationId = $event;
|
|
@@ -3292,7 +3518,7 @@ var script$2 = /*#__PURE__*/vue.defineComponent({
|
|
|
3292
3518
|
}
|
|
3293
3519
|
}, null, 8
|
|
3294
3520
|
/* PROPS */
|
|
3295
|
-
, ["value"]), vue.createVNode(vue.unref(script$
|
|
3521
|
+
, ["value"]), vue.createVNode(vue.unref(script$a), {
|
|
3296
3522
|
value: formData.lineId,
|
|
3297
3523
|
"onUpdate:value": _cache[1] || (_cache[1] = function ($event) {
|
|
3298
3524
|
return formData.lineId = $event;
|
|
@@ -3311,7 +3537,7 @@ var script$2 = /*#__PURE__*/vue.defineComponent({
|
|
|
3311
3537
|
}
|
|
3312
3538
|
}, null, 8
|
|
3313
3539
|
/* PROPS */
|
|
3314
|
-
, ["value"]), vue.createVNode(vue.unref(script$
|
|
3540
|
+
, ["value"]), vue.createVNode(vue.unref(script$8), {
|
|
3315
3541
|
value: formData.positionId,
|
|
3316
3542
|
"onUpdate:value": _cache[2] || (_cache[2] = function ($event) {
|
|
3317
3543
|
return formData.positionId = $event;
|
|
@@ -3419,7 +3645,7 @@ var script$2 = /*#__PURE__*/vue.defineComponent({
|
|
|
3419
3645
|
_: 1
|
|
3420
3646
|
/* STABLE */
|
|
3421
3647
|
|
|
3422
|
-
}), _hoisted_16$2])]), vue.createElementVNode("div", _hoisted_17$2, [vue.createVNode(vue.unref(script$
|
|
3648
|
+
}), _hoisted_16$2])]), vue.createElementVNode("div", _hoisted_17$2, [vue.createVNode(vue.unref(script$e), {
|
|
3423
3649
|
dataTh: vue.unref(th),
|
|
3424
3650
|
contractExecDocList: dataV.value,
|
|
3425
3651
|
currentPages: currentPages.value,
|
|
@@ -3845,7 +4071,7 @@ var script$1 = /*#__PURE__*/vue.defineComponent({
|
|
|
3845
4071
|
|
|
3846
4072
|
var _component_a_dropdown = vue.resolveComponent("a-dropdown");
|
|
3847
4073
|
|
|
3848
|
-
return vue.openBlock(), vue.createBlock(script$
|
|
4074
|
+
return vue.openBlock(), vue.createBlock(script$f, {
|
|
3849
4075
|
show: vue.unref(inputV),
|
|
3850
4076
|
"onUpdate:show": _cache[5] || (_cache[5] = function ($event) {
|
|
3851
4077
|
return vue.isRef(inputV) ? inputV.value = $event : null;
|
|
@@ -3882,7 +4108,7 @@ var script$1 = /*#__PURE__*/vue.defineComponent({
|
|
|
3882
4108
|
}
|
|
3883
4109
|
}, null, 8
|
|
3884
4110
|
/* PROPS */
|
|
3885
|
-
, ["value", "getPopupContainer", "filter-option", "options"]), vue.createVNode(vue.unref(script$
|
|
4111
|
+
, ["value", "getPopupContainer", "filter-option", "options"]), vue.createVNode(vue.unref(script$a), {
|
|
3886
4112
|
value: formData.lineIds,
|
|
3887
4113
|
"onUpdate:value": _cache[1] || (_cache[1] = function ($event) {
|
|
3888
4114
|
return formData.lineIds = $event;
|
|
@@ -4013,7 +4239,7 @@ var script$1 = /*#__PURE__*/vue.defineComponent({
|
|
|
4013
4239
|
_: 1
|
|
4014
4240
|
/* STABLE */
|
|
4015
4241
|
|
|
4016
|
-
}), _hoisted_16$1])]), vue.createElementVNode("div", _hoisted_17$1, [vue.createVNode(vue.unref(script$
|
|
4242
|
+
}), _hoisted_16$1])]), vue.createElementVNode("div", _hoisted_17$1, [vue.createVNode(vue.unref(script$e), {
|
|
4017
4243
|
dataTh: vue.unref(th),
|
|
4018
4244
|
contractExecDocList: dataV.value,
|
|
4019
4245
|
currentPages: currentPages.value,
|
|
@@ -4206,9 +4432,9 @@ var script = /*#__PURE__*/vue.defineComponent({
|
|
|
4206
4432
|
case 0:
|
|
4207
4433
|
_option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
|
|
4208
4434
|
_context.next = 3;
|
|
4209
|
-
return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.
|
|
4435
|
+
return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.getIVMrpMaterialSelector.url, _option.params), assign({
|
|
4210
4436
|
data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
|
|
4211
|
-
}, API_OPTION.
|
|
4437
|
+
}, API_OPTION.getIVMrpMaterialSelector.option)));
|
|
4212
4438
|
|
|
4213
4439
|
case 3:
|
|
4214
4440
|
_yield$formatHTTP = _context.sent;
|
|
@@ -4411,7 +4637,7 @@ var script = /*#__PURE__*/vue.defineComponent({
|
|
|
4411
4637
|
|
|
4412
4638
|
var _component_a_dropdown = vue.resolveComponent("a-dropdown");
|
|
4413
4639
|
|
|
4414
|
-
return vue.openBlock(), vue.createBlock(script$
|
|
4640
|
+
return vue.openBlock(), vue.createBlock(script$f, {
|
|
4415
4641
|
show: vue.unref(inputV),
|
|
4416
4642
|
"onUpdate:show": _cache[2] || (_cache[2] = function ($event) {
|
|
4417
4643
|
return vue.isRef(inputV) ? inputV.value = $event : null;
|
|
@@ -4512,7 +4738,7 @@ var script = /*#__PURE__*/vue.defineComponent({
|
|
|
4512
4738
|
_: 1
|
|
4513
4739
|
/* STABLE */
|
|
4514
4740
|
|
|
4515
|
-
}), _hoisted_16])]), vue.createElementVNode("div", _hoisted_17, [vue.createVNode(vue.unref(script$
|
|
4741
|
+
}), _hoisted_16])]), vue.createElementVNode("div", _hoisted_17, [vue.createVNode(vue.unref(script$e), {
|
|
4516
4742
|
dataTh: vue.unref(th),
|
|
4517
4743
|
contractExecDocList: dataV.value,
|
|
4518
4744
|
currentPages: currentPages.value,
|
|
@@ -4565,7 +4791,7 @@ script.__file = "src/business-ui/component/IVMrpMaterialSelector.vue";
|
|
|
4565
4791
|
* @Date: 2022-08-08 18:47:06
|
|
4566
4792
|
* @LastEditTime: 2022-08-12 16:07:20
|
|
4567
4793
|
*/
|
|
4568
|
-
var components = [script$
|
|
4794
|
+
var components = [script$f, script$c, script$b, script$a, script$9, script$8, script$7, script$e, script$d, script$6, script$5, script$4, script$2, script$1, script];
|
|
4569
4795
|
installComponents(); // 单独引用
|
|
4570
4796
|
|
|
4571
4797
|
function installComponents() {
|
|
@@ -4587,19 +4813,19 @@ var cAll = {
|
|
|
4587
4813
|
install: install
|
|
4588
4814
|
};
|
|
4589
4815
|
|
|
4590
|
-
exports.IVMrpLineDropdown = script$
|
|
4591
|
-
exports.IVMrpManagDropdown = script$
|
|
4816
|
+
exports.IVMrpLineDropdown = script$a;
|
|
4817
|
+
exports.IVMrpManagDropdown = script$7;
|
|
4592
4818
|
exports.IVMrpMaterialSelector = script;
|
|
4593
4819
|
exports.IVMrpMaterialTypeDropdown = script$4;
|
|
4594
|
-
exports.IVMrpModal = script$
|
|
4595
|
-
exports.IVMrpOrgDropdown = script$
|
|
4596
|
-
exports.IVMrpPostDropdown = script$
|
|
4597
|
-
exports.IVMrpProdBaseDropdown = script$
|
|
4598
|
-
exports.IVMrpRateDropdown = script$
|
|
4599
|
-
exports.IVMrpSetofbookDropdown = script$
|
|
4600
|
-
exports.IVMrpTable = script$
|
|
4601
|
-
exports.IVMrpTableControl = script$
|
|
4602
|
-
exports.IVMrpUnitDropdown = script$
|
|
4820
|
+
exports.IVMrpModal = script$f;
|
|
4821
|
+
exports.IVMrpOrgDropdown = script$c;
|
|
4822
|
+
exports.IVMrpPostDropdown = script$8;
|
|
4823
|
+
exports.IVMrpProdBaseDropdown = script$b;
|
|
4824
|
+
exports.IVMrpRateDropdown = script$6;
|
|
4825
|
+
exports.IVMrpSetofbookDropdown = script$9;
|
|
4826
|
+
exports.IVMrpTable = script$e;
|
|
4827
|
+
exports.IVMrpTableControl = script$d;
|
|
4828
|
+
exports.IVMrpUnitDropdown = script$5;
|
|
4603
4829
|
exports.IVMrpUserSelector = script$2;
|
|
4604
4830
|
exports.IVMrpVendorSelector = script$1;
|
|
4605
4831
|
exports["default"] = cAll;
|