iv-npm 1.2.32 → 1.2.33
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/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 +631 -322
- package/packages/ui/dist/index.esm.js +627 -318
- package/packages/ui/dist/index.umd.js +631 -322
- 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 */
|
|
@@ -1458,6 +1458,13 @@ var API_OPTION = {
|
|
|
1458
1458
|
method: "get"
|
|
1459
1459
|
}, DEFIND_OPTION),
|
|
1460
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
|
|
1461
1468
|
}
|
|
1462
1469
|
};
|
|
1463
1470
|
var formatHTTP = function formatHTTP(fetch) {
|
|
@@ -2146,7 +2153,7 @@ var _hoisted_1$g = {
|
|
|
2146
2153
|
key: 0,
|
|
2147
2154
|
"class": "text-[#0000006D] text-[14px]"
|
|
2148
2155
|
};
|
|
2149
|
-
var _hoisted_2$
|
|
2156
|
+
var _hoisted_2$9 = {
|
|
2150
2157
|
"class": "absolute right-rull top-1/2 -translate-y-1/2 w-[410px] px-2 text-[#0000006D] text-[12px]"
|
|
2151
2158
|
};
|
|
2152
2159
|
/**
|
|
@@ -2363,7 +2370,7 @@ var script$i = /*#__PURE__*/defineComponent({
|
|
|
2363
2370
|
replaceFields: __props.replaceFields
|
|
2364
2371
|
}), null, 16
|
|
2365
2372
|
/* FULL_PROPS */
|
|
2366
|
-
, ["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")])];
|
|
2367
2374
|
}),
|
|
2368
2375
|
_: 3
|
|
2369
2376
|
/* FORWARDED */
|
|
@@ -3256,114 +3263,162 @@ var script$d = /*#__PURE__*/defineComponent({
|
|
|
3256
3263
|
script$d.__file = "src/business-ui/component/IVMaterialTypeDropdown.vue";
|
|
3257
3264
|
|
|
3258
3265
|
var _hoisted_1$c = {
|
|
3259
|
-
|
|
3260
|
-
|
|
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"
|
|
3261
3380
|
};
|
|
3381
|
+
var _hoisted_18$4 = {
|
|
3382
|
+
"class": "flex items-center justify-around text-[#006AB2] text-[13px]"
|
|
3383
|
+
};
|
|
3384
|
+
var _hoisted_19$4 = ["onClick"];
|
|
3262
3385
|
/**
|
|
3263
3386
|
* 组件定义-------------------------------------
|
|
3264
3387
|
* */
|
|
3265
3388
|
|
|
3266
|
-
var script$
|
|
3389
|
+
var script$b = /*#__PURE__*/defineComponent({
|
|
3267
3390
|
__name: 'IVProjectSelector',
|
|
3268
3391
|
props: {
|
|
3269
|
-
|
|
3270
|
-
type: null,
|
|
3271
|
-
required: true
|
|
3272
|
-
},
|
|
3273
|
-
params: {
|
|
3274
|
-
type: Object,
|
|
3275
|
-
required: false
|
|
3276
|
-
},
|
|
3277
|
-
data: {
|
|
3278
|
-
type: Object,
|
|
3279
|
-
required: false
|
|
3280
|
-
},
|
|
3281
|
-
fieldNames: {
|
|
3282
|
-
type: null,
|
|
3283
|
-
required: false,
|
|
3284
|
-
"default": function _default() {
|
|
3285
|
-
return {
|
|
3286
|
-
label: "projectName",
|
|
3287
|
-
value: "id"
|
|
3288
|
-
};
|
|
3289
|
-
}
|
|
3290
|
-
},
|
|
3291
|
-
inputStyle: {
|
|
3292
|
-
type: Object,
|
|
3293
|
-
required: true,
|
|
3294
|
-
"default": function _default() {
|
|
3295
|
-
return {
|
|
3296
|
-
width: "300px"
|
|
3297
|
-
};
|
|
3298
|
-
}
|
|
3299
|
-
},
|
|
3300
|
-
formItemStyle: {
|
|
3301
|
-
type: Object,
|
|
3302
|
-
required: false
|
|
3303
|
-
},
|
|
3304
|
-
labelCol: {
|
|
3305
|
-
type: Object,
|
|
3306
|
-
required: false,
|
|
3307
|
-
"default": function _default() {
|
|
3308
|
-
return {
|
|
3309
|
-
span: 4
|
|
3310
|
-
};
|
|
3311
|
-
}
|
|
3312
|
-
},
|
|
3313
|
-
wrapperCol: {
|
|
3314
|
-
type: Object,
|
|
3315
|
-
required: false,
|
|
3316
|
-
"default": function _default() {
|
|
3317
|
-
return {
|
|
3318
|
-
span: 11
|
|
3319
|
-
};
|
|
3320
|
-
}
|
|
3321
|
-
},
|
|
3322
|
-
isRequired: {
|
|
3323
|
-
type: Boolean,
|
|
3324
|
-
required: true,
|
|
3325
|
-
"default": true
|
|
3326
|
-
},
|
|
3327
|
-
multiple: {
|
|
3328
|
-
type: Boolean,
|
|
3329
|
-
required: false,
|
|
3330
|
-
"default": true
|
|
3331
|
-
},
|
|
3332
|
-
isTitle: {
|
|
3392
|
+
show: {
|
|
3333
3393
|
type: Boolean,
|
|
3334
|
-
required:
|
|
3335
|
-
"default": true
|
|
3336
|
-
},
|
|
3337
|
-
placeholder: {
|
|
3338
|
-
type: String,
|
|
3339
|
-
required: false,
|
|
3340
|
-
"default": "请选择"
|
|
3341
|
-
},
|
|
3342
|
-
title: {
|
|
3343
|
-
type: String,
|
|
3344
|
-
required: false,
|
|
3345
|
-
"default": "项目"
|
|
3346
|
-
},
|
|
3347
|
-
name: {
|
|
3348
|
-
type: String,
|
|
3349
|
-
required: false,
|
|
3350
|
-
"default": 'projectId'
|
|
3394
|
+
required: true
|
|
3351
3395
|
}
|
|
3352
3396
|
},
|
|
3353
|
-
emits: ["update:
|
|
3397
|
+
emits: ["update:show", "getItem"],
|
|
3354
3398
|
setup: function setup(__props, _ref) {
|
|
3355
3399
|
var emit = _ref.emit;
|
|
3356
3400
|
var props = __props;
|
|
3357
3401
|
/**
|
|
3358
|
-
*
|
|
3402
|
+
* 搜索-------------------------------------
|
|
3359
3403
|
* */
|
|
3360
3404
|
|
|
3361
|
-
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([]); // 获取合同
|
|
3362
3415
|
|
|
3363
|
-
var
|
|
3416
|
+
var getContractList = /*#__PURE__*/function () {
|
|
3364
3417
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
3365
3418
|
var _option,
|
|
3366
3419
|
_a,
|
|
3420
|
+
_yield$formatHTTP,
|
|
3421
|
+
items,
|
|
3367
3422
|
_args = arguments;
|
|
3368
3423
|
|
|
3369
3424
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -3372,14 +3427,16 @@ var script$c = /*#__PURE__*/defineComponent({
|
|
|
3372
3427
|
case 0:
|
|
3373
3428
|
_option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
|
|
3374
3429
|
_context.next = 3;
|
|
3375
|
-
return formatHTTP(fetch(formatUrl(API_OPTION.
|
|
3430
|
+
return formatHTTP(fetch(formatUrl(API_OPTION.getPurchaseContract.baseUrl, API_OPTION.getPurchaseContract.url, _option.params), assign({
|
|
3376
3431
|
data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
|
|
3377
|
-
}, API_OPTION.
|
|
3432
|
+
}, API_OPTION.getPurchaseContract.option)));
|
|
3378
3433
|
|
|
3379
3434
|
case 3:
|
|
3380
|
-
|
|
3435
|
+
_yield$formatHTTP = _context.sent;
|
|
3436
|
+
items = _yield$formatHTTP.items;
|
|
3437
|
+
contractList.value = items;
|
|
3381
3438
|
|
|
3382
|
-
case
|
|
3439
|
+
case 6:
|
|
3383
3440
|
case "end":
|
|
3384
3441
|
return _context.stop();
|
|
3385
3442
|
}
|
|
@@ -3387,106 +3444,418 @@ var script$c = /*#__PURE__*/defineComponent({
|
|
|
3387
3444
|
}, _callee);
|
|
3388
3445
|
}));
|
|
3389
3446
|
|
|
3390
|
-
return function
|
|
3447
|
+
return function getContractList() {
|
|
3391
3448
|
return _ref2.apply(this, arguments);
|
|
3392
3449
|
};
|
|
3393
3450
|
}();
|
|
3394
|
-
|
|
3395
|
-
var inputV = computed({
|
|
3396
|
-
get: function get() {
|
|
3397
|
-
return props.value;
|
|
3398
|
-
},
|
|
3399
|
-
set: function set(value) {
|
|
3400
|
-
emit("update:value", value);
|
|
3401
|
-
}
|
|
3402
|
-
});
|
|
3403
3451
|
/**
|
|
3404
|
-
*
|
|
3452
|
+
* 获取数据-------------------------------------
|
|
3405
3453
|
* */
|
|
3406
3454
|
|
|
3407
|
-
watchEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
3408
|
-
var _a, _b;
|
|
3409
|
-
|
|
3410
|
-
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
3411
|
-
while (1) {
|
|
3412
|
-
switch (_context2.prev = _context2.next) {
|
|
3413
|
-
case 0:
|
|
3414
|
-
// 由于打包问题,侦听器一定要在最后,否则找不到getData方法
|
|
3415
|
-
getData({
|
|
3416
|
-
params: (_a = props.params) !== null && _a !== void 0 ? _a : null,
|
|
3417
|
-
data: (_b = props.data) !== null && _b !== void 0 ? _b : null
|
|
3418
|
-
});
|
|
3419
3455
|
|
|
3420
|
-
|
|
3421
|
-
case "end":
|
|
3422
|
-
return _context2.stop();
|
|
3423
|
-
}
|
|
3424
|
-
}
|
|
3425
|
-
}, _callee2);
|
|
3426
|
-
})));
|
|
3427
|
-
return function (_ctx, _cache) {
|
|
3428
|
-
var _component_a_select = resolveComponent("a-select");
|
|
3456
|
+
var dataV = ref();
|
|
3429
3457
|
|
|
3430
|
-
|
|
3458
|
+
var getData = /*#__PURE__*/function () {
|
|
3459
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
3460
|
+
var _option,
|
|
3461
|
+
_a,
|
|
3462
|
+
_yield$formatHTTP2,
|
|
3463
|
+
items,
|
|
3464
|
+
totalCount,
|
|
3465
|
+
_args2 = arguments;
|
|
3431
3466
|
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3467
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
3468
|
+
while (1) {
|
|
3469
|
+
switch (_context2.prev = _context2.next) {
|
|
3470
|
+
case 0:
|
|
3471
|
+
_option = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
|
|
3472
|
+
_context2.next = 3;
|
|
3473
|
+
return formatHTTP(fetch(formatUrl(API_OPTION.getIVVendorSelector.baseUrl, API_OPTION.getIVVendorSelector.url, _option.params), assign({
|
|
3474
|
+
data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
|
|
3475
|
+
}, API_OPTION.getIVVendorSelector.option)));
|
|
3476
|
+
|
|
3477
|
+
case 3:
|
|
3478
|
+
_yield$formatHTTP2 = _context2.sent;
|
|
3479
|
+
items = _yield$formatHTTP2.items;
|
|
3480
|
+
totalCount = _yield$formatHTTP2.totalCount;
|
|
3481
|
+
dataV.value = items.map(function (item, index) {
|
|
3482
|
+
item.creationTime = dateFormat(item.creationTime, "YYYY-MM-DD");
|
|
3483
|
+
return item;
|
|
3484
|
+
});
|
|
3485
|
+
totalPages.value = totalCount;
|
|
3486
|
+
topPages.value = Math.ceil(totalPages.value / formData.maxResultCount);
|
|
3487
|
+
|
|
3488
|
+
case 9:
|
|
3489
|
+
case "end":
|
|
3490
|
+
return _context2.stop();
|
|
3491
|
+
}
|
|
3492
|
+
}
|
|
3493
|
+
}, _callee2);
|
|
3494
|
+
}));
|
|
3495
|
+
|
|
3496
|
+
return function getData() {
|
|
3497
|
+
return _ref3.apply(this, arguments);
|
|
3498
|
+
};
|
|
3499
|
+
}();
|
|
3500
|
+
/**
|
|
3501
|
+
* 表格-------------------------------------
|
|
3502
|
+
* */
|
|
3503
|
+
|
|
3504
|
+
|
|
3505
|
+
var th = ref([{
|
|
3506
|
+
title: "序号",
|
|
3507
|
+
w: 54 / 1499 * 100 + "%",
|
|
3508
|
+
key: "index",
|
|
3509
|
+
show: true
|
|
3510
|
+
}, {
|
|
3511
|
+
title: "编号",
|
|
3512
|
+
w: 104 / 1499 * 100 + "%",
|
|
3513
|
+
key: "projectNumber",
|
|
3514
|
+
show: true
|
|
3515
|
+
}, {
|
|
3516
|
+
title: "项目名称",
|
|
3517
|
+
w: 212 / 1499 * 100 + "%",
|
|
3518
|
+
key: "projectName",
|
|
3519
|
+
show: true
|
|
3520
|
+
}, {
|
|
3521
|
+
title: "账套名称",
|
|
3522
|
+
w: 212 / 1499 * 100 + "%",
|
|
3523
|
+
key: "setOfBookName",
|
|
3524
|
+
show: true
|
|
3525
|
+
}, {
|
|
3526
|
+
title: "账套简称",
|
|
3527
|
+
w: 140 / 1499 * 100 + "%",
|
|
3528
|
+
key: "setOfBookShortName",
|
|
3529
|
+
show: true
|
|
3530
|
+
}, {
|
|
3531
|
+
title: "合同名称",
|
|
3532
|
+
w: 212 / 1499 * 100 + "%",
|
|
3533
|
+
key: "contractName",
|
|
3534
|
+
show: true
|
|
3535
|
+
}, {
|
|
3536
|
+
title: "合同简称",
|
|
3537
|
+
w: 140 / 1499 * 100 + "%",
|
|
3538
|
+
key: "contractShortName",
|
|
3539
|
+
show: true
|
|
3540
|
+
}, // {
|
|
3541
|
+
// title: "供应商名称",
|
|
3542
|
+
// w: (250 / 1499) * 100 + "%",
|
|
3543
|
+
// key: "name",
|
|
3544
|
+
// show: true,
|
|
3545
|
+
// custom: true,
|
|
3546
|
+
// },
|
|
3547
|
+
{
|
|
3548
|
+
title: "",
|
|
3549
|
+
w: 45 / 1333 * 100 + "%",
|
|
3550
|
+
key: "buttonSlot",
|
|
3551
|
+
show: true
|
|
3552
|
+
}]); // 更新th
|
|
3553
|
+
|
|
3554
|
+
var upth = function upth(val) {
|
|
3555
|
+
th.value = val;
|
|
3556
|
+
}; //获取指定记录
|
|
3557
|
+
|
|
3558
|
+
|
|
3559
|
+
function sendItem(_x) {
|
|
3560
|
+
return _sendItem.apply(this, arguments);
|
|
3561
|
+
}
|
|
3562
|
+
/**
|
|
3563
|
+
* 分页-------------------------------------
|
|
3564
|
+
* */
|
|
3565
|
+
|
|
3566
|
+
|
|
3567
|
+
function _sendItem() {
|
|
3568
|
+
_sendItem = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(item) {
|
|
3569
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
3570
|
+
while (1) {
|
|
3571
|
+
switch (_context3.prev = _context3.next) {
|
|
3572
|
+
case 0:
|
|
3573
|
+
emit("getItem", JSON.stringify(item));
|
|
3574
|
+
inputV.value = false;
|
|
3575
|
+
|
|
3576
|
+
case 2:
|
|
3577
|
+
case "end":
|
|
3578
|
+
return _context3.stop();
|
|
3579
|
+
}
|
|
3580
|
+
}
|
|
3581
|
+
}, _callee3);
|
|
3582
|
+
}));
|
|
3583
|
+
return _sendItem.apply(this, arguments);
|
|
3584
|
+
}
|
|
3585
|
+
|
|
3586
|
+
var currentPages = ref(1);
|
|
3587
|
+
var topCurrentPages = ref(1);
|
|
3588
|
+
var topPages = ref(0);
|
|
3589
|
+
var topSelectPages = ref(1);
|
|
3590
|
+
var totalPages = ref(0); // 重置搜索分页
|
|
3591
|
+
|
|
3592
|
+
function resetPagination() {
|
|
3593
|
+
formData.skipCount = 0;
|
|
3594
|
+
currentPages.value = 1;
|
|
3595
|
+
topCurrentPages.value = 1;
|
|
3596
|
+
topPages.value = 0;
|
|
3597
|
+
topSelectPages.value = 1;
|
|
3598
|
+
}
|
|
3599
|
+
|
|
3600
|
+
function onPageChange(current, pageSize) {
|
|
3601
|
+
topCurrentPages.value = current;
|
|
3602
|
+
topSelectPages.value = current;
|
|
3603
|
+
currentPages.value = current;
|
|
3604
|
+
formData.skipCount = (current - 1) * pageSize;
|
|
3605
|
+
formData.maxResultCount = pageSize;
|
|
3606
|
+
getData({
|
|
3607
|
+
params: formData
|
|
3608
|
+
});
|
|
3609
|
+
}
|
|
3610
|
+
|
|
3611
|
+
function onShowSizeChange(current, pageSize) {
|
|
3612
|
+
topCurrentPages.value = current;
|
|
3613
|
+
topSelectPages.value = current;
|
|
3614
|
+
formData.maxResultCount = pageSize;
|
|
3615
|
+
getData({
|
|
3616
|
+
params: formData
|
|
3617
|
+
});
|
|
3618
|
+
}
|
|
3619
|
+
|
|
3620
|
+
function onSelectTopPage(id) {
|
|
3621
|
+
topSelectPages.value = id;
|
|
3622
|
+
currentPages.value = id;
|
|
3623
|
+
onPageChange(id, formData.maxResultCount);
|
|
3624
|
+
}
|
|
3625
|
+
|
|
3626
|
+
function onSearch() {
|
|
3627
|
+
resetPagination();
|
|
3628
|
+
getData({
|
|
3629
|
+
params: formData
|
|
3630
|
+
});
|
|
3631
|
+
}
|
|
3632
|
+
|
|
3633
|
+
onBeforeMount(function () {
|
|
3634
|
+
getContractList({
|
|
3635
|
+
params: {
|
|
3636
|
+
statuses: 1
|
|
3637
|
+
}
|
|
3638
|
+
});
|
|
3639
|
+
getData({
|
|
3640
|
+
params: formData
|
|
3641
|
+
});
|
|
3642
|
+
});
|
|
3643
|
+
var inputV = computed({
|
|
3644
|
+
get: function get() {
|
|
3645
|
+
return props.show;
|
|
3646
|
+
},
|
|
3647
|
+
set: function set(value) {
|
|
3648
|
+
emit("update:show", value);
|
|
3649
|
+
}
|
|
3650
|
+
});
|
|
3651
|
+
return function (_ctx, _cache) {
|
|
3652
|
+
var _component_a_select = resolveComponent("a-select");
|
|
3653
|
+
|
|
3654
|
+
var _component_a_input = resolveComponent("a-input");
|
|
3655
|
+
|
|
3656
|
+
var _component_a_button = resolveComponent("a-button");
|
|
3657
|
+
|
|
3658
|
+
var _component_DownOutlined = resolveComponent("DownOutlined");
|
|
3659
|
+
|
|
3660
|
+
var _component_a_menu_item = resolveComponent("a-menu-item");
|
|
3661
|
+
|
|
3662
|
+
var _component_a_menu = resolveComponent("a-menu");
|
|
3663
|
+
|
|
3664
|
+
var _component_a_dropdown = resolveComponent("a-dropdown");
|
|
3665
|
+
|
|
3666
|
+
return openBlock(), createBlock(script$o, {
|
|
3667
|
+
show: unref(inputV),
|
|
3668
|
+
"onUpdate:show": _cache[4] || (_cache[4] = function ($event) {
|
|
3669
|
+
return isRef(inputV) ? inputV.value = $event : null;
|
|
3670
|
+
}),
|
|
3671
|
+
"remove-padding": false
|
|
3442
3672
|
}, {
|
|
3443
|
-
|
|
3444
|
-
return [
|
|
3445
|
-
/* TEXT */
|
|
3446
|
-
)) : createCommentVNode("v-if", true)];
|
|
3673
|
+
title: withCtx(function () {
|
|
3674
|
+
return [createElementVNode("div", _hoisted_1$b, [createVNode(script$c), _hoisted_2$7])];
|
|
3447
3675
|
}),
|
|
3448
|
-
|
|
3449
|
-
return [
|
|
3676
|
+
body: withCtx(function () {
|
|
3677
|
+
return [createElementVNode("div", _hoisted_3$6, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4$6, [createElementVNode("div", _hoisted_5$6, [createVNode(unref(script$i), {
|
|
3678
|
+
value: formData.setOfBookId,
|
|
3679
|
+
"onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
|
|
3680
|
+
return formData.setOfBookId = $event;
|
|
3681
|
+
}),
|
|
3682
|
+
onChange: onSearch,
|
|
3683
|
+
multiple: false,
|
|
3684
|
+
"is-required": false,
|
|
3685
|
+
"is-title": false,
|
|
3686
|
+
placeholder: "请选择账套",
|
|
3687
|
+
"input-style": {
|
|
3688
|
+
width: '170px',
|
|
3689
|
+
marginRight: '15px'
|
|
3690
|
+
},
|
|
3691
|
+
"form-item-style": {
|
|
3692
|
+
marginBottom: '0'
|
|
3693
|
+
}
|
|
3694
|
+
}, null, 8
|
|
3695
|
+
/* PROPS */
|
|
3696
|
+
, ["value"]), createVNode(_component_a_select, {
|
|
3697
|
+
value: formData.contractId,
|
|
3698
|
+
"onUpdate:value": _cache[1] || (_cache[1] = function ($event) {
|
|
3699
|
+
return formData.contractId = $event;
|
|
3700
|
+
}),
|
|
3450
3701
|
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
3451
3702
|
return triggerNode.parentNode;
|
|
3452
3703
|
},
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
mode: __props.multiple ? 'multiple' : '',
|
|
3461
|
-
fieldNames: __props.fieldNames,
|
|
3704
|
+
"show-search": "",
|
|
3705
|
+
allowClear: "",
|
|
3706
|
+
style: {
|
|
3707
|
+
"width": "178px",
|
|
3708
|
+
"margin-right": "15px"
|
|
3709
|
+
},
|
|
3710
|
+
placeholder: "请选择合同",
|
|
3462
3711
|
showSearch: "",
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3712
|
+
"filter-option": unref(filterOptionHeadle),
|
|
3713
|
+
showArrow: true,
|
|
3714
|
+
onChange: onSearch,
|
|
3715
|
+
options: contractList.value,
|
|
3716
|
+
fieldNames: {
|
|
3717
|
+
label: 'name',
|
|
3718
|
+
value: 'id'
|
|
3719
|
+
}
|
|
3720
|
+
}, null, 8
|
|
3721
|
+
/* PROPS */
|
|
3722
|
+
, ["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, {
|
|
3723
|
+
value: formData.key,
|
|
3724
|
+
"onUpdate:value": _cache[2] || (_cache[2] = function ($event) {
|
|
3725
|
+
return formData.key = $event;
|
|
3466
3726
|
}),
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3727
|
+
style: {
|
|
3728
|
+
"width": "300px",
|
|
3729
|
+
"margin-right": "15px"
|
|
3730
|
+
},
|
|
3731
|
+
"class": "mr-4",
|
|
3732
|
+
placeholder: "请输入项目名称",
|
|
3733
|
+
onKeyup: withKeys(onSearch, ["enter"])
|
|
3734
|
+
}, null, 8
|
|
3735
|
+
/* PROPS */
|
|
3736
|
+
, ["value", "onKeyup"]), createVNode(_component_a_button, {
|
|
3737
|
+
style: {
|
|
3738
|
+
"padding": "4px 10px",
|
|
3739
|
+
"border-radius": "4px",
|
|
3740
|
+
"background": "#006ab2",
|
|
3741
|
+
"margin-right": "15px",
|
|
3742
|
+
"color": "#fff"
|
|
3743
|
+
},
|
|
3744
|
+
onClick: onSearch
|
|
3745
|
+
}, {
|
|
3746
|
+
"default": withCtx(function () {
|
|
3747
|
+
return [_hoisted_6$5];
|
|
3748
|
+
}),
|
|
3749
|
+
_: 1
|
|
3750
|
+
/* STABLE */
|
|
3751
|
+
|
|
3752
|
+
})])]), 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
|
|
3753
|
+
/* TEXT */
|
|
3754
|
+
), _hoisted_12$4, createElementVNode("span", _hoisted_13$4, toDisplayString(topCurrentPages.value), 1
|
|
3755
|
+
/* TEXT */
|
|
3756
|
+
), _hoisted_14$4, createVNode(_component_a_dropdown, {
|
|
3757
|
+
trigger: ['click']
|
|
3758
|
+
}, {
|
|
3759
|
+
overlay: withCtx(function () {
|
|
3760
|
+
return [createVNode(_component_a_menu, {
|
|
3761
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
3762
|
+
return triggerNode.parentNode;
|
|
3763
|
+
},
|
|
3764
|
+
"class": "max-h-40 overflow-y-auto scrollbar"
|
|
3765
|
+
}, {
|
|
3766
|
+
"default": withCtx(function () {
|
|
3767
|
+
return [(openBlock(true), createElementBlock(Fragment, null, renderList(topPages.value, function (e) {
|
|
3768
|
+
return openBlock(), createBlock(_component_a_menu_item, {
|
|
3769
|
+
key: e,
|
|
3770
|
+
onClick: function onClick($event) {
|
|
3771
|
+
return onSelectTopPage(e);
|
|
3772
|
+
}
|
|
3773
|
+
}, {
|
|
3774
|
+
"default": withCtx(function () {
|
|
3775
|
+
return [createTextVNode(toDisplayString(e), 1
|
|
3776
|
+
/* TEXT */
|
|
3777
|
+
)];
|
|
3778
|
+
}),
|
|
3779
|
+
_: 2
|
|
3780
|
+
/* DYNAMIC */
|
|
3781
|
+
|
|
3782
|
+
}, 1032
|
|
3783
|
+
/* PROPS, DYNAMIC_SLOTS */
|
|
3784
|
+
, ["onClick"]);
|
|
3785
|
+
}), 128
|
|
3786
|
+
/* KEYED_FRAGMENT */
|
|
3787
|
+
))];
|
|
3788
|
+
}),
|
|
3789
|
+
_: 1
|
|
3790
|
+
/* STABLE */
|
|
3791
|
+
|
|
3792
|
+
}, 8
|
|
3793
|
+
/* PROPS */
|
|
3794
|
+
, ["getPopupContainer"])];
|
|
3795
|
+
}),
|
|
3796
|
+
"default": withCtx(function () {
|
|
3797
|
+
return [createElementVNode("a", {
|
|
3798
|
+
"class": "pl-2 ant-dropdown-link border-b border-[#BD9E55]",
|
|
3799
|
+
onClick: _cache[3] || (_cache[3] = withModifiers(function () {}, ["prevent"]))
|
|
3800
|
+
}, [createElementVNode("span", _hoisted_15$4, toDisplayString(topSelectPages.value), 1
|
|
3801
|
+
/* TEXT */
|
|
3802
|
+
), createVNode(_component_DownOutlined, {
|
|
3803
|
+
"class": "align-middle ml-1 mb-[4px]",
|
|
3804
|
+
style: {
|
|
3805
|
+
"font-size": "16px"
|
|
3806
|
+
}
|
|
3807
|
+
})])];
|
|
3808
|
+
}),
|
|
3809
|
+
_: 1
|
|
3810
|
+
/* STABLE */
|
|
3811
|
+
|
|
3812
|
+
}), _hoisted_16$4])]), createElementVNode("div", _hoisted_17$4, [createVNode(unref(script$n), {
|
|
3813
|
+
dataTh: unref(th),
|
|
3814
|
+
contractExecDocList: dataV.value,
|
|
3815
|
+
currentPages: currentPages.value,
|
|
3816
|
+
totalPages: totalPages.value,
|
|
3817
|
+
formData: formData,
|
|
3818
|
+
setHeight: 40,
|
|
3819
|
+
isTableControl: false,
|
|
3820
|
+
onOnPageChange: onPageChange,
|
|
3821
|
+
onOnShowSizeChange: onShowSizeChange,
|
|
3822
|
+
onUpth: upth
|
|
3823
|
+
}, {
|
|
3824
|
+
buttonSlot: withCtx(function (buttonSlot) {
|
|
3825
|
+
return [createElementVNode("div", _hoisted_18$4, [createElementVNode("span", {
|
|
3826
|
+
"class": "cursor-pointer",
|
|
3827
|
+
onClick: function onClick($event) {
|
|
3828
|
+
return sendItem(buttonSlot.item);
|
|
3829
|
+
}
|
|
3830
|
+
}, "选择", 8
|
|
3831
|
+
/* PROPS */
|
|
3832
|
+
, _hoisted_19$4)])];
|
|
3833
|
+
}),
|
|
3834
|
+
_: 1
|
|
3835
|
+
/* STABLE */
|
|
3836
|
+
|
|
3837
|
+
}, 8
|
|
3838
|
+
/* PROPS */
|
|
3839
|
+
, ["dataTh", "contractExecDocList", "currentPages", "totalPages", "formData"])])])])];
|
|
3471
3840
|
}),
|
|
3472
3841
|
_: 1
|
|
3473
3842
|
/* STABLE */
|
|
3474
3843
|
|
|
3475
3844
|
}, 8
|
|
3476
3845
|
/* PROPS */
|
|
3477
|
-
, ["
|
|
3846
|
+
, ["show"]);
|
|
3478
3847
|
};
|
|
3479
3848
|
}
|
|
3480
3849
|
});
|
|
3481
3850
|
|
|
3482
|
-
script$
|
|
3851
|
+
script$b.__file = "src/business-ui/component/IVProjectSelector.vue";
|
|
3483
3852
|
|
|
3484
|
-
var _hoisted_1$
|
|
3853
|
+
var _hoisted_1$a = {
|
|
3485
3854
|
key: 0,
|
|
3486
3855
|
"class": "text-[#0000006D] text-[14px]"
|
|
3487
3856
|
};
|
|
3488
3857
|
|
|
3489
|
-
var _hoisted_2$
|
|
3858
|
+
var _hoisted_2$6 = /*#__PURE__*/createElementVNode("span", {
|
|
3490
3859
|
"class": "absolute right-rull top-1/2 -translate-y-1/2 w-[480px] px-2 text-[#0000006D] text-[12px]"
|
|
3491
3860
|
}, " 根据基本信息中的所属账套,筛选账套下的合同,同时状态是在建项目的工程项目合同 ", -1
|
|
3492
3861
|
/* HOISTED */
|
|
@@ -3495,7 +3864,7 @@ var _hoisted_2$7 = /*#__PURE__*/createElementVNode("span", {
|
|
|
3495
3864
|
* 组件定义-------------------------------------
|
|
3496
3865
|
* */
|
|
3497
3866
|
|
|
3498
|
-
var script$
|
|
3867
|
+
var script$a = /*#__PURE__*/defineComponent({
|
|
3499
3868
|
__name: 'IVMainContractSelector',
|
|
3500
3869
|
props: {
|
|
3501
3870
|
value: {
|
|
@@ -3674,7 +4043,7 @@ var script$b = /*#__PURE__*/defineComponent({
|
|
|
3674
4043
|
colon: __props.isTitle
|
|
3675
4044
|
}, {
|
|
3676
4045
|
label: withCtx(function () {
|
|
3677
|
-
return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4046
|
+
return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$a, toDisplayString(__props.title), 1
|
|
3678
4047
|
/* TEXT */
|
|
3679
4048
|
)) : createCommentVNode("v-if", true)];
|
|
3680
4049
|
}),
|
|
@@ -3700,7 +4069,7 @@ var script$b = /*#__PURE__*/defineComponent({
|
|
|
3700
4069
|
filterOption: unref(filterOption)
|
|
3701
4070
|
}), null, 16
|
|
3702
4071
|
/* FULL_PROPS */
|
|
3703
|
-
, ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"]), _hoisted_2$
|
|
4072
|
+
, ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"]), _hoisted_2$6];
|
|
3704
4073
|
}),
|
|
3705
4074
|
_: 1
|
|
3706
4075
|
/* STABLE */
|
|
@@ -3712,9 +4081,9 @@ var script$b = /*#__PURE__*/defineComponent({
|
|
|
3712
4081
|
}
|
|
3713
4082
|
});
|
|
3714
4083
|
|
|
3715
|
-
script$
|
|
4084
|
+
script$a.__file = "src/business-ui/component/IVMainContractSelector.vue";
|
|
3716
4085
|
|
|
3717
|
-
var _hoisted_1$
|
|
4086
|
+
var _hoisted_1$9 = {
|
|
3718
4087
|
key: 0,
|
|
3719
4088
|
"class": "text-[#0000006D] text-[14px]"
|
|
3720
4089
|
};
|
|
@@ -3722,7 +4091,7 @@ var _hoisted_1$a = {
|
|
|
3722
4091
|
* 组件定义-------------------------------------
|
|
3723
4092
|
* */
|
|
3724
4093
|
|
|
3725
|
-
var script$
|
|
4094
|
+
var script$9 = /*#__PURE__*/defineComponent({
|
|
3726
4095
|
__name: 'IVInnerContractSelector',
|
|
3727
4096
|
props: {
|
|
3728
4097
|
value: {
|
|
@@ -3893,7 +4262,7 @@ var script$a = /*#__PURE__*/defineComponent({
|
|
|
3893
4262
|
colon: __props.isTitle
|
|
3894
4263
|
}, {
|
|
3895
4264
|
label: withCtx(function () {
|
|
3896
|
-
return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4265
|
+
return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$9, toDisplayString(__props.title), 1
|
|
3897
4266
|
/* TEXT */
|
|
3898
4267
|
)) : createCommentVNode("v-if", true)];
|
|
3899
4268
|
}),
|
|
@@ -3931,9 +4300,9 @@ var script$a = /*#__PURE__*/defineComponent({
|
|
|
3931
4300
|
}
|
|
3932
4301
|
});
|
|
3933
4302
|
|
|
3934
|
-
script$
|
|
4303
|
+
script$9.__file = "src/business-ui/component/IVInnerContractSelector.vue";
|
|
3935
4304
|
|
|
3936
|
-
var _hoisted_1$
|
|
4305
|
+
var _hoisted_1$8 = {
|
|
3937
4306
|
key: 0,
|
|
3938
4307
|
"class": "text-[#0000006D] text-[14px]"
|
|
3939
4308
|
};
|
|
@@ -3941,7 +4310,7 @@ var _hoisted_1$9 = {
|
|
|
3941
4310
|
* 组件定义-------------------------------------
|
|
3942
4311
|
* */
|
|
3943
4312
|
|
|
3944
|
-
var script$
|
|
4313
|
+
var script$8 = /*#__PURE__*/defineComponent({
|
|
3945
4314
|
__name: 'IVOuterContractSelector',
|
|
3946
4315
|
props: {
|
|
3947
4316
|
value: {
|
|
@@ -4112,7 +4481,7 @@ var script$9 = /*#__PURE__*/defineComponent({
|
|
|
4112
4481
|
colon: __props.isTitle
|
|
4113
4482
|
}, {
|
|
4114
4483
|
label: withCtx(function () {
|
|
4115
|
-
return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4484
|
+
return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$8, toDisplayString(__props.title), 1
|
|
4116
4485
|
/* TEXT */
|
|
4117
4486
|
)) : createCommentVNode("v-if", true)];
|
|
4118
4487
|
}),
|
|
@@ -4150,17 +4519,17 @@ var script$9 = /*#__PURE__*/defineComponent({
|
|
|
4150
4519
|
}
|
|
4151
4520
|
});
|
|
4152
4521
|
|
|
4153
|
-
script$
|
|
4522
|
+
script$8.__file = "src/business-ui/component/IVOuterContractSelector.vue";
|
|
4154
4523
|
|
|
4155
4524
|
var _withScopeId$1 = function _withScopeId(n) {
|
|
4156
4525
|
return pushScopeId("data-v-44290c60"), n = n(), popScopeId(), n;
|
|
4157
4526
|
};
|
|
4158
4527
|
|
|
4159
|
-
var _hoisted_1$
|
|
4528
|
+
var _hoisted_1$7 = {
|
|
4160
4529
|
"class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
|
|
4161
4530
|
};
|
|
4162
4531
|
|
|
4163
|
-
var _hoisted_2$
|
|
4532
|
+
var _hoisted_2$5 = /*#__PURE__*/_withScopeId$1(function () {
|
|
4164
4533
|
return /*#__PURE__*/createElementVNode("span", {
|
|
4165
4534
|
"class": "text-xl text-[#bd9e55] pl-2"
|
|
4166
4535
|
}, "高拍仪", -1
|
|
@@ -4168,11 +4537,11 @@ var _hoisted_2$6 = /*#__PURE__*/_withScopeId$1(function () {
|
|
|
4168
4537
|
);
|
|
4169
4538
|
});
|
|
4170
4539
|
|
|
4171
|
-
var _hoisted_3$
|
|
4540
|
+
var _hoisted_3$5 = {
|
|
4172
4541
|
"class": "Altimeter"
|
|
4173
4542
|
};
|
|
4174
4543
|
|
|
4175
|
-
var _hoisted_4$
|
|
4544
|
+
var _hoisted_4$5 = /*#__PURE__*/_withScopeId$1(function () {
|
|
4176
4545
|
return /*#__PURE__*/createElementVNode("div", {
|
|
4177
4546
|
"class": "text-[#0000006D] mt-2 text-[14px]"
|
|
4178
4547
|
}, "上传图片:", -1
|
|
@@ -4180,10 +4549,10 @@ var _hoisted_4$6 = /*#__PURE__*/_withScopeId$1(function () {
|
|
|
4180
4549
|
);
|
|
4181
4550
|
});
|
|
4182
4551
|
|
|
4183
|
-
var _hoisted_5$
|
|
4552
|
+
var _hoisted_5$5 = {
|
|
4184
4553
|
"class": "imgBox mt-8 ml-[-58px]"
|
|
4185
4554
|
};
|
|
4186
|
-
var script$
|
|
4555
|
+
var script$7 = /*#__PURE__*/defineComponent({
|
|
4187
4556
|
__name: 'Altimeter',
|
|
4188
4557
|
props: {
|
|
4189
4558
|
// 是否显示弹窗
|
|
@@ -4361,12 +4730,12 @@ var script$8 = /*#__PURE__*/defineComponent({
|
|
|
4361
4730
|
onCancelHandle: cancelHandle
|
|
4362
4731
|
}, {
|
|
4363
4732
|
title: withCtx(function () {
|
|
4364
|
-
return [createElementVNode("div", _hoisted_1$
|
|
4733
|
+
return [createElementVNode("div", _hoisted_1$7, [createVNode(_component_UnorderedListOutlined, {
|
|
4365
4734
|
"class": "text-xl text-[#bd9e55]"
|
|
4366
|
-
}), _hoisted_2$
|
|
4735
|
+
}), _hoisted_2$5])];
|
|
4367
4736
|
}),
|
|
4368
4737
|
body: withCtx(function () {
|
|
4369
|
-
return [createElementVNode("div", _hoisted_3$
|
|
4738
|
+
return [createElementVNode("div", _hoisted_3$5, [createElementVNode("iframe", {
|
|
4370
4739
|
src: "/node_modules/iv-npm/packages/ui/dist/Altimeter/index.html",
|
|
4371
4740
|
id: "iframe",
|
|
4372
4741
|
ref_key: "iframe",
|
|
@@ -4376,7 +4745,7 @@ var script$8 = /*#__PURE__*/defineComponent({
|
|
|
4376
4745
|
onLoad: load
|
|
4377
4746
|
}, null, 544
|
|
4378
4747
|
/* HYDRATE_EVENTS, NEED_PATCH */
|
|
4379
|
-
), _hoisted_4$
|
|
4748
|
+
), _hoisted_4$5, createElementVNode("div", _hoisted_5$5, [(openBlock(true), createElementBlock(Fragment, null, renderList(pictures.value, function (e, i) {
|
|
4380
4749
|
return openBlock(), createElementBlock("div", {
|
|
4381
4750
|
key: i,
|
|
4382
4751
|
"class": "imgList"
|
|
@@ -4406,21 +4775,21 @@ var script$8 = /*#__PURE__*/defineComponent({
|
|
|
4406
4775
|
}
|
|
4407
4776
|
});
|
|
4408
4777
|
|
|
4409
|
-
script$
|
|
4410
|
-
script$
|
|
4778
|
+
script$7.__scopeId = "data-v-44290c60";
|
|
4779
|
+
script$7.__file = "src/business-ui/component/Altimeter.vue";
|
|
4411
4780
|
|
|
4412
4781
|
var _withScopeId = function _withScopeId(n) {
|
|
4413
4782
|
return pushScopeId("data-v-3f5c8a23"), n = n(), popScopeId(), n;
|
|
4414
4783
|
};
|
|
4415
4784
|
|
|
4416
|
-
var _hoisted_1$
|
|
4785
|
+
var _hoisted_1$6 = {
|
|
4417
4786
|
"class": "MrpUpload"
|
|
4418
4787
|
};
|
|
4419
|
-
var _hoisted_2$
|
|
4788
|
+
var _hoisted_2$4 = {
|
|
4420
4789
|
key: 0
|
|
4421
4790
|
};
|
|
4422
4791
|
|
|
4423
|
-
var _hoisted_3$
|
|
4792
|
+
var _hoisted_3$4 = /*#__PURE__*/_withScopeId(function () {
|
|
4424
4793
|
return /*#__PURE__*/createElementVNode("img", {
|
|
4425
4794
|
src: "https://stec.oss-cn-shanghai.aliyuncs.com/host/purchasecontract/2022-8-16/85429f9734db4d1385af4c84d75cc99e.png",
|
|
4426
4795
|
style: {
|
|
@@ -4431,7 +4800,7 @@ var _hoisted_3$5 = /*#__PURE__*/_withScopeId(function () {
|
|
|
4431
4800
|
);
|
|
4432
4801
|
});
|
|
4433
4802
|
|
|
4434
|
-
var _hoisted_4$
|
|
4803
|
+
var _hoisted_4$4 = /*#__PURE__*/_withScopeId(function () {
|
|
4435
4804
|
return /*#__PURE__*/createElementVNode("div", {
|
|
4436
4805
|
"class": "ant-upload-text"
|
|
4437
4806
|
}, "电脑文件上传", -1
|
|
@@ -4439,12 +4808,12 @@ var _hoisted_4$5 = /*#__PURE__*/_withScopeId(function () {
|
|
|
4439
4808
|
);
|
|
4440
4809
|
});
|
|
4441
4810
|
|
|
4442
|
-
var _hoisted_5$
|
|
4443
|
-
var _hoisted_6$
|
|
4811
|
+
var _hoisted_5$4 = [_hoisted_3$4, _hoisted_4$4];
|
|
4812
|
+
var _hoisted_6$4 = {
|
|
4444
4813
|
key: 1
|
|
4445
4814
|
};
|
|
4446
4815
|
|
|
4447
|
-
var _hoisted_7$
|
|
4816
|
+
var _hoisted_7$4 = /*#__PURE__*/createTextVNode(" 上传 ");
|
|
4448
4817
|
|
|
4449
4818
|
var _hoisted_8$4 = ["src"];
|
|
4450
4819
|
/**
|
|
@@ -4459,7 +4828,7 @@ var _hoisted_8$4 = ["src"];
|
|
|
4459
4828
|
* @uploadChange:Function({ file: tempFile, fileList: tempFileList } 上传列表改变事件
|
|
4460
4829
|
*/
|
|
4461
4830
|
|
|
4462
|
-
var script$
|
|
4831
|
+
var script$6 = /*#__PURE__*/defineComponent({
|
|
4463
4832
|
__name: 'IVFileUpload',
|
|
4464
4833
|
props: {
|
|
4465
4834
|
uploadApi: {
|
|
@@ -4736,7 +5105,7 @@ var script$7 = /*#__PURE__*/defineComponent({
|
|
|
4736
5105
|
|
|
4737
5106
|
var _component_a_modal = resolveComponent("a-modal");
|
|
4738
5107
|
|
|
4739
|
-
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1$
|
|
5108
|
+
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1$6, [createVNode(_component_a_upload, {
|
|
4740
5109
|
"file-list": fileList.value,
|
|
4741
5110
|
"onUpdate:file-list": _cache[0] || (_cache[0] = function ($event) {
|
|
4742
5111
|
return fileList.value = $event;
|
|
@@ -4751,9 +5120,9 @@ var script$7 = /*#__PURE__*/defineComponent({
|
|
|
4751
5120
|
"default": withCtx(function () {
|
|
4752
5121
|
return [!__props.mini && __props.listType === 'picture-card' ? (openBlock(), createElementBlock(Fragment, {
|
|
4753
5122
|
key: 0
|
|
4754
|
-
}, [createCommentVNode(" :class=\"[listType === 'picture' ? 'upload-list-inline' : '']\" "), fileList.value.length < __props.uploadLength ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5123
|
+
}, [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
|
|
4755
5124
|
/* STABLE_FRAGMENT */
|
|
4756
|
-
)) : __props.listType === 'icon' ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
5125
|
+
)) : __props.listType === 'icon' ? (openBlock(), createElementBlock("div", _hoisted_6$4, [createVNode(_component_instagram_outlined, {
|
|
4757
5126
|
"class": "text-[22px] text-[#006AB2] cursor-pointer mt-1",
|
|
4758
5127
|
onClick: _ctx.onUploadInvoice
|
|
4759
5128
|
}, null, 8
|
|
@@ -4762,7 +5131,7 @@ var script$7 = /*#__PURE__*/defineComponent({
|
|
|
4762
5131
|
key: 2
|
|
4763
5132
|
}, {
|
|
4764
5133
|
"default": withCtx(function () {
|
|
4765
|
-
return [createVNode(_component_upload_outlined), _hoisted_7$
|
|
5134
|
+
return [createVNode(_component_upload_outlined), _hoisted_7$4];
|
|
4766
5135
|
}),
|
|
4767
5136
|
_: 1
|
|
4768
5137
|
/* STABLE */
|
|
@@ -4795,7 +5164,7 @@ var script$7 = /*#__PURE__*/defineComponent({
|
|
|
4795
5164
|
|
|
4796
5165
|
}, 8
|
|
4797
5166
|
/* PROPS */
|
|
4798
|
-
, ["visible"]), __props.showAltimeter ? (openBlock(), createBlock(script$
|
|
5167
|
+
, ["visible"]), __props.showAltimeter ? (openBlock(), createBlock(script$7, {
|
|
4799
5168
|
key: 0,
|
|
4800
5169
|
show: isAltimeter.value,
|
|
4801
5170
|
"onUpdate:show": _cache[1] || (_cache[1] = function ($event) {
|
|
@@ -4811,10 +5180,10 @@ var script$7 = /*#__PURE__*/defineComponent({
|
|
|
4811
5180
|
}
|
|
4812
5181
|
});
|
|
4813
5182
|
|
|
4814
|
-
script$
|
|
4815
|
-
script$
|
|
5183
|
+
script$6.__scopeId = "data-v-3f5c8a23";
|
|
5184
|
+
script$6.__file = "src/business-ui/component/IVFileUpload.vue";
|
|
4816
5185
|
|
|
4817
|
-
var script$
|
|
5186
|
+
var script$5 = {
|
|
4818
5187
|
name: "time",
|
|
4819
5188
|
props: {
|
|
4820
5189
|
timeType: Number
|
|
@@ -4923,15 +5292,15 @@ var script$6 = {
|
|
|
4923
5292
|
}
|
|
4924
5293
|
};
|
|
4925
5294
|
|
|
4926
|
-
var _hoisted_1$
|
|
5295
|
+
var _hoisted_1$5 = {
|
|
4927
5296
|
"class": "Mrp-time text-[18px] flex items-center"
|
|
4928
5297
|
};
|
|
4929
|
-
function render
|
|
5298
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4930
5299
|
var _component_a_radio_button = resolveComponent("a-radio-button");
|
|
4931
5300
|
var _component_a_radio_group = resolveComponent("a-radio-group");
|
|
4932
5301
|
var _component_FieldTimeOutlined = resolveComponent("FieldTimeOutlined");
|
|
4933
5302
|
var _component_a_range_picker = resolveComponent("a-range-picker");
|
|
4934
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5303
|
+
return openBlock(), createElementBlock("div", _hoisted_1$5, [createVNode(_component_a_radio_group, {
|
|
4935
5304
|
value: $setup.activeBtn,
|
|
4936
5305
|
"onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
|
|
4937
5306
|
return $setup.activeBtn = $event;
|
|
@@ -4981,69 +5350,9 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4981
5350
|
, ["value", "onChange"])]);
|
|
4982
5351
|
}
|
|
4983
5352
|
|
|
4984
|
-
script$6.render = render$1;
|
|
4985
|
-
script$6.__scopeId = "data-v-5f0fe252";
|
|
4986
|
-
script$6.__file = "src/business-ui/component/IVTimeSelector.vue";
|
|
4987
|
-
|
|
4988
|
-
var _hoisted_1$5 = {
|
|
4989
|
-
style: {
|
|
4990
|
-
"position": "relative",
|
|
4991
|
-
"margin-top": "8px",
|
|
4992
|
-
"width": "30px",
|
|
4993
|
-
"height": "23px"
|
|
4994
|
-
}
|
|
4995
|
-
};
|
|
4996
|
-
var _hoisted_2$4 = {
|
|
4997
|
-
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
4998
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4999
|
-
version: "1.1",
|
|
5000
|
-
width: "23px",
|
|
5001
|
-
height: "23px",
|
|
5002
|
-
style: {
|
|
5003
|
-
"position": "absolute"
|
|
5004
|
-
}
|
|
5005
|
-
};
|
|
5006
|
-
var _hoisted_3$4 = createElementVNode("g", {
|
|
5007
|
-
transform: "matrix(1 0 0 1 -256 -275 )"
|
|
5008
|
-
}, [createElementVNode("path", {
|
|
5009
|
-
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 ",
|
|
5010
|
-
"fill-rule": "nonzero",
|
|
5011
|
-
fill: "#bd9e55",
|
|
5012
|
-
stroke: "none",
|
|
5013
|
-
transform: "matrix(1 0 0 1 256 275 )"
|
|
5014
|
-
})], -1
|
|
5015
|
-
);
|
|
5016
|
-
var _hoisted_4$4 = [_hoisted_3$4];
|
|
5017
|
-
var _hoisted_5$4 = {
|
|
5018
|
-
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
5019
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5020
|
-
version: "1.1",
|
|
5021
|
-
width: "23px",
|
|
5022
|
-
height: "23px",
|
|
5023
|
-
style: {
|
|
5024
|
-
"position": "absolute",
|
|
5025
|
-
"left": "7px",
|
|
5026
|
-
"bottom": "7px"
|
|
5027
|
-
}
|
|
5028
|
-
};
|
|
5029
|
-
var _hoisted_6$4 = createElementVNode("g", {
|
|
5030
|
-
transform: "matrix(1 0 0 1 -263 -268 )"
|
|
5031
|
-
}, [createElementVNode("path", {
|
|
5032
|
-
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 ",
|
|
5033
|
-
"fill-rule": "nonzero",
|
|
5034
|
-
fill: "#bd9e55",
|
|
5035
|
-
stroke: "none",
|
|
5036
|
-
transform: "matrix(1 0 0 1 263 268 )"
|
|
5037
|
-
})], -1
|
|
5038
|
-
);
|
|
5039
|
-
var _hoisted_7$4 = [_hoisted_6$4];
|
|
5040
|
-
function render(_ctx, _cache) {
|
|
5041
|
-
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))]);
|
|
5042
|
-
}
|
|
5043
|
-
|
|
5044
|
-
var script$5 = {};
|
|
5045
5353
|
script$5.render = render;
|
|
5046
|
-
script$5.
|
|
5354
|
+
script$5.__scopeId = "data-v-5f0fe252";
|
|
5355
|
+
script$5.__file = "src/business-ui/component/IVTimeSelector.vue";
|
|
5047
5356
|
|
|
5048
5357
|
var _hoisted_1$4 = {
|
|
5049
5358
|
"class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
|
|
@@ -5377,7 +5686,7 @@ var script$4 = /*#__PURE__*/defineComponent({
|
|
|
5377
5686
|
"remove-padding": false
|
|
5378
5687
|
}, {
|
|
5379
5688
|
title: withCtx(function () {
|
|
5380
|
-
return [createElementVNode("div", _hoisted_1$4, [createVNode(script$
|
|
5689
|
+
return [createElementVNode("div", _hoisted_1$4, [createVNode(script$c), _hoisted_2$3])];
|
|
5381
5690
|
}),
|
|
5382
5691
|
body: withCtx(function () {
|
|
5383
5692
|
return [createElementVNode("div", _hoisted_3$3, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4$3, [createElementVNode("div", _hoisted_5$3, [createVNode(_component_a_input, {
|
|
@@ -6010,7 +6319,7 @@ var script$2 = /*#__PURE__*/defineComponent({
|
|
|
6010
6319
|
"remove-padding": false
|
|
6011
6320
|
}, {
|
|
6012
6321
|
title: withCtx(function () {
|
|
6013
|
-
return [createElementVNode("div", _hoisted_1$2, [createVNode(script$
|
|
6322
|
+
return [createElementVNode("div", _hoisted_1$2, [createVNode(script$c), _hoisted_2$2])];
|
|
6014
6323
|
}),
|
|
6015
6324
|
body: withCtx(function () {
|
|
6016
6325
|
return [createElementVNode("div", _hoisted_3$2, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4$2, [createElementVNode("div", _hoisted_5$2, [createVNode(unref(script$l), {
|
|
@@ -6595,7 +6904,7 @@ var script$1 = /*#__PURE__*/defineComponent({
|
|
|
6595
6904
|
"remove-padding": false
|
|
6596
6905
|
}, {
|
|
6597
6906
|
title: withCtx(function () {
|
|
6598
|
-
return [createElementVNode("div", _hoisted_1$1, [createVNode(script$
|
|
6907
|
+
return [createElementVNode("div", _hoisted_1$1, [createVNode(script$c), _hoisted_2$1])];
|
|
6599
6908
|
}),
|
|
6600
6909
|
body: withCtx(function () {
|
|
6601
6910
|
return [createElementVNode("div", _hoisted_3$1, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4$1, [createElementVNode("div", _hoisted_5$1, [createVNode(_component_a_select, {
|
|
@@ -7164,7 +7473,7 @@ var script = /*#__PURE__*/defineComponent({
|
|
|
7164
7473
|
"remove-padding": false
|
|
7165
7474
|
}, {
|
|
7166
7475
|
title: withCtx(function () {
|
|
7167
|
-
return [createElementVNode("div", _hoisted_1, [createVNode(script$
|
|
7476
|
+
return [createElementVNode("div", _hoisted_1, [createVNode(script$c), _hoisted_2])];
|
|
7168
7477
|
}),
|
|
7169
7478
|
body: withCtx(function () {
|
|
7170
7479
|
return [createElementVNode("div", _hoisted_3, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4, [createElementVNode("div", _hoisted_5, [createVNode(_component_a_input, {
|
|
@@ -7305,7 +7614,7 @@ var script = /*#__PURE__*/defineComponent({
|
|
|
7305
7614
|
|
|
7306
7615
|
script.__file = "src/business-ui/component/IVMaterialSelector.vue";
|
|
7307
7616
|
|
|
7308
|
-
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$
|
|
7617
|
+
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];
|
|
7309
7618
|
installComponents(); // 单独引用
|
|
7310
7619
|
|
|
7311
7620
|
function installComponents() {
|
|
@@ -7328,4 +7637,4 @@ var cAll = {
|
|
|
7328
7637
|
install: install
|
|
7329
7638
|
};
|
|
7330
7639
|
|
|
7331
|
-
export { script$4 as IVClientSelector, script$
|
|
7640
|
+
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 };
|