iv-npm 1.2.31 → 1.2.34
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/shared/dist/utils/index.d.ts +1 -1
- package/packages/shared/dist/utils/index.mjs +2 -2
- package/packages/shared/package.json +31 -31
- package/packages/ui/dist/api/api.config.d.ts +5 -0
- package/packages/ui/dist/business-ui/component/IVProjectSelector.d.ts +6 -158
- package/packages/ui/dist/index.cjs.js +632 -323
- package/packages/ui/dist/index.esm.js +628 -319
- package/packages/ui/dist/index.umd.js +632 -323
- package/packages/ui/dist/index.umd.js.map +1 -1
- package/packages/ui/package.json +60 -60
- package/pnpm-lock.yaml +5724 -5724
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, unref, isRef, withCtx, renderSlot, ref, onMounted, onBeforeUnmount, Fragment, createCommentVNode, createElementVNode, normalizeStyle, renderList, normalizeClass, createTextVNode, toDisplayString, createBlock, createStaticVNode, reactive, watch, pushScopeId, popScopeId, watchEffect, mergeProps,
|
|
1
|
+
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, unref, isRef, withCtx, renderSlot, ref, onMounted, onBeforeUnmount, Fragment, createCommentVNode, createElementVNode, normalizeStyle, renderList, normalizeClass, createTextVNode, toDisplayString, createBlock, createStaticVNode, reactive, watch, pushScopeId, popScopeId, watchEffect, mergeProps, onBeforeMount, withKeys, withModifiers, toRefs } from 'vue';
|
|
2
2
|
|
|
3
3
|
var _hoisted_1$m = {
|
|
4
4
|
id: "IVModal"
|
|
@@ -548,20 +548,20 @@ var _hoisted_1$l = {
|
|
|
548
548
|
key: 0,
|
|
549
549
|
id: "top"
|
|
550
550
|
};
|
|
551
|
-
var _hoisted_2$
|
|
551
|
+
var _hoisted_2$b = {
|
|
552
552
|
"class": "flex items-center justify-center"
|
|
553
553
|
};
|
|
554
|
-
var _hoisted_3$
|
|
554
|
+
var _hoisted_3$9 = {
|
|
555
555
|
key: 0,
|
|
556
556
|
style: {
|
|
557
557
|
"color": "#ff0066"
|
|
558
558
|
}
|
|
559
559
|
};
|
|
560
|
-
var _hoisted_4$
|
|
560
|
+
var _hoisted_4$9 = {
|
|
561
561
|
key: 0
|
|
562
562
|
};
|
|
563
563
|
|
|
564
|
-
var _hoisted_5$
|
|
564
|
+
var _hoisted_5$9 = /*#__PURE__*/createElementVNode("div", {
|
|
565
565
|
"class": "h-2 flex items-center"
|
|
566
566
|
}, [/*#__PURE__*/createElementVNode("span", {
|
|
567
567
|
"class": "bg-[#d9d9d9] h-[1px] w-full"
|
|
@@ -569,39 +569,39 @@ var _hoisted_5$8 = /*#__PURE__*/createElementVNode("div", {
|
|
|
569
569
|
/* HOISTED */
|
|
570
570
|
);
|
|
571
571
|
|
|
572
|
-
var _hoisted_6$
|
|
572
|
+
var _hoisted_6$8 = {
|
|
573
573
|
"class": "flex items-center justify-between h-1/2"
|
|
574
574
|
};
|
|
575
|
-
var _hoisted_7$
|
|
575
|
+
var _hoisted_7$8 = {
|
|
576
576
|
key: 0,
|
|
577
577
|
style: {
|
|
578
578
|
"color": "#ff0066"
|
|
579
579
|
}
|
|
580
580
|
};
|
|
581
|
-
var _hoisted_8$
|
|
581
|
+
var _hoisted_8$6 = {
|
|
582
582
|
"class": "mrpTable",
|
|
583
583
|
id: "IVTable"
|
|
584
584
|
};
|
|
585
|
-
var _hoisted_9$
|
|
585
|
+
var _hoisted_9$5 = {
|
|
586
586
|
"class": "relative w-full mb-[24px]",
|
|
587
587
|
style: {
|
|
588
588
|
"table-layout": "fixed"
|
|
589
589
|
}
|
|
590
590
|
};
|
|
591
|
-
var _hoisted_10$
|
|
591
|
+
var _hoisted_10$5 = {
|
|
592
592
|
"class": "flex items-center justify-center"
|
|
593
593
|
};
|
|
594
|
-
var _hoisted_11$
|
|
594
|
+
var _hoisted_11$5 = {
|
|
595
595
|
key: 0,
|
|
596
596
|
style: {
|
|
597
597
|
"color": "#ff0066"
|
|
598
598
|
}
|
|
599
599
|
};
|
|
600
|
-
var _hoisted_12$
|
|
600
|
+
var _hoisted_12$5 = {
|
|
601
601
|
key: 1
|
|
602
602
|
};
|
|
603
603
|
|
|
604
|
-
var _hoisted_13$
|
|
604
|
+
var _hoisted_13$5 = /*#__PURE__*/createElementVNode("div", {
|
|
605
605
|
"class": "h-2 flex items-center"
|
|
606
606
|
}, [/*#__PURE__*/createElementVNode("span", {
|
|
607
607
|
"class": "bg-[#d9d9d9] h-[1px] w-full"
|
|
@@ -609,26 +609,26 @@ var _hoisted_13$4 = /*#__PURE__*/createElementVNode("div", {
|
|
|
609
609
|
/* HOISTED */
|
|
610
610
|
);
|
|
611
611
|
|
|
612
|
-
var _hoisted_14$
|
|
612
|
+
var _hoisted_14$5 = {
|
|
613
613
|
"class": "flex items-center justify-between h-1/2"
|
|
614
614
|
};
|
|
615
|
-
var _hoisted_15$
|
|
615
|
+
var _hoisted_15$5 = {
|
|
616
616
|
key: 0,
|
|
617
617
|
style: {
|
|
618
618
|
"color": "#ff0066"
|
|
619
619
|
}
|
|
620
620
|
};
|
|
621
|
-
var _hoisted_16$
|
|
621
|
+
var _hoisted_16$5 = {
|
|
622
622
|
key: 0
|
|
623
623
|
};
|
|
624
|
-
var _hoisted_17$
|
|
624
|
+
var _hoisted_17$5 = {
|
|
625
625
|
key: 1
|
|
626
626
|
};
|
|
627
|
-
var _hoisted_18$
|
|
627
|
+
var _hoisted_18$5 = {
|
|
628
628
|
key: 2,
|
|
629
629
|
"class": "flex justify-center items-center relative"
|
|
630
630
|
};
|
|
631
|
-
var _hoisted_19$
|
|
631
|
+
var _hoisted_19$5 = {
|
|
632
632
|
key: 1,
|
|
633
633
|
"class": "table-footer"
|
|
634
634
|
};
|
|
@@ -767,11 +767,11 @@ var script$n = /*#__PURE__*/defineComponent({
|
|
|
767
767
|
height: __props.setHeight && !clickDensity.value ? __props.setHeight + 'px' : tableH.value ? tableH.value + 'px' : '',
|
|
768
768
|
width: item.w ? item.w : ''
|
|
769
769
|
})
|
|
770
|
-
}, [createElementVNode("div", _hoisted_2$
|
|
770
|
+
}, [createElementVNode("div", _hoisted_2$b, [createTextVNode(toDisplayString(item.title == "操作" ? "" : item.title) + " ", 1
|
|
771
771
|
/* TEXT */
|
|
772
|
-
), item.unit ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
772
|
+
), item.unit ? (openBlock(), createElementBlock("span", _hoisted_3$9, toDisplayString(item.unit), 1
|
|
773
773
|
/* TEXT */
|
|
774
|
-
)) : createCommentVNode("v-if", true)]), item.header ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
774
|
+
)) : createCommentVNode("v-if", true)]), item.header ? (openBlock(), createElementBlock("div", _hoisted_4$9, [_hoisted_5$9, createElementVNode("div", _hoisted_6$8, [(openBlock(true), createElementBlock(Fragment, null, renderList(item.header, function (e, i) {
|
|
775
775
|
return openBlock(), createElementBlock("div", {
|
|
776
776
|
key: i,
|
|
777
777
|
style: normalizeStyle({
|
|
@@ -779,7 +779,7 @@ var script$n = /*#__PURE__*/defineComponent({
|
|
|
779
779
|
})
|
|
780
780
|
}, [createTextVNode(toDisplayString(e.title == "操作" ? "" : e.title) + " ", 1
|
|
781
781
|
/* TEXT */
|
|
782
|
-
), e.unit ? (openBlock(), createElementBlock("span", _hoisted_7$
|
|
782
|
+
), e.unit ? (openBlock(), createElementBlock("span", _hoisted_7$8, toDisplayString(e.unit), 1
|
|
783
783
|
/* TEXT */
|
|
784
784
|
)) : createCommentVNode("v-if", true)], 4
|
|
785
785
|
/* STYLE */
|
|
@@ -802,7 +802,7 @@ var script$n = /*#__PURE__*/defineComponent({
|
|
|
802
802
|
onChangeS: tableControlChange
|
|
803
803
|
}, null, 8
|
|
804
804
|
/* PROPS */
|
|
805
|
-
, ["setHeight"])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_8$
|
|
805
|
+
, ["setHeight"])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_8$6, [createElementVNode("table", _hoisted_9$5, [createElementVNode("tr", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.dataTh, function (item, index) {
|
|
806
806
|
return openBlock(), createElementBlock(Fragment, {
|
|
807
807
|
key: index
|
|
808
808
|
}, [item.show ? (openBlock(), createElementBlock("th", {
|
|
@@ -814,11 +814,11 @@ var script$n = /*#__PURE__*/defineComponent({
|
|
|
814
814
|
})
|
|
815
815
|
}, [item.key == 'select' ? renderSlot(_ctx.$slots, "selectAll", {
|
|
816
816
|
key: 0
|
|
817
|
-
}) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_10$
|
|
817
|
+
}) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_10$5, [createTextVNode(toDisplayString(item.key == "select" ? "" : item.title == "操作" ? "" : item.title) + " ", 1
|
|
818
818
|
/* TEXT */
|
|
819
|
-
), item.unit ? (openBlock(), createElementBlock("span", _hoisted_11$
|
|
819
|
+
), item.unit ? (openBlock(), createElementBlock("span", _hoisted_11$5, toDisplayString(item.unit), 1
|
|
820
820
|
/* TEXT */
|
|
821
|
-
)) : createCommentVNode("v-if", true), createCommentVNode(" <span class=\"flex flex-col\"\r\n ><caret-up-filled /><caret-down-filled\r\n /></span> ")]), item.header ? (openBlock(), createElementBlock("div", _hoisted_12$
|
|
821
|
+
)) : createCommentVNode("v-if", true), createCommentVNode(" <span class=\"flex flex-col\"\r\n ><caret-up-filled /><caret-down-filled\r\n /></span> ")]), item.header ? (openBlock(), createElementBlock("div", _hoisted_12$5, [_hoisted_13$5, createElementVNode("div", _hoisted_14$5, [(openBlock(true), createElementBlock(Fragment, null, renderList(item.header, function (e, i) {
|
|
822
822
|
return openBlock(), createElementBlock("div", {
|
|
823
823
|
key: i,
|
|
824
824
|
style: normalizeStyle({
|
|
@@ -826,7 +826,7 @@ var script$n = /*#__PURE__*/defineComponent({
|
|
|
826
826
|
})
|
|
827
827
|
}, [createTextVNode(toDisplayString(e.title == "操作" ? "" : e.title) + " ", 1
|
|
828
828
|
/* TEXT */
|
|
829
|
-
), e.unit ? (openBlock(), createElementBlock("span", _hoisted_15$
|
|
829
|
+
), e.unit ? (openBlock(), createElementBlock("span", _hoisted_15$5, toDisplayString(e.unit), 1
|
|
830
830
|
/* TEXT */
|
|
831
831
|
)) : createCommentVNode("v-if", true)], 4
|
|
832
832
|
/* STYLE */
|
|
@@ -854,11 +854,11 @@ var script$n = /*#__PURE__*/defineComponent({
|
|
|
854
854
|
style: normalizeStyle({
|
|
855
855
|
height: __props.setHeight && !clickDensity.value ? __props.setHeight + 'px' : tableH.value ? tableH.value + 'px' : ''
|
|
856
856
|
})
|
|
857
|
-
}, [createCommentVNode(" 序号 "), item.key == 'index' ? (openBlock(), createElementBlock("div", _hoisted_16$
|
|
857
|
+
}, [createCommentVNode(" 序号 "), item.key == 'index' ? (openBlock(), createElementBlock("div", _hoisted_16$5, toDisplayString(Props.currentPages - 1 == 0 ? i + 1 : (Props.currentPages - 1) * 10 + i + 1), 1
|
|
858
858
|
/* TEXT */
|
|
859
|
-
)) : createCommentVNode("v-if", true), createCommentVNode(" 常规 "), item.key != 'index' && item.key != 'pictures' && item.key != 'buttonSlot' && item.key != 'select' && !item.custom ? (openBlock(), createElementBlock("div", _hoisted_17$
|
|
859
|
+
)) : createCommentVNode("v-if", true), createCommentVNode(" 常规 "), item.key != 'index' && item.key != 'pictures' && item.key != 'buttonSlot' && item.key != 'select' && !item.custom ? (openBlock(), createElementBlock("div", _hoisted_17$5, toDisplayString(e[item.key]), 1
|
|
860
860
|
/* TEXT */
|
|
861
|
-
)) : createCommentVNode("v-if", true), createCommentVNode(" 图片数据特殊处理 "), item.key == 'pictures' ? (openBlock(), createElementBlock("div", _hoisted_18$
|
|
861
|
+
)) : createCommentVNode("v-if", true), createCommentVNode(" 图片数据特殊处理 "), item.key == 'pictures' ? (openBlock(), createElementBlock("div", _hoisted_18$5, [createCommentVNode(" <img\r\n v-for=\"(e1, i1) in e.pictures\"\r\n :key=\"i1\"\r\n :src=\"e1\"\r\n width=\"30\"\r\n height=\"32\"\r\n class=\"mx-4\"\r\n /> "), (openBlock(true), createElementBlock(Fragment, null, renderList(e.pictures, function (e1, i1) {
|
|
862
862
|
return openBlock(), createBlock(_component_a_image, {
|
|
863
863
|
key: i1,
|
|
864
864
|
src: e1,
|
|
@@ -902,7 +902,7 @@ var script$n = /*#__PURE__*/defineComponent({
|
|
|
902
902
|
))]);
|
|
903
903
|
}), 128
|
|
904
904
|
/* KEYED_FRAGMENT */
|
|
905
|
-
)) : (openBlock(), createElementBlock("div", _hoisted_19$
|
|
905
|
+
)) : (openBlock(), createElementBlock("div", _hoisted_19$5, _hoisted_21$4))]), __props.isTableControl ? (openBlock(), createBlock(unref(script$m), {
|
|
906
906
|
key: 0,
|
|
907
907
|
setHeight: __props.setHeight,
|
|
908
908
|
onDensity: density,
|
|
@@ -947,25 +947,25 @@ var _hoisted_1$k = {
|
|
|
947
947
|
"class": "tableControl"
|
|
948
948
|
};
|
|
949
949
|
|
|
950
|
-
var _hoisted_2$
|
|
950
|
+
var _hoisted_2$a = /*#__PURE__*/_withScopeId$2(function () {
|
|
951
951
|
return /*#__PURE__*/createElementVNode("div", null, "密度", -1
|
|
952
952
|
/* HOISTED */
|
|
953
953
|
);
|
|
954
954
|
});
|
|
955
955
|
|
|
956
|
-
var _hoisted_3$
|
|
956
|
+
var _hoisted_3$8 = /*#__PURE__*/createTextVNode(" 默认 ");
|
|
957
957
|
|
|
958
|
-
var _hoisted_4$
|
|
958
|
+
var _hoisted_4$8 = /*#__PURE__*/createTextVNode(" 中等 ");
|
|
959
959
|
|
|
960
|
-
var _hoisted_5$
|
|
960
|
+
var _hoisted_5$8 = /*#__PURE__*/createTextVNode(" 紧凑 ");
|
|
961
961
|
|
|
962
|
-
var _hoisted_6$
|
|
962
|
+
var _hoisted_6$7 = /*#__PURE__*/_withScopeId$2(function () {
|
|
963
963
|
return /*#__PURE__*/createElementVNode("div", null, "列设置", -1
|
|
964
964
|
/* HOISTED */
|
|
965
965
|
);
|
|
966
966
|
});
|
|
967
967
|
|
|
968
|
-
var _hoisted_7$
|
|
968
|
+
var _hoisted_7$7 = /*#__PURE__*/createTextVNode(" 全选 ");
|
|
969
969
|
|
|
970
970
|
var script$m = /*#__PURE__*/defineComponent({
|
|
971
971
|
__name: 'IVTableControl',
|
|
@@ -1068,7 +1068,7 @@ var script$m = /*#__PURE__*/defineComponent({
|
|
|
1068
1068
|
onVisibleChange: handleHoverChange
|
|
1069
1069
|
}, {
|
|
1070
1070
|
content: withCtx(function () {
|
|
1071
|
-
return [_hoisted_2$
|
|
1071
|
+
return [_hoisted_2$a];
|
|
1072
1072
|
}),
|
|
1073
1073
|
"default": withCtx(function () {
|
|
1074
1074
|
return [createVNode(_component_a_popover, {
|
|
@@ -1094,7 +1094,7 @@ var script$m = /*#__PURE__*/defineComponent({
|
|
|
1094
1094
|
key: "0"
|
|
1095
1095
|
}, {
|
|
1096
1096
|
"default": withCtx(function () {
|
|
1097
|
-
return [_hoisted_3$
|
|
1097
|
+
return [_hoisted_3$8];
|
|
1098
1098
|
}),
|
|
1099
1099
|
_: 1
|
|
1100
1100
|
/* STABLE */
|
|
@@ -1103,7 +1103,7 @@ var script$m = /*#__PURE__*/defineComponent({
|
|
|
1103
1103
|
key: "1"
|
|
1104
1104
|
}, {
|
|
1105
1105
|
"default": withCtx(function () {
|
|
1106
|
-
return [_hoisted_4$
|
|
1106
|
+
return [_hoisted_4$8];
|
|
1107
1107
|
}),
|
|
1108
1108
|
_: 1
|
|
1109
1109
|
/* STABLE */
|
|
@@ -1112,7 +1112,7 @@ var script$m = /*#__PURE__*/defineComponent({
|
|
|
1112
1112
|
key: "2"
|
|
1113
1113
|
}, {
|
|
1114
1114
|
"default": withCtx(function () {
|
|
1115
|
-
return [_hoisted_5$
|
|
1115
|
+
return [_hoisted_5$8];
|
|
1116
1116
|
}),
|
|
1117
1117
|
_: 1
|
|
1118
1118
|
/* STABLE */
|
|
@@ -1150,7 +1150,7 @@ var script$m = /*#__PURE__*/defineComponent({
|
|
|
1150
1150
|
trigger: "hover"
|
|
1151
1151
|
}, {
|
|
1152
1152
|
content: withCtx(function () {
|
|
1153
|
-
return [_hoisted_6$
|
|
1153
|
+
return [_hoisted_6$7];
|
|
1154
1154
|
}),
|
|
1155
1155
|
"default": withCtx(function () {
|
|
1156
1156
|
return [createVNode(_component_a_popover, {
|
|
@@ -1172,7 +1172,7 @@ var script$m = /*#__PURE__*/defineComponent({
|
|
|
1172
1172
|
onChange: onCheckAllChange
|
|
1173
1173
|
}, {
|
|
1174
1174
|
"default": withCtx(function () {
|
|
1175
|
-
return [_hoisted_7$
|
|
1175
|
+
return [_hoisted_7$7];
|
|
1176
1176
|
}),
|
|
1177
1177
|
_: 1
|
|
1178
1178
|
/* STABLE */
|
|
@@ -1246,8 +1246,10 @@ function isURLSearchParams(val) {
|
|
|
1246
1246
|
return typeof URLSearchParams !== "undefined" && val instanceof URLSearchParams;
|
|
1247
1247
|
}
|
|
1248
1248
|
var assign = Object.assign;
|
|
1249
|
-
function filterOptionHeadle(
|
|
1250
|
-
return
|
|
1249
|
+
function filterOptionHeadle(key) {
|
|
1250
|
+
return function (input, option) {
|
|
1251
|
+
return option[key] && option[key].toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
1252
|
+
};
|
|
1251
1253
|
}
|
|
1252
1254
|
function encode(val) {
|
|
1253
1255
|
return encodeURIComponent(val).replace(/%40/g, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
@@ -1456,6 +1458,13 @@ var API_OPTION = {
|
|
|
1456
1458
|
method: "get"
|
|
1457
1459
|
}, DEFIND_OPTION),
|
|
1458
1460
|
baseUrl: MRP2_URL
|
|
1461
|
+
},
|
|
1462
|
+
getPurchaseContract: {
|
|
1463
|
+
url: "/api/purchase-management/purchase-contract/all",
|
|
1464
|
+
option: _objectSpread2({
|
|
1465
|
+
method: "get"
|
|
1466
|
+
}, DEFIND_OPTION),
|
|
1467
|
+
baseUrl: MRP_URL
|
|
1459
1468
|
}
|
|
1460
1469
|
};
|
|
1461
1470
|
var formatHTTP = function formatHTTP(fetch) {
|
|
@@ -2144,7 +2153,7 @@ var _hoisted_1$g = {
|
|
|
2144
2153
|
key: 0,
|
|
2145
2154
|
"class": "text-[#0000006D] text-[14px]"
|
|
2146
2155
|
};
|
|
2147
|
-
var _hoisted_2$
|
|
2156
|
+
var _hoisted_2$9 = {
|
|
2148
2157
|
"class": "absolute right-rull top-1/2 -translate-y-1/2 w-[410px] px-2 text-[#0000006D] text-[12px]"
|
|
2149
2158
|
};
|
|
2150
2159
|
/**
|
|
@@ -2361,7 +2370,7 @@ var script$i = /*#__PURE__*/defineComponent({
|
|
|
2361
2370
|
replaceFields: __props.replaceFields
|
|
2362
2371
|
}), null, 16
|
|
2363
2372
|
/* FULL_PROPS */
|
|
2364
|
-
, ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filter-option", "multiple", "style", "replaceFields"]), createElementVNode("span", _hoisted_2$
|
|
2373
|
+
, ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filter-option", "multiple", "style", "replaceFields"]), createElementVNode("span", _hoisted_2$9, [renderSlot(_ctx.$slots, "notes")])];
|
|
2365
2374
|
}),
|
|
2366
2375
|
_: 3
|
|
2367
2376
|
/* FORWARDED */
|
|
@@ -3254,111 +3263,157 @@ var script$d = /*#__PURE__*/defineComponent({
|
|
|
3254
3263
|
script$d.__file = "src/business-ui/component/IVMaterialTypeDropdown.vue";
|
|
3255
3264
|
|
|
3256
3265
|
var _hoisted_1$c = {
|
|
3257
|
-
|
|
3258
|
-
|
|
3266
|
+
style: {
|
|
3267
|
+
"position": "relative",
|
|
3268
|
+
"margin-top": "8px",
|
|
3269
|
+
"width": "30px",
|
|
3270
|
+
"height": "23px"
|
|
3271
|
+
}
|
|
3272
|
+
};
|
|
3273
|
+
var _hoisted_2$8 = {
|
|
3274
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
3275
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3276
|
+
version: "1.1",
|
|
3277
|
+
width: "23px",
|
|
3278
|
+
height: "23px",
|
|
3279
|
+
style: {
|
|
3280
|
+
"position": "absolute"
|
|
3281
|
+
}
|
|
3282
|
+
};
|
|
3283
|
+
var _hoisted_3$7 = createElementVNode("g", {
|
|
3284
|
+
transform: "matrix(1 0 0 1 -256 -275 )"
|
|
3285
|
+
}, [createElementVNode("path", {
|
|
3286
|
+
d: "M 2.8482972136223452 0 C 1.2746130030959648 0.028482972136316675 0 1.3030959752322815 0 2.8767801857584345 L 0 20.151702786377655 C 0 21.725386996904035 1.2746130030959648 23 2.8482972136223452 23 L 20.123219814241565 23 C 21.69690402476772 23 22.971517027863683 21.725386996904035 23 20.151702786377655 L 23 2.8767801857584345 C 22.971517027863683 1.3030959752322815 21.69690402476772 0.028482972136316675 20.123219814241565 0 L 2.8482972136223452 0 Z ",
|
|
3287
|
+
"fill-rule": "nonzero",
|
|
3288
|
+
fill: "#bd9e55",
|
|
3289
|
+
stroke: "none",
|
|
3290
|
+
transform: "matrix(1 0 0 1 256 275 )"
|
|
3291
|
+
})], -1
|
|
3292
|
+
);
|
|
3293
|
+
var _hoisted_4$7 = [_hoisted_3$7];
|
|
3294
|
+
var _hoisted_5$7 = {
|
|
3295
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
3296
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3297
|
+
version: "1.1",
|
|
3298
|
+
width: "23px",
|
|
3299
|
+
height: "23px",
|
|
3300
|
+
style: {
|
|
3301
|
+
"position": "absolute",
|
|
3302
|
+
"left": "7px",
|
|
3303
|
+
"bottom": "7px"
|
|
3304
|
+
}
|
|
3305
|
+
};
|
|
3306
|
+
var _hoisted_6$6 = createElementVNode("g", {
|
|
3307
|
+
transform: "matrix(1 0 0 1 -263 -268 )"
|
|
3308
|
+
}, [createElementVNode("path", {
|
|
3309
|
+
d: "M 2.8767801857584345 0 C 1.3030959752322815 0 0.028482972136316675 1.2746130030959648 0.028482972136316675 2.8482972136223452 L 0.028482972136316675 4.870588235294008 C 0.028482972136316675 5.027244582043295 0.15665634674928697 5.155417956656265 0.31331269349834656 5.155417956656265 L 14.426625386996877 5.155417956656265 C 16.306501547987637 5.155417956656265 17.844582043343735 6.693498452012363 17.844582043343735 8.573374613003125 L 17.844582043343735 22.686687306501653 C 17.844582043343735 22.843343653250713 17.972755417956705 22.971517027863683 18.129411764705992 22.971517027863683 L 20.151702786377655 22.971517027863683 C 21.725386996904035 22.971517027863683 23 21.69690402476772 23 20.123219814241565 L 23 2.8482972136223452 C 23 1.2746130030959648 21.725386996904035 0 20.151702786377655 0 L 2.8767801857584345 0 Z ",
|
|
3310
|
+
"fill-rule": "nonzero",
|
|
3311
|
+
fill: "#bd9e55",
|
|
3312
|
+
stroke: "none",
|
|
3313
|
+
transform: "matrix(1 0 0 1 263 268 )"
|
|
3314
|
+
})], -1
|
|
3315
|
+
);
|
|
3316
|
+
var _hoisted_7$6 = [_hoisted_6$6];
|
|
3317
|
+
function render$1(_ctx, _cache) {
|
|
3318
|
+
return openBlock(), createElementBlock("div", _hoisted_1$c, [(openBlock(), createElementBlock("svg", _hoisted_2$8, _hoisted_4$7)), (openBlock(), createElementBlock("svg", _hoisted_5$7, _hoisted_7$6))]);
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3321
|
+
var script$c = {};
|
|
3322
|
+
script$c.render = render$1;
|
|
3323
|
+
script$c.__file = "src/business-ui/component/icon/SelectorIcon.vue";
|
|
3324
|
+
|
|
3325
|
+
var _hoisted_1$b = {
|
|
3326
|
+
"class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
|
|
3327
|
+
};
|
|
3328
|
+
|
|
3329
|
+
var _hoisted_2$7 = /*#__PURE__*/createElementVNode("span", {
|
|
3330
|
+
"class": "text-xl text-[#bd9e55] pl-2"
|
|
3331
|
+
}, "选择项目", -1
|
|
3332
|
+
/* HOISTED */
|
|
3333
|
+
);
|
|
3334
|
+
|
|
3335
|
+
var _hoisted_3$6 = {
|
|
3336
|
+
"class": "px-[150px]",
|
|
3337
|
+
id: "IVUserSelector"
|
|
3338
|
+
};
|
|
3339
|
+
var _hoisted_4$6 = {
|
|
3340
|
+
"class": "mx-10"
|
|
3341
|
+
};
|
|
3342
|
+
var _hoisted_5$6 = {
|
|
3343
|
+
"class": "flex items-center my-4 justify-center"
|
|
3344
|
+
};
|
|
3345
|
+
|
|
3346
|
+
var _hoisted_6$5 = /*#__PURE__*/createTextVNode(" 搜索 ");
|
|
3347
|
+
|
|
3348
|
+
var _hoisted_7$5 = {
|
|
3349
|
+
"class": "mt-10"
|
|
3350
|
+
};
|
|
3351
|
+
var _hoisted_8$5 = {
|
|
3352
|
+
"class": "flex justify-between mb-2"
|
|
3353
|
+
};
|
|
3354
|
+
var _hoisted_9$4 = {
|
|
3355
|
+
"class": "text-[#999999]"
|
|
3356
|
+
};
|
|
3357
|
+
|
|
3358
|
+
var _hoisted_10$4 = /*#__PURE__*/createTextVNode(" 共有 ");
|
|
3359
|
+
|
|
3360
|
+
var _hoisted_11$4 = {
|
|
3361
|
+
"class": "text-[#BD9E55] text-[16px]"
|
|
3362
|
+
};
|
|
3363
|
+
|
|
3364
|
+
var _hoisted_12$4 = /*#__PURE__*/createTextVNode(" 个记录满足条件,当前第 ");
|
|
3365
|
+
|
|
3366
|
+
var _hoisted_13$4 = {
|
|
3367
|
+
"class": "text-[#BD9E55] text-[16px]"
|
|
3368
|
+
};
|
|
3369
|
+
|
|
3370
|
+
var _hoisted_14$4 = /*#__PURE__*/createTextVNode(" 页,跳转到第 ");
|
|
3371
|
+
|
|
3372
|
+
var _hoisted_15$4 = {
|
|
3373
|
+
"class": "text-[#BD9E55] text-[16px]"
|
|
3374
|
+
};
|
|
3375
|
+
|
|
3376
|
+
var _hoisted_16$4 = /*#__PURE__*/createTextVNode(" 页 ");
|
|
3377
|
+
|
|
3378
|
+
var _hoisted_17$4 = {
|
|
3379
|
+
"class": "contentList"
|
|
3380
|
+
};
|
|
3381
|
+
var _hoisted_18$4 = {
|
|
3382
|
+
"class": "flex items-center justify-around text-[#006AB2] text-[13px]"
|
|
3259
3383
|
};
|
|
3384
|
+
var _hoisted_19$4 = ["onClick"];
|
|
3260
3385
|
/**
|
|
3261
3386
|
* 组件定义-------------------------------------
|
|
3262
3387
|
* */
|
|
3263
3388
|
|
|
3264
|
-
var script$
|
|
3389
|
+
var script$b = /*#__PURE__*/defineComponent({
|
|
3265
3390
|
__name: 'IVProjectSelector',
|
|
3266
3391
|
props: {
|
|
3267
|
-
|
|
3268
|
-
type: null,
|
|
3269
|
-
required: true
|
|
3270
|
-
},
|
|
3271
|
-
params: {
|
|
3272
|
-
type: Object,
|
|
3273
|
-
required: false
|
|
3274
|
-
},
|
|
3275
|
-
data: {
|
|
3276
|
-
type: Object,
|
|
3277
|
-
required: false
|
|
3278
|
-
},
|
|
3279
|
-
fieldNames: {
|
|
3280
|
-
type: null,
|
|
3281
|
-
required: false,
|
|
3282
|
-
"default": function _default() {
|
|
3283
|
-
return {
|
|
3284
|
-
label: "projectName",
|
|
3285
|
-
value: "id"
|
|
3286
|
-
};
|
|
3287
|
-
}
|
|
3288
|
-
},
|
|
3289
|
-
inputStyle: {
|
|
3290
|
-
type: Object,
|
|
3291
|
-
required: true,
|
|
3292
|
-
"default": function _default() {
|
|
3293
|
-
return {
|
|
3294
|
-
width: "300px"
|
|
3295
|
-
};
|
|
3296
|
-
}
|
|
3297
|
-
},
|
|
3298
|
-
formItemStyle: {
|
|
3299
|
-
type: Object,
|
|
3300
|
-
required: false
|
|
3301
|
-
},
|
|
3302
|
-
labelCol: {
|
|
3303
|
-
type: Object,
|
|
3304
|
-
required: false,
|
|
3305
|
-
"default": function _default() {
|
|
3306
|
-
return {
|
|
3307
|
-
span: 4
|
|
3308
|
-
};
|
|
3309
|
-
}
|
|
3310
|
-
},
|
|
3311
|
-
wrapperCol: {
|
|
3312
|
-
type: Object,
|
|
3313
|
-
required: false,
|
|
3314
|
-
"default": function _default() {
|
|
3315
|
-
return {
|
|
3316
|
-
span: 11
|
|
3317
|
-
};
|
|
3318
|
-
}
|
|
3319
|
-
},
|
|
3320
|
-
isRequired: {
|
|
3321
|
-
type: Boolean,
|
|
3322
|
-
required: true,
|
|
3323
|
-
"default": true
|
|
3324
|
-
},
|
|
3325
|
-
multiple: {
|
|
3326
|
-
type: Boolean,
|
|
3327
|
-
required: false,
|
|
3328
|
-
"default": true
|
|
3329
|
-
},
|
|
3330
|
-
isTitle: {
|
|
3392
|
+
show: {
|
|
3331
3393
|
type: Boolean,
|
|
3332
|
-
required:
|
|
3333
|
-
"default": true
|
|
3334
|
-
},
|
|
3335
|
-
placeholder: {
|
|
3336
|
-
type: String,
|
|
3337
|
-
required: false,
|
|
3338
|
-
"default": "请选择"
|
|
3339
|
-
},
|
|
3340
|
-
title: {
|
|
3341
|
-
type: String,
|
|
3342
|
-
required: false,
|
|
3343
|
-
"default": "项目"
|
|
3344
|
-
},
|
|
3345
|
-
name: {
|
|
3346
|
-
type: String,
|
|
3347
|
-
required: false,
|
|
3348
|
-
"default": 'projectId'
|
|
3394
|
+
required: true
|
|
3349
3395
|
}
|
|
3350
3396
|
},
|
|
3351
|
-
emits: ["update:
|
|
3397
|
+
emits: ["update:show", "getItem"],
|
|
3352
3398
|
setup: function setup(__props, _ref) {
|
|
3353
3399
|
var emit = _ref.emit;
|
|
3354
3400
|
var props = __props;
|
|
3355
3401
|
/**
|
|
3356
|
-
*
|
|
3402
|
+
* 搜索-------------------------------------
|
|
3357
3403
|
* */
|
|
3358
3404
|
|
|
3359
|
-
var
|
|
3405
|
+
var formData = reactive({
|
|
3406
|
+
setOfBookId: null,
|
|
3407
|
+
contractId: null,
|
|
3408
|
+
managerId: null,
|
|
3409
|
+
baseId: null,
|
|
3410
|
+
skipCount: 0,
|
|
3411
|
+
maxResultCount: 10,
|
|
3412
|
+
key: null
|
|
3413
|
+
});
|
|
3414
|
+
var contractList = ref([]); // 获取合同
|
|
3360
3415
|
|
|
3361
|
-
var
|
|
3416
|
+
var getContractList = /*#__PURE__*/function () {
|
|
3362
3417
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
3363
3418
|
var _option,
|
|
3364
3419
|
_a,
|
|
@@ -3370,12 +3425,12 @@ var script$c = /*#__PURE__*/defineComponent({
|
|
|
3370
3425
|
case 0:
|
|
3371
3426
|
_option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
|
|
3372
3427
|
_context.next = 3;
|
|
3373
|
-
return formatHTTP(fetch(formatUrl(API_OPTION.
|
|
3428
|
+
return formatHTTP(fetch(formatUrl(API_OPTION.getPurchaseContract.baseUrl, API_OPTION.getPurchaseContract.url, _option.params), assign({
|
|
3374
3429
|
data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
|
|
3375
|
-
}, API_OPTION.
|
|
3430
|
+
}, API_OPTION.getPurchaseContract.option)));
|
|
3376
3431
|
|
|
3377
3432
|
case 3:
|
|
3378
|
-
|
|
3433
|
+
contractList.value = _context.sent;
|
|
3379
3434
|
|
|
3380
3435
|
case 4:
|
|
3381
3436
|
case "end":
|
|
@@ -3385,106 +3440,417 @@ var script$c = /*#__PURE__*/defineComponent({
|
|
|
3385
3440
|
}, _callee);
|
|
3386
3441
|
}));
|
|
3387
3442
|
|
|
3388
|
-
return function
|
|
3443
|
+
return function getContractList() {
|
|
3389
3444
|
return _ref2.apply(this, arguments);
|
|
3390
3445
|
};
|
|
3391
3446
|
}();
|
|
3392
|
-
|
|
3393
|
-
var inputV = computed({
|
|
3394
|
-
get: function get() {
|
|
3395
|
-
return props.value;
|
|
3396
|
-
},
|
|
3397
|
-
set: function set(value) {
|
|
3398
|
-
emit("update:value", value);
|
|
3399
|
-
}
|
|
3400
|
-
});
|
|
3401
3447
|
/**
|
|
3402
|
-
*
|
|
3448
|
+
* 获取数据-------------------------------------
|
|
3403
3449
|
* */
|
|
3404
3450
|
|
|
3405
|
-
watchEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
3406
|
-
var _a, _b;
|
|
3407
3451
|
|
|
3408
|
-
|
|
3409
|
-
while (1) {
|
|
3410
|
-
switch (_context2.prev = _context2.next) {
|
|
3411
|
-
case 0:
|
|
3412
|
-
// 由于打包问题,侦听器一定要在最后,否则找不到getData方法
|
|
3413
|
-
getData({
|
|
3414
|
-
params: (_a = props.params) !== null && _a !== void 0 ? _a : null,
|
|
3415
|
-
data: (_b = props.data) !== null && _b !== void 0 ? _b : null
|
|
3416
|
-
});
|
|
3452
|
+
var dataV = ref();
|
|
3417
3453
|
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
return function (_ctx, _cache) {
|
|
3426
|
-
var _component_a_select = resolveComponent("a-select");
|
|
3454
|
+
var getData = /*#__PURE__*/function () {
|
|
3455
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
3456
|
+
var _option,
|
|
3457
|
+
_a,
|
|
3458
|
+
_yield$formatHTTP,
|
|
3459
|
+
totalCount,
|
|
3460
|
+
_args2 = arguments;
|
|
3427
3461
|
|
|
3428
|
-
|
|
3462
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
3463
|
+
while (1) {
|
|
3464
|
+
switch (_context2.prev = _context2.next) {
|
|
3465
|
+
case 0:
|
|
3466
|
+
_option = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
|
|
3467
|
+
_context2.next = 3;
|
|
3468
|
+
return formatHTTP(fetch(formatUrl(API_OPTION.getIVProjectSelector.baseUrl, API_OPTION.getIVProjectSelector.url, _option.params), assign({
|
|
3469
|
+
data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
|
|
3470
|
+
}, API_OPTION.getIVProjectSelector.option)));
|
|
3429
3471
|
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3472
|
+
case 3:
|
|
3473
|
+
_yield$formatHTTP = _context2.sent;
|
|
3474
|
+
_yield$formatHTTP.items;
|
|
3475
|
+
totalCount = _yield$formatHTTP.totalCount;
|
|
3476
|
+
// dataV.value = items.map((item: any, index: number) => {
|
|
3477
|
+
// item.creationTime = dateFormat(item.creationTime, "YYYY-MM-DD");
|
|
3478
|
+
// return item;
|
|
3479
|
+
// });
|
|
3480
|
+
totalPages.value = totalCount;
|
|
3481
|
+
topPages.value = Math.ceil(totalPages.value / formData.maxResultCount);
|
|
3482
|
+
|
|
3483
|
+
case 8:
|
|
3484
|
+
case "end":
|
|
3485
|
+
return _context2.stop();
|
|
3486
|
+
}
|
|
3487
|
+
}
|
|
3488
|
+
}, _callee2);
|
|
3489
|
+
}));
|
|
3490
|
+
|
|
3491
|
+
return function getData() {
|
|
3492
|
+
return _ref3.apply(this, arguments);
|
|
3493
|
+
};
|
|
3494
|
+
}();
|
|
3495
|
+
/**
|
|
3496
|
+
* 表格-------------------------------------
|
|
3497
|
+
* */
|
|
3498
|
+
|
|
3499
|
+
|
|
3500
|
+
var th = ref([{
|
|
3501
|
+
title: "序号",
|
|
3502
|
+
w: 54 / 1499 * 100 + "%",
|
|
3503
|
+
key: "index",
|
|
3504
|
+
show: true
|
|
3505
|
+
}, {
|
|
3506
|
+
title: "编号",
|
|
3507
|
+
w: 104 / 1499 * 100 + "%",
|
|
3508
|
+
key: "projectNumber",
|
|
3509
|
+
show: true
|
|
3510
|
+
}, {
|
|
3511
|
+
title: "项目名称",
|
|
3512
|
+
w: 212 / 1499 * 100 + "%",
|
|
3513
|
+
key: "projectName",
|
|
3514
|
+
show: true
|
|
3515
|
+
}, {
|
|
3516
|
+
title: "账套名称",
|
|
3517
|
+
w: 212 / 1499 * 100 + "%",
|
|
3518
|
+
key: "setOfBookName",
|
|
3519
|
+
show: true
|
|
3520
|
+
}, {
|
|
3521
|
+
title: "账套简称",
|
|
3522
|
+
w: 140 / 1499 * 100 + "%",
|
|
3523
|
+
key: "setOfBookShortName",
|
|
3524
|
+
show: true
|
|
3525
|
+
}, {
|
|
3526
|
+
title: "合同名称",
|
|
3527
|
+
w: 212 / 1499 * 100 + "%",
|
|
3528
|
+
key: "contractName",
|
|
3529
|
+
show: true
|
|
3530
|
+
}, {
|
|
3531
|
+
title: "合同简称",
|
|
3532
|
+
w: 140 / 1499 * 100 + "%",
|
|
3533
|
+
key: "contractShortName",
|
|
3534
|
+
show: true
|
|
3535
|
+
}, // {
|
|
3536
|
+
// title: "供应商名称",
|
|
3537
|
+
// w: (250 / 1499) * 100 + "%",
|
|
3538
|
+
// key: "name",
|
|
3539
|
+
// show: true,
|
|
3540
|
+
// custom: true,
|
|
3541
|
+
// },
|
|
3542
|
+
{
|
|
3543
|
+
title: "",
|
|
3544
|
+
w: 45 / 1333 * 100 + "%",
|
|
3545
|
+
key: "buttonSlot",
|
|
3546
|
+
show: true
|
|
3547
|
+
}]); // 更新th
|
|
3548
|
+
|
|
3549
|
+
var upth = function upth(val) {
|
|
3550
|
+
th.value = val;
|
|
3551
|
+
}; //获取指定记录
|
|
3552
|
+
|
|
3553
|
+
|
|
3554
|
+
function sendItem(_x) {
|
|
3555
|
+
return _sendItem.apply(this, arguments);
|
|
3556
|
+
}
|
|
3557
|
+
/**
|
|
3558
|
+
* 分页-------------------------------------
|
|
3559
|
+
* */
|
|
3560
|
+
|
|
3561
|
+
|
|
3562
|
+
function _sendItem() {
|
|
3563
|
+
_sendItem = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(item) {
|
|
3564
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
3565
|
+
while (1) {
|
|
3566
|
+
switch (_context3.prev = _context3.next) {
|
|
3567
|
+
case 0:
|
|
3568
|
+
emit("getItem", JSON.stringify(item));
|
|
3569
|
+
inputV.value = false;
|
|
3570
|
+
|
|
3571
|
+
case 2:
|
|
3572
|
+
case "end":
|
|
3573
|
+
return _context3.stop();
|
|
3574
|
+
}
|
|
3575
|
+
}
|
|
3576
|
+
}, _callee3);
|
|
3577
|
+
}));
|
|
3578
|
+
return _sendItem.apply(this, arguments);
|
|
3579
|
+
}
|
|
3580
|
+
|
|
3581
|
+
var currentPages = ref(1);
|
|
3582
|
+
var topCurrentPages = ref(1);
|
|
3583
|
+
var topPages = ref(0);
|
|
3584
|
+
var topSelectPages = ref(1);
|
|
3585
|
+
var totalPages = ref(0); // 重置搜索分页
|
|
3586
|
+
|
|
3587
|
+
function resetPagination() {
|
|
3588
|
+
formData.skipCount = 0;
|
|
3589
|
+
currentPages.value = 1;
|
|
3590
|
+
topCurrentPages.value = 1;
|
|
3591
|
+
topPages.value = 0;
|
|
3592
|
+
topSelectPages.value = 1;
|
|
3593
|
+
}
|
|
3594
|
+
|
|
3595
|
+
function onPageChange(current, pageSize) {
|
|
3596
|
+
topCurrentPages.value = current;
|
|
3597
|
+
topSelectPages.value = current;
|
|
3598
|
+
currentPages.value = current;
|
|
3599
|
+
formData.skipCount = (current - 1) * pageSize;
|
|
3600
|
+
formData.maxResultCount = pageSize;
|
|
3601
|
+
getData({
|
|
3602
|
+
params: formData
|
|
3603
|
+
});
|
|
3604
|
+
}
|
|
3605
|
+
|
|
3606
|
+
function onShowSizeChange(current, pageSize) {
|
|
3607
|
+
topCurrentPages.value = current;
|
|
3608
|
+
topSelectPages.value = current;
|
|
3609
|
+
formData.maxResultCount = pageSize;
|
|
3610
|
+
getData({
|
|
3611
|
+
params: formData
|
|
3612
|
+
});
|
|
3613
|
+
}
|
|
3614
|
+
|
|
3615
|
+
function onSelectTopPage(id) {
|
|
3616
|
+
topSelectPages.value = id;
|
|
3617
|
+
currentPages.value = id;
|
|
3618
|
+
onPageChange(id, formData.maxResultCount);
|
|
3619
|
+
}
|
|
3620
|
+
|
|
3621
|
+
function onSearch() {
|
|
3622
|
+
resetPagination();
|
|
3623
|
+
getData({
|
|
3624
|
+
params: formData
|
|
3625
|
+
});
|
|
3626
|
+
}
|
|
3627
|
+
|
|
3628
|
+
onBeforeMount(function () {
|
|
3629
|
+
getContractList({
|
|
3630
|
+
params: {
|
|
3631
|
+
statuses: 1
|
|
3632
|
+
}
|
|
3633
|
+
});
|
|
3634
|
+
getData({
|
|
3635
|
+
params: formData
|
|
3636
|
+
});
|
|
3637
|
+
});
|
|
3638
|
+
var inputV = computed({
|
|
3639
|
+
get: function get() {
|
|
3640
|
+
return props.show;
|
|
3641
|
+
},
|
|
3642
|
+
set: function set(value) {
|
|
3643
|
+
emit("update:show", value);
|
|
3644
|
+
}
|
|
3645
|
+
});
|
|
3646
|
+
return function (_ctx, _cache) {
|
|
3647
|
+
var _component_a_select = resolveComponent("a-select");
|
|
3648
|
+
|
|
3649
|
+
var _component_a_input = resolveComponent("a-input");
|
|
3650
|
+
|
|
3651
|
+
var _component_a_button = resolveComponent("a-button");
|
|
3652
|
+
|
|
3653
|
+
var _component_DownOutlined = resolveComponent("DownOutlined");
|
|
3654
|
+
|
|
3655
|
+
var _component_a_menu_item = resolveComponent("a-menu-item");
|
|
3656
|
+
|
|
3657
|
+
var _component_a_menu = resolveComponent("a-menu");
|
|
3658
|
+
|
|
3659
|
+
var _component_a_dropdown = resolveComponent("a-dropdown");
|
|
3660
|
+
|
|
3661
|
+
return openBlock(), createBlock(script$o, {
|
|
3662
|
+
show: unref(inputV),
|
|
3663
|
+
"onUpdate:show": _cache[4] || (_cache[4] = function ($event) {
|
|
3664
|
+
return isRef(inputV) ? inputV.value = $event : null;
|
|
3665
|
+
}),
|
|
3666
|
+
"remove-padding": false
|
|
3440
3667
|
}, {
|
|
3441
|
-
|
|
3442
|
-
return [
|
|
3443
|
-
/* TEXT */
|
|
3444
|
-
)) : createCommentVNode("v-if", true)];
|
|
3668
|
+
title: withCtx(function () {
|
|
3669
|
+
return [createElementVNode("div", _hoisted_1$b, [createVNode(script$c), _hoisted_2$7])];
|
|
3445
3670
|
}),
|
|
3446
|
-
|
|
3447
|
-
return [
|
|
3671
|
+
body: withCtx(function () {
|
|
3672
|
+
return [createElementVNode("div", _hoisted_3$6, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4$6, [createElementVNode("div", _hoisted_5$6, [createVNode(unref(script$i), {
|
|
3673
|
+
value: formData.setOfBookId,
|
|
3674
|
+
"onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
|
|
3675
|
+
return formData.setOfBookId = $event;
|
|
3676
|
+
}),
|
|
3677
|
+
onChange: onSearch,
|
|
3678
|
+
multiple: false,
|
|
3679
|
+
"is-required": false,
|
|
3680
|
+
"is-title": false,
|
|
3681
|
+
placeholder: "请选择账套",
|
|
3682
|
+
"input-style": {
|
|
3683
|
+
width: '300px',
|
|
3684
|
+
marginRight: '15px'
|
|
3685
|
+
},
|
|
3686
|
+
"form-item-style": {
|
|
3687
|
+
marginBottom: '0'
|
|
3688
|
+
}
|
|
3689
|
+
}, null, 8
|
|
3690
|
+
/* PROPS */
|
|
3691
|
+
, ["value"]), createVNode(_component_a_select, {
|
|
3692
|
+
value: formData.contractId,
|
|
3693
|
+
"onUpdate:value": _cache[1] || (_cache[1] = function ($event) {
|
|
3694
|
+
return formData.contractId = $event;
|
|
3695
|
+
}),
|
|
3448
3696
|
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
3449
3697
|
return triggerNode.parentNode;
|
|
3450
3698
|
},
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
mode: __props.multiple ? 'multiple' : '',
|
|
3459
|
-
fieldNames: __props.fieldNames,
|
|
3699
|
+
"show-search": "",
|
|
3700
|
+
allowClear: "",
|
|
3701
|
+
style: {
|
|
3702
|
+
"width": "300px",
|
|
3703
|
+
"margin-right": "15px"
|
|
3704
|
+
},
|
|
3705
|
+
placeholder: "请选择合同",
|
|
3460
3706
|
showSearch: "",
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3707
|
+
"filter-option": unref(filterOptionHeadle),
|
|
3708
|
+
showArrow: true,
|
|
3709
|
+
onChange: onSearch,
|
|
3710
|
+
options: contractList.value,
|
|
3711
|
+
fieldNames: {
|
|
3712
|
+
label: 'name',
|
|
3713
|
+
value: 'id'
|
|
3714
|
+
}
|
|
3715
|
+
}, null, 8
|
|
3716
|
+
/* PROPS */
|
|
3717
|
+
, ["value", "getPopupContainer", "filter-option", "options"]), createCommentVNode(" <IVProdBaseDropdown\r\n v-model:value=\"formData.baseId\"\r\n @change=\"onSearch\"\r\n :multiple=\"false\"\r\n :is-required=\"false\"\r\n :is-title=\"false\"\r\n placeholder=\"请选择账套\"\r\n :input-style=\"{\r\n width: '170px',\r\n marginRight: '15px',\r\n }\"\r\n :form-item-style=\"{\r\n marginBottom: '0',\r\n }\"\r\n /> "), createVNode(_component_a_input, {
|
|
3718
|
+
value: formData.key,
|
|
3719
|
+
"onUpdate:value": _cache[2] || (_cache[2] = function ($event) {
|
|
3720
|
+
return formData.key = $event;
|
|
3464
3721
|
}),
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3722
|
+
style: {
|
|
3723
|
+
"width": "300px",
|
|
3724
|
+
"margin-right": "15px"
|
|
3725
|
+
},
|
|
3726
|
+
"class": "mr-4",
|
|
3727
|
+
placeholder: "请输入项目名称",
|
|
3728
|
+
onKeyup: withKeys(onSearch, ["enter"])
|
|
3729
|
+
}, null, 8
|
|
3730
|
+
/* PROPS */
|
|
3731
|
+
, ["value", "onKeyup"]), createVNode(_component_a_button, {
|
|
3732
|
+
style: {
|
|
3733
|
+
"padding": "4px 10px",
|
|
3734
|
+
"border-radius": "4px",
|
|
3735
|
+
"background": "#006ab2",
|
|
3736
|
+
"margin-right": "15px",
|
|
3737
|
+
"color": "#fff"
|
|
3738
|
+
},
|
|
3739
|
+
onClick: onSearch
|
|
3740
|
+
}, {
|
|
3741
|
+
"default": withCtx(function () {
|
|
3742
|
+
return [_hoisted_6$5];
|
|
3743
|
+
}),
|
|
3744
|
+
_: 1
|
|
3745
|
+
/* STABLE */
|
|
3746
|
+
|
|
3747
|
+
})])]), createCommentVNode(" 主体 "), createElementVNode("div", _hoisted_7$5, [createCommentVNode(" 分页 "), createElementVNode("div", _hoisted_8$5, [createElementVNode("div", _hoisted_9$4, [_hoisted_10$4, createElementVNode("span", _hoisted_11$4, toDisplayString(totalPages.value), 1
|
|
3748
|
+
/* TEXT */
|
|
3749
|
+
), _hoisted_12$4, createElementVNode("span", _hoisted_13$4, toDisplayString(topCurrentPages.value), 1
|
|
3750
|
+
/* TEXT */
|
|
3751
|
+
), _hoisted_14$4, createVNode(_component_a_dropdown, {
|
|
3752
|
+
trigger: ['click']
|
|
3753
|
+
}, {
|
|
3754
|
+
overlay: withCtx(function () {
|
|
3755
|
+
return [createVNode(_component_a_menu, {
|
|
3756
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
3757
|
+
return triggerNode.parentNode;
|
|
3758
|
+
},
|
|
3759
|
+
"class": "max-h-40 overflow-y-auto scrollbar"
|
|
3760
|
+
}, {
|
|
3761
|
+
"default": withCtx(function () {
|
|
3762
|
+
return [(openBlock(true), createElementBlock(Fragment, null, renderList(topPages.value, function (e) {
|
|
3763
|
+
return openBlock(), createBlock(_component_a_menu_item, {
|
|
3764
|
+
key: e,
|
|
3765
|
+
onClick: function onClick($event) {
|
|
3766
|
+
return onSelectTopPage(e);
|
|
3767
|
+
}
|
|
3768
|
+
}, {
|
|
3769
|
+
"default": withCtx(function () {
|
|
3770
|
+
return [createTextVNode(toDisplayString(e), 1
|
|
3771
|
+
/* TEXT */
|
|
3772
|
+
)];
|
|
3773
|
+
}),
|
|
3774
|
+
_: 2
|
|
3775
|
+
/* DYNAMIC */
|
|
3776
|
+
|
|
3777
|
+
}, 1032
|
|
3778
|
+
/* PROPS, DYNAMIC_SLOTS */
|
|
3779
|
+
, ["onClick"]);
|
|
3780
|
+
}), 128
|
|
3781
|
+
/* KEYED_FRAGMENT */
|
|
3782
|
+
))];
|
|
3783
|
+
}),
|
|
3784
|
+
_: 1
|
|
3785
|
+
/* STABLE */
|
|
3786
|
+
|
|
3787
|
+
}, 8
|
|
3788
|
+
/* PROPS */
|
|
3789
|
+
, ["getPopupContainer"])];
|
|
3790
|
+
}),
|
|
3791
|
+
"default": withCtx(function () {
|
|
3792
|
+
return [createElementVNode("a", {
|
|
3793
|
+
"class": "pl-2 ant-dropdown-link border-b border-[#BD9E55]",
|
|
3794
|
+
onClick: _cache[3] || (_cache[3] = withModifiers(function () {}, ["prevent"]))
|
|
3795
|
+
}, [createElementVNode("span", _hoisted_15$4, toDisplayString(topSelectPages.value), 1
|
|
3796
|
+
/* TEXT */
|
|
3797
|
+
), createVNode(_component_DownOutlined, {
|
|
3798
|
+
"class": "align-middle ml-1 mb-[4px]",
|
|
3799
|
+
style: {
|
|
3800
|
+
"font-size": "16px"
|
|
3801
|
+
}
|
|
3802
|
+
})])];
|
|
3803
|
+
}),
|
|
3804
|
+
_: 1
|
|
3805
|
+
/* STABLE */
|
|
3806
|
+
|
|
3807
|
+
}), _hoisted_16$4])]), createElementVNode("div", _hoisted_17$4, [createVNode(unref(script$n), {
|
|
3808
|
+
dataTh: unref(th),
|
|
3809
|
+
contractExecDocList: dataV.value,
|
|
3810
|
+
currentPages: currentPages.value,
|
|
3811
|
+
totalPages: totalPages.value,
|
|
3812
|
+
formData: formData,
|
|
3813
|
+
setHeight: 40,
|
|
3814
|
+
isTableControl: false,
|
|
3815
|
+
onOnPageChange: onPageChange,
|
|
3816
|
+
onOnShowSizeChange: onShowSizeChange,
|
|
3817
|
+
onUpth: upth
|
|
3818
|
+
}, {
|
|
3819
|
+
buttonSlot: withCtx(function (buttonSlot) {
|
|
3820
|
+
return [createElementVNode("div", _hoisted_18$4, [createElementVNode("span", {
|
|
3821
|
+
"class": "cursor-pointer",
|
|
3822
|
+
onClick: function onClick($event) {
|
|
3823
|
+
return sendItem(buttonSlot.item);
|
|
3824
|
+
}
|
|
3825
|
+
}, "选择", 8
|
|
3826
|
+
/* PROPS */
|
|
3827
|
+
, _hoisted_19$4)])];
|
|
3828
|
+
}),
|
|
3829
|
+
_: 1
|
|
3830
|
+
/* STABLE */
|
|
3831
|
+
|
|
3832
|
+
}, 8
|
|
3833
|
+
/* PROPS */
|
|
3834
|
+
, ["dataTh", "contractExecDocList", "currentPages", "totalPages", "formData"])])])])];
|
|
3469
3835
|
}),
|
|
3470
3836
|
_: 1
|
|
3471
3837
|
/* STABLE */
|
|
3472
3838
|
|
|
3473
3839
|
}, 8
|
|
3474
3840
|
/* PROPS */
|
|
3475
|
-
, ["
|
|
3841
|
+
, ["show"]);
|
|
3476
3842
|
};
|
|
3477
3843
|
}
|
|
3478
3844
|
});
|
|
3479
3845
|
|
|
3480
|
-
script$
|
|
3846
|
+
script$b.__file = "src/business-ui/component/IVProjectSelector.vue";
|
|
3481
3847
|
|
|
3482
|
-
var _hoisted_1$
|
|
3848
|
+
var _hoisted_1$a = {
|
|
3483
3849
|
key: 0,
|
|
3484
3850
|
"class": "text-[#0000006D] text-[14px]"
|
|
3485
3851
|
};
|
|
3486
3852
|
|
|
3487
|
-
var _hoisted_2$
|
|
3853
|
+
var _hoisted_2$6 = /*#__PURE__*/createElementVNode("span", {
|
|
3488
3854
|
"class": "absolute right-rull top-1/2 -translate-y-1/2 w-[480px] px-2 text-[#0000006D] text-[12px]"
|
|
3489
3855
|
}, " 根据基本信息中的所属账套,筛选账套下的合同,同时状态是在建项目的工程项目合同 ", -1
|
|
3490
3856
|
/* HOISTED */
|
|
@@ -3493,7 +3859,7 @@ var _hoisted_2$7 = /*#__PURE__*/createElementVNode("span", {
|
|
|
3493
3859
|
* 组件定义-------------------------------------
|
|
3494
3860
|
* */
|
|
3495
3861
|
|
|
3496
|
-
var script$
|
|
3862
|
+
var script$a = /*#__PURE__*/defineComponent({
|
|
3497
3863
|
__name: 'IVMainContractSelector',
|
|
3498
3864
|
props: {
|
|
3499
3865
|
value: {
|
|
@@ -3625,6 +3991,9 @@ var script$b = /*#__PURE__*/defineComponent({
|
|
|
3625
3991
|
emit("update:value", value);
|
|
3626
3992
|
}
|
|
3627
3993
|
});
|
|
3994
|
+
var filterOption = computed(function () {
|
|
3995
|
+
return filterOptionHeadle(props.fieldNames.label);
|
|
3996
|
+
});
|
|
3628
3997
|
/**
|
|
3629
3998
|
* 侦听器-------------------------------------
|
|
3630
3999
|
* */
|
|
@@ -3669,7 +4038,7 @@ var script$b = /*#__PURE__*/defineComponent({
|
|
|
3669
4038
|
colon: __props.isTitle
|
|
3670
4039
|
}, {
|
|
3671
4040
|
label: withCtx(function () {
|
|
3672
|
-
return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4041
|
+
return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$a, toDisplayString(__props.title), 1
|
|
3673
4042
|
/* TEXT */
|
|
3674
4043
|
)) : createCommentVNode("v-if", true)];
|
|
3675
4044
|
}),
|
|
@@ -3692,10 +4061,10 @@ var script$b = /*#__PURE__*/defineComponent({
|
|
|
3692
4061
|
onChange: _cache[1] || (_cache[1] = function ($event) {
|
|
3693
4062
|
return _ctx.$emit('change', $event);
|
|
3694
4063
|
}),
|
|
3695
|
-
filterOption: unref(
|
|
4064
|
+
filterOption: unref(filterOption)
|
|
3696
4065
|
}), null, 16
|
|
3697
4066
|
/* FULL_PROPS */
|
|
3698
|
-
, ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"]), _hoisted_2$
|
|
4067
|
+
, ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"]), _hoisted_2$6];
|
|
3699
4068
|
}),
|
|
3700
4069
|
_: 1
|
|
3701
4070
|
/* STABLE */
|
|
@@ -3707,9 +4076,9 @@ var script$b = /*#__PURE__*/defineComponent({
|
|
|
3707
4076
|
}
|
|
3708
4077
|
});
|
|
3709
4078
|
|
|
3710
|
-
script$
|
|
4079
|
+
script$a.__file = "src/business-ui/component/IVMainContractSelector.vue";
|
|
3711
4080
|
|
|
3712
|
-
var _hoisted_1$
|
|
4081
|
+
var _hoisted_1$9 = {
|
|
3713
4082
|
key: 0,
|
|
3714
4083
|
"class": "text-[#0000006D] text-[14px]"
|
|
3715
4084
|
};
|
|
@@ -3717,7 +4086,7 @@ var _hoisted_1$a = {
|
|
|
3717
4086
|
* 组件定义-------------------------------------
|
|
3718
4087
|
* */
|
|
3719
4088
|
|
|
3720
|
-
var script$
|
|
4089
|
+
var script$9 = /*#__PURE__*/defineComponent({
|
|
3721
4090
|
__name: 'IVInnerContractSelector',
|
|
3722
4091
|
props: {
|
|
3723
4092
|
value: {
|
|
@@ -3888,7 +4257,7 @@ var script$a = /*#__PURE__*/defineComponent({
|
|
|
3888
4257
|
colon: __props.isTitle
|
|
3889
4258
|
}, {
|
|
3890
4259
|
label: withCtx(function () {
|
|
3891
|
-
return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4260
|
+
return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$9, toDisplayString(__props.title), 1
|
|
3892
4261
|
/* TEXT */
|
|
3893
4262
|
)) : createCommentVNode("v-if", true)];
|
|
3894
4263
|
}),
|
|
@@ -3926,9 +4295,9 @@ var script$a = /*#__PURE__*/defineComponent({
|
|
|
3926
4295
|
}
|
|
3927
4296
|
});
|
|
3928
4297
|
|
|
3929
|
-
script$
|
|
4298
|
+
script$9.__file = "src/business-ui/component/IVInnerContractSelector.vue";
|
|
3930
4299
|
|
|
3931
|
-
var _hoisted_1$
|
|
4300
|
+
var _hoisted_1$8 = {
|
|
3932
4301
|
key: 0,
|
|
3933
4302
|
"class": "text-[#0000006D] text-[14px]"
|
|
3934
4303
|
};
|
|
@@ -3936,7 +4305,7 @@ var _hoisted_1$9 = {
|
|
|
3936
4305
|
* 组件定义-------------------------------------
|
|
3937
4306
|
* */
|
|
3938
4307
|
|
|
3939
|
-
var script$
|
|
4308
|
+
var script$8 = /*#__PURE__*/defineComponent({
|
|
3940
4309
|
__name: 'IVOuterContractSelector',
|
|
3941
4310
|
props: {
|
|
3942
4311
|
value: {
|
|
@@ -4107,7 +4476,7 @@ var script$9 = /*#__PURE__*/defineComponent({
|
|
|
4107
4476
|
colon: __props.isTitle
|
|
4108
4477
|
}, {
|
|
4109
4478
|
label: withCtx(function () {
|
|
4110
|
-
return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4479
|
+
return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$8, toDisplayString(__props.title), 1
|
|
4111
4480
|
/* TEXT */
|
|
4112
4481
|
)) : createCommentVNode("v-if", true)];
|
|
4113
4482
|
}),
|
|
@@ -4145,17 +4514,17 @@ var script$9 = /*#__PURE__*/defineComponent({
|
|
|
4145
4514
|
}
|
|
4146
4515
|
});
|
|
4147
4516
|
|
|
4148
|
-
script$
|
|
4517
|
+
script$8.__file = "src/business-ui/component/IVOuterContractSelector.vue";
|
|
4149
4518
|
|
|
4150
4519
|
var _withScopeId$1 = function _withScopeId(n) {
|
|
4151
4520
|
return pushScopeId("data-v-44290c60"), n = n(), popScopeId(), n;
|
|
4152
4521
|
};
|
|
4153
4522
|
|
|
4154
|
-
var _hoisted_1$
|
|
4523
|
+
var _hoisted_1$7 = {
|
|
4155
4524
|
"class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
|
|
4156
4525
|
};
|
|
4157
4526
|
|
|
4158
|
-
var _hoisted_2$
|
|
4527
|
+
var _hoisted_2$5 = /*#__PURE__*/_withScopeId$1(function () {
|
|
4159
4528
|
return /*#__PURE__*/createElementVNode("span", {
|
|
4160
4529
|
"class": "text-xl text-[#bd9e55] pl-2"
|
|
4161
4530
|
}, "高拍仪", -1
|
|
@@ -4163,11 +4532,11 @@ var _hoisted_2$6 = /*#__PURE__*/_withScopeId$1(function () {
|
|
|
4163
4532
|
);
|
|
4164
4533
|
});
|
|
4165
4534
|
|
|
4166
|
-
var _hoisted_3$
|
|
4535
|
+
var _hoisted_3$5 = {
|
|
4167
4536
|
"class": "Altimeter"
|
|
4168
4537
|
};
|
|
4169
4538
|
|
|
4170
|
-
var _hoisted_4$
|
|
4539
|
+
var _hoisted_4$5 = /*#__PURE__*/_withScopeId$1(function () {
|
|
4171
4540
|
return /*#__PURE__*/createElementVNode("div", {
|
|
4172
4541
|
"class": "text-[#0000006D] mt-2 text-[14px]"
|
|
4173
4542
|
}, "上传图片:", -1
|
|
@@ -4175,10 +4544,10 @@ var _hoisted_4$6 = /*#__PURE__*/_withScopeId$1(function () {
|
|
|
4175
4544
|
);
|
|
4176
4545
|
});
|
|
4177
4546
|
|
|
4178
|
-
var _hoisted_5$
|
|
4547
|
+
var _hoisted_5$5 = {
|
|
4179
4548
|
"class": "imgBox mt-8 ml-[-58px]"
|
|
4180
4549
|
};
|
|
4181
|
-
var script$
|
|
4550
|
+
var script$7 = /*#__PURE__*/defineComponent({
|
|
4182
4551
|
__name: 'Altimeter',
|
|
4183
4552
|
props: {
|
|
4184
4553
|
// 是否显示弹窗
|
|
@@ -4356,12 +4725,12 @@ var script$8 = /*#__PURE__*/defineComponent({
|
|
|
4356
4725
|
onCancelHandle: cancelHandle
|
|
4357
4726
|
}, {
|
|
4358
4727
|
title: withCtx(function () {
|
|
4359
|
-
return [createElementVNode("div", _hoisted_1$
|
|
4728
|
+
return [createElementVNode("div", _hoisted_1$7, [createVNode(_component_UnorderedListOutlined, {
|
|
4360
4729
|
"class": "text-xl text-[#bd9e55]"
|
|
4361
|
-
}), _hoisted_2$
|
|
4730
|
+
}), _hoisted_2$5])];
|
|
4362
4731
|
}),
|
|
4363
4732
|
body: withCtx(function () {
|
|
4364
|
-
return [createElementVNode("div", _hoisted_3$
|
|
4733
|
+
return [createElementVNode("div", _hoisted_3$5, [createElementVNode("iframe", {
|
|
4365
4734
|
src: "/node_modules/iv-npm/packages/ui/dist/Altimeter/index.html",
|
|
4366
4735
|
id: "iframe",
|
|
4367
4736
|
ref_key: "iframe",
|
|
@@ -4371,7 +4740,7 @@ var script$8 = /*#__PURE__*/defineComponent({
|
|
|
4371
4740
|
onLoad: load
|
|
4372
4741
|
}, null, 544
|
|
4373
4742
|
/* HYDRATE_EVENTS, NEED_PATCH */
|
|
4374
|
-
), _hoisted_4$
|
|
4743
|
+
), _hoisted_4$5, createElementVNode("div", _hoisted_5$5, [(openBlock(true), createElementBlock(Fragment, null, renderList(pictures.value, function (e, i) {
|
|
4375
4744
|
return openBlock(), createElementBlock("div", {
|
|
4376
4745
|
key: i,
|
|
4377
4746
|
"class": "imgList"
|
|
@@ -4401,21 +4770,21 @@ var script$8 = /*#__PURE__*/defineComponent({
|
|
|
4401
4770
|
}
|
|
4402
4771
|
});
|
|
4403
4772
|
|
|
4404
|
-
script$
|
|
4405
|
-
script$
|
|
4773
|
+
script$7.__scopeId = "data-v-44290c60";
|
|
4774
|
+
script$7.__file = "src/business-ui/component/Altimeter.vue";
|
|
4406
4775
|
|
|
4407
4776
|
var _withScopeId = function _withScopeId(n) {
|
|
4408
4777
|
return pushScopeId("data-v-3f5c8a23"), n = n(), popScopeId(), n;
|
|
4409
4778
|
};
|
|
4410
4779
|
|
|
4411
|
-
var _hoisted_1$
|
|
4780
|
+
var _hoisted_1$6 = {
|
|
4412
4781
|
"class": "MrpUpload"
|
|
4413
4782
|
};
|
|
4414
|
-
var _hoisted_2$
|
|
4783
|
+
var _hoisted_2$4 = {
|
|
4415
4784
|
key: 0
|
|
4416
4785
|
};
|
|
4417
4786
|
|
|
4418
|
-
var _hoisted_3$
|
|
4787
|
+
var _hoisted_3$4 = /*#__PURE__*/_withScopeId(function () {
|
|
4419
4788
|
return /*#__PURE__*/createElementVNode("img", {
|
|
4420
4789
|
src: "https://stec.oss-cn-shanghai.aliyuncs.com/host/purchasecontract/2022-8-16/85429f9734db4d1385af4c84d75cc99e.png",
|
|
4421
4790
|
style: {
|
|
@@ -4426,7 +4795,7 @@ var _hoisted_3$5 = /*#__PURE__*/_withScopeId(function () {
|
|
|
4426
4795
|
);
|
|
4427
4796
|
});
|
|
4428
4797
|
|
|
4429
|
-
var _hoisted_4$
|
|
4798
|
+
var _hoisted_4$4 = /*#__PURE__*/_withScopeId(function () {
|
|
4430
4799
|
return /*#__PURE__*/createElementVNode("div", {
|
|
4431
4800
|
"class": "ant-upload-text"
|
|
4432
4801
|
}, "电脑文件上传", -1
|
|
@@ -4434,12 +4803,12 @@ var _hoisted_4$5 = /*#__PURE__*/_withScopeId(function () {
|
|
|
4434
4803
|
);
|
|
4435
4804
|
});
|
|
4436
4805
|
|
|
4437
|
-
var _hoisted_5$
|
|
4438
|
-
var _hoisted_6$
|
|
4806
|
+
var _hoisted_5$4 = [_hoisted_3$4, _hoisted_4$4];
|
|
4807
|
+
var _hoisted_6$4 = {
|
|
4439
4808
|
key: 1
|
|
4440
4809
|
};
|
|
4441
4810
|
|
|
4442
|
-
var _hoisted_7$
|
|
4811
|
+
var _hoisted_7$4 = /*#__PURE__*/createTextVNode(" 上传 ");
|
|
4443
4812
|
|
|
4444
4813
|
var _hoisted_8$4 = ["src"];
|
|
4445
4814
|
/**
|
|
@@ -4454,7 +4823,7 @@ var _hoisted_8$4 = ["src"];
|
|
|
4454
4823
|
* @uploadChange:Function({ file: tempFile, fileList: tempFileList } 上传列表改变事件
|
|
4455
4824
|
*/
|
|
4456
4825
|
|
|
4457
|
-
var script$
|
|
4826
|
+
var script$6 = /*#__PURE__*/defineComponent({
|
|
4458
4827
|
__name: 'IVFileUpload',
|
|
4459
4828
|
props: {
|
|
4460
4829
|
uploadApi: {
|
|
@@ -4731,7 +5100,7 @@ var script$7 = /*#__PURE__*/defineComponent({
|
|
|
4731
5100
|
|
|
4732
5101
|
var _component_a_modal = resolveComponent("a-modal");
|
|
4733
5102
|
|
|
4734
|
-
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1$
|
|
5103
|
+
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1$6, [createVNode(_component_a_upload, {
|
|
4735
5104
|
"file-list": fileList.value,
|
|
4736
5105
|
"onUpdate:file-list": _cache[0] || (_cache[0] = function ($event) {
|
|
4737
5106
|
return fileList.value = $event;
|
|
@@ -4746,9 +5115,9 @@ var script$7 = /*#__PURE__*/defineComponent({
|
|
|
4746
5115
|
"default": withCtx(function () {
|
|
4747
5116
|
return [!__props.mini && __props.listType === 'picture-card' ? (openBlock(), createElementBlock(Fragment, {
|
|
4748
5117
|
key: 0
|
|
4749
|
-
}, [createCommentVNode(" :class=\"[listType === 'picture' ? 'upload-list-inline' : '']\" "), fileList.value.length < __props.uploadLength ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5118
|
+
}, [createCommentVNode(" :class=\"[listType === 'picture' ? 'upload-list-inline' : '']\" "), fileList.value.length < __props.uploadLength ? (openBlock(), createElementBlock("div", _hoisted_2$4, _hoisted_5$4)) : createCommentVNode("v-if", true)], 64
|
|
4750
5119
|
/* STABLE_FRAGMENT */
|
|
4751
|
-
)) : __props.listType === 'icon' ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
5120
|
+
)) : __props.listType === 'icon' ? (openBlock(), createElementBlock("div", _hoisted_6$4, [createVNode(_component_instagram_outlined, {
|
|
4752
5121
|
"class": "text-[22px] text-[#006AB2] cursor-pointer mt-1",
|
|
4753
5122
|
onClick: _ctx.onUploadInvoice
|
|
4754
5123
|
}, null, 8
|
|
@@ -4757,7 +5126,7 @@ var script$7 = /*#__PURE__*/defineComponent({
|
|
|
4757
5126
|
key: 2
|
|
4758
5127
|
}, {
|
|
4759
5128
|
"default": withCtx(function () {
|
|
4760
|
-
return [createVNode(_component_upload_outlined), _hoisted_7$
|
|
5129
|
+
return [createVNode(_component_upload_outlined), _hoisted_7$4];
|
|
4761
5130
|
}),
|
|
4762
5131
|
_: 1
|
|
4763
5132
|
/* STABLE */
|
|
@@ -4790,7 +5159,7 @@ var script$7 = /*#__PURE__*/defineComponent({
|
|
|
4790
5159
|
|
|
4791
5160
|
}, 8
|
|
4792
5161
|
/* PROPS */
|
|
4793
|
-
, ["visible"]), __props.showAltimeter ? (openBlock(), createBlock(script$
|
|
5162
|
+
, ["visible"]), __props.showAltimeter ? (openBlock(), createBlock(script$7, {
|
|
4794
5163
|
key: 0,
|
|
4795
5164
|
show: isAltimeter.value,
|
|
4796
5165
|
"onUpdate:show": _cache[1] || (_cache[1] = function ($event) {
|
|
@@ -4806,10 +5175,10 @@ var script$7 = /*#__PURE__*/defineComponent({
|
|
|
4806
5175
|
}
|
|
4807
5176
|
});
|
|
4808
5177
|
|
|
4809
|
-
script$
|
|
4810
|
-
script$
|
|
5178
|
+
script$6.__scopeId = "data-v-3f5c8a23";
|
|
5179
|
+
script$6.__file = "src/business-ui/component/IVFileUpload.vue";
|
|
4811
5180
|
|
|
4812
|
-
var script$
|
|
5181
|
+
var script$5 = {
|
|
4813
5182
|
name: "time",
|
|
4814
5183
|
props: {
|
|
4815
5184
|
timeType: Number
|
|
@@ -4918,15 +5287,15 @@ var script$6 = {
|
|
|
4918
5287
|
}
|
|
4919
5288
|
};
|
|
4920
5289
|
|
|
4921
|
-
var _hoisted_1$
|
|
5290
|
+
var _hoisted_1$5 = {
|
|
4922
5291
|
"class": "Mrp-time text-[18px] flex items-center"
|
|
4923
5292
|
};
|
|
4924
|
-
function render
|
|
5293
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4925
5294
|
var _component_a_radio_button = resolveComponent("a-radio-button");
|
|
4926
5295
|
var _component_a_radio_group = resolveComponent("a-radio-group");
|
|
4927
5296
|
var _component_FieldTimeOutlined = resolveComponent("FieldTimeOutlined");
|
|
4928
5297
|
var _component_a_range_picker = resolveComponent("a-range-picker");
|
|
4929
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5298
|
+
return openBlock(), createElementBlock("div", _hoisted_1$5, [createVNode(_component_a_radio_group, {
|
|
4930
5299
|
value: $setup.activeBtn,
|
|
4931
5300
|
"onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
|
|
4932
5301
|
return $setup.activeBtn = $event;
|
|
@@ -4976,69 +5345,9 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4976
5345
|
, ["value", "onChange"])]);
|
|
4977
5346
|
}
|
|
4978
5347
|
|
|
4979
|
-
script$6.render = render$1;
|
|
4980
|
-
script$6.__scopeId = "data-v-5f0fe252";
|
|
4981
|
-
script$6.__file = "src/business-ui/component/IVTimeSelector.vue";
|
|
4982
|
-
|
|
4983
|
-
var _hoisted_1$5 = {
|
|
4984
|
-
style: {
|
|
4985
|
-
"position": "relative",
|
|
4986
|
-
"margin-top": "8px",
|
|
4987
|
-
"width": "30px",
|
|
4988
|
-
"height": "23px"
|
|
4989
|
-
}
|
|
4990
|
-
};
|
|
4991
|
-
var _hoisted_2$4 = {
|
|
4992
|
-
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
4993
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4994
|
-
version: "1.1",
|
|
4995
|
-
width: "23px",
|
|
4996
|
-
height: "23px",
|
|
4997
|
-
style: {
|
|
4998
|
-
"position": "absolute"
|
|
4999
|
-
}
|
|
5000
|
-
};
|
|
5001
|
-
var _hoisted_3$4 = createElementVNode("g", {
|
|
5002
|
-
transform: "matrix(1 0 0 1 -256 -275 )"
|
|
5003
|
-
}, [createElementVNode("path", {
|
|
5004
|
-
d: "M 2.8482972136223452 0 C 1.2746130030959648 0.028482972136316675 0 1.3030959752322815 0 2.8767801857584345 L 0 20.151702786377655 C 0 21.725386996904035 1.2746130030959648 23 2.8482972136223452 23 L 20.123219814241565 23 C 21.69690402476772 23 22.971517027863683 21.725386996904035 23 20.151702786377655 L 23 2.8767801857584345 C 22.971517027863683 1.3030959752322815 21.69690402476772 0.028482972136316675 20.123219814241565 0 L 2.8482972136223452 0 Z ",
|
|
5005
|
-
"fill-rule": "nonzero",
|
|
5006
|
-
fill: "#bd9e55",
|
|
5007
|
-
stroke: "none",
|
|
5008
|
-
transform: "matrix(1 0 0 1 256 275 )"
|
|
5009
|
-
})], -1
|
|
5010
|
-
);
|
|
5011
|
-
var _hoisted_4$4 = [_hoisted_3$4];
|
|
5012
|
-
var _hoisted_5$4 = {
|
|
5013
|
-
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
5014
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5015
|
-
version: "1.1",
|
|
5016
|
-
width: "23px",
|
|
5017
|
-
height: "23px",
|
|
5018
|
-
style: {
|
|
5019
|
-
"position": "absolute",
|
|
5020
|
-
"left": "7px",
|
|
5021
|
-
"bottom": "7px"
|
|
5022
|
-
}
|
|
5023
|
-
};
|
|
5024
|
-
var _hoisted_6$4 = createElementVNode("g", {
|
|
5025
|
-
transform: "matrix(1 0 0 1 -263 -268 )"
|
|
5026
|
-
}, [createElementVNode("path", {
|
|
5027
|
-
d: "M 2.8767801857584345 0 C 1.3030959752322815 0 0.028482972136316675 1.2746130030959648 0.028482972136316675 2.8482972136223452 L 0.028482972136316675 4.870588235294008 C 0.028482972136316675 5.027244582043295 0.15665634674928697 5.155417956656265 0.31331269349834656 5.155417956656265 L 14.426625386996877 5.155417956656265 C 16.306501547987637 5.155417956656265 17.844582043343735 6.693498452012363 17.844582043343735 8.573374613003125 L 17.844582043343735 22.686687306501653 C 17.844582043343735 22.843343653250713 17.972755417956705 22.971517027863683 18.129411764705992 22.971517027863683 L 20.151702786377655 22.971517027863683 C 21.725386996904035 22.971517027863683 23 21.69690402476772 23 20.123219814241565 L 23 2.8482972136223452 C 23 1.2746130030959648 21.725386996904035 0 20.151702786377655 0 L 2.8767801857584345 0 Z ",
|
|
5028
|
-
"fill-rule": "nonzero",
|
|
5029
|
-
fill: "#bd9e55",
|
|
5030
|
-
stroke: "none",
|
|
5031
|
-
transform: "matrix(1 0 0 1 263 268 )"
|
|
5032
|
-
})], -1
|
|
5033
|
-
);
|
|
5034
|
-
var _hoisted_7$4 = [_hoisted_6$4];
|
|
5035
|
-
function render(_ctx, _cache) {
|
|
5036
|
-
return openBlock(), createElementBlock("div", _hoisted_1$5, [(openBlock(), createElementBlock("svg", _hoisted_2$4, _hoisted_4$4)), (openBlock(), createElementBlock("svg", _hoisted_5$4, _hoisted_7$4))]);
|
|
5037
|
-
}
|
|
5038
|
-
|
|
5039
|
-
var script$5 = {};
|
|
5040
5348
|
script$5.render = render;
|
|
5041
|
-
script$5.
|
|
5349
|
+
script$5.__scopeId = "data-v-5f0fe252";
|
|
5350
|
+
script$5.__file = "src/business-ui/component/IVTimeSelector.vue";
|
|
5042
5351
|
|
|
5043
5352
|
var _hoisted_1$4 = {
|
|
5044
5353
|
"class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
|
|
@@ -5372,7 +5681,7 @@ var script$4 = /*#__PURE__*/defineComponent({
|
|
|
5372
5681
|
"remove-padding": false
|
|
5373
5682
|
}, {
|
|
5374
5683
|
title: withCtx(function () {
|
|
5375
|
-
return [createElementVNode("div", _hoisted_1$4, [createVNode(script$
|
|
5684
|
+
return [createElementVNode("div", _hoisted_1$4, [createVNode(script$c), _hoisted_2$3])];
|
|
5376
5685
|
}),
|
|
5377
5686
|
body: withCtx(function () {
|
|
5378
5687
|
return [createElementVNode("div", _hoisted_3$3, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4$3, [createElementVNode("div", _hoisted_5$3, [createVNode(_component_a_input, {
|
|
@@ -6005,7 +6314,7 @@ var script$2 = /*#__PURE__*/defineComponent({
|
|
|
6005
6314
|
"remove-padding": false
|
|
6006
6315
|
}, {
|
|
6007
6316
|
title: withCtx(function () {
|
|
6008
|
-
return [createElementVNode("div", _hoisted_1$2, [createVNode(script$
|
|
6317
|
+
return [createElementVNode("div", _hoisted_1$2, [createVNode(script$c), _hoisted_2$2])];
|
|
6009
6318
|
}),
|
|
6010
6319
|
body: withCtx(function () {
|
|
6011
6320
|
return [createElementVNode("div", _hoisted_3$2, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4$2, [createElementVNode("div", _hoisted_5$2, [createVNode(unref(script$l), {
|
|
@@ -6590,7 +6899,7 @@ var script$1 = /*#__PURE__*/defineComponent({
|
|
|
6590
6899
|
"remove-padding": false
|
|
6591
6900
|
}, {
|
|
6592
6901
|
title: withCtx(function () {
|
|
6593
|
-
return [createElementVNode("div", _hoisted_1$1, [createVNode(script$
|
|
6902
|
+
return [createElementVNode("div", _hoisted_1$1, [createVNode(script$c), _hoisted_2$1])];
|
|
6594
6903
|
}),
|
|
6595
6904
|
body: withCtx(function () {
|
|
6596
6905
|
return [createElementVNode("div", _hoisted_3$1, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4$1, [createElementVNode("div", _hoisted_5$1, [createVNode(_component_a_select, {
|
|
@@ -7159,7 +7468,7 @@ var script = /*#__PURE__*/defineComponent({
|
|
|
7159
7468
|
"remove-padding": false
|
|
7160
7469
|
}, {
|
|
7161
7470
|
title: withCtx(function () {
|
|
7162
|
-
return [createElementVNode("div", _hoisted_1, [createVNode(script$
|
|
7471
|
+
return [createElementVNode("div", _hoisted_1, [createVNode(script$c), _hoisted_2])];
|
|
7163
7472
|
}),
|
|
7164
7473
|
body: withCtx(function () {
|
|
7165
7474
|
return [createElementVNode("div", _hoisted_3, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4, [createElementVNode("div", _hoisted_5, [createVNode(_component_a_input, {
|
|
@@ -7300,7 +7609,7 @@ var script = /*#__PURE__*/defineComponent({
|
|
|
7300
7609
|
|
|
7301
7610
|
script.__file = "src/business-ui/component/IVMaterialSelector.vue";
|
|
7302
7611
|
|
|
7303
|
-
var components = [script$o, script$l, script$k, script$j, script$i, script$h, script$g, script$n, script$m, script$f, script$e, script$d, script$
|
|
7612
|
+
var components = [script$o, script$l, script$k, script$j, script$i, script$h, script$g, script$n, script$m, script$f, script$e, script$d, script$b, script$2, script$1, script, script$a, script$9, script$8, script$6, script$5, script$4, script$3];
|
|
7304
7613
|
installComponents(); // 单独引用
|
|
7305
7614
|
|
|
7306
7615
|
function installComponents() {
|
|
@@ -7323,4 +7632,4 @@ var cAll = {
|
|
|
7323
7632
|
install: install
|
|
7324
7633
|
};
|
|
7325
7634
|
|
|
7326
|
-
export { script$4 as IVClientSelector, script$
|
|
7635
|
+
export { script$4 as IVClientSelector, script$6 as IVFileUpload, script$9 as IVInnerContractSelector, script$j as IVLineDropdown, script$a as IVMainContractSelector, script$g as IVManagDropdown, script as IVMaterialSelector, script$d as IVMaterialTypeDropdown, script$o as IVModal, script$l as IVOrgDropdown, script$8 as IVOuterContractSelector, script$3 as IVPaytypeSelector, script$h as IVPostDropdown, script$k as IVProdBaseDropdown, script$b as IVProjectSelector, script$f as IVRateDropdown, script$i as IVSetofbookDropdown, script$n as IVTable, script$m as IVTableControl, script$5 as IVTimeSelector, script$e as IVUnitDropdown, script$2 as IVUserSelector, script$1 as IVVendorSelector, cAll as default };
|