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.
@@ -552,20 +552,20 @@
552
552
  key: 0,
553
553
  id: "top"
554
554
  };
555
- var _hoisted_2$a = {
555
+ var _hoisted_2$b = {
556
556
  "class": "flex items-center justify-center"
557
557
  };
558
- var _hoisted_3$8 = {
558
+ var _hoisted_3$9 = {
559
559
  key: 0,
560
560
  style: {
561
561
  "color": "#ff0066"
562
562
  }
563
563
  };
564
- var _hoisted_4$8 = {
564
+ var _hoisted_4$9 = {
565
565
  key: 0
566
566
  };
567
567
 
568
- var _hoisted_5$8 = /*#__PURE__*/vue.createElementVNode("div", {
568
+ var _hoisted_5$9 = /*#__PURE__*/vue.createElementVNode("div", {
569
569
  "class": "h-2 flex items-center"
570
570
  }, [/*#__PURE__*/vue.createElementVNode("span", {
571
571
  "class": "bg-[#d9d9d9] h-[1px] w-full"
@@ -573,39 +573,39 @@
573
573
  /* HOISTED */
574
574
  );
575
575
 
576
- var _hoisted_6$7 = {
576
+ var _hoisted_6$8 = {
577
577
  "class": "flex items-center justify-between h-1/2"
578
578
  };
579
- var _hoisted_7$7 = {
579
+ var _hoisted_7$8 = {
580
580
  key: 0,
581
581
  style: {
582
582
  "color": "#ff0066"
583
583
  }
584
584
  };
585
- var _hoisted_8$5 = {
585
+ var _hoisted_8$6 = {
586
586
  "class": "mrpTable",
587
587
  id: "IVTable"
588
588
  };
589
- var _hoisted_9$4 = {
589
+ var _hoisted_9$5 = {
590
590
  "class": "relative w-full mb-[24px]",
591
591
  style: {
592
592
  "table-layout": "fixed"
593
593
  }
594
594
  };
595
- var _hoisted_10$4 = {
595
+ var _hoisted_10$5 = {
596
596
  "class": "flex items-center justify-center"
597
597
  };
598
- var _hoisted_11$4 = {
598
+ var _hoisted_11$5 = {
599
599
  key: 0,
600
600
  style: {
601
601
  "color": "#ff0066"
602
602
  }
603
603
  };
604
- var _hoisted_12$4 = {
604
+ var _hoisted_12$5 = {
605
605
  key: 1
606
606
  };
607
607
 
608
- var _hoisted_13$4 = /*#__PURE__*/vue.createElementVNode("div", {
608
+ var _hoisted_13$5 = /*#__PURE__*/vue.createElementVNode("div", {
609
609
  "class": "h-2 flex items-center"
610
610
  }, [/*#__PURE__*/vue.createElementVNode("span", {
611
611
  "class": "bg-[#d9d9d9] h-[1px] w-full"
@@ -613,26 +613,26 @@
613
613
  /* HOISTED */
614
614
  );
615
615
 
616
- var _hoisted_14$4 = {
616
+ var _hoisted_14$5 = {
617
617
  "class": "flex items-center justify-between h-1/2"
618
618
  };
619
- var _hoisted_15$4 = {
619
+ var _hoisted_15$5 = {
620
620
  key: 0,
621
621
  style: {
622
622
  "color": "#ff0066"
623
623
  }
624
624
  };
625
- var _hoisted_16$4 = {
625
+ var _hoisted_16$5 = {
626
626
  key: 0
627
627
  };
628
- var _hoisted_17$4 = {
628
+ var _hoisted_17$5 = {
629
629
  key: 1
630
630
  };
631
- var _hoisted_18$4 = {
631
+ var _hoisted_18$5 = {
632
632
  key: 2,
633
633
  "class": "flex justify-center items-center relative"
634
634
  };
635
- var _hoisted_19$4 = {
635
+ var _hoisted_19$5 = {
636
636
  key: 1,
637
637
  "class": "table-footer"
638
638
  };
@@ -771,11 +771,11 @@
771
771
  height: __props.setHeight && !clickDensity.value ? __props.setHeight + 'px' : tableH.value ? tableH.value + 'px' : '',
772
772
  width: item.w ? item.w : ''
773
773
  })
774
- }, [vue.createElementVNode("div", _hoisted_2$a, [vue.createTextVNode(vue.toDisplayString(item.title == "操作" ? "" : item.title) + " ", 1
774
+ }, [vue.createElementVNode("div", _hoisted_2$b, [vue.createTextVNode(vue.toDisplayString(item.title == "操作" ? "" : item.title) + " ", 1
775
775
  /* TEXT */
776
- ), item.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$8, vue.toDisplayString(item.unit), 1
776
+ ), item.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$9, vue.toDisplayString(item.unit), 1
777
777
  /* TEXT */
778
- )) : vue.createCommentVNode("v-if", true)]), item.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$8, [_hoisted_5$8, vue.createElementVNode("div", _hoisted_6$7, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.header, function (e, i) {
778
+ )) : vue.createCommentVNode("v-if", true)]), item.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$9, [_hoisted_5$9, vue.createElementVNode("div", _hoisted_6$8, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.header, function (e, i) {
779
779
  return vue.openBlock(), vue.createElementBlock("div", {
780
780
  key: i,
781
781
  style: vue.normalizeStyle({
@@ -783,7 +783,7 @@
783
783
  })
784
784
  }, [vue.createTextVNode(vue.toDisplayString(e.title == "操作" ? "" : e.title) + " ", 1
785
785
  /* TEXT */
786
- ), e.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$7, vue.toDisplayString(e.unit), 1
786
+ ), e.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$8, vue.toDisplayString(e.unit), 1
787
787
  /* TEXT */
788
788
  )) : vue.createCommentVNode("v-if", true)], 4
789
789
  /* STYLE */
@@ -806,7 +806,7 @@
806
806
  onChangeS: tableControlChange
807
807
  }, null, 8
808
808
  /* PROPS */
809
- , ["setHeight"])) : vue.createCommentVNode("v-if", true)])) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", _hoisted_8$5, [vue.createElementVNode("table", _hoisted_9$4, [vue.createElementVNode("tr", null, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.dataTh, function (item, index) {
809
+ , ["setHeight"])) : vue.createCommentVNode("v-if", true)])) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", _hoisted_8$6, [vue.createElementVNode("table", _hoisted_9$5, [vue.createElementVNode("tr", null, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.dataTh, function (item, index) {
810
810
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
811
811
  key: index
812
812
  }, [item.show ? (vue.openBlock(), vue.createElementBlock("th", {
@@ -818,11 +818,11 @@
818
818
  })
819
819
  }, [item.key == 'select' ? vue.renderSlot(_ctx.$slots, "selectAll", {
820
820
  key: 0
821
- }) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", _hoisted_10$4, [vue.createTextVNode(vue.toDisplayString(item.key == "select" ? "" : item.title == "操作" ? "" : item.title) + " ", 1
821
+ }) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", _hoisted_10$5, [vue.createTextVNode(vue.toDisplayString(item.key == "select" ? "" : item.title == "操作" ? "" : item.title) + " ", 1
822
822
  /* TEXT */
823
- ), item.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$4, vue.toDisplayString(item.unit), 1
823
+ ), item.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$5, vue.toDisplayString(item.unit), 1
824
824
  /* TEXT */
825
- )) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" <span class=\"flex flex-col\"\r\n ><caret-up-filled /><caret-down-filled\r\n /></span> ")]), item.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$4, [_hoisted_13$4, vue.createElementVNode("div", _hoisted_14$4, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.header, function (e, i) {
825
+ )) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" <span class=\"flex flex-col\"\r\n ><caret-up-filled /><caret-down-filled\r\n /></span> ")]), item.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$5, [_hoisted_13$5, vue.createElementVNode("div", _hoisted_14$5, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.header, function (e, i) {
826
826
  return vue.openBlock(), vue.createElementBlock("div", {
827
827
  key: i,
828
828
  style: vue.normalizeStyle({
@@ -830,7 +830,7 @@
830
830
  })
831
831
  }, [vue.createTextVNode(vue.toDisplayString(e.title == "操作" ? "" : e.title) + " ", 1
832
832
  /* TEXT */
833
- ), e.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15$4, vue.toDisplayString(e.unit), 1
833
+ ), e.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15$5, vue.toDisplayString(e.unit), 1
834
834
  /* TEXT */
835
835
  )) : vue.createCommentVNode("v-if", true)], 4
836
836
  /* STYLE */
@@ -858,11 +858,11 @@
858
858
  style: vue.normalizeStyle({
859
859
  height: __props.setHeight && !clickDensity.value ? __props.setHeight + 'px' : tableH.value ? tableH.value + 'px' : ''
860
860
  })
861
- }, [vue.createCommentVNode(" 序号 "), item.key == 'index' ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_16$4, vue.toDisplayString(Props.currentPages - 1 == 0 ? i + 1 : (Props.currentPages - 1) * 10 + i + 1), 1
861
+ }, [vue.createCommentVNode(" 序号 "), item.key == 'index' ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_16$5, vue.toDisplayString(Props.currentPages - 1 == 0 ? i + 1 : (Props.currentPages - 1) * 10 + i + 1), 1
862
862
  /* TEXT */
863
- )) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" 常规 "), item.key != 'index' && item.key != 'pictures' && item.key != 'buttonSlot' && item.key != 'select' && !item.custom ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17$4, vue.toDisplayString(e[item.key]), 1
863
+ )) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" 常规 "), item.key != 'index' && item.key != 'pictures' && item.key != 'buttonSlot' && item.key != 'select' && !item.custom ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17$5, vue.toDisplayString(e[item.key]), 1
864
864
  /* TEXT */
865
- )) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" 图片数据特殊处理 "), item.key == 'pictures' ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_18$4, [vue.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 /> "), (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e.pictures, function (e1, i1) {
865
+ )) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" 图片数据特殊处理 "), item.key == 'pictures' ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_18$5, [vue.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 /> "), (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e.pictures, function (e1, i1) {
866
866
  return vue.openBlock(), vue.createBlock(_component_a_image, {
867
867
  key: i1,
868
868
  src: e1,
@@ -906,7 +906,7 @@
906
906
  ))]);
907
907
  }), 128
908
908
  /* KEYED_FRAGMENT */
909
- )) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_19$4, _hoisted_21$4))]), __props.isTableControl ? (vue.openBlock(), vue.createBlock(vue.unref(script$m), {
909
+ )) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_19$5, _hoisted_21$4))]), __props.isTableControl ? (vue.openBlock(), vue.createBlock(vue.unref(script$m), {
910
910
  key: 0,
911
911
  setHeight: __props.setHeight,
912
912
  onDensity: density,
@@ -951,25 +951,25 @@
951
951
  "class": "tableControl"
952
952
  };
953
953
 
954
- var _hoisted_2$9 = /*#__PURE__*/_withScopeId$2(function () {
954
+ var _hoisted_2$a = /*#__PURE__*/_withScopeId$2(function () {
955
955
  return /*#__PURE__*/vue.createElementVNode("div", null, "密度", -1
956
956
  /* HOISTED */
957
957
  );
958
958
  });
959
959
 
960
- var _hoisted_3$7 = /*#__PURE__*/vue.createTextVNode(" 默认 ");
960
+ var _hoisted_3$8 = /*#__PURE__*/vue.createTextVNode(" 默认 ");
961
961
 
962
- var _hoisted_4$7 = /*#__PURE__*/vue.createTextVNode(" 中等 ");
962
+ var _hoisted_4$8 = /*#__PURE__*/vue.createTextVNode(" 中等 ");
963
963
 
964
- var _hoisted_5$7 = /*#__PURE__*/vue.createTextVNode(" 紧凑 ");
964
+ var _hoisted_5$8 = /*#__PURE__*/vue.createTextVNode(" 紧凑 ");
965
965
 
966
- var _hoisted_6$6 = /*#__PURE__*/_withScopeId$2(function () {
966
+ var _hoisted_6$7 = /*#__PURE__*/_withScopeId$2(function () {
967
967
  return /*#__PURE__*/vue.createElementVNode("div", null, "列设置", -1
968
968
  /* HOISTED */
969
969
  );
970
970
  });
971
971
 
972
- var _hoisted_7$6 = /*#__PURE__*/vue.createTextVNode(" 全选 ");
972
+ var _hoisted_7$7 = /*#__PURE__*/vue.createTextVNode(" 全选 ");
973
973
 
974
974
  var script$m = /*#__PURE__*/vue.defineComponent({
975
975
  __name: 'IVTableControl',
@@ -1072,7 +1072,7 @@
1072
1072
  onVisibleChange: handleHoverChange
1073
1073
  }, {
1074
1074
  content: vue.withCtx(function () {
1075
- return [_hoisted_2$9];
1075
+ return [_hoisted_2$a];
1076
1076
  }),
1077
1077
  "default": vue.withCtx(function () {
1078
1078
  return [vue.createVNode(_component_a_popover, {
@@ -1098,7 +1098,7 @@
1098
1098
  key: "0"
1099
1099
  }, {
1100
1100
  "default": vue.withCtx(function () {
1101
- return [_hoisted_3$7];
1101
+ return [_hoisted_3$8];
1102
1102
  }),
1103
1103
  _: 1
1104
1104
  /* STABLE */
@@ -1107,7 +1107,7 @@
1107
1107
  key: "1"
1108
1108
  }, {
1109
1109
  "default": vue.withCtx(function () {
1110
- return [_hoisted_4$7];
1110
+ return [_hoisted_4$8];
1111
1111
  }),
1112
1112
  _: 1
1113
1113
  /* STABLE */
@@ -1116,7 +1116,7 @@
1116
1116
  key: "2"
1117
1117
  }, {
1118
1118
  "default": vue.withCtx(function () {
1119
- return [_hoisted_5$7];
1119
+ return [_hoisted_5$8];
1120
1120
  }),
1121
1121
  _: 1
1122
1122
  /* STABLE */
@@ -1154,7 +1154,7 @@
1154
1154
  trigger: "hover"
1155
1155
  }, {
1156
1156
  content: vue.withCtx(function () {
1157
- return [_hoisted_6$6];
1157
+ return [_hoisted_6$7];
1158
1158
  }),
1159
1159
  "default": vue.withCtx(function () {
1160
1160
  return [vue.createVNode(_component_a_popover, {
@@ -1176,7 +1176,7 @@
1176
1176
  onChange: onCheckAllChange
1177
1177
  }, {
1178
1178
  "default": vue.withCtx(function () {
1179
- return [_hoisted_7$6];
1179
+ return [_hoisted_7$7];
1180
1180
  }),
1181
1181
  _: 1
1182
1182
  /* STABLE */
@@ -1462,6 +1462,13 @@
1462
1462
  method: "get"
1463
1463
  }, DEFIND_OPTION),
1464
1464
  baseUrl: MRP2_URL
1465
+ },
1466
+ getPurchaseContract: {
1467
+ url: "/api/purchase-management/purchase-contract/all",
1468
+ option: _objectSpread2({
1469
+ method: "get"
1470
+ }, DEFIND_OPTION),
1471
+ baseUrl: MRP_URL
1465
1472
  }
1466
1473
  };
1467
1474
  var formatHTTP = function formatHTTP(fetch) {
@@ -1504,6 +1511,16 @@
1504
1511
  type: Object,
1505
1512
  required: false
1506
1513
  },
1514
+ fieldNames: {
1515
+ type: null,
1516
+ required: false,
1517
+ "default": function _default() {
1518
+ return {
1519
+ label: "name",
1520
+ value: "id"
1521
+ };
1522
+ }
1523
+ },
1507
1524
  replaceFields: {
1508
1525
  type: null,
1509
1526
  required: false,
@@ -1617,6 +1634,9 @@
1617
1634
  emit("update:value", value);
1618
1635
  }
1619
1636
  });
1637
+ var filterOption = vue.computed(function () {
1638
+ return filterOptionHeadle(props.fieldNames.label);
1639
+ });
1620
1640
  /**
1621
1641
  * 侦听器-------------------------------------
1622
1642
  * */
@@ -1679,16 +1699,17 @@
1679
1699
  allowClear: !__props.isRequired,
1680
1700
  showSearch: "",
1681
1701
  multiple: __props.multiple,
1682
- "filter-option": vue.unref(filterOptionHeadle),
1702
+ filterOption: vue.unref(filterOption),
1683
1703
  treeDefaultExpandAll: "",
1684
1704
  style: __props.inputStyle,
1685
1705
  onChange: _cache[1] || (_cache[1] = function ($event) {
1686
1706
  return _ctx.$emit('change', $event);
1687
1707
  }),
1708
+ fieldNames: __props.fieldNames,
1688
1709
  replaceFields: __props.replaceFields
1689
1710
  }), null, 16
1690
1711
  /* FULL_PROPS */
1691
- , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "multiple", "filter-option", "style", "replaceFields"])];
1712
+ , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "multiple", "filterOption", "style", "fieldNames", "replaceFields"])];
1692
1713
  }),
1693
1714
  _: 1
1694
1715
  /* STABLE */
@@ -1844,6 +1865,9 @@
1844
1865
  emit("update:value", value);
1845
1866
  }
1846
1867
  });
1868
+ var filterOption = vue.computed(function () {
1869
+ return filterOptionHeadle(props.fieldNames.label);
1870
+ });
1847
1871
  /**
1848
1872
  * 侦听器-------------------------------------
1849
1873
  * */
@@ -1909,10 +1933,10 @@
1909
1933
  onChange: _cache[1] || (_cache[1] = function ($event) {
1910
1934
  return _ctx.$emit('change', $event);
1911
1935
  }),
1912
- "filter-option": vue.unref(filterOptionHeadle)
1936
+ filterOption: vue.unref(filterOption)
1913
1937
  }), null, 16
1914
1938
  /* FULL_PROPS */
1915
- , ["value", "getPopupContainer", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filter-option"])];
1939
+ , ["value", "getPopupContainer", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"])];
1916
1940
  }),
1917
1941
  _: 1
1918
1942
  /* STABLE */
@@ -2065,6 +2089,9 @@
2065
2089
  emit("update:value", value);
2066
2090
  }
2067
2091
  });
2092
+ var filterOption = vue.computed(function () {
2093
+ return filterOptionHeadle(props.fieldNames.label);
2094
+ });
2068
2095
  /**
2069
2096
  * 侦听器-------------------------------------
2070
2097
  * */
@@ -2129,10 +2156,10 @@
2129
2156
  onChange: _cache[1] || (_cache[1] = function ($event) {
2130
2157
  return _ctx.$emit('change', $event);
2131
2158
  }),
2132
- "filter-option": vue.unref(filterOptionHeadle)
2159
+ filterOption: vue.unref(filterOption)
2133
2160
  }), null, 16
2134
2161
  /* FULL_PROPS */
2135
- , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filter-option"])];
2162
+ , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"])];
2136
2163
  }),
2137
2164
  _: 1
2138
2165
  /* STABLE */
@@ -2150,7 +2177,7 @@
2150
2177
  key: 0,
2151
2178
  "class": "text-[#0000006D] text-[14px]"
2152
2179
  };
2153
- var _hoisted_2$8 = {
2180
+ var _hoisted_2$9 = {
2154
2181
  "class": "absolute right-rull top-1/2 -translate-y-1/2 w-[410px] px-2 text-[#0000006D] text-[12px]"
2155
2182
  };
2156
2183
  /**
@@ -2172,6 +2199,16 @@
2172
2199
  type: Object,
2173
2200
  required: false
2174
2201
  },
2202
+ fieldNames: {
2203
+ type: null,
2204
+ required: false,
2205
+ "default": function _default() {
2206
+ return {
2207
+ label: "name",
2208
+ value: "id"
2209
+ };
2210
+ }
2211
+ },
2175
2212
  replaceFields: {
2176
2213
  type: null,
2177
2214
  required: false,
@@ -2295,6 +2332,9 @@
2295
2332
  emit("update:value", value);
2296
2333
  }
2297
2334
  });
2335
+ var filterOption = vue.computed(function () {
2336
+ return filterOptionHeadle(props.fieldNames.label);
2337
+ });
2298
2338
  /**
2299
2339
  * 侦听器-------------------------------------
2300
2340
  * */
@@ -2357,7 +2397,8 @@
2357
2397
  showArrow: "",
2358
2398
  showSearch: "",
2359
2399
  allowClear: !__props.isRequired,
2360
- "filter-option": vue.unref(filterOptionHeadle),
2400
+ filterOption: vue.unref(filterOption),
2401
+ fieldNames: __props.fieldNames,
2361
2402
  multiple: __props.multiple,
2362
2403
  treeDefaultExpandAll: "",
2363
2404
  style: __props.inputStyle,
@@ -2367,7 +2408,7 @@
2367
2408
  replaceFields: __props.replaceFields
2368
2409
  }), null, 16
2369
2410
  /* FULL_PROPS */
2370
- , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filter-option", "multiple", "style", "replaceFields"]), vue.createElementVNode("span", _hoisted_2$8, [vue.renderSlot(_ctx.$slots, "notes")])];
2411
+ , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filterOption", "fieldNames", "multiple", "style", "replaceFields"]), vue.createElementVNode("span", _hoisted_2$9, [vue.renderSlot(_ctx.$slots, "notes")])];
2371
2412
  }),
2372
2413
  _: 3
2373
2414
  /* FORWARDED */
@@ -2515,6 +2556,9 @@
2515
2556
  emit("update:value", value);
2516
2557
  }
2517
2558
  });
2559
+ var filterOption = vue.computed(function () {
2560
+ return filterOptionHeadle(props.fieldNames.label);
2561
+ });
2518
2562
  /**
2519
2563
  * 侦听器-------------------------------------
2520
2564
  * */
@@ -2576,14 +2620,14 @@
2576
2620
  mode: __props.multiple ? 'multiple' : '',
2577
2621
  showArrow: "",
2578
2622
  options: dataV.value,
2579
- "filter-option": vue.unref(filterOptionHeadle),
2623
+ filterOption: vue.unref(filterOption),
2580
2624
  onChange: _cache[1] || (_cache[1] = function ($event) {
2581
2625
  return _ctx.$emit('change', $event);
2582
2626
  }),
2583
2627
  fieldNames: __props.fieldNames
2584
2628
  }), null, 16
2585
2629
  /* FULL_PROPS */
2586
- , ["value", "getPopupContainer", "allowClear", "style", "placeholder", "mode", "options", "filter-option", "fieldNames"])];
2630
+ , ["value", "getPopupContainer", "allowClear", "style", "placeholder", "mode", "options", "filterOption", "fieldNames"])];
2587
2631
  }),
2588
2632
  _: 1
2589
2633
  /* STABLE */
@@ -2722,6 +2766,9 @@
2722
2766
  emit("update:value", value);
2723
2767
  }
2724
2768
  });
2769
+ var filterOption = vue.computed(function () {
2770
+ return filterOptionHeadle(props.fieldNames.label);
2771
+ });
2725
2772
  /**
2726
2773
  * 侦听器-------------------------------------
2727
2774
  * */
@@ -2786,10 +2833,10 @@
2786
2833
  onChange: _cache[1] || (_cache[1] = function ($event) {
2787
2834
  return _ctx.$emit('change', $event);
2788
2835
  }),
2789
- "filter-option": vue.unref(filterOptionHeadle)
2836
+ filterOption: vue.unref(filterOption)
2790
2837
  }), null, 16
2791
2838
  /* FULL_PROPS */
2792
- , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filter-option"])];
2839
+ , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"])];
2793
2840
  }),
2794
2841
  _: 1
2795
2842
  /* STABLE */
@@ -2861,6 +2908,9 @@
2861
2908
  emit("update:value", value);
2862
2909
  }
2863
2910
  });
2911
+ var filterOption = vue.computed(function () {
2912
+ return filterOptionHeadle(props.fieldNames.label);
2913
+ });
2864
2914
  return function (_ctx, _cache) {
2865
2915
  var _component_a_select = vue.resolveComponent("a-select");
2866
2916
 
@@ -2876,13 +2926,13 @@
2876
2926
  bordered: false,
2877
2927
  options: dataV.value,
2878
2928
  fieldNames: __props.fieldNames,
2879
- "filter-option": vue.unref(filterOptionHeadle),
2929
+ filterOption: vue.unref(filterOption),
2880
2930
  onChange: _cache[1] || (_cache[1] = function ($event) {
2881
2931
  return _ctx.$emit('change', $event);
2882
2932
  })
2883
2933
  }), null, 16
2884
2934
  /* FULL_PROPS */
2885
- , ["value", "getPopupContainer", "style", "options", "fieldNames", "filter-option"]);
2935
+ , ["value", "getPopupContainer", "style", "options", "fieldNames", "filterOption"]);
2886
2936
  };
2887
2937
  }
2888
2938
  });
@@ -2978,6 +3028,9 @@
2978
3028
  emit("update:value", value);
2979
3029
  }
2980
3030
  });
3031
+ var filterOption = vue.computed(function () {
3032
+ return filterOptionHeadle(props.fieldNames.label);
3033
+ });
2981
3034
  /**
2982
3035
  * 侦听器-------------------------------------
2983
3036
  * */
@@ -3017,13 +3070,13 @@
3017
3070
  bordered: false,
3018
3071
  options: dataV.value,
3019
3072
  fieldNames: __props.fieldNames,
3020
- "filter-option": vue.unref(filterOptionHeadle),
3073
+ filterOption: vue.unref(filterOption),
3021
3074
  onChange: _cache[1] || (_cache[1] = function ($event) {
3022
3075
  return _ctx.$emit('change', $event);
3023
3076
  })
3024
3077
  }), null, 16
3025
3078
  /* FULL_PROPS */
3026
- , ["value", "getPopupContainer", "style", "options", "fieldNames", "filter-option"]);
3079
+ , ["value", "getPopupContainer", "style", "options", "fieldNames", "filterOption"]);
3027
3080
  };
3028
3081
  }
3029
3082
  });
@@ -3053,6 +3106,16 @@
3053
3106
  type: Object,
3054
3107
  required: false
3055
3108
  },
3109
+ fieldNames: {
3110
+ type: null,
3111
+ required: false,
3112
+ "default": function _default() {
3113
+ return {
3114
+ label: "name",
3115
+ value: "id"
3116
+ };
3117
+ }
3118
+ },
3056
3119
  replaceFields: {
3057
3120
  type: null,
3058
3121
  required: false,
@@ -3172,6 +3235,9 @@
3172
3235
  emit("update:value", value);
3173
3236
  }
3174
3237
  });
3238
+ var filterOption = vue.computed(function () {
3239
+ return filterOptionHeadle(props.fieldNames.label);
3240
+ });
3175
3241
  /**
3176
3242
  * 侦听器-------------------------------------
3177
3243
  * */
@@ -3235,17 +3301,18 @@
3235
3301
  maxHeight: '400px',
3236
3302
  overflow: 'auto'
3237
3303
  },
3238
- "filter-option": vue.unref(filterOptionHeadle),
3304
+ filterOption: vue.unref(filterOption),
3239
3305
  multiple: __props.multiple,
3240
3306
  treeDefaultExpandAll: "",
3241
3307
  style: __props.inputStyle,
3242
3308
  onChange: _cache[1] || (_cache[1] = function ($event) {
3243
3309
  return _ctx.$emit('change', $event);
3244
3310
  }),
3311
+ fieldNames: __props.fieldNames,
3245
3312
  replaceFields: __props.replaceFields
3246
3313
  }), null, 16
3247
3314
  /* FULL_PROPS */
3248
- , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filter-option", "multiple", "style", "replaceFields"])];
3315
+ , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filterOption", "multiple", "style", "fieldNames", "replaceFields"])];
3249
3316
  }),
3250
3317
  _: 1
3251
3318
  /* STABLE */
@@ -3260,111 +3327,157 @@
3260
3327
  script$d.__file = "src/business-ui/component/IVMaterialTypeDropdown.vue";
3261
3328
 
3262
3329
  var _hoisted_1$c = {
3263
- key: 0,
3264
- "class": "text-[#0000006D] text-[14px]"
3330
+ style: {
3331
+ "position": "relative",
3332
+ "margin-top": "8px",
3333
+ "width": "30px",
3334
+ "height": "23px"
3335
+ }
3336
+ };
3337
+ var _hoisted_2$8 = {
3338
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
3339
+ xmlns: "http://www.w3.org/2000/svg",
3340
+ version: "1.1",
3341
+ width: "23px",
3342
+ height: "23px",
3343
+ style: {
3344
+ "position": "absolute"
3345
+ }
3346
+ };
3347
+ var _hoisted_3$7 = vue.createElementVNode("g", {
3348
+ transform: "matrix(1 0 0 1 -256 -275 )"
3349
+ }, [vue.createElementVNode("path", {
3350
+ 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 ",
3351
+ "fill-rule": "nonzero",
3352
+ fill: "#bd9e55",
3353
+ stroke: "none",
3354
+ transform: "matrix(1 0 0 1 256 275 )"
3355
+ })], -1
3356
+ );
3357
+ var _hoisted_4$7 = [_hoisted_3$7];
3358
+ var _hoisted_5$7 = {
3359
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
3360
+ xmlns: "http://www.w3.org/2000/svg",
3361
+ version: "1.1",
3362
+ width: "23px",
3363
+ height: "23px",
3364
+ style: {
3365
+ "position": "absolute",
3366
+ "left": "7px",
3367
+ "bottom": "7px"
3368
+ }
3369
+ };
3370
+ var _hoisted_6$6 = vue.createElementVNode("g", {
3371
+ transform: "matrix(1 0 0 1 -263 -268 )"
3372
+ }, [vue.createElementVNode("path", {
3373
+ 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 ",
3374
+ "fill-rule": "nonzero",
3375
+ fill: "#bd9e55",
3376
+ stroke: "none",
3377
+ transform: "matrix(1 0 0 1 263 268 )"
3378
+ })], -1
3379
+ );
3380
+ var _hoisted_7$6 = [_hoisted_6$6];
3381
+ function render$1(_ctx, _cache) {
3382
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [(vue.openBlock(), vue.createElementBlock("svg", _hoisted_2$8, _hoisted_4$7)), (vue.openBlock(), vue.createElementBlock("svg", _hoisted_5$7, _hoisted_7$6))]);
3383
+ }
3384
+
3385
+ var script$c = {};
3386
+ script$c.render = render$1;
3387
+ script$c.__file = "src/business-ui/component/icon/SelectorIcon.vue";
3388
+
3389
+ var _hoisted_1$b = {
3390
+ "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
3391
+ };
3392
+
3393
+ var _hoisted_2$7 = /*#__PURE__*/vue.createElementVNode("span", {
3394
+ "class": "text-xl text-[#bd9e55] pl-2"
3395
+ }, "选择项目", -1
3396
+ /* HOISTED */
3397
+ );
3398
+
3399
+ var _hoisted_3$6 = {
3400
+ "class": "px-[150px]",
3401
+ id: "IVUserSelector"
3402
+ };
3403
+ var _hoisted_4$6 = {
3404
+ "class": "mx-10"
3405
+ };
3406
+ var _hoisted_5$6 = {
3407
+ "class": "flex items-center my-4 justify-center"
3408
+ };
3409
+
3410
+ var _hoisted_6$5 = /*#__PURE__*/vue.createTextVNode(" 搜索 ");
3411
+
3412
+ var _hoisted_7$5 = {
3413
+ "class": "mt-10"
3414
+ };
3415
+ var _hoisted_8$5 = {
3416
+ "class": "flex justify-between mb-2"
3417
+ };
3418
+ var _hoisted_9$4 = {
3419
+ "class": "text-[#999999]"
3420
+ };
3421
+
3422
+ var _hoisted_10$4 = /*#__PURE__*/vue.createTextVNode(" 共有 ");
3423
+
3424
+ var _hoisted_11$4 = {
3425
+ "class": "text-[#BD9E55] text-[16px]"
3426
+ };
3427
+
3428
+ var _hoisted_12$4 = /*#__PURE__*/vue.createTextVNode(" 个记录满足条件,当前第 ");
3429
+
3430
+ var _hoisted_13$4 = {
3431
+ "class": "text-[#BD9E55] text-[16px]"
3432
+ };
3433
+
3434
+ var _hoisted_14$4 = /*#__PURE__*/vue.createTextVNode(" 页,跳转到第 ");
3435
+
3436
+ var _hoisted_15$4 = {
3437
+ "class": "text-[#BD9E55] text-[16px]"
3438
+ };
3439
+
3440
+ var _hoisted_16$4 = /*#__PURE__*/vue.createTextVNode(" 页 ");
3441
+
3442
+ var _hoisted_17$4 = {
3443
+ "class": "contentList"
3444
+ };
3445
+ var _hoisted_18$4 = {
3446
+ "class": "flex items-center justify-around text-[#006AB2] text-[13px]"
3265
3447
  };
3448
+ var _hoisted_19$4 = ["onClick"];
3266
3449
  /**
3267
3450
  * 组件定义-------------------------------------
3268
3451
  * */
3269
3452
 
3270
- var script$c = /*#__PURE__*/vue.defineComponent({
3453
+ var script$b = /*#__PURE__*/vue.defineComponent({
3271
3454
  __name: 'IVProjectSelector',
3272
3455
  props: {
3273
- value: {
3274
- type: null,
3275
- required: true
3276
- },
3277
- params: {
3278
- type: Object,
3279
- required: false
3280
- },
3281
- data: {
3282
- type: Object,
3283
- required: false
3284
- },
3285
- fieldNames: {
3286
- type: null,
3287
- required: false,
3288
- "default": function _default() {
3289
- return {
3290
- label: "projectName",
3291
- value: "id"
3292
- };
3293
- }
3294
- },
3295
- inputStyle: {
3296
- type: Object,
3297
- required: true,
3298
- "default": function _default() {
3299
- return {
3300
- width: "300px"
3301
- };
3302
- }
3303
- },
3304
- formItemStyle: {
3305
- type: Object,
3306
- required: false
3307
- },
3308
- labelCol: {
3309
- type: Object,
3310
- required: false,
3311
- "default": function _default() {
3312
- return {
3313
- span: 4
3314
- };
3315
- }
3316
- },
3317
- wrapperCol: {
3318
- type: Object,
3319
- required: false,
3320
- "default": function _default() {
3321
- return {
3322
- span: 11
3323
- };
3324
- }
3325
- },
3326
- isRequired: {
3327
- type: Boolean,
3328
- required: true,
3329
- "default": true
3330
- },
3331
- multiple: {
3332
- type: Boolean,
3333
- required: false,
3334
- "default": true
3335
- },
3336
- isTitle: {
3456
+ show: {
3337
3457
  type: Boolean,
3338
- required: false,
3339
- "default": true
3340
- },
3341
- placeholder: {
3342
- type: String,
3343
- required: false,
3344
- "default": "请选择"
3345
- },
3346
- title: {
3347
- type: String,
3348
- required: false,
3349
- "default": "项目"
3350
- },
3351
- name: {
3352
- type: String,
3353
- required: false,
3354
- "default": 'projectId'
3458
+ required: true
3355
3459
  }
3356
3460
  },
3357
- emits: ["update:value", "change"],
3461
+ emits: ["update:show", "getItem"],
3358
3462
  setup: function setup(__props, _ref) {
3359
3463
  var emit = _ref.emit;
3360
3464
  var props = __props;
3361
3465
  /**
3362
- * 获取数据-------------------------------------
3466
+ * 搜索-------------------------------------
3363
3467
  * */
3364
3468
 
3365
- var dataV = vue.ref();
3469
+ var formData = vue.reactive({
3470
+ setOfBookId: null,
3471
+ contractId: null,
3472
+ managerId: null,
3473
+ baseId: null,
3474
+ skipCount: 0,
3475
+ maxResultCount: 10,
3476
+ key: null
3477
+ });
3478
+ var contractList = vue.ref([]); // 获取合同
3366
3479
 
3367
- var getData = /*#__PURE__*/function () {
3480
+ var getContractList = /*#__PURE__*/function () {
3368
3481
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
3369
3482
  var _option,
3370
3483
  _a,
@@ -3376,12 +3489,12 @@
3376
3489
  case 0:
3377
3490
  _option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
3378
3491
  _context.next = 3;
3379
- return formatHTTP(fetch(formatUrl(API_OPTION.getIVProjectSelectorAll.baseUrl, API_OPTION.getIVProjectSelectorAll.url, _option.params), assign({
3492
+ return formatHTTP(fetch(formatUrl(API_OPTION.getPurchaseContract.baseUrl, API_OPTION.getPurchaseContract.url, _option.params), assign({
3380
3493
  data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
3381
- }, API_OPTION.getIVProjectSelectorAll.option)));
3494
+ }, API_OPTION.getPurchaseContract.option)));
3382
3495
 
3383
3496
  case 3:
3384
- dataV.value = _context.sent;
3497
+ contractList.value = _context.sent;
3385
3498
 
3386
3499
  case 4:
3387
3500
  case "end":
@@ -3391,106 +3504,415 @@
3391
3504
  }, _callee);
3392
3505
  }));
3393
3506
 
3394
- return function getData() {
3507
+ return function getContractList() {
3395
3508
  return _ref2.apply(this, arguments);
3396
3509
  };
3397
3510
  }();
3511
+ /**
3512
+ * 获取数据-------------------------------------
3513
+ * */
3398
3514
 
3399
- var inputV = vue.computed({
3400
- get: function get() {
3401
- return props.value;
3402
- },
3403
- set: function set(value) {
3404
- emit("update:value", value);
3405
- }
3406
- });
3515
+
3516
+ var dataV = vue.ref();
3517
+
3518
+ var getData = /*#__PURE__*/function () {
3519
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
3520
+ var _option,
3521
+ _a,
3522
+ _yield$formatHTTP,
3523
+ items,
3524
+ totalCount,
3525
+ _args2 = arguments;
3526
+
3527
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
3528
+ while (1) {
3529
+ switch (_context2.prev = _context2.next) {
3530
+ case 0:
3531
+ _option = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
3532
+ _context2.next = 3;
3533
+ return formatHTTP(fetch(formatUrl(API_OPTION.getIVProjectSelector.baseUrl, API_OPTION.getIVProjectSelector.url, _option.params), assign({
3534
+ data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
3535
+ }, API_OPTION.getIVProjectSelector.option)));
3536
+
3537
+ case 3:
3538
+ _yield$formatHTTP = _context2.sent;
3539
+ items = _yield$formatHTTP.items;
3540
+ totalCount = _yield$formatHTTP.totalCount;
3541
+ dataV.value = items;
3542
+ totalPages.value = totalCount;
3543
+ topPages.value = Math.ceil(totalPages.value / formData.maxResultCount);
3544
+
3545
+ case 9:
3546
+ case "end":
3547
+ return _context2.stop();
3548
+ }
3549
+ }
3550
+ }, _callee2);
3551
+ }));
3552
+
3553
+ return function getData() {
3554
+ return _ref3.apply(this, arguments);
3555
+ };
3556
+ }();
3407
3557
  /**
3408
- * 侦听器-------------------------------------
3558
+ * 表格-------------------------------------
3409
3559
  * */
3410
3560
 
3411
- vue.watchEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
3412
- var _a, _b;
3413
3561
 
3414
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
3415
- while (1) {
3416
- switch (_context2.prev = _context2.next) {
3417
- case 0:
3418
- // 由于打包问题,侦听器一定要在最后,否则找不到getData方法
3419
- getData({
3420
- params: (_a = props.params) !== null && _a !== void 0 ? _a : null,
3421
- data: (_b = props.data) !== null && _b !== void 0 ? _b : null
3422
- });
3562
+ var th = vue.ref([{
3563
+ title: "序号",
3564
+ w: 54 / 1499 * 100 + "%",
3565
+ key: "index",
3566
+ show: true
3567
+ }, {
3568
+ title: "编号",
3569
+ w: 104 / 1499 * 100 + "%",
3570
+ key: "projectNumber",
3571
+ show: true
3572
+ }, {
3573
+ title: "项目名称",
3574
+ w: 212 / 1499 * 100 + "%",
3575
+ key: "projectName",
3576
+ show: true
3577
+ }, {
3578
+ title: "账套名称",
3579
+ w: 212 / 1499 * 100 + "%",
3580
+ key: "setOfBookName",
3581
+ show: true
3582
+ }, {
3583
+ title: "账套简称",
3584
+ w: 140 / 1499 * 100 + "%",
3585
+ key: "setOfBookShortName",
3586
+ show: true
3587
+ }, {
3588
+ title: "合同名称",
3589
+ w: 212 / 1499 * 100 + "%",
3590
+ key: "contractName",
3591
+ show: true
3592
+ }, {
3593
+ title: "合同简称",
3594
+ w: 140 / 1499 * 100 + "%",
3595
+ key: "contractShortName",
3596
+ show: true
3597
+ }, // {
3598
+ // title: "供应商名称",
3599
+ // w: (250 / 1499) * 100 + "%",
3600
+ // key: "name",
3601
+ // show: true,
3602
+ // custom: true,
3603
+ // },
3604
+ {
3605
+ title: "",
3606
+ w: 45 / 1333 * 100 + "%",
3607
+ key: "buttonSlot",
3608
+ show: true
3609
+ }]); // 更新th
3423
3610
 
3424
- case 1:
3425
- case "end":
3426
- return _context2.stop();
3611
+ var upth = function upth(val) {
3612
+ th.value = val;
3613
+ }; //获取指定记录
3614
+
3615
+
3616
+ function sendItem(_x) {
3617
+ return _sendItem.apply(this, arguments);
3618
+ }
3619
+ /**
3620
+ * 分页-------------------------------------
3621
+ * */
3622
+
3623
+
3624
+ function _sendItem() {
3625
+ _sendItem = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(item) {
3626
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
3627
+ while (1) {
3628
+ switch (_context3.prev = _context3.next) {
3629
+ case 0:
3630
+ emit("getItem", JSON.stringify(item));
3631
+ inputV.value = false;
3632
+
3633
+ case 2:
3634
+ case "end":
3635
+ return _context3.stop();
3636
+ }
3427
3637
  }
3638
+ }, _callee3);
3639
+ }));
3640
+ return _sendItem.apply(this, arguments);
3641
+ }
3642
+
3643
+ var currentPages = vue.ref(1);
3644
+ var topCurrentPages = vue.ref(1);
3645
+ var topPages = vue.ref(0);
3646
+ var topSelectPages = vue.ref(1);
3647
+ var totalPages = vue.ref(0); // 重置搜索分页
3648
+
3649
+ function resetPagination() {
3650
+ formData.skipCount = 0;
3651
+ currentPages.value = 1;
3652
+ topCurrentPages.value = 1;
3653
+ topPages.value = 0;
3654
+ topSelectPages.value = 1;
3655
+ }
3656
+
3657
+ function onPageChange(current, pageSize) {
3658
+ topCurrentPages.value = current;
3659
+ topSelectPages.value = current;
3660
+ currentPages.value = current;
3661
+ formData.skipCount = (current - 1) * pageSize;
3662
+ formData.maxResultCount = pageSize;
3663
+ getData({
3664
+ params: formData
3665
+ });
3666
+ }
3667
+
3668
+ function onShowSizeChange(current, pageSize) {
3669
+ topCurrentPages.value = current;
3670
+ topSelectPages.value = current;
3671
+ formData.maxResultCount = pageSize;
3672
+ getData({
3673
+ params: formData
3674
+ });
3675
+ }
3676
+
3677
+ function onSelectTopPage(id) {
3678
+ topSelectPages.value = id;
3679
+ currentPages.value = id;
3680
+ onPageChange(id, formData.maxResultCount);
3681
+ }
3682
+
3683
+ function onSearch() {
3684
+ resetPagination();
3685
+ getData({
3686
+ params: formData
3687
+ });
3688
+ }
3689
+
3690
+ vue.onBeforeMount(function () {
3691
+ getContractList({
3692
+ params: {
3693
+ statuses: 1
3428
3694
  }
3429
- }, _callee2);
3430
- })));
3695
+ });
3696
+ getData({
3697
+ params: formData
3698
+ });
3699
+ });
3700
+ var inputV = vue.computed({
3701
+ get: function get() {
3702
+ return props.show;
3703
+ },
3704
+ set: function set(value) {
3705
+ emit("update:show", value);
3706
+ }
3707
+ });
3431
3708
  return function (_ctx, _cache) {
3432
3709
  var _component_a_select = vue.resolveComponent("a-select");
3433
3710
 
3434
- var _component_a_form_item = vue.resolveComponent("a-form-item");
3711
+ var _component_a_input = vue.resolveComponent("a-input");
3435
3712
 
3436
- return vue.openBlock(), vue.createBlock(_component_a_form_item, {
3437
- name: __props.name,
3438
- "label-col": __props.labelCol,
3439
- "wrapper-col": __props.wrapperCol,
3440
- rules: [{
3441
- required: __props.isRequired,
3442
- message: '请选择' + __props.title
3443
- }],
3444
- style: vue.normalizeStyle(__props.formItemStyle),
3445
- colon: __props.isTitle
3713
+ var _component_a_button = vue.resolveComponent("a-button");
3714
+
3715
+ var _component_DownOutlined = vue.resolveComponent("DownOutlined");
3716
+
3717
+ var _component_a_menu_item = vue.resolveComponent("a-menu-item");
3718
+
3719
+ var _component_a_menu = vue.resolveComponent("a-menu");
3720
+
3721
+ var _component_a_dropdown = vue.resolveComponent("a-dropdown");
3722
+
3723
+ return vue.openBlock(), vue.createBlock(script$o, {
3724
+ show: vue.unref(inputV),
3725
+ "onUpdate:show": _cache[4] || (_cache[4] = function ($event) {
3726
+ return vue.isRef(inputV) ? inputV.value = $event : null;
3727
+ }),
3728
+ "remove-padding": false
3446
3729
  }, {
3447
- label: vue.withCtx(function () {
3448
- return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, vue.toDisplayString(__props.title), 1
3449
- /* TEXT */
3450
- )) : vue.createCommentVNode("v-if", true)];
3730
+ title: vue.withCtx(function () {
3731
+ return [vue.createElementVNode("div", _hoisted_1$b, [vue.createVNode(script$c), _hoisted_2$7])];
3451
3732
  }),
3452
- "default": vue.withCtx(function () {
3453
- return [vue.createVNode(_component_a_select, vue.mergeProps(_ctx.$attrs, {
3733
+ body: vue.withCtx(function () {
3734
+ return [vue.createElementVNode("div", _hoisted_3$6, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4$6, [vue.createElementVNode("div", _hoisted_5$6, [vue.createVNode(vue.unref(script$i), {
3735
+ value: formData.setOfBookId,
3736
+ "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
3737
+ return formData.setOfBookId = $event;
3738
+ }),
3739
+ onChange: onSearch,
3740
+ multiple: false,
3741
+ "is-required": false,
3742
+ "is-title": false,
3743
+ placeholder: "请选择账套",
3744
+ "input-style": {
3745
+ width: '300px',
3746
+ marginRight: '15px'
3747
+ },
3748
+ "form-item-style": {
3749
+ marginBottom: '0'
3750
+ }
3751
+ }, null, 8
3752
+ /* PROPS */
3753
+ , ["value"]), vue.createVNode(_component_a_select, {
3754
+ value: formData.contractId,
3755
+ "onUpdate:value": _cache[1] || (_cache[1] = function ($event) {
3756
+ return formData.contractId = $event;
3757
+ }),
3454
3758
  getPopupContainer: function getPopupContainer(triggerNode) {
3455
3759
  return triggerNode.parentNode;
3456
3760
  },
3457
- value: vue.unref(inputV),
3458
- "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
3459
- return vue.isRef(inputV) ? inputV.value = $event : null;
3460
- }),
3461
- style: __props.inputStyle,
3462
- placeholder: __props.placeholder,
3463
- options: dataV.value,
3464
- mode: __props.multiple ? 'multiple' : '',
3465
- fieldNames: __props.fieldNames,
3761
+ "show-search": "",
3762
+ allowClear: "",
3763
+ style: {
3764
+ "width": "300px",
3765
+ "margin-right": "15px"
3766
+ },
3767
+ placeholder: "请选择合同",
3466
3768
  showSearch: "",
3467
- allowClear: !__props.isRequired,
3468
- onChange: _cache[1] || (_cache[1] = function ($event) {
3469
- return _ctx.$emit('change', $event);
3769
+ "filter-option": vue.unref(filterOptionHeadle),
3770
+ showArrow: true,
3771
+ onChange: onSearch,
3772
+ options: contractList.value,
3773
+ fieldNames: {
3774
+ label: 'name',
3775
+ value: 'id'
3776
+ }
3777
+ }, null, 8
3778
+ /* PROPS */
3779
+ , ["value", "getPopupContainer", "filter-option", "options"]), vue.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 /> "), vue.createVNode(_component_a_input, {
3780
+ value: formData.key,
3781
+ "onUpdate:value": _cache[2] || (_cache[2] = function ($event) {
3782
+ return formData.key = $event;
3470
3783
  }),
3471
- "filter-option": vue.unref(filterOptionHeadle)
3472
- }), null, 16
3473
- /* FULL_PROPS */
3474
- , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filter-option"])];
3784
+ style: {
3785
+ "width": "300px",
3786
+ "margin-right": "15px"
3787
+ },
3788
+ "class": "mr-4",
3789
+ placeholder: "请输入项目名称",
3790
+ onKeyup: vue.withKeys(onSearch, ["enter"])
3791
+ }, null, 8
3792
+ /* PROPS */
3793
+ , ["value", "onKeyup"]), vue.createVNode(_component_a_button, {
3794
+ style: {
3795
+ "padding": "4px 10px",
3796
+ "border-radius": "4px",
3797
+ "background": "#006ab2",
3798
+ "margin-right": "15px",
3799
+ "color": "#fff"
3800
+ },
3801
+ onClick: onSearch
3802
+ }, {
3803
+ "default": vue.withCtx(function () {
3804
+ return [_hoisted_6$5];
3805
+ }),
3806
+ _: 1
3807
+ /* STABLE */
3808
+
3809
+ })])]), vue.createCommentVNode(" 主体 "), vue.createElementVNode("div", _hoisted_7$5, [vue.createCommentVNode(" 分页 "), vue.createElementVNode("div", _hoisted_8$5, [vue.createElementVNode("div", _hoisted_9$4, [_hoisted_10$4, vue.createElementVNode("span", _hoisted_11$4, vue.toDisplayString(totalPages.value), 1
3810
+ /* TEXT */
3811
+ ), _hoisted_12$4, vue.createElementVNode("span", _hoisted_13$4, vue.toDisplayString(topCurrentPages.value), 1
3812
+ /* TEXT */
3813
+ ), _hoisted_14$4, vue.createVNode(_component_a_dropdown, {
3814
+ trigger: ['click']
3815
+ }, {
3816
+ overlay: vue.withCtx(function () {
3817
+ return [vue.createVNode(_component_a_menu, {
3818
+ getPopupContainer: function getPopupContainer(triggerNode) {
3819
+ return triggerNode.parentNode;
3820
+ },
3821
+ "class": "max-h-40 overflow-y-auto scrollbar"
3822
+ }, {
3823
+ "default": vue.withCtx(function () {
3824
+ return [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(topPages.value, function (e) {
3825
+ return vue.openBlock(), vue.createBlock(_component_a_menu_item, {
3826
+ key: e,
3827
+ onClick: function onClick($event) {
3828
+ return onSelectTopPage(e);
3829
+ }
3830
+ }, {
3831
+ "default": vue.withCtx(function () {
3832
+ return [vue.createTextVNode(vue.toDisplayString(e), 1
3833
+ /* TEXT */
3834
+ )];
3835
+ }),
3836
+ _: 2
3837
+ /* DYNAMIC */
3838
+
3839
+ }, 1032
3840
+ /* PROPS, DYNAMIC_SLOTS */
3841
+ , ["onClick"]);
3842
+ }), 128
3843
+ /* KEYED_FRAGMENT */
3844
+ ))];
3845
+ }),
3846
+ _: 1
3847
+ /* STABLE */
3848
+
3849
+ }, 8
3850
+ /* PROPS */
3851
+ , ["getPopupContainer"])];
3852
+ }),
3853
+ "default": vue.withCtx(function () {
3854
+ return [vue.createElementVNode("a", {
3855
+ "class": "pl-2 ant-dropdown-link border-b border-[#BD9E55]",
3856
+ onClick: _cache[3] || (_cache[3] = vue.withModifiers(function () {}, ["prevent"]))
3857
+ }, [vue.createElementVNode("span", _hoisted_15$4, vue.toDisplayString(topSelectPages.value), 1
3858
+ /* TEXT */
3859
+ ), vue.createVNode(_component_DownOutlined, {
3860
+ "class": "align-middle ml-1 mb-[4px]",
3861
+ style: {
3862
+ "font-size": "16px"
3863
+ }
3864
+ })])];
3865
+ }),
3866
+ _: 1
3867
+ /* STABLE */
3868
+
3869
+ }), _hoisted_16$4])]), vue.createElementVNode("div", _hoisted_17$4, [vue.createVNode(vue.unref(script$n), {
3870
+ dataTh: vue.unref(th),
3871
+ contractExecDocList: dataV.value,
3872
+ currentPages: currentPages.value,
3873
+ totalPages: totalPages.value,
3874
+ formData: formData,
3875
+ setHeight: 40,
3876
+ isTableControl: false,
3877
+ onOnPageChange: onPageChange,
3878
+ onOnShowSizeChange: onShowSizeChange,
3879
+ onUpth: upth
3880
+ }, {
3881
+ buttonSlot: vue.withCtx(function (buttonSlot) {
3882
+ return [vue.createElementVNode("div", _hoisted_18$4, [vue.createElementVNode("span", {
3883
+ "class": "cursor-pointer",
3884
+ onClick: function onClick($event) {
3885
+ return sendItem(buttonSlot.item);
3886
+ }
3887
+ }, "选择", 8
3888
+ /* PROPS */
3889
+ , _hoisted_19$4)])];
3890
+ }),
3891
+ _: 1
3892
+ /* STABLE */
3893
+
3894
+ }, 8
3895
+ /* PROPS */
3896
+ , ["dataTh", "contractExecDocList", "currentPages", "totalPages", "formData"])])])])];
3475
3897
  }),
3476
3898
  _: 1
3477
3899
  /* STABLE */
3478
3900
 
3479
3901
  }, 8
3480
3902
  /* PROPS */
3481
- , ["name", "label-col", "wrapper-col", "rules", "style", "colon"]);
3903
+ , ["show"]);
3482
3904
  };
3483
3905
  }
3484
3906
  });
3485
3907
 
3486
- script$c.__file = "src/business-ui/component/IVProjectSelector.vue";
3908
+ script$b.__file = "src/business-ui/component/IVProjectSelector.vue";
3487
3909
 
3488
- var _hoisted_1$b = {
3910
+ var _hoisted_1$a = {
3489
3911
  key: 0,
3490
3912
  "class": "text-[#0000006D] text-[14px]"
3491
3913
  };
3492
3914
 
3493
- var _hoisted_2$7 = /*#__PURE__*/vue.createElementVNode("span", {
3915
+ var _hoisted_2$6 = /*#__PURE__*/vue.createElementVNode("span", {
3494
3916
  "class": "absolute right-rull top-1/2 -translate-y-1/2 w-[480px] px-2 text-[#0000006D] text-[12px]"
3495
3917
  }, " 根据基本信息中的所属账套,筛选账套下的合同,同时状态是在建项目的工程项目合同 ", -1
3496
3918
  /* HOISTED */
@@ -3499,7 +3921,7 @@
3499
3921
  * 组件定义-------------------------------------
3500
3922
  * */
3501
3923
 
3502
- var script$b = /*#__PURE__*/vue.defineComponent({
3924
+ var script$a = /*#__PURE__*/vue.defineComponent({
3503
3925
  __name: 'IVMainContractSelector',
3504
3926
  props: {
3505
3927
  value: {
@@ -3678,7 +4100,7 @@
3678
4100
  colon: __props.isTitle
3679
4101
  }, {
3680
4102
  label: vue.withCtx(function () {
3681
- return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, vue.toDisplayString(__props.title), 1
4103
+ return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, vue.toDisplayString(__props.title), 1
3682
4104
  /* TEXT */
3683
4105
  )) : vue.createCommentVNode("v-if", true)];
3684
4106
  }),
@@ -3704,7 +4126,7 @@
3704
4126
  filterOption: vue.unref(filterOption)
3705
4127
  }), null, 16
3706
4128
  /* FULL_PROPS */
3707
- , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"]), _hoisted_2$7];
4129
+ , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"]), _hoisted_2$6];
3708
4130
  }),
3709
4131
  _: 1
3710
4132
  /* STABLE */
@@ -3716,9 +4138,9 @@
3716
4138
  }
3717
4139
  });
3718
4140
 
3719
- script$b.__file = "src/business-ui/component/IVMainContractSelector.vue";
4141
+ script$a.__file = "src/business-ui/component/IVMainContractSelector.vue";
3720
4142
 
3721
- var _hoisted_1$a = {
4143
+ var _hoisted_1$9 = {
3722
4144
  key: 0,
3723
4145
  "class": "text-[#0000006D] text-[14px]"
3724
4146
  };
@@ -3726,7 +4148,7 @@
3726
4148
  * 组件定义-------------------------------------
3727
4149
  * */
3728
4150
 
3729
- var script$a = /*#__PURE__*/vue.defineComponent({
4151
+ var script$9 = /*#__PURE__*/vue.defineComponent({
3730
4152
  __name: 'IVInnerContractSelector',
3731
4153
  props: {
3732
4154
  value: {
@@ -3853,6 +4275,9 @@
3853
4275
  emit("update:value", value);
3854
4276
  }
3855
4277
  });
4278
+ var filterOption = vue.computed(function () {
4279
+ return filterOptionHeadle(props.fieldNames.label);
4280
+ });
3856
4281
  /**
3857
4282
  * 侦听器-------------------------------------
3858
4283
  * */
@@ -3897,7 +4322,7 @@
3897
4322
  colon: __props.isTitle
3898
4323
  }, {
3899
4324
  label: vue.withCtx(function () {
3900
- return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, vue.toDisplayString(__props.title), 1
4325
+ return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, vue.toDisplayString(__props.title), 1
3901
4326
  /* TEXT */
3902
4327
  )) : vue.createCommentVNode("v-if", true)];
3903
4328
  }),
@@ -3920,10 +4345,10 @@
3920
4345
  onChange: _cache[1] || (_cache[1] = function ($event) {
3921
4346
  return _ctx.$emit('change', $event);
3922
4347
  }),
3923
- "filter-option": vue.unref(filterOptionHeadle)
4348
+ filterOption: vue.unref(filterOption)
3924
4349
  }), null, 16
3925
4350
  /* FULL_PROPS */
3926
- , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filter-option"])];
4351
+ , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"])];
3927
4352
  }),
3928
4353
  _: 1
3929
4354
  /* STABLE */
@@ -3935,9 +4360,9 @@
3935
4360
  }
3936
4361
  });
3937
4362
 
3938
- script$a.__file = "src/business-ui/component/IVInnerContractSelector.vue";
4363
+ script$9.__file = "src/business-ui/component/IVInnerContractSelector.vue";
3939
4364
 
3940
- var _hoisted_1$9 = {
4365
+ var _hoisted_1$8 = {
3941
4366
  key: 0,
3942
4367
  "class": "text-[#0000006D] text-[14px]"
3943
4368
  };
@@ -3945,7 +4370,7 @@
3945
4370
  * 组件定义-------------------------------------
3946
4371
  * */
3947
4372
 
3948
- var script$9 = /*#__PURE__*/vue.defineComponent({
4373
+ var script$8 = /*#__PURE__*/vue.defineComponent({
3949
4374
  __name: 'IVOuterContractSelector',
3950
4375
  props: {
3951
4376
  value: {
@@ -4072,6 +4497,9 @@
4072
4497
  emit("update:value", value);
4073
4498
  }
4074
4499
  });
4500
+ var filterOption = vue.computed(function () {
4501
+ return filterOptionHeadle(props.fieldNames.label);
4502
+ });
4075
4503
  /**
4076
4504
  * 侦听器-------------------------------------
4077
4505
  * */
@@ -4116,7 +4544,7 @@
4116
4544
  colon: __props.isTitle
4117
4545
  }, {
4118
4546
  label: vue.withCtx(function () {
4119
- return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, vue.toDisplayString(__props.title), 1
4547
+ return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$8, vue.toDisplayString(__props.title), 1
4120
4548
  /* TEXT */
4121
4549
  )) : vue.createCommentVNode("v-if", true)];
4122
4550
  }),
@@ -4139,10 +4567,10 @@
4139
4567
  onChange: _cache[1] || (_cache[1] = function ($event) {
4140
4568
  return _ctx.$emit('change', $event);
4141
4569
  }),
4142
- "filter-option": vue.unref(filterOptionHeadle)
4570
+ filterOption: vue.unref(filterOption)
4143
4571
  }), null, 16
4144
4572
  /* FULL_PROPS */
4145
- , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filter-option"])];
4573
+ , ["getPopupContainer", "value", "style", "placeholder", "options", "mode", "fieldNames", "allowClear", "filterOption"])];
4146
4574
  }),
4147
4575
  _: 1
4148
4576
  /* STABLE */
@@ -4154,17 +4582,17 @@
4154
4582
  }
4155
4583
  });
4156
4584
 
4157
- script$9.__file = "src/business-ui/component/IVOuterContractSelector.vue";
4585
+ script$8.__file = "src/business-ui/component/IVOuterContractSelector.vue";
4158
4586
 
4159
4587
  var _withScopeId$1 = function _withScopeId(n) {
4160
4588
  return vue.pushScopeId("data-v-44290c60"), n = n(), vue.popScopeId(), n;
4161
4589
  };
4162
4590
 
4163
- var _hoisted_1$8 = {
4591
+ var _hoisted_1$7 = {
4164
4592
  "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
4165
4593
  };
4166
4594
 
4167
- var _hoisted_2$6 = /*#__PURE__*/_withScopeId$1(function () {
4595
+ var _hoisted_2$5 = /*#__PURE__*/_withScopeId$1(function () {
4168
4596
  return /*#__PURE__*/vue.createElementVNode("span", {
4169
4597
  "class": "text-xl text-[#bd9e55] pl-2"
4170
4598
  }, "高拍仪", -1
@@ -4172,11 +4600,11 @@
4172
4600
  );
4173
4601
  });
4174
4602
 
4175
- var _hoisted_3$6 = {
4603
+ var _hoisted_3$5 = {
4176
4604
  "class": "Altimeter"
4177
4605
  };
4178
4606
 
4179
- var _hoisted_4$6 = /*#__PURE__*/_withScopeId$1(function () {
4607
+ var _hoisted_4$5 = /*#__PURE__*/_withScopeId$1(function () {
4180
4608
  return /*#__PURE__*/vue.createElementVNode("div", {
4181
4609
  "class": "text-[#0000006D] mt-2 text-[14px]"
4182
4610
  }, "上传图片:", -1
@@ -4184,10 +4612,10 @@
4184
4612
  );
4185
4613
  });
4186
4614
 
4187
- var _hoisted_5$6 = {
4615
+ var _hoisted_5$5 = {
4188
4616
  "class": "imgBox mt-8 ml-[-58px]"
4189
4617
  };
4190
- var script$8 = /*#__PURE__*/vue.defineComponent({
4618
+ var script$7 = /*#__PURE__*/vue.defineComponent({
4191
4619
  __name: 'Altimeter',
4192
4620
  props: {
4193
4621
  // 是否显示弹窗
@@ -4365,12 +4793,12 @@
4365
4793
  onCancelHandle: cancelHandle
4366
4794
  }, {
4367
4795
  title: vue.withCtx(function () {
4368
- return [vue.createElementVNode("div", _hoisted_1$8, [vue.createVNode(_component_UnorderedListOutlined, {
4796
+ return [vue.createElementVNode("div", _hoisted_1$7, [vue.createVNode(_component_UnorderedListOutlined, {
4369
4797
  "class": "text-xl text-[#bd9e55]"
4370
- }), _hoisted_2$6])];
4798
+ }), _hoisted_2$5])];
4371
4799
  }),
4372
4800
  body: vue.withCtx(function () {
4373
- return [vue.createElementVNode("div", _hoisted_3$6, [vue.createElementVNode("iframe", {
4801
+ return [vue.createElementVNode("div", _hoisted_3$5, [vue.createElementVNode("iframe", {
4374
4802
  src: "/node_modules/iv-npm/packages/ui/dist/Altimeter/index.html",
4375
4803
  id: "iframe",
4376
4804
  ref_key: "iframe",
@@ -4380,7 +4808,7 @@
4380
4808
  onLoad: load
4381
4809
  }, null, 544
4382
4810
  /* HYDRATE_EVENTS, NEED_PATCH */
4383
- ), _hoisted_4$6, vue.createElementVNode("div", _hoisted_5$6, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pictures.value, function (e, i) {
4811
+ ), _hoisted_4$5, vue.createElementVNode("div", _hoisted_5$5, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pictures.value, function (e, i) {
4384
4812
  return vue.openBlock(), vue.createElementBlock("div", {
4385
4813
  key: i,
4386
4814
  "class": "imgList"
@@ -4410,21 +4838,21 @@
4410
4838
  }
4411
4839
  });
4412
4840
 
4413
- script$8.__scopeId = "data-v-44290c60";
4414
- script$8.__file = "src/business-ui/component/Altimeter.vue";
4841
+ script$7.__scopeId = "data-v-44290c60";
4842
+ script$7.__file = "src/business-ui/component/Altimeter.vue";
4415
4843
 
4416
4844
  var _withScopeId = function _withScopeId(n) {
4417
4845
  return vue.pushScopeId("data-v-3f5c8a23"), n = n(), vue.popScopeId(), n;
4418
4846
  };
4419
4847
 
4420
- var _hoisted_1$7 = {
4848
+ var _hoisted_1$6 = {
4421
4849
  "class": "MrpUpload"
4422
4850
  };
4423
- var _hoisted_2$5 = {
4851
+ var _hoisted_2$4 = {
4424
4852
  key: 0
4425
4853
  };
4426
4854
 
4427
- var _hoisted_3$5 = /*#__PURE__*/_withScopeId(function () {
4855
+ var _hoisted_3$4 = /*#__PURE__*/_withScopeId(function () {
4428
4856
  return /*#__PURE__*/vue.createElementVNode("img", {
4429
4857
  src: "https://stec.oss-cn-shanghai.aliyuncs.com/host/purchasecontract/2022-8-16/85429f9734db4d1385af4c84d75cc99e.png",
4430
4858
  style: {
@@ -4435,7 +4863,7 @@
4435
4863
  );
4436
4864
  });
4437
4865
 
4438
- var _hoisted_4$5 = /*#__PURE__*/_withScopeId(function () {
4866
+ var _hoisted_4$4 = /*#__PURE__*/_withScopeId(function () {
4439
4867
  return /*#__PURE__*/vue.createElementVNode("div", {
4440
4868
  "class": "ant-upload-text"
4441
4869
  }, "电脑文件上传", -1
@@ -4443,12 +4871,12 @@
4443
4871
  );
4444
4872
  });
4445
4873
 
4446
- var _hoisted_5$5 = [_hoisted_3$5, _hoisted_4$5];
4447
- var _hoisted_6$5 = {
4874
+ var _hoisted_5$4 = [_hoisted_3$4, _hoisted_4$4];
4875
+ var _hoisted_6$4 = {
4448
4876
  key: 1
4449
4877
  };
4450
4878
 
4451
- var _hoisted_7$5 = /*#__PURE__*/vue.createTextVNode(" 上传 ");
4879
+ var _hoisted_7$4 = /*#__PURE__*/vue.createTextVNode(" 上传 ");
4452
4880
 
4453
4881
  var _hoisted_8$4 = ["src"];
4454
4882
  /**
@@ -4463,7 +4891,7 @@
4463
4891
  * @uploadChange:Function({ file: tempFile, fileList: tempFileList } 上传列表改变事件
4464
4892
  */
4465
4893
 
4466
- var script$7 = /*#__PURE__*/vue.defineComponent({
4894
+ var script$6 = /*#__PURE__*/vue.defineComponent({
4467
4895
  __name: 'IVFileUpload',
4468
4896
  props: {
4469
4897
  uploadApi: {
@@ -4740,7 +5168,7 @@
4740
5168
 
4741
5169
  var _component_a_modal = vue.resolveComponent("a-modal");
4742
5170
 
4743
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [vue.createElementVNode("div", _hoisted_1$7, [vue.createVNode(_component_a_upload, {
5171
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [vue.createElementVNode("div", _hoisted_1$6, [vue.createVNode(_component_a_upload, {
4744
5172
  "file-list": fileList.value,
4745
5173
  "onUpdate:file-list": _cache[0] || (_cache[0] = function ($event) {
4746
5174
  return fileList.value = $event;
@@ -4755,9 +5183,9 @@
4755
5183
  "default": vue.withCtx(function () {
4756
5184
  return [!__props.mini && __props.listType === 'picture-card' ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
4757
5185
  key: 0
4758
- }, [vue.createCommentVNode(" :class=\"[listType === 'picture' ? 'upload-list-inline' : '']\" "), fileList.value.length < __props.uploadLength ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$5, _hoisted_5$5)) : vue.createCommentVNode("v-if", true)], 64
5186
+ }, [vue.createCommentVNode(" :class=\"[listType === 'picture' ? 'upload-list-inline' : '']\" "), fileList.value.length < __props.uploadLength ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$4, _hoisted_5$4)) : vue.createCommentVNode("v-if", true)], 64
4759
5187
  /* STABLE_FRAGMENT */
4760
- )) : __props.listType === 'icon' ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$5, [vue.createVNode(_component_instagram_outlined, {
5188
+ )) : __props.listType === 'icon' ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$4, [vue.createVNode(_component_instagram_outlined, {
4761
5189
  "class": "text-[22px] text-[#006AB2] cursor-pointer mt-1",
4762
5190
  onClick: _ctx.onUploadInvoice
4763
5191
  }, null, 8
@@ -4766,7 +5194,7 @@
4766
5194
  key: 2
4767
5195
  }, {
4768
5196
  "default": vue.withCtx(function () {
4769
- return [vue.createVNode(_component_upload_outlined), _hoisted_7$5];
5197
+ return [vue.createVNode(_component_upload_outlined), _hoisted_7$4];
4770
5198
  }),
4771
5199
  _: 1
4772
5200
  /* STABLE */
@@ -4799,7 +5227,7 @@
4799
5227
 
4800
5228
  }, 8
4801
5229
  /* PROPS */
4802
- , ["visible"]), __props.showAltimeter ? (vue.openBlock(), vue.createBlock(script$8, {
5230
+ , ["visible"]), __props.showAltimeter ? (vue.openBlock(), vue.createBlock(script$7, {
4803
5231
  key: 0,
4804
5232
  show: isAltimeter.value,
4805
5233
  "onUpdate:show": _cache[1] || (_cache[1] = function ($event) {
@@ -4815,10 +5243,10 @@
4815
5243
  }
4816
5244
  });
4817
5245
 
4818
- script$7.__scopeId = "data-v-3f5c8a23";
4819
- script$7.__file = "src/business-ui/component/IVFileUpload.vue";
5246
+ script$6.__scopeId = "data-v-3f5c8a23";
5247
+ script$6.__file = "src/business-ui/component/IVFileUpload.vue";
4820
5248
 
4821
- var script$6 = {
5249
+ var script$5 = {
4822
5250
  name: "time",
4823
5251
  props: {
4824
5252
  timeType: Number
@@ -4927,15 +5355,15 @@
4927
5355
  }
4928
5356
  };
4929
5357
 
4930
- var _hoisted_1$6 = {
5358
+ var _hoisted_1$5 = {
4931
5359
  "class": "Mrp-time text-[18px] flex items-center"
4932
5360
  };
4933
- function render$1(_ctx, _cache, $props, $setup, $data, $options) {
5361
+ function render(_ctx, _cache, $props, $setup, $data, $options) {
4934
5362
  var _component_a_radio_button = vue.resolveComponent("a-radio-button");
4935
5363
  var _component_a_radio_group = vue.resolveComponent("a-radio-group");
4936
5364
  var _component_FieldTimeOutlined = vue.resolveComponent("FieldTimeOutlined");
4937
5365
  var _component_a_range_picker = vue.resolveComponent("a-range-picker");
4938
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [vue.createVNode(_component_a_radio_group, {
5366
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [vue.createVNode(_component_a_radio_group, {
4939
5367
  value: $setup.activeBtn,
4940
5368
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
4941
5369
  return $setup.activeBtn = $event;
@@ -4985,69 +5413,9 @@
4985
5413
  , ["value", "onChange"])]);
4986
5414
  }
4987
5415
 
4988
- script$6.render = render$1;
4989
- script$6.__scopeId = "data-v-5f0fe252";
4990
- script$6.__file = "src/business-ui/component/IVTimeSelector.vue";
4991
-
4992
- var _hoisted_1$5 = {
4993
- style: {
4994
- "position": "relative",
4995
- "margin-top": "8px",
4996
- "width": "30px",
4997
- "height": "23px"
4998
- }
4999
- };
5000
- var _hoisted_2$4 = {
5001
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
5002
- xmlns: "http://www.w3.org/2000/svg",
5003
- version: "1.1",
5004
- width: "23px",
5005
- height: "23px",
5006
- style: {
5007
- "position": "absolute"
5008
- }
5009
- };
5010
- var _hoisted_3$4 = vue.createElementVNode("g", {
5011
- transform: "matrix(1 0 0 1 -256 -275 )"
5012
- }, [vue.createElementVNode("path", {
5013
- 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 ",
5014
- "fill-rule": "nonzero",
5015
- fill: "#bd9e55",
5016
- stroke: "none",
5017
- transform: "matrix(1 0 0 1 256 275 )"
5018
- })], -1
5019
- );
5020
- var _hoisted_4$4 = [_hoisted_3$4];
5021
- var _hoisted_5$4 = {
5022
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
5023
- xmlns: "http://www.w3.org/2000/svg",
5024
- version: "1.1",
5025
- width: "23px",
5026
- height: "23px",
5027
- style: {
5028
- "position": "absolute",
5029
- "left": "7px",
5030
- "bottom": "7px"
5031
- }
5032
- };
5033
- var _hoisted_6$4 = vue.createElementVNode("g", {
5034
- transform: "matrix(1 0 0 1 -263 -268 )"
5035
- }, [vue.createElementVNode("path", {
5036
- 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 ",
5037
- "fill-rule": "nonzero",
5038
- fill: "#bd9e55",
5039
- stroke: "none",
5040
- transform: "matrix(1 0 0 1 263 268 )"
5041
- })], -1
5042
- );
5043
- var _hoisted_7$4 = [_hoisted_6$4];
5044
- function render(_ctx, _cache) {
5045
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [(vue.openBlock(), vue.createElementBlock("svg", _hoisted_2$4, _hoisted_4$4)), (vue.openBlock(), vue.createElementBlock("svg", _hoisted_5$4, _hoisted_7$4))]);
5046
- }
5047
-
5048
- var script$5 = {};
5049
5416
  script$5.render = render;
5050
- script$5.__file = "src/business-ui/component/icon/SelectorIcon.vue";
5417
+ script$5.__scopeId = "data-v-5f0fe252";
5418
+ script$5.__file = "src/business-ui/component/IVTimeSelector.vue";
5051
5419
 
5052
5420
  var _hoisted_1$4 = {
5053
5421
  "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
@@ -5381,7 +5749,7 @@
5381
5749
  "remove-padding": false
5382
5750
  }, {
5383
5751
  title: vue.withCtx(function () {
5384
- return [vue.createElementVNode("div", _hoisted_1$4, [vue.createVNode(script$5), _hoisted_2$3])];
5752
+ return [vue.createElementVNode("div", _hoisted_1$4, [vue.createVNode(script$c), _hoisted_2$3])];
5385
5753
  }),
5386
5754
  body: vue.withCtx(function () {
5387
5755
  return [vue.createElementVNode("div", _hoisted_3$3, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4$3, [vue.createElementVNode("div", _hoisted_5$3, [vue.createVNode(_component_a_input, {
@@ -6014,7 +6382,7 @@
6014
6382
  "remove-padding": false
6015
6383
  }, {
6016
6384
  title: vue.withCtx(function () {
6017
- return [vue.createElementVNode("div", _hoisted_1$2, [vue.createVNode(script$5), _hoisted_2$2])];
6385
+ return [vue.createElementVNode("div", _hoisted_1$2, [vue.createVNode(script$c), _hoisted_2$2])];
6018
6386
  }),
6019
6387
  body: vue.withCtx(function () {
6020
6388
  return [vue.createElementVNode("div", _hoisted_3$2, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4$2, [vue.createElementVNode("div", _hoisted_5$2, [vue.createVNode(vue.unref(script$l), {
@@ -6599,7 +6967,7 @@
6599
6967
  "remove-padding": false
6600
6968
  }, {
6601
6969
  title: vue.withCtx(function () {
6602
- return [vue.createElementVNode("div", _hoisted_1$1, [vue.createVNode(script$5), _hoisted_2$1])];
6970
+ return [vue.createElementVNode("div", _hoisted_1$1, [vue.createVNode(script$c), _hoisted_2$1])];
6603
6971
  }),
6604
6972
  body: vue.withCtx(function () {
6605
6973
  return [vue.createElementVNode("div", _hoisted_3$1, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4$1, [vue.createElementVNode("div", _hoisted_5$1, [vue.createVNode(_component_a_select, {
@@ -7168,7 +7536,7 @@
7168
7536
  "remove-padding": false
7169
7537
  }, {
7170
7538
  title: vue.withCtx(function () {
7171
- return [vue.createElementVNode("div", _hoisted_1, [vue.createVNode(script$5), _hoisted_2])];
7539
+ return [vue.createElementVNode("div", _hoisted_1, [vue.createVNode(script$c), _hoisted_2])];
7172
7540
  }),
7173
7541
  body: vue.withCtx(function () {
7174
7542
  return [vue.createElementVNode("div", _hoisted_3, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4, [vue.createElementVNode("div", _hoisted_5, [vue.createVNode(_component_a_input, {
@@ -7309,7 +7677,7 @@
7309
7677
 
7310
7678
  script.__file = "src/business-ui/component/IVMaterialSelector.vue";
7311
7679
 
7312
- 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];
7680
+ 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];
7313
7681
  installComponents(); // 单独引用
7314
7682
 
7315
7683
  function installComponents() {
@@ -7333,25 +7701,25 @@
7333
7701
  };
7334
7702
 
7335
7703
  exports.IVClientSelector = script$4;
7336
- exports.IVFileUpload = script$7;
7337
- exports.IVInnerContractSelector = script$a;
7704
+ exports.IVFileUpload = script$6;
7705
+ exports.IVInnerContractSelector = script$9;
7338
7706
  exports.IVLineDropdown = script$j;
7339
- exports.IVMainContractSelector = script$b;
7707
+ exports.IVMainContractSelector = script$a;
7340
7708
  exports.IVManagDropdown = script$g;
7341
7709
  exports.IVMaterialSelector = script;
7342
7710
  exports.IVMaterialTypeDropdown = script$d;
7343
7711
  exports.IVModal = script$o;
7344
7712
  exports.IVOrgDropdown = script$l;
7345
- exports.IVOuterContractSelector = script$9;
7713
+ exports.IVOuterContractSelector = script$8;
7346
7714
  exports.IVPaytypeSelector = script$3;
7347
7715
  exports.IVPostDropdown = script$h;
7348
7716
  exports.IVProdBaseDropdown = script$k;
7349
- exports.IVProjectSelector = script$c;
7717
+ exports.IVProjectSelector = script$b;
7350
7718
  exports.IVRateDropdown = script$f;
7351
7719
  exports.IVSetofbookDropdown = script$i;
7352
7720
  exports.IVTable = script$n;
7353
7721
  exports.IVTableControl = script$m;
7354
- exports.IVTimeSelector = script$6;
7722
+ exports.IVTimeSelector = script$5;
7355
7723
  exports.IVUnitDropdown = script$e;
7356
7724
  exports.IVUserSelector = script$2;
7357
7725
  exports.IVVendorSelector = script$1;