iv-npm 1.2.32 → 1.2.35

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.
@@ -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, toRefs, onBeforeMount, withKeys, withModifiers } from 'vue';
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$a = {
551
+ var _hoisted_2$b = {
552
552
  "class": "flex items-center justify-center"
553
553
  };
554
- var _hoisted_3$8 = {
554
+ var _hoisted_3$9 = {
555
555
  key: 0,
556
556
  style: {
557
557
  "color": "#ff0066"
558
558
  }
559
559
  };
560
- var _hoisted_4$8 = {
560
+ var _hoisted_4$9 = {
561
561
  key: 0
562
562
  };
563
563
 
564
- var _hoisted_5$8 = /*#__PURE__*/createElementVNode("div", {
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$7 = {
572
+ var _hoisted_6$8 = {
573
573
  "class": "flex items-center justify-between h-1/2"
574
574
  };
575
- var _hoisted_7$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$5 = {
581
+ var _hoisted_8$6 = {
582
582
  "class": "mrpTable",
583
583
  id: "IVTable"
584
584
  };
585
- var _hoisted_9$4 = {
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$4 = {
591
+ var _hoisted_10$5 = {
592
592
  "class": "flex items-center justify-center"
593
593
  };
594
- var _hoisted_11$4 = {
594
+ var _hoisted_11$5 = {
595
595
  key: 0,
596
596
  style: {
597
597
  "color": "#ff0066"
598
598
  }
599
599
  };
600
- var _hoisted_12$4 = {
600
+ var _hoisted_12$5 = {
601
601
  key: 1
602
602
  };
603
603
 
604
- var _hoisted_13$4 = /*#__PURE__*/createElementVNode("div", {
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$4 = {
612
+ var _hoisted_14$5 = {
613
613
  "class": "flex items-center justify-between h-1/2"
614
614
  };
615
- var _hoisted_15$4 = {
615
+ var _hoisted_15$5 = {
616
616
  key: 0,
617
617
  style: {
618
618
  "color": "#ff0066"
619
619
  }
620
620
  };
621
- var _hoisted_16$4 = {
621
+ var _hoisted_16$5 = {
622
622
  key: 0
623
623
  };
624
- var _hoisted_17$4 = {
624
+ var _hoisted_17$5 = {
625
625
  key: 1
626
626
  };
627
- var _hoisted_18$4 = {
627
+ var _hoisted_18$5 = {
628
628
  key: 2,
629
629
  "class": "flex justify-center items-center relative"
630
630
  };
631
- var _hoisted_19$4 = {
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$a, [createTextVNode(toDisplayString(item.title == "操作" ? "" : item.title) + " ", 1
770
+ }, [createElementVNode("div", _hoisted_2$b, [createTextVNode(toDisplayString(item.title == "操作" ? "" : item.title) + " ", 1
771
771
  /* TEXT */
772
- ), item.unit ? (openBlock(), createElementBlock("span", _hoisted_3$8, toDisplayString(item.unit), 1
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$8, [_hoisted_5$8, createElementVNode("div", _hoisted_6$7, [(openBlock(true), createElementBlock(Fragment, null, renderList(item.header, function (e, i) {
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$7, toDisplayString(e.unit), 1
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$5, [createElementVNode("table", _hoisted_9$4, [createElementVNode("tr", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.dataTh, function (item, index) {
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$4, [createTextVNode(toDisplayString(item.key == "select" ? "" : item.title == "操作" ? "" : item.title) + " ", 1
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$4, toDisplayString(item.unit), 1
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$4, [_hoisted_13$4, createElementVNode("div", _hoisted_14$4, [(openBlock(true), createElementBlock(Fragment, null, renderList(item.header, function (e, i) {
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$4, toDisplayString(e.unit), 1
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$4, toDisplayString(Props.currentPages - 1 == 0 ? i + 1 : (Props.currentPages - 1) * 10 + i + 1), 1
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$4, toDisplayString(e[item.key]), 1
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$4, [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) {
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$4, _hoisted_21$4))]), __props.isTableControl ? (openBlock(), createBlock(unref(script$m), {
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$9 = /*#__PURE__*/_withScopeId$2(function () {
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$7 = /*#__PURE__*/createTextVNode(" 默认 ");
956
+ var _hoisted_3$8 = /*#__PURE__*/createTextVNode(" 默认 ");
957
957
 
958
- var _hoisted_4$7 = /*#__PURE__*/createTextVNode(" 中等 ");
958
+ var _hoisted_4$8 = /*#__PURE__*/createTextVNode(" 中等 ");
959
959
 
960
- var _hoisted_5$7 = /*#__PURE__*/createTextVNode(" 紧凑 ");
960
+ var _hoisted_5$8 = /*#__PURE__*/createTextVNode(" 紧凑 ");
961
961
 
962
- var _hoisted_6$6 = /*#__PURE__*/_withScopeId$2(function () {
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$6 = /*#__PURE__*/createTextVNode(" 全选 ");
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$9];
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$7];
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$7];
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$7];
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$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$6];
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) {
@@ -1500,6 +1507,16 @@ var script$l = /*#__PURE__*/defineComponent({
1500
1507
  type: Object,
1501
1508
  required: false
1502
1509
  },
1510
+ fieldNames: {
1511
+ type: null,
1512
+ required: false,
1513
+ "default": function _default() {
1514
+ return {
1515
+ label: "name",
1516
+ value: "id"
1517
+ };
1518
+ }
1519
+ },
1503
1520
  replaceFields: {
1504
1521
  type: null,
1505
1522
  required: false,
@@ -1613,6 +1630,9 @@ var script$l = /*#__PURE__*/defineComponent({
1613
1630
  emit("update:value", value);
1614
1631
  }
1615
1632
  });
1633
+ var filterOption = computed(function () {
1634
+ return filterOptionHeadle(props.fieldNames.label);
1635
+ });
1616
1636
  /**
1617
1637
  * 侦听器-------------------------------------
1618
1638
  * */
@@ -1675,16 +1695,17 @@ var script$l = /*#__PURE__*/defineComponent({
1675
1695
  allowClear: !__props.isRequired,
1676
1696
  showSearch: "",
1677
1697
  multiple: __props.multiple,
1678
- "filter-option": unref(filterOptionHeadle),
1698
+ filterOption: unref(filterOption),
1679
1699
  treeDefaultExpandAll: "",
1680
1700
  style: __props.inputStyle,
1681
1701
  onChange: _cache[1] || (_cache[1] = function ($event) {
1682
1702
  return _ctx.$emit('change', $event);
1683
1703
  }),
1704
+ fieldNames: __props.fieldNames,
1684
1705
  replaceFields: __props.replaceFields
1685
1706
  }), null, 16
1686
1707
  /* FULL_PROPS */
1687
- , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "multiple", "filter-option", "style", "replaceFields"])];
1708
+ , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "multiple", "filterOption", "style", "fieldNames", "replaceFields"])];
1688
1709
  }),
1689
1710
  _: 1
1690
1711
  /* STABLE */
@@ -1840,6 +1861,9 @@ var script$k = /*#__PURE__*/defineComponent({
1840
1861
  emit("update:value", value);
1841
1862
  }
1842
1863
  });
1864
+ var filterOption = computed(function () {
1865
+ return filterOptionHeadle(props.fieldNames.label);
1866
+ });
1843
1867
  /**
1844
1868
  * 侦听器-------------------------------------
1845
1869
  * */
@@ -1905,10 +1929,10 @@ var script$k = /*#__PURE__*/defineComponent({
1905
1929
  onChange: _cache[1] || (_cache[1] = function ($event) {
1906
1930
  return _ctx.$emit('change', $event);
1907
1931
  }),
1908
- "filter-option": unref(filterOptionHeadle)
1932
+ filterOption: unref(filterOption)
1909
1933
  }), null, 16
1910
1934
  /* FULL_PROPS */
1911
- , ["value", "getPopupContainer", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filter-option"])];
1935
+ , ["value", "getPopupContainer", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"])];
1912
1936
  }),
1913
1937
  _: 1
1914
1938
  /* STABLE */
@@ -2061,6 +2085,9 @@ var script$j = /*#__PURE__*/defineComponent({
2061
2085
  emit("update:value", value);
2062
2086
  }
2063
2087
  });
2088
+ var filterOption = computed(function () {
2089
+ return filterOptionHeadle(props.fieldNames.label);
2090
+ });
2064
2091
  /**
2065
2092
  * 侦听器-------------------------------------
2066
2093
  * */
@@ -2125,10 +2152,10 @@ var script$j = /*#__PURE__*/defineComponent({
2125
2152
  onChange: _cache[1] || (_cache[1] = function ($event) {
2126
2153
  return _ctx.$emit('change', $event);
2127
2154
  }),
2128
- "filter-option": unref(filterOptionHeadle)
2155
+ filterOption: unref(filterOption)
2129
2156
  }), null, 16
2130
2157
  /* FULL_PROPS */
2131
- , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filter-option"])];
2158
+ , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"])];
2132
2159
  }),
2133
2160
  _: 1
2134
2161
  /* STABLE */
@@ -2146,7 +2173,7 @@ var _hoisted_1$g = {
2146
2173
  key: 0,
2147
2174
  "class": "text-[#0000006D] text-[14px]"
2148
2175
  };
2149
- var _hoisted_2$8 = {
2176
+ var _hoisted_2$9 = {
2150
2177
  "class": "absolute right-rull top-1/2 -translate-y-1/2 w-[410px] px-2 text-[#0000006D] text-[12px]"
2151
2178
  };
2152
2179
  /**
@@ -2168,6 +2195,16 @@ var script$i = /*#__PURE__*/defineComponent({
2168
2195
  type: Object,
2169
2196
  required: false
2170
2197
  },
2198
+ fieldNames: {
2199
+ type: null,
2200
+ required: false,
2201
+ "default": function _default() {
2202
+ return {
2203
+ label: "name",
2204
+ value: "id"
2205
+ };
2206
+ }
2207
+ },
2171
2208
  replaceFields: {
2172
2209
  type: null,
2173
2210
  required: false,
@@ -2291,6 +2328,9 @@ var script$i = /*#__PURE__*/defineComponent({
2291
2328
  emit("update:value", value);
2292
2329
  }
2293
2330
  });
2331
+ var filterOption = computed(function () {
2332
+ return filterOptionHeadle(props.fieldNames.label);
2333
+ });
2294
2334
  /**
2295
2335
  * 侦听器-------------------------------------
2296
2336
  * */
@@ -2353,7 +2393,8 @@ var script$i = /*#__PURE__*/defineComponent({
2353
2393
  showArrow: "",
2354
2394
  showSearch: "",
2355
2395
  allowClear: !__props.isRequired,
2356
- "filter-option": unref(filterOptionHeadle),
2396
+ filterOption: unref(filterOption),
2397
+ fieldNames: __props.fieldNames,
2357
2398
  multiple: __props.multiple,
2358
2399
  treeDefaultExpandAll: "",
2359
2400
  style: __props.inputStyle,
@@ -2363,7 +2404,7 @@ var script$i = /*#__PURE__*/defineComponent({
2363
2404
  replaceFields: __props.replaceFields
2364
2405
  }), null, 16
2365
2406
  /* FULL_PROPS */
2366
- , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filter-option", "multiple", "style", "replaceFields"]), createElementVNode("span", _hoisted_2$8, [renderSlot(_ctx.$slots, "notes")])];
2407
+ , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filterOption", "fieldNames", "multiple", "style", "replaceFields"]), createElementVNode("span", _hoisted_2$9, [renderSlot(_ctx.$slots, "notes")])];
2367
2408
  }),
2368
2409
  _: 3
2369
2410
  /* FORWARDED */
@@ -2511,6 +2552,9 @@ var script$h = /*#__PURE__*/defineComponent({
2511
2552
  emit("update:value", value);
2512
2553
  }
2513
2554
  });
2555
+ var filterOption = computed(function () {
2556
+ return filterOptionHeadle(props.fieldNames.label);
2557
+ });
2514
2558
  /**
2515
2559
  * 侦听器-------------------------------------
2516
2560
  * */
@@ -2572,14 +2616,14 @@ var script$h = /*#__PURE__*/defineComponent({
2572
2616
  mode: __props.multiple ? 'multiple' : '',
2573
2617
  showArrow: "",
2574
2618
  options: dataV.value,
2575
- "filter-option": unref(filterOptionHeadle),
2619
+ filterOption: unref(filterOption),
2576
2620
  onChange: _cache[1] || (_cache[1] = function ($event) {
2577
2621
  return _ctx.$emit('change', $event);
2578
2622
  }),
2579
2623
  fieldNames: __props.fieldNames
2580
2624
  }), null, 16
2581
2625
  /* FULL_PROPS */
2582
- , ["value", "getPopupContainer", "allowClear", "style", "placeholder", "mode", "options", "filter-option", "fieldNames"])];
2626
+ , ["value", "getPopupContainer", "allowClear", "style", "placeholder", "mode", "options", "filterOption", "fieldNames"])];
2583
2627
  }),
2584
2628
  _: 1
2585
2629
  /* STABLE */
@@ -2718,6 +2762,9 @@ var script$g = /*#__PURE__*/defineComponent({
2718
2762
  emit("update:value", value);
2719
2763
  }
2720
2764
  });
2765
+ var filterOption = computed(function () {
2766
+ return filterOptionHeadle(props.fieldNames.label);
2767
+ });
2721
2768
  /**
2722
2769
  * 侦听器-------------------------------------
2723
2770
  * */
@@ -2782,10 +2829,10 @@ var script$g = /*#__PURE__*/defineComponent({
2782
2829
  onChange: _cache[1] || (_cache[1] = function ($event) {
2783
2830
  return _ctx.$emit('change', $event);
2784
2831
  }),
2785
- "filter-option": unref(filterOptionHeadle)
2832
+ filterOption: unref(filterOption)
2786
2833
  }), null, 16
2787
2834
  /* FULL_PROPS */
2788
- , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filter-option"])];
2835
+ , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"])];
2789
2836
  }),
2790
2837
  _: 1
2791
2838
  /* STABLE */
@@ -2857,6 +2904,9 @@ var script$f = /*#__PURE__*/defineComponent({
2857
2904
  emit("update:value", value);
2858
2905
  }
2859
2906
  });
2907
+ var filterOption = computed(function () {
2908
+ return filterOptionHeadle(props.fieldNames.label);
2909
+ });
2860
2910
  return function (_ctx, _cache) {
2861
2911
  var _component_a_select = resolveComponent("a-select");
2862
2912
 
@@ -2872,13 +2922,13 @@ var script$f = /*#__PURE__*/defineComponent({
2872
2922
  bordered: false,
2873
2923
  options: dataV.value,
2874
2924
  fieldNames: __props.fieldNames,
2875
- "filter-option": unref(filterOptionHeadle),
2925
+ filterOption: unref(filterOption),
2876
2926
  onChange: _cache[1] || (_cache[1] = function ($event) {
2877
2927
  return _ctx.$emit('change', $event);
2878
2928
  })
2879
2929
  }), null, 16
2880
2930
  /* FULL_PROPS */
2881
- , ["value", "getPopupContainer", "style", "options", "fieldNames", "filter-option"]);
2931
+ , ["value", "getPopupContainer", "style", "options", "fieldNames", "filterOption"]);
2882
2932
  };
2883
2933
  }
2884
2934
  });
@@ -2974,6 +3024,9 @@ var script$e = /*#__PURE__*/defineComponent({
2974
3024
  emit("update:value", value);
2975
3025
  }
2976
3026
  });
3027
+ var filterOption = computed(function () {
3028
+ return filterOptionHeadle(props.fieldNames.label);
3029
+ });
2977
3030
  /**
2978
3031
  * 侦听器-------------------------------------
2979
3032
  * */
@@ -3013,13 +3066,13 @@ var script$e = /*#__PURE__*/defineComponent({
3013
3066
  bordered: false,
3014
3067
  options: dataV.value,
3015
3068
  fieldNames: __props.fieldNames,
3016
- "filter-option": unref(filterOptionHeadle),
3069
+ filterOption: unref(filterOption),
3017
3070
  onChange: _cache[1] || (_cache[1] = function ($event) {
3018
3071
  return _ctx.$emit('change', $event);
3019
3072
  })
3020
3073
  }), null, 16
3021
3074
  /* FULL_PROPS */
3022
- , ["value", "getPopupContainer", "style", "options", "fieldNames", "filter-option"]);
3075
+ , ["value", "getPopupContainer", "style", "options", "fieldNames", "filterOption"]);
3023
3076
  };
3024
3077
  }
3025
3078
  });
@@ -3049,6 +3102,16 @@ var script$d = /*#__PURE__*/defineComponent({
3049
3102
  type: Object,
3050
3103
  required: false
3051
3104
  },
3105
+ fieldNames: {
3106
+ type: null,
3107
+ required: false,
3108
+ "default": function _default() {
3109
+ return {
3110
+ label: "name",
3111
+ value: "id"
3112
+ };
3113
+ }
3114
+ },
3052
3115
  replaceFields: {
3053
3116
  type: null,
3054
3117
  required: false,
@@ -3168,6 +3231,9 @@ var script$d = /*#__PURE__*/defineComponent({
3168
3231
  emit("update:value", value);
3169
3232
  }
3170
3233
  });
3234
+ var filterOption = computed(function () {
3235
+ return filterOptionHeadle(props.fieldNames.label);
3236
+ });
3171
3237
  /**
3172
3238
  * 侦听器-------------------------------------
3173
3239
  * */
@@ -3231,17 +3297,18 @@ var script$d = /*#__PURE__*/defineComponent({
3231
3297
  maxHeight: '400px',
3232
3298
  overflow: 'auto'
3233
3299
  },
3234
- "filter-option": unref(filterOptionHeadle),
3300
+ filterOption: unref(filterOption),
3235
3301
  multiple: __props.multiple,
3236
3302
  treeDefaultExpandAll: "",
3237
3303
  style: __props.inputStyle,
3238
3304
  onChange: _cache[1] || (_cache[1] = function ($event) {
3239
3305
  return _ctx.$emit('change', $event);
3240
3306
  }),
3307
+ fieldNames: __props.fieldNames,
3241
3308
  replaceFields: __props.replaceFields
3242
3309
  }), null, 16
3243
3310
  /* FULL_PROPS */
3244
- , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filter-option", "multiple", "style", "replaceFields"])];
3311
+ , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filterOption", "multiple", "style", "fieldNames", "replaceFields"])];
3245
3312
  }),
3246
3313
  _: 1
3247
3314
  /* STABLE */
@@ -3256,111 +3323,157 @@ var script$d = /*#__PURE__*/defineComponent({
3256
3323
  script$d.__file = "src/business-ui/component/IVMaterialTypeDropdown.vue";
3257
3324
 
3258
3325
  var _hoisted_1$c = {
3259
- key: 0,
3260
- "class": "text-[#0000006D] text-[14px]"
3326
+ style: {
3327
+ "position": "relative",
3328
+ "margin-top": "8px",
3329
+ "width": "30px",
3330
+ "height": "23px"
3331
+ }
3332
+ };
3333
+ var _hoisted_2$8 = {
3334
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
3335
+ xmlns: "http://www.w3.org/2000/svg",
3336
+ version: "1.1",
3337
+ width: "23px",
3338
+ height: "23px",
3339
+ style: {
3340
+ "position": "absolute"
3341
+ }
3342
+ };
3343
+ var _hoisted_3$7 = createElementVNode("g", {
3344
+ transform: "matrix(1 0 0 1 -256 -275 )"
3345
+ }, [createElementVNode("path", {
3346
+ 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 ",
3347
+ "fill-rule": "nonzero",
3348
+ fill: "#bd9e55",
3349
+ stroke: "none",
3350
+ transform: "matrix(1 0 0 1 256 275 )"
3351
+ })], -1
3352
+ );
3353
+ var _hoisted_4$7 = [_hoisted_3$7];
3354
+ var _hoisted_5$7 = {
3355
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
3356
+ xmlns: "http://www.w3.org/2000/svg",
3357
+ version: "1.1",
3358
+ width: "23px",
3359
+ height: "23px",
3360
+ style: {
3361
+ "position": "absolute",
3362
+ "left": "7px",
3363
+ "bottom": "7px"
3364
+ }
3365
+ };
3366
+ var _hoisted_6$6 = createElementVNode("g", {
3367
+ transform: "matrix(1 0 0 1 -263 -268 )"
3368
+ }, [createElementVNode("path", {
3369
+ 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 ",
3370
+ "fill-rule": "nonzero",
3371
+ fill: "#bd9e55",
3372
+ stroke: "none",
3373
+ transform: "matrix(1 0 0 1 263 268 )"
3374
+ })], -1
3375
+ );
3376
+ var _hoisted_7$6 = [_hoisted_6$6];
3377
+ function render$1(_ctx, _cache) {
3378
+ 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))]);
3379
+ }
3380
+
3381
+ var script$c = {};
3382
+ script$c.render = render$1;
3383
+ script$c.__file = "src/business-ui/component/icon/SelectorIcon.vue";
3384
+
3385
+ var _hoisted_1$b = {
3386
+ "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
3387
+ };
3388
+
3389
+ var _hoisted_2$7 = /*#__PURE__*/createElementVNode("span", {
3390
+ "class": "text-xl text-[#bd9e55] pl-2"
3391
+ }, "选择项目", -1
3392
+ /* HOISTED */
3393
+ );
3394
+
3395
+ var _hoisted_3$6 = {
3396
+ "class": "px-[150px]",
3397
+ id: "IVUserSelector"
3398
+ };
3399
+ var _hoisted_4$6 = {
3400
+ "class": "mx-10"
3401
+ };
3402
+ var _hoisted_5$6 = {
3403
+ "class": "flex items-center my-4 justify-center"
3404
+ };
3405
+
3406
+ var _hoisted_6$5 = /*#__PURE__*/createTextVNode(" 搜索 ");
3407
+
3408
+ var _hoisted_7$5 = {
3409
+ "class": "mt-10"
3410
+ };
3411
+ var _hoisted_8$5 = {
3412
+ "class": "flex justify-between mb-2"
3413
+ };
3414
+ var _hoisted_9$4 = {
3415
+ "class": "text-[#999999]"
3416
+ };
3417
+
3418
+ var _hoisted_10$4 = /*#__PURE__*/createTextVNode(" 共有 ");
3419
+
3420
+ var _hoisted_11$4 = {
3421
+ "class": "text-[#BD9E55] text-[16px]"
3422
+ };
3423
+
3424
+ var _hoisted_12$4 = /*#__PURE__*/createTextVNode(" 个记录满足条件,当前第 ");
3425
+
3426
+ var _hoisted_13$4 = {
3427
+ "class": "text-[#BD9E55] text-[16px]"
3428
+ };
3429
+
3430
+ var _hoisted_14$4 = /*#__PURE__*/createTextVNode(" 页,跳转到第 ");
3431
+
3432
+ var _hoisted_15$4 = {
3433
+ "class": "text-[#BD9E55] text-[16px]"
3434
+ };
3435
+
3436
+ var _hoisted_16$4 = /*#__PURE__*/createTextVNode(" 页 ");
3437
+
3438
+ var _hoisted_17$4 = {
3439
+ "class": "contentList"
3440
+ };
3441
+ var _hoisted_18$4 = {
3442
+ "class": "flex items-center justify-around text-[#006AB2] text-[13px]"
3261
3443
  };
3444
+ var _hoisted_19$4 = ["onClick"];
3262
3445
  /**
3263
3446
  * 组件定义-------------------------------------
3264
3447
  * */
3265
3448
 
3266
- var script$c = /*#__PURE__*/defineComponent({
3449
+ var script$b = /*#__PURE__*/defineComponent({
3267
3450
  __name: 'IVProjectSelector',
3268
3451
  props: {
3269
- value: {
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: {
3452
+ show: {
3333
3453
  type: Boolean,
3334
- required: false,
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'
3454
+ required: true
3351
3455
  }
3352
3456
  },
3353
- emits: ["update:value", "change"],
3457
+ emits: ["update:show", "getItem"],
3354
3458
  setup: function setup(__props, _ref) {
3355
3459
  var emit = _ref.emit;
3356
3460
  var props = __props;
3357
3461
  /**
3358
- * 获取数据-------------------------------------
3462
+ * 搜索-------------------------------------
3359
3463
  * */
3360
3464
 
3361
- var dataV = ref();
3465
+ var formData = reactive({
3466
+ setOfBookId: null,
3467
+ contractId: null,
3468
+ managerId: null,
3469
+ baseId: null,
3470
+ skipCount: 0,
3471
+ maxResultCount: 10,
3472
+ key: null
3473
+ });
3474
+ var contractList = ref([]); // 获取合同
3362
3475
 
3363
- var getData = /*#__PURE__*/function () {
3476
+ var getContractList = /*#__PURE__*/function () {
3364
3477
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
3365
3478
  var _option,
3366
3479
  _a,
@@ -3372,12 +3485,12 @@ var script$c = /*#__PURE__*/defineComponent({
3372
3485
  case 0:
3373
3486
  _option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
3374
3487
  _context.next = 3;
3375
- return formatHTTP(fetch(formatUrl(API_OPTION.getIVProjectSelectorAll.baseUrl, API_OPTION.getIVProjectSelectorAll.url, _option.params), assign({
3488
+ return formatHTTP(fetch(formatUrl(API_OPTION.getPurchaseContract.baseUrl, API_OPTION.getPurchaseContract.url, _option.params), assign({
3376
3489
  data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
3377
- }, API_OPTION.getIVProjectSelectorAll.option)));
3490
+ }, API_OPTION.getPurchaseContract.option)));
3378
3491
 
3379
3492
  case 3:
3380
- dataV.value = _context.sent;
3493
+ contractList.value = _context.sent;
3381
3494
 
3382
3495
  case 4:
3383
3496
  case "end":
@@ -3387,106 +3500,415 @@ var script$c = /*#__PURE__*/defineComponent({
3387
3500
  }, _callee);
3388
3501
  }));
3389
3502
 
3390
- return function getData() {
3503
+ return function getContractList() {
3391
3504
  return _ref2.apply(this, arguments);
3392
3505
  };
3393
3506
  }();
3507
+ /**
3508
+ * 获取数据-------------------------------------
3509
+ * */
3394
3510
 
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
- });
3511
+
3512
+ var dataV = ref();
3513
+
3514
+ var getData = /*#__PURE__*/function () {
3515
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
3516
+ var _option,
3517
+ _a,
3518
+ _yield$formatHTTP,
3519
+ items,
3520
+ totalCount,
3521
+ _args2 = arguments;
3522
+
3523
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
3524
+ while (1) {
3525
+ switch (_context2.prev = _context2.next) {
3526
+ case 0:
3527
+ _option = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
3528
+ _context2.next = 3;
3529
+ return formatHTTP(fetch(formatUrl(API_OPTION.getIVProjectSelector.baseUrl, API_OPTION.getIVProjectSelector.url, _option.params), assign({
3530
+ data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
3531
+ }, API_OPTION.getIVProjectSelector.option)));
3532
+
3533
+ case 3:
3534
+ _yield$formatHTTP = _context2.sent;
3535
+ items = _yield$formatHTTP.items;
3536
+ totalCount = _yield$formatHTTP.totalCount;
3537
+ dataV.value = items;
3538
+ totalPages.value = totalCount;
3539
+ topPages.value = Math.ceil(totalPages.value / formData.maxResultCount);
3540
+
3541
+ case 9:
3542
+ case "end":
3543
+ return _context2.stop();
3544
+ }
3545
+ }
3546
+ }, _callee2);
3547
+ }));
3548
+
3549
+ return function getData() {
3550
+ return _ref3.apply(this, arguments);
3551
+ };
3552
+ }();
3403
3553
  /**
3404
- * 侦听器-------------------------------------
3554
+ * 表格-------------------------------------
3405
3555
  * */
3406
3556
 
3407
- watchEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
3408
- var _a, _b;
3409
3557
 
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
- });
3558
+ var th = ref([{
3559
+ title: "序号",
3560
+ w: 54 / 1499 * 100 + "%",
3561
+ key: "index",
3562
+ show: true
3563
+ }, {
3564
+ title: "编号",
3565
+ w: 104 / 1499 * 100 + "%",
3566
+ key: "projectNumber",
3567
+ show: true
3568
+ }, {
3569
+ title: "项目名称",
3570
+ w: 212 / 1499 * 100 + "%",
3571
+ key: "projectName",
3572
+ show: true
3573
+ }, {
3574
+ title: "账套名称",
3575
+ w: 212 / 1499 * 100 + "%",
3576
+ key: "setOfBookName",
3577
+ show: true
3578
+ }, {
3579
+ title: "账套简称",
3580
+ w: 140 / 1499 * 100 + "%",
3581
+ key: "setOfBookShortName",
3582
+ show: true
3583
+ }, {
3584
+ title: "合同名称",
3585
+ w: 212 / 1499 * 100 + "%",
3586
+ key: "contractName",
3587
+ show: true
3588
+ }, {
3589
+ title: "合同简称",
3590
+ w: 140 / 1499 * 100 + "%",
3591
+ key: "contractShortName",
3592
+ show: true
3593
+ }, // {
3594
+ // title: "供应商名称",
3595
+ // w: (250 / 1499) * 100 + "%",
3596
+ // key: "name",
3597
+ // show: true,
3598
+ // custom: true,
3599
+ // },
3600
+ {
3601
+ title: "",
3602
+ w: 45 / 1333 * 100 + "%",
3603
+ key: "buttonSlot",
3604
+ show: true
3605
+ }]); // 更新th
3419
3606
 
3420
- case 1:
3421
- case "end":
3422
- return _context2.stop();
3607
+ var upth = function upth(val) {
3608
+ th.value = val;
3609
+ }; //获取指定记录
3610
+
3611
+
3612
+ function sendItem(_x) {
3613
+ return _sendItem.apply(this, arguments);
3614
+ }
3615
+ /**
3616
+ * 分页-------------------------------------
3617
+ * */
3618
+
3619
+
3620
+ function _sendItem() {
3621
+ _sendItem = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(item) {
3622
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
3623
+ while (1) {
3624
+ switch (_context3.prev = _context3.next) {
3625
+ case 0:
3626
+ emit("getItem", JSON.stringify(item));
3627
+ inputV.value = false;
3628
+
3629
+ case 2:
3630
+ case "end":
3631
+ return _context3.stop();
3632
+ }
3423
3633
  }
3634
+ }, _callee3);
3635
+ }));
3636
+ return _sendItem.apply(this, arguments);
3637
+ }
3638
+
3639
+ var currentPages = ref(1);
3640
+ var topCurrentPages = ref(1);
3641
+ var topPages = ref(0);
3642
+ var topSelectPages = ref(1);
3643
+ var totalPages = ref(0); // 重置搜索分页
3644
+
3645
+ function resetPagination() {
3646
+ formData.skipCount = 0;
3647
+ currentPages.value = 1;
3648
+ topCurrentPages.value = 1;
3649
+ topPages.value = 0;
3650
+ topSelectPages.value = 1;
3651
+ }
3652
+
3653
+ function onPageChange(current, pageSize) {
3654
+ topCurrentPages.value = current;
3655
+ topSelectPages.value = current;
3656
+ currentPages.value = current;
3657
+ formData.skipCount = (current - 1) * pageSize;
3658
+ formData.maxResultCount = pageSize;
3659
+ getData({
3660
+ params: formData
3661
+ });
3662
+ }
3663
+
3664
+ function onShowSizeChange(current, pageSize) {
3665
+ topCurrentPages.value = current;
3666
+ topSelectPages.value = current;
3667
+ formData.maxResultCount = pageSize;
3668
+ getData({
3669
+ params: formData
3670
+ });
3671
+ }
3672
+
3673
+ function onSelectTopPage(id) {
3674
+ topSelectPages.value = id;
3675
+ currentPages.value = id;
3676
+ onPageChange(id, formData.maxResultCount);
3677
+ }
3678
+
3679
+ function onSearch() {
3680
+ resetPagination();
3681
+ getData({
3682
+ params: formData
3683
+ });
3684
+ }
3685
+
3686
+ onBeforeMount(function () {
3687
+ getContractList({
3688
+ params: {
3689
+ statuses: 1
3424
3690
  }
3425
- }, _callee2);
3426
- })));
3691
+ });
3692
+ getData({
3693
+ params: formData
3694
+ });
3695
+ });
3696
+ var inputV = computed({
3697
+ get: function get() {
3698
+ return props.show;
3699
+ },
3700
+ set: function set(value) {
3701
+ emit("update:show", value);
3702
+ }
3703
+ });
3427
3704
  return function (_ctx, _cache) {
3428
3705
  var _component_a_select = resolveComponent("a-select");
3429
3706
 
3430
- var _component_a_form_item = resolveComponent("a-form-item");
3707
+ var _component_a_input = resolveComponent("a-input");
3431
3708
 
3432
- return openBlock(), createBlock(_component_a_form_item, {
3433
- name: __props.name,
3434
- "label-col": __props.labelCol,
3435
- "wrapper-col": __props.wrapperCol,
3436
- rules: [{
3437
- required: __props.isRequired,
3438
- message: '请选择' + __props.title
3439
- }],
3440
- style: normalizeStyle(__props.formItemStyle),
3441
- colon: __props.isTitle
3709
+ var _component_a_button = resolveComponent("a-button");
3710
+
3711
+ var _component_DownOutlined = resolveComponent("DownOutlined");
3712
+
3713
+ var _component_a_menu_item = resolveComponent("a-menu-item");
3714
+
3715
+ var _component_a_menu = resolveComponent("a-menu");
3716
+
3717
+ var _component_a_dropdown = resolveComponent("a-dropdown");
3718
+
3719
+ return openBlock(), createBlock(script$o, {
3720
+ show: unref(inputV),
3721
+ "onUpdate:show": _cache[4] || (_cache[4] = function ($event) {
3722
+ return isRef(inputV) ? inputV.value = $event : null;
3723
+ }),
3724
+ "remove-padding": false
3442
3725
  }, {
3443
- label: withCtx(function () {
3444
- return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$c, toDisplayString(__props.title), 1
3445
- /* TEXT */
3446
- )) : createCommentVNode("v-if", true)];
3726
+ title: withCtx(function () {
3727
+ return [createElementVNode("div", _hoisted_1$b, [createVNode(script$c), _hoisted_2$7])];
3447
3728
  }),
3448
- "default": withCtx(function () {
3449
- return [createVNode(_component_a_select, mergeProps(_ctx.$attrs, {
3729
+ body: withCtx(function () {
3730
+ return [createElementVNode("div", _hoisted_3$6, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4$6, [createElementVNode("div", _hoisted_5$6, [createVNode(unref(script$i), {
3731
+ value: formData.setOfBookId,
3732
+ "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
3733
+ return formData.setOfBookId = $event;
3734
+ }),
3735
+ onChange: onSearch,
3736
+ multiple: false,
3737
+ "is-required": false,
3738
+ "is-title": false,
3739
+ placeholder: "请选择账套",
3740
+ "input-style": {
3741
+ width: '300px',
3742
+ marginRight: '15px'
3743
+ },
3744
+ "form-item-style": {
3745
+ marginBottom: '0'
3746
+ }
3747
+ }, null, 8
3748
+ /* PROPS */
3749
+ , ["value"]), createVNode(_component_a_select, {
3750
+ value: formData.contractId,
3751
+ "onUpdate:value": _cache[1] || (_cache[1] = function ($event) {
3752
+ return formData.contractId = $event;
3753
+ }),
3450
3754
  getPopupContainer: function getPopupContainer(triggerNode) {
3451
3755
  return triggerNode.parentNode;
3452
3756
  },
3453
- value: unref(inputV),
3454
- "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
3455
- return isRef(inputV) ? inputV.value = $event : null;
3456
- }),
3457
- style: __props.inputStyle,
3458
- placeholder: __props.placeholder,
3459
- options: dataV.value,
3460
- mode: __props.multiple ? 'multiple' : '',
3461
- fieldNames: __props.fieldNames,
3757
+ "show-search": "",
3758
+ allowClear: "",
3759
+ style: {
3760
+ "width": "300px",
3761
+ "margin-right": "15px"
3762
+ },
3763
+ placeholder: "请选择合同",
3462
3764
  showSearch: "",
3463
- allowClear: !__props.isRequired,
3464
- onChange: _cache[1] || (_cache[1] = function ($event) {
3465
- return _ctx.$emit('change', $event);
3765
+ "filter-option": unref(filterOptionHeadle),
3766
+ showArrow: true,
3767
+ onChange: onSearch,
3768
+ options: contractList.value,
3769
+ fieldNames: {
3770
+ label: 'name',
3771
+ value: 'id'
3772
+ }
3773
+ }, null, 8
3774
+ /* PROPS */
3775
+ , ["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, {
3776
+ value: formData.key,
3777
+ "onUpdate:value": _cache[2] || (_cache[2] = function ($event) {
3778
+ return formData.key = $event;
3466
3779
  }),
3467
- "filter-option": unref(filterOptionHeadle)
3468
- }), null, 16
3469
- /* FULL_PROPS */
3470
- , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filter-option"])];
3780
+ style: {
3781
+ "width": "300px",
3782
+ "margin-right": "15px"
3783
+ },
3784
+ "class": "mr-4",
3785
+ placeholder: "请输入项目名称",
3786
+ onKeyup: withKeys(onSearch, ["enter"])
3787
+ }, null, 8
3788
+ /* PROPS */
3789
+ , ["value", "onKeyup"]), createVNode(_component_a_button, {
3790
+ style: {
3791
+ "padding": "4px 10px",
3792
+ "border-radius": "4px",
3793
+ "background": "#006ab2",
3794
+ "margin-right": "15px",
3795
+ "color": "#fff"
3796
+ },
3797
+ onClick: onSearch
3798
+ }, {
3799
+ "default": withCtx(function () {
3800
+ return [_hoisted_6$5];
3801
+ }),
3802
+ _: 1
3803
+ /* STABLE */
3804
+
3805
+ })])]), 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
3806
+ /* TEXT */
3807
+ ), _hoisted_12$4, createElementVNode("span", _hoisted_13$4, toDisplayString(topCurrentPages.value), 1
3808
+ /* TEXT */
3809
+ ), _hoisted_14$4, createVNode(_component_a_dropdown, {
3810
+ trigger: ['click']
3811
+ }, {
3812
+ overlay: withCtx(function () {
3813
+ return [createVNode(_component_a_menu, {
3814
+ getPopupContainer: function getPopupContainer(triggerNode) {
3815
+ return triggerNode.parentNode;
3816
+ },
3817
+ "class": "max-h-40 overflow-y-auto scrollbar"
3818
+ }, {
3819
+ "default": withCtx(function () {
3820
+ return [(openBlock(true), createElementBlock(Fragment, null, renderList(topPages.value, function (e) {
3821
+ return openBlock(), createBlock(_component_a_menu_item, {
3822
+ key: e,
3823
+ onClick: function onClick($event) {
3824
+ return onSelectTopPage(e);
3825
+ }
3826
+ }, {
3827
+ "default": withCtx(function () {
3828
+ return [createTextVNode(toDisplayString(e), 1
3829
+ /* TEXT */
3830
+ )];
3831
+ }),
3832
+ _: 2
3833
+ /* DYNAMIC */
3834
+
3835
+ }, 1032
3836
+ /* PROPS, DYNAMIC_SLOTS */
3837
+ , ["onClick"]);
3838
+ }), 128
3839
+ /* KEYED_FRAGMENT */
3840
+ ))];
3841
+ }),
3842
+ _: 1
3843
+ /* STABLE */
3844
+
3845
+ }, 8
3846
+ /* PROPS */
3847
+ , ["getPopupContainer"])];
3848
+ }),
3849
+ "default": withCtx(function () {
3850
+ return [createElementVNode("a", {
3851
+ "class": "pl-2 ant-dropdown-link border-b border-[#BD9E55]",
3852
+ onClick: _cache[3] || (_cache[3] = withModifiers(function () {}, ["prevent"]))
3853
+ }, [createElementVNode("span", _hoisted_15$4, toDisplayString(topSelectPages.value), 1
3854
+ /* TEXT */
3855
+ ), createVNode(_component_DownOutlined, {
3856
+ "class": "align-middle ml-1 mb-[4px]",
3857
+ style: {
3858
+ "font-size": "16px"
3859
+ }
3860
+ })])];
3861
+ }),
3862
+ _: 1
3863
+ /* STABLE */
3864
+
3865
+ }), _hoisted_16$4])]), createElementVNode("div", _hoisted_17$4, [createVNode(unref(script$n), {
3866
+ dataTh: unref(th),
3867
+ contractExecDocList: dataV.value,
3868
+ currentPages: currentPages.value,
3869
+ totalPages: totalPages.value,
3870
+ formData: formData,
3871
+ setHeight: 40,
3872
+ isTableControl: false,
3873
+ onOnPageChange: onPageChange,
3874
+ onOnShowSizeChange: onShowSizeChange,
3875
+ onUpth: upth
3876
+ }, {
3877
+ buttonSlot: withCtx(function (buttonSlot) {
3878
+ return [createElementVNode("div", _hoisted_18$4, [createElementVNode("span", {
3879
+ "class": "cursor-pointer",
3880
+ onClick: function onClick($event) {
3881
+ return sendItem(buttonSlot.item);
3882
+ }
3883
+ }, "选择", 8
3884
+ /* PROPS */
3885
+ , _hoisted_19$4)])];
3886
+ }),
3887
+ _: 1
3888
+ /* STABLE */
3889
+
3890
+ }, 8
3891
+ /* PROPS */
3892
+ , ["dataTh", "contractExecDocList", "currentPages", "totalPages", "formData"])])])])];
3471
3893
  }),
3472
3894
  _: 1
3473
3895
  /* STABLE */
3474
3896
 
3475
3897
  }, 8
3476
3898
  /* PROPS */
3477
- , ["name", "label-col", "wrapper-col", "rules", "style", "colon"]);
3899
+ , ["show"]);
3478
3900
  };
3479
3901
  }
3480
3902
  });
3481
3903
 
3482
- script$c.__file = "src/business-ui/component/IVProjectSelector.vue";
3904
+ script$b.__file = "src/business-ui/component/IVProjectSelector.vue";
3483
3905
 
3484
- var _hoisted_1$b = {
3906
+ var _hoisted_1$a = {
3485
3907
  key: 0,
3486
3908
  "class": "text-[#0000006D] text-[14px]"
3487
3909
  };
3488
3910
 
3489
- var _hoisted_2$7 = /*#__PURE__*/createElementVNode("span", {
3911
+ var _hoisted_2$6 = /*#__PURE__*/createElementVNode("span", {
3490
3912
  "class": "absolute right-rull top-1/2 -translate-y-1/2 w-[480px] px-2 text-[#0000006D] text-[12px]"
3491
3913
  }, " 根据基本信息中的所属账套,筛选账套下的合同,同时状态是在建项目的工程项目合同 ", -1
3492
3914
  /* HOISTED */
@@ -3495,7 +3917,7 @@ var _hoisted_2$7 = /*#__PURE__*/createElementVNode("span", {
3495
3917
  * 组件定义-------------------------------------
3496
3918
  * */
3497
3919
 
3498
- var script$b = /*#__PURE__*/defineComponent({
3920
+ var script$a = /*#__PURE__*/defineComponent({
3499
3921
  __name: 'IVMainContractSelector',
3500
3922
  props: {
3501
3923
  value: {
@@ -3674,7 +4096,7 @@ var script$b = /*#__PURE__*/defineComponent({
3674
4096
  colon: __props.isTitle
3675
4097
  }, {
3676
4098
  label: withCtx(function () {
3677
- return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$b, toDisplayString(__props.title), 1
4099
+ return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$a, toDisplayString(__props.title), 1
3678
4100
  /* TEXT */
3679
4101
  )) : createCommentVNode("v-if", true)];
3680
4102
  }),
@@ -3700,7 +4122,7 @@ var script$b = /*#__PURE__*/defineComponent({
3700
4122
  filterOption: unref(filterOption)
3701
4123
  }), null, 16
3702
4124
  /* FULL_PROPS */
3703
- , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"]), _hoisted_2$7];
4125
+ , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"]), _hoisted_2$6];
3704
4126
  }),
3705
4127
  _: 1
3706
4128
  /* STABLE */
@@ -3712,9 +4134,9 @@ var script$b = /*#__PURE__*/defineComponent({
3712
4134
  }
3713
4135
  });
3714
4136
 
3715
- script$b.__file = "src/business-ui/component/IVMainContractSelector.vue";
4137
+ script$a.__file = "src/business-ui/component/IVMainContractSelector.vue";
3716
4138
 
3717
- var _hoisted_1$a = {
4139
+ var _hoisted_1$9 = {
3718
4140
  key: 0,
3719
4141
  "class": "text-[#0000006D] text-[14px]"
3720
4142
  };
@@ -3722,7 +4144,7 @@ var _hoisted_1$a = {
3722
4144
  * 组件定义-------------------------------------
3723
4145
  * */
3724
4146
 
3725
- var script$a = /*#__PURE__*/defineComponent({
4147
+ var script$9 = /*#__PURE__*/defineComponent({
3726
4148
  __name: 'IVInnerContractSelector',
3727
4149
  props: {
3728
4150
  value: {
@@ -3849,6 +4271,9 @@ var script$a = /*#__PURE__*/defineComponent({
3849
4271
  emit("update:value", value);
3850
4272
  }
3851
4273
  });
4274
+ var filterOption = computed(function () {
4275
+ return filterOptionHeadle(props.fieldNames.label);
4276
+ });
3852
4277
  /**
3853
4278
  * 侦听器-------------------------------------
3854
4279
  * */
@@ -3893,7 +4318,7 @@ var script$a = /*#__PURE__*/defineComponent({
3893
4318
  colon: __props.isTitle
3894
4319
  }, {
3895
4320
  label: withCtx(function () {
3896
- return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$a, toDisplayString(__props.title), 1
4321
+ return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$9, toDisplayString(__props.title), 1
3897
4322
  /* TEXT */
3898
4323
  )) : createCommentVNode("v-if", true)];
3899
4324
  }),
@@ -3916,10 +4341,10 @@ var script$a = /*#__PURE__*/defineComponent({
3916
4341
  onChange: _cache[1] || (_cache[1] = function ($event) {
3917
4342
  return _ctx.$emit('change', $event);
3918
4343
  }),
3919
- "filter-option": unref(filterOptionHeadle)
4344
+ filterOption: unref(filterOption)
3920
4345
  }), null, 16
3921
4346
  /* FULL_PROPS */
3922
- , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filter-option"])];
4347
+ , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"])];
3923
4348
  }),
3924
4349
  _: 1
3925
4350
  /* STABLE */
@@ -3931,9 +4356,9 @@ var script$a = /*#__PURE__*/defineComponent({
3931
4356
  }
3932
4357
  });
3933
4358
 
3934
- script$a.__file = "src/business-ui/component/IVInnerContractSelector.vue";
4359
+ script$9.__file = "src/business-ui/component/IVInnerContractSelector.vue";
3935
4360
 
3936
- var _hoisted_1$9 = {
4361
+ var _hoisted_1$8 = {
3937
4362
  key: 0,
3938
4363
  "class": "text-[#0000006D] text-[14px]"
3939
4364
  };
@@ -3941,7 +4366,7 @@ var _hoisted_1$9 = {
3941
4366
  * 组件定义-------------------------------------
3942
4367
  * */
3943
4368
 
3944
- var script$9 = /*#__PURE__*/defineComponent({
4369
+ var script$8 = /*#__PURE__*/defineComponent({
3945
4370
  __name: 'IVOuterContractSelector',
3946
4371
  props: {
3947
4372
  value: {
@@ -4068,6 +4493,9 @@ var script$9 = /*#__PURE__*/defineComponent({
4068
4493
  emit("update:value", value);
4069
4494
  }
4070
4495
  });
4496
+ var filterOption = computed(function () {
4497
+ return filterOptionHeadle(props.fieldNames.label);
4498
+ });
4071
4499
  /**
4072
4500
  * 侦听器-------------------------------------
4073
4501
  * */
@@ -4112,7 +4540,7 @@ var script$9 = /*#__PURE__*/defineComponent({
4112
4540
  colon: __props.isTitle
4113
4541
  }, {
4114
4542
  label: withCtx(function () {
4115
- return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$9, toDisplayString(__props.title), 1
4543
+ return [__props.isTitle ? (openBlock(), createElementBlock("div", _hoisted_1$8, toDisplayString(__props.title), 1
4116
4544
  /* TEXT */
4117
4545
  )) : createCommentVNode("v-if", true)];
4118
4546
  }),
@@ -4135,10 +4563,10 @@ var script$9 = /*#__PURE__*/defineComponent({
4135
4563
  onChange: _cache[1] || (_cache[1] = function ($event) {
4136
4564
  return _ctx.$emit('change', $event);
4137
4565
  }),
4138
- "filter-option": unref(filterOptionHeadle)
4566
+ filterOption: unref(filterOption)
4139
4567
  }), null, 16
4140
4568
  /* FULL_PROPS */
4141
- , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filter-option"])];
4569
+ , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"])];
4142
4570
  }),
4143
4571
  _: 1
4144
4572
  /* STABLE */
@@ -4150,17 +4578,17 @@ var script$9 = /*#__PURE__*/defineComponent({
4150
4578
  }
4151
4579
  });
4152
4580
 
4153
- script$9.__file = "src/business-ui/component/IVOuterContractSelector.vue";
4581
+ script$8.__file = "src/business-ui/component/IVOuterContractSelector.vue";
4154
4582
 
4155
4583
  var _withScopeId$1 = function _withScopeId(n) {
4156
4584
  return pushScopeId("data-v-44290c60"), n = n(), popScopeId(), n;
4157
4585
  };
4158
4586
 
4159
- var _hoisted_1$8 = {
4587
+ var _hoisted_1$7 = {
4160
4588
  "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
4161
4589
  };
4162
4590
 
4163
- var _hoisted_2$6 = /*#__PURE__*/_withScopeId$1(function () {
4591
+ var _hoisted_2$5 = /*#__PURE__*/_withScopeId$1(function () {
4164
4592
  return /*#__PURE__*/createElementVNode("span", {
4165
4593
  "class": "text-xl text-[#bd9e55] pl-2"
4166
4594
  }, "高拍仪", -1
@@ -4168,11 +4596,11 @@ var _hoisted_2$6 = /*#__PURE__*/_withScopeId$1(function () {
4168
4596
  );
4169
4597
  });
4170
4598
 
4171
- var _hoisted_3$6 = {
4599
+ var _hoisted_3$5 = {
4172
4600
  "class": "Altimeter"
4173
4601
  };
4174
4602
 
4175
- var _hoisted_4$6 = /*#__PURE__*/_withScopeId$1(function () {
4603
+ var _hoisted_4$5 = /*#__PURE__*/_withScopeId$1(function () {
4176
4604
  return /*#__PURE__*/createElementVNode("div", {
4177
4605
  "class": "text-[#0000006D] mt-2 text-[14px]"
4178
4606
  }, "上传图片:", -1
@@ -4180,10 +4608,10 @@ var _hoisted_4$6 = /*#__PURE__*/_withScopeId$1(function () {
4180
4608
  );
4181
4609
  });
4182
4610
 
4183
- var _hoisted_5$6 = {
4611
+ var _hoisted_5$5 = {
4184
4612
  "class": "imgBox mt-8 ml-[-58px]"
4185
4613
  };
4186
- var script$8 = /*#__PURE__*/defineComponent({
4614
+ var script$7 = /*#__PURE__*/defineComponent({
4187
4615
  __name: 'Altimeter',
4188
4616
  props: {
4189
4617
  // 是否显示弹窗
@@ -4361,12 +4789,12 @@ var script$8 = /*#__PURE__*/defineComponent({
4361
4789
  onCancelHandle: cancelHandle
4362
4790
  }, {
4363
4791
  title: withCtx(function () {
4364
- return [createElementVNode("div", _hoisted_1$8, [createVNode(_component_UnorderedListOutlined, {
4792
+ return [createElementVNode("div", _hoisted_1$7, [createVNode(_component_UnorderedListOutlined, {
4365
4793
  "class": "text-xl text-[#bd9e55]"
4366
- }), _hoisted_2$6])];
4794
+ }), _hoisted_2$5])];
4367
4795
  }),
4368
4796
  body: withCtx(function () {
4369
- return [createElementVNode("div", _hoisted_3$6, [createElementVNode("iframe", {
4797
+ return [createElementVNode("div", _hoisted_3$5, [createElementVNode("iframe", {
4370
4798
  src: "/node_modules/iv-npm/packages/ui/dist/Altimeter/index.html",
4371
4799
  id: "iframe",
4372
4800
  ref_key: "iframe",
@@ -4376,7 +4804,7 @@ var script$8 = /*#__PURE__*/defineComponent({
4376
4804
  onLoad: load
4377
4805
  }, null, 544
4378
4806
  /* HYDRATE_EVENTS, NEED_PATCH */
4379
- ), _hoisted_4$6, createElementVNode("div", _hoisted_5$6, [(openBlock(true), createElementBlock(Fragment, null, renderList(pictures.value, function (e, i) {
4807
+ ), _hoisted_4$5, createElementVNode("div", _hoisted_5$5, [(openBlock(true), createElementBlock(Fragment, null, renderList(pictures.value, function (e, i) {
4380
4808
  return openBlock(), createElementBlock("div", {
4381
4809
  key: i,
4382
4810
  "class": "imgList"
@@ -4406,21 +4834,21 @@ var script$8 = /*#__PURE__*/defineComponent({
4406
4834
  }
4407
4835
  });
4408
4836
 
4409
- script$8.__scopeId = "data-v-44290c60";
4410
- script$8.__file = "src/business-ui/component/Altimeter.vue";
4837
+ script$7.__scopeId = "data-v-44290c60";
4838
+ script$7.__file = "src/business-ui/component/Altimeter.vue";
4411
4839
 
4412
4840
  var _withScopeId = function _withScopeId(n) {
4413
4841
  return pushScopeId("data-v-3f5c8a23"), n = n(), popScopeId(), n;
4414
4842
  };
4415
4843
 
4416
- var _hoisted_1$7 = {
4844
+ var _hoisted_1$6 = {
4417
4845
  "class": "MrpUpload"
4418
4846
  };
4419
- var _hoisted_2$5 = {
4847
+ var _hoisted_2$4 = {
4420
4848
  key: 0
4421
4849
  };
4422
4850
 
4423
- var _hoisted_3$5 = /*#__PURE__*/_withScopeId(function () {
4851
+ var _hoisted_3$4 = /*#__PURE__*/_withScopeId(function () {
4424
4852
  return /*#__PURE__*/createElementVNode("img", {
4425
4853
  src: "https://stec.oss-cn-shanghai.aliyuncs.com/host/purchasecontract/2022-8-16/85429f9734db4d1385af4c84d75cc99e.png",
4426
4854
  style: {
@@ -4431,7 +4859,7 @@ var _hoisted_3$5 = /*#__PURE__*/_withScopeId(function () {
4431
4859
  );
4432
4860
  });
4433
4861
 
4434
- var _hoisted_4$5 = /*#__PURE__*/_withScopeId(function () {
4862
+ var _hoisted_4$4 = /*#__PURE__*/_withScopeId(function () {
4435
4863
  return /*#__PURE__*/createElementVNode("div", {
4436
4864
  "class": "ant-upload-text"
4437
4865
  }, "电脑文件上传", -1
@@ -4439,12 +4867,12 @@ var _hoisted_4$5 = /*#__PURE__*/_withScopeId(function () {
4439
4867
  );
4440
4868
  });
4441
4869
 
4442
- var _hoisted_5$5 = [_hoisted_3$5, _hoisted_4$5];
4443
- var _hoisted_6$5 = {
4870
+ var _hoisted_5$4 = [_hoisted_3$4, _hoisted_4$4];
4871
+ var _hoisted_6$4 = {
4444
4872
  key: 1
4445
4873
  };
4446
4874
 
4447
- var _hoisted_7$5 = /*#__PURE__*/createTextVNode(" 上传 ");
4875
+ var _hoisted_7$4 = /*#__PURE__*/createTextVNode(" 上传 ");
4448
4876
 
4449
4877
  var _hoisted_8$4 = ["src"];
4450
4878
  /**
@@ -4459,7 +4887,7 @@ var _hoisted_8$4 = ["src"];
4459
4887
  * @uploadChange:Function({ file: tempFile, fileList: tempFileList } 上传列表改变事件
4460
4888
  */
4461
4889
 
4462
- var script$7 = /*#__PURE__*/defineComponent({
4890
+ var script$6 = /*#__PURE__*/defineComponent({
4463
4891
  __name: 'IVFileUpload',
4464
4892
  props: {
4465
4893
  uploadApi: {
@@ -4736,7 +5164,7 @@ var script$7 = /*#__PURE__*/defineComponent({
4736
5164
 
4737
5165
  var _component_a_modal = resolveComponent("a-modal");
4738
5166
 
4739
- return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1$7, [createVNode(_component_a_upload, {
5167
+ return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1$6, [createVNode(_component_a_upload, {
4740
5168
  "file-list": fileList.value,
4741
5169
  "onUpdate:file-list": _cache[0] || (_cache[0] = function ($event) {
4742
5170
  return fileList.value = $event;
@@ -4751,9 +5179,9 @@ var script$7 = /*#__PURE__*/defineComponent({
4751
5179
  "default": withCtx(function () {
4752
5180
  return [!__props.mini && __props.listType === 'picture-card' ? (openBlock(), createElementBlock(Fragment, {
4753
5181
  key: 0
4754
- }, [createCommentVNode(" :class=\"[listType === 'picture' ? 'upload-list-inline' : '']\" "), fileList.value.length < __props.uploadLength ? (openBlock(), createElementBlock("div", _hoisted_2$5, _hoisted_5$5)) : createCommentVNode("v-if", true)], 64
5182
+ }, [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
5183
  /* STABLE_FRAGMENT */
4756
- )) : __props.listType === 'icon' ? (openBlock(), createElementBlock("div", _hoisted_6$5, [createVNode(_component_instagram_outlined, {
5184
+ )) : __props.listType === 'icon' ? (openBlock(), createElementBlock("div", _hoisted_6$4, [createVNode(_component_instagram_outlined, {
4757
5185
  "class": "text-[22px] text-[#006AB2] cursor-pointer mt-1",
4758
5186
  onClick: _ctx.onUploadInvoice
4759
5187
  }, null, 8
@@ -4762,7 +5190,7 @@ var script$7 = /*#__PURE__*/defineComponent({
4762
5190
  key: 2
4763
5191
  }, {
4764
5192
  "default": withCtx(function () {
4765
- return [createVNode(_component_upload_outlined), _hoisted_7$5];
5193
+ return [createVNode(_component_upload_outlined), _hoisted_7$4];
4766
5194
  }),
4767
5195
  _: 1
4768
5196
  /* STABLE */
@@ -4795,7 +5223,7 @@ var script$7 = /*#__PURE__*/defineComponent({
4795
5223
 
4796
5224
  }, 8
4797
5225
  /* PROPS */
4798
- , ["visible"]), __props.showAltimeter ? (openBlock(), createBlock(script$8, {
5226
+ , ["visible"]), __props.showAltimeter ? (openBlock(), createBlock(script$7, {
4799
5227
  key: 0,
4800
5228
  show: isAltimeter.value,
4801
5229
  "onUpdate:show": _cache[1] || (_cache[1] = function ($event) {
@@ -4811,10 +5239,10 @@ var script$7 = /*#__PURE__*/defineComponent({
4811
5239
  }
4812
5240
  });
4813
5241
 
4814
- script$7.__scopeId = "data-v-3f5c8a23";
4815
- script$7.__file = "src/business-ui/component/IVFileUpload.vue";
5242
+ script$6.__scopeId = "data-v-3f5c8a23";
5243
+ script$6.__file = "src/business-ui/component/IVFileUpload.vue";
4816
5244
 
4817
- var script$6 = {
5245
+ var script$5 = {
4818
5246
  name: "time",
4819
5247
  props: {
4820
5248
  timeType: Number
@@ -4923,15 +5351,15 @@ var script$6 = {
4923
5351
  }
4924
5352
  };
4925
5353
 
4926
- var _hoisted_1$6 = {
5354
+ var _hoisted_1$5 = {
4927
5355
  "class": "Mrp-time text-[18px] flex items-center"
4928
5356
  };
4929
- function render$1(_ctx, _cache, $props, $setup, $data, $options) {
5357
+ function render(_ctx, _cache, $props, $setup, $data, $options) {
4930
5358
  var _component_a_radio_button = resolveComponent("a-radio-button");
4931
5359
  var _component_a_radio_group = resolveComponent("a-radio-group");
4932
5360
  var _component_FieldTimeOutlined = resolveComponent("FieldTimeOutlined");
4933
5361
  var _component_a_range_picker = resolveComponent("a-range-picker");
4934
- return openBlock(), createElementBlock("div", _hoisted_1$6, [createVNode(_component_a_radio_group, {
5362
+ return openBlock(), createElementBlock("div", _hoisted_1$5, [createVNode(_component_a_radio_group, {
4935
5363
  value: $setup.activeBtn,
4936
5364
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
4937
5365
  return $setup.activeBtn = $event;
@@ -4981,69 +5409,9 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
4981
5409
  , ["value", "onChange"])]);
4982
5410
  }
4983
5411
 
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
5412
  script$5.render = render;
5046
- script$5.__file = "src/business-ui/component/icon/SelectorIcon.vue";
5413
+ script$5.__scopeId = "data-v-5f0fe252";
5414
+ script$5.__file = "src/business-ui/component/IVTimeSelector.vue";
5047
5415
 
5048
5416
  var _hoisted_1$4 = {
5049
5417
  "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
@@ -5377,7 +5745,7 @@ var script$4 = /*#__PURE__*/defineComponent({
5377
5745
  "remove-padding": false
5378
5746
  }, {
5379
5747
  title: withCtx(function () {
5380
- return [createElementVNode("div", _hoisted_1$4, [createVNode(script$5), _hoisted_2$3])];
5748
+ return [createElementVNode("div", _hoisted_1$4, [createVNode(script$c), _hoisted_2$3])];
5381
5749
  }),
5382
5750
  body: withCtx(function () {
5383
5751
  return [createElementVNode("div", _hoisted_3$3, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4$3, [createElementVNode("div", _hoisted_5$3, [createVNode(_component_a_input, {
@@ -6010,7 +6378,7 @@ var script$2 = /*#__PURE__*/defineComponent({
6010
6378
  "remove-padding": false
6011
6379
  }, {
6012
6380
  title: withCtx(function () {
6013
- return [createElementVNode("div", _hoisted_1$2, [createVNode(script$5), _hoisted_2$2])];
6381
+ return [createElementVNode("div", _hoisted_1$2, [createVNode(script$c), _hoisted_2$2])];
6014
6382
  }),
6015
6383
  body: withCtx(function () {
6016
6384
  return [createElementVNode("div", _hoisted_3$2, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4$2, [createElementVNode("div", _hoisted_5$2, [createVNode(unref(script$l), {
@@ -6595,7 +6963,7 @@ var script$1 = /*#__PURE__*/defineComponent({
6595
6963
  "remove-padding": false
6596
6964
  }, {
6597
6965
  title: withCtx(function () {
6598
- return [createElementVNode("div", _hoisted_1$1, [createVNode(script$5), _hoisted_2$1])];
6966
+ return [createElementVNode("div", _hoisted_1$1, [createVNode(script$c), _hoisted_2$1])];
6599
6967
  }),
6600
6968
  body: withCtx(function () {
6601
6969
  return [createElementVNode("div", _hoisted_3$1, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4$1, [createElementVNode("div", _hoisted_5$1, [createVNode(_component_a_select, {
@@ -7164,7 +7532,7 @@ var script = /*#__PURE__*/defineComponent({
7164
7532
  "remove-padding": false
7165
7533
  }, {
7166
7534
  title: withCtx(function () {
7167
- return [createElementVNode("div", _hoisted_1, [createVNode(script$5), _hoisted_2])];
7535
+ return [createElementVNode("div", _hoisted_1, [createVNode(script$c), _hoisted_2])];
7168
7536
  }),
7169
7537
  body: withCtx(function () {
7170
7538
  return [createElementVNode("div", _hoisted_3, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4, [createElementVNode("div", _hoisted_5, [createVNode(_component_a_input, {
@@ -7305,7 +7673,7 @@ var script = /*#__PURE__*/defineComponent({
7305
7673
 
7306
7674
  script.__file = "src/business-ui/component/IVMaterialSelector.vue";
7307
7675
 
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$c, script$2, script$1, script, script$b, script$a, script$9, script$7, script$6, script$4, script$3];
7676
+ 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
7677
  installComponents(); // 单独引用
7310
7678
 
7311
7679
  function installComponents() {
@@ -7328,4 +7696,4 @@ var cAll = {
7328
7696
  install: install
7329
7697
  };
7330
7698
 
7331
- export { script$4 as IVClientSelector, script$7 as IVFileUpload, script$a as IVInnerContractSelector, script$j as IVLineDropdown, script$b as IVMainContractSelector, script$g as IVManagDropdown, script as IVMaterialSelector, script$d as IVMaterialTypeDropdown, script$o as IVModal, script$l as IVOrgDropdown, script$9 as IVOuterContractSelector, script$3 as IVPaytypeSelector, script$h as IVPostDropdown, script$k as IVProdBaseDropdown, script$c as IVProjectSelector, script$f as IVRateDropdown, script$i as IVSetofbookDropdown, script$n as IVTable, script$m as IVTableControl, script$6 as IVTimeSelector, script$e as IVUnitDropdown, script$2 as IVUserSelector, script$1 as IVVendorSelector, cAll as default };
7699
+ 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 };