iv-npm 1.1.46 → 1.1.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
6
 
7
- var _hoisted_1$b = {
7
+ var _hoisted_1$d = {
8
8
  id: "IVMrpModal"
9
9
  };
10
10
  /**
@@ -21,7 +21,7 @@ var _hoisted_1$b = {
21
21
  *
22
22
  * */
23
23
 
24
- var script$d = /*#__PURE__*/vue.defineComponent({
24
+ var script$f = /*#__PURE__*/vue.defineComponent({
25
25
  __name: 'IVMrpModal',
26
26
  props: {
27
27
  show: {
@@ -51,7 +51,7 @@ var script$d = /*#__PURE__*/vue.defineComponent({
51
51
 
52
52
  var _component_a_modal = vue.resolveComponent("a-modal");
53
53
 
54
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, [vue.createVNode(_component_a_modal, {
54
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [vue.createVNode(_component_a_modal, {
55
55
  wrapClassName: [__props.removePadding ? '' : 'not-padding', 'module-class modal-components'],
56
56
  visible: vue.unref(inputV),
57
57
  "onUpdate:visible": _cache[0] || (_cache[0] = function ($event) {
@@ -81,7 +81,7 @@ var script$d = /*#__PURE__*/vue.defineComponent({
81
81
  }
82
82
  });
83
83
 
84
- script$d.__file = "src/function-ui/component/IVMrpModal.vue";
84
+ script$f.__file = "src/function-ui/component/IVMrpModal.vue";
85
85
 
86
86
  function ownKeys(object, enumerableOnly) {
87
87
  var keys = Object.keys(object);
@@ -515,24 +515,24 @@ function _defineProperty(obj, key, value) {
515
515
  return obj;
516
516
  }
517
517
 
518
- var _hoisted_1$a = {
518
+ var _hoisted_1$c = {
519
519
  key: 0,
520
520
  id: "top"
521
521
  };
522
- var _hoisted_2$4 = {
522
+ var _hoisted_2$5 = {
523
523
  "class": "flex items-center justify-center"
524
524
  };
525
- var _hoisted_3$4 = {
525
+ var _hoisted_3$5 = {
526
526
  key: 0,
527
527
  style: {
528
528
  "color": "#ff0066"
529
529
  }
530
530
  };
531
- var _hoisted_4$4 = {
531
+ var _hoisted_4$5 = {
532
532
  key: 0
533
533
  };
534
534
 
535
- var _hoisted_5$3 = /*#__PURE__*/vue.createElementVNode("div", {
535
+ var _hoisted_5$4 = /*#__PURE__*/vue.createElementVNode("div", {
536
536
  "class": "h-2 flex items-center"
537
537
  }, [/*#__PURE__*/vue.createElementVNode("span", {
538
538
  "class": "bg-[#d9d9d9] h-[1px] w-full"
@@ -540,39 +540,39 @@ var _hoisted_5$3 = /*#__PURE__*/vue.createElementVNode("div", {
540
540
  /* HOISTED */
541
541
  );
542
542
 
543
- var _hoisted_6$3 = {
543
+ var _hoisted_6$4 = {
544
544
  "class": "flex items-center justify-between h-1/2"
545
545
  };
546
- var _hoisted_7$3 = {
546
+ var _hoisted_7$4 = {
547
547
  key: 0,
548
548
  style: {
549
549
  "color": "#ff0066"
550
550
  }
551
551
  };
552
- var _hoisted_8$2 = {
552
+ var _hoisted_8$3 = {
553
553
  "class": "mrpTable",
554
554
  id: "IVMrpTable"
555
555
  };
556
- var _hoisted_9$2 = {
556
+ var _hoisted_9$3 = {
557
557
  "class": "relative w-full mb-[24px]",
558
558
  style: {
559
559
  "table-layout": "fixed"
560
560
  }
561
561
  };
562
- var _hoisted_10$2 = {
562
+ var _hoisted_10$3 = {
563
563
  "class": "flex items-center justify-center"
564
564
  };
565
- var _hoisted_11$2 = {
565
+ var _hoisted_11$3 = {
566
566
  key: 0,
567
567
  style: {
568
568
  "color": "#ff0066"
569
569
  }
570
570
  };
571
- var _hoisted_12$2 = {
571
+ var _hoisted_12$3 = {
572
572
  key: 1
573
573
  };
574
574
 
575
- var _hoisted_13$2 = /*#__PURE__*/vue.createElementVNode("div", {
575
+ var _hoisted_13$3 = /*#__PURE__*/vue.createElementVNode("div", {
576
576
  "class": "h-2 flex items-center"
577
577
  }, [/*#__PURE__*/vue.createElementVNode("span", {
578
578
  "class": "bg-[#d9d9d9] h-[1px] w-full"
@@ -580,34 +580,34 @@ var _hoisted_13$2 = /*#__PURE__*/vue.createElementVNode("div", {
580
580
  /* HOISTED */
581
581
  );
582
582
 
583
- var _hoisted_14$2 = {
583
+ var _hoisted_14$3 = {
584
584
  "class": "flex items-center justify-between h-1/2"
585
585
  };
586
- var _hoisted_15$2 = {
586
+ var _hoisted_15$3 = {
587
587
  key: 0,
588
588
  style: {
589
589
  "color": "#ff0066"
590
590
  }
591
591
  };
592
- var _hoisted_16$2 = {
592
+ var _hoisted_16$3 = {
593
593
  key: 0
594
594
  };
595
- var _hoisted_17$2 = {
595
+ var _hoisted_17$3 = {
596
596
  key: 1
597
597
  };
598
- var _hoisted_18$2 = {
598
+ var _hoisted_18$3 = {
599
599
  key: 2,
600
600
  "class": "flex justify-center items-center relative"
601
601
  };
602
- var _hoisted_19$2 = {
602
+ var _hoisted_19$3 = {
603
603
  key: 1,
604
604
  "class": "table-footer"
605
605
  };
606
606
 
607
- var _hoisted_20$2 = /*#__PURE__*/vue.createStaticVNode("<div class=\"centent\"><svg class=\"ant-empty-img-simple\" width=\"64\" height=\"41\" viewBox=\"0 0 64 41\"><g transform=\"translate(0 1)\" fill=\"none\" fill-rule=\"evenodd\"><ellipse class=\"ant-empty-img-simple-ellipse\" fill=\"#F5F5F5\" cx=\"32\" cy=\"33\" rx=\"32\" ry=\"7\"></ellipse><g class=\"ant-empty-img-simple-g\" fill-rule=\"nonzero\" stroke=\"#D9D9D9\"><path d=\"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z\"></path><path d=\"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z\" fill=\"#FAFAFA\" class=\"ant-empty-img-simple-path\"></path></g></g></svg> 没有数据 </div>", 1);
607
+ var _hoisted_20$3 = /*#__PURE__*/vue.createStaticVNode("<div class=\"centent\"><svg class=\"ant-empty-img-simple\" width=\"64\" height=\"41\" viewBox=\"0 0 64 41\"><g transform=\"translate(0 1)\" fill=\"none\" fill-rule=\"evenodd\"><ellipse class=\"ant-empty-img-simple-ellipse\" fill=\"#F5F5F5\" cx=\"32\" cy=\"33\" rx=\"32\" ry=\"7\"></ellipse><g class=\"ant-empty-img-simple-g\" fill-rule=\"nonzero\" stroke=\"#D9D9D9\"><path d=\"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z\"></path><path d=\"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z\" fill=\"#FAFAFA\" class=\"ant-empty-img-simple-path\"></path></g></g></svg> 没有数据 </div>", 1);
608
608
 
609
- var _hoisted_21$2 = [_hoisted_20$2];
610
- var script$c = /*#__PURE__*/vue.defineComponent({
609
+ var _hoisted_21$3 = [_hoisted_20$3];
610
+ var script$e = /*#__PURE__*/vue.defineComponent({
611
611
  __name: 'IVMrpTable',
612
612
  props: {
613
613
  dataTh: {
@@ -723,7 +723,7 @@ var script$c = /*#__PURE__*/vue.defineComponent({
723
723
 
724
724
  var _component_a_pagination = vue.resolveComponent("a-pagination");
725
725
 
726
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [vue.createCommentVNode(" 主体 "), offsetWidth.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [vue.createElementVNode("table", {
726
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [vue.createCommentVNode(" 主体 "), offsetWidth.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [vue.createElementVNode("table", {
727
727
  "class": "relative w-full mb-[24px]",
728
728
  style: vue.normalizeStyle([{
729
729
  "table-layout": "fixed"
@@ -738,11 +738,11 @@ var script$c = /*#__PURE__*/vue.defineComponent({
738
738
  height: __props.setHeight && !clickDensity.value ? __props.setHeight + 'px' : tableH.value ? tableH.value + 'px' : '',
739
739
  width: item.w ? item.w : ''
740
740
  })
741
- }, [vue.createElementVNode("div", _hoisted_2$4, [vue.createTextVNode(vue.toDisplayString(item.title == "操作" ? "" : item.title) + " ", 1
741
+ }, [vue.createElementVNode("div", _hoisted_2$5, [vue.createTextVNode(vue.toDisplayString(item.title == "操作" ? "" : item.title) + " ", 1
742
742
  /* TEXT */
743
- ), item.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$4, vue.toDisplayString(item.unit), 1
743
+ ), item.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$5, vue.toDisplayString(item.unit), 1
744
744
  /* TEXT */
745
- )) : vue.createCommentVNode("v-if", true)]), item.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$4, [_hoisted_5$3, vue.createElementVNode("div", _hoisted_6$3, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.header, function (e, i) {
745
+ )) : vue.createCommentVNode("v-if", true)]), item.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$5, [_hoisted_5$4, vue.createElementVNode("div", _hoisted_6$4, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.header, function (e, i) {
746
746
  return vue.openBlock(), vue.createElementBlock("div", {
747
747
  key: i,
748
748
  style: vue.normalizeStyle({
@@ -750,7 +750,7 @@ var script$c = /*#__PURE__*/vue.defineComponent({
750
750
  })
751
751
  }, [vue.createTextVNode(vue.toDisplayString(e.title == "操作" ? "" : e.title) + " ", 1
752
752
  /* TEXT */
753
- ), e.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$3, vue.toDisplayString(e.unit), 1
753
+ ), e.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$4, vue.toDisplayString(e.unit), 1
754
754
  /* TEXT */
755
755
  )) : vue.createCommentVNode("v-if", true)], 4
756
756
  /* STYLE */
@@ -766,14 +766,14 @@ var script$c = /*#__PURE__*/vue.defineComponent({
766
766
  /* UNKEYED_FRAGMENT */
767
767
  ))])], 4
768
768
  /* STYLE */
769
- ), __props.isTableControl ? (vue.openBlock(), vue.createBlock(vue.unref(script$b), {
769
+ ), __props.isTableControl ? (vue.openBlock(), vue.createBlock(vue.unref(script$d), {
770
770
  key: 0,
771
771
  setHeight: __props.setHeight,
772
772
  onDensity: density,
773
773
  onChangeS: tableControlChange
774
774
  }, null, 8
775
775
  /* PROPS */
776
- , ["setHeight"])) : vue.createCommentVNode("v-if", true)])) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", _hoisted_8$2, [vue.createElementVNode("table", _hoisted_9$2, [vue.createElementVNode("tr", null, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.dataTh, function (item, index) {
776
+ , ["setHeight"])) : vue.createCommentVNode("v-if", true)])) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", _hoisted_8$3, [vue.createElementVNode("table", _hoisted_9$3, [vue.createElementVNode("tr", null, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.dataTh, function (item, index) {
777
777
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
778
778
  key: index
779
779
  }, [item.show ? (vue.openBlock(), vue.createElementBlock("th", {
@@ -785,11 +785,11 @@ var script$c = /*#__PURE__*/vue.defineComponent({
785
785
  })
786
786
  }, [item.key == 'select' ? vue.renderSlot(_ctx.$slots, "selectAll", {
787
787
  key: 0
788
- }) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", _hoisted_10$2, [vue.createTextVNode(vue.toDisplayString(item.key == "select" ? "" : item.title == "操作" ? "" : item.title) + " ", 1
788
+ }) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", _hoisted_10$3, [vue.createTextVNode(vue.toDisplayString(item.key == "select" ? "" : item.title == "操作" ? "" : item.title) + " ", 1
789
789
  /* TEXT */
790
- ), item.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$2, vue.toDisplayString(item.unit), 1
790
+ ), item.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$3, vue.toDisplayString(item.unit), 1
791
791
  /* TEXT */
792
- )) : 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$2, [_hoisted_13$2, vue.createElementVNode("div", _hoisted_14$2, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.header, function (e, i) {
792
+ )) : 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$3, [_hoisted_13$3, vue.createElementVNode("div", _hoisted_14$3, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.header, function (e, i) {
793
793
  return vue.openBlock(), vue.createElementBlock("div", {
794
794
  key: i,
795
795
  style: vue.normalizeStyle({
@@ -797,7 +797,7 @@ var script$c = /*#__PURE__*/vue.defineComponent({
797
797
  })
798
798
  }, [vue.createTextVNode(vue.toDisplayString(e.title == "操作" ? "" : e.title) + " ", 1
799
799
  /* TEXT */
800
- ), e.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15$2, vue.toDisplayString(e.unit), 1
800
+ ), e.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15$3, vue.toDisplayString(e.unit), 1
801
801
  /* TEXT */
802
802
  )) : vue.createCommentVNode("v-if", true)], 4
803
803
  /* STYLE */
@@ -825,11 +825,11 @@ var script$c = /*#__PURE__*/vue.defineComponent({
825
825
  style: vue.normalizeStyle({
826
826
  height: __props.setHeight && !clickDensity.value ? __props.setHeight + 'px' : tableH.value ? tableH.value + 'px' : ''
827
827
  })
828
- }, [vue.createCommentVNode(" 序号 "), item.key == 'index' ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_16$2, vue.toDisplayString(Props.currentPages - 1 == 0 ? i + 1 : (Props.currentPages - 1) * 10 + i + 1), 1
828
+ }, [vue.createCommentVNode(" 序号 "), item.key == 'index' ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_16$3, vue.toDisplayString(Props.currentPages - 1 == 0 ? i + 1 : (Props.currentPages - 1) * 10 + i + 1), 1
829
829
  /* TEXT */
830
- )) : 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$2, vue.toDisplayString(e[item.key]), 1
830
+ )) : 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$3, vue.toDisplayString(e[item.key]), 1
831
831
  /* TEXT */
832
- )) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" 图片数据特殊处理 "), item.key == 'pictures' ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_18$2, [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) {
832
+ )) : vue.createCommentVNode("v-if", true), vue.createCommentVNode(" 图片数据特殊处理 "), item.key == 'pictures' ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_18$3, [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) {
833
833
  return vue.openBlock(), vue.createBlock(_component_a_image, {
834
834
  key: i1,
835
835
  src: e1,
@@ -873,7 +873,7 @@ var script$c = /*#__PURE__*/vue.defineComponent({
873
873
  ))]);
874
874
  }), 128
875
875
  /* KEYED_FRAGMENT */
876
- )) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_19$2, _hoisted_21$2))]), __props.isTableControl ? (vue.openBlock(), vue.createBlock(vue.unref(script$b), {
876
+ )) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_19$3, _hoisted_21$3))]), __props.isTableControl ? (vue.openBlock(), vue.createBlock(vue.unref(script$d), {
877
877
  key: 0,
878
878
  setHeight: __props.setHeight,
879
879
  onDensity: density,
@@ -908,37 +908,37 @@ var script$c = /*#__PURE__*/vue.defineComponent({
908
908
  }
909
909
  });
910
910
 
911
- script$c.__file = "src/function-ui/component/IVMrpTable.vue";
911
+ script$e.__file = "src/function-ui/component/IVMrpTable.vue";
912
912
 
913
913
  var _withScopeId = function _withScopeId(n) {
914
914
  return vue.pushScopeId("data-v-4b5cf48c"), n = n(), vue.popScopeId(), n;
915
915
  };
916
916
 
917
- var _hoisted_1$9 = {
917
+ var _hoisted_1$b = {
918
918
  "class": "tableControl"
919
919
  };
920
920
 
921
- var _hoisted_2$3 = /*#__PURE__*/_withScopeId(function () {
921
+ var _hoisted_2$4 = /*#__PURE__*/_withScopeId(function () {
922
922
  return /*#__PURE__*/vue.createElementVNode("div", null, "密度", -1
923
923
  /* HOISTED */
924
924
  );
925
925
  });
926
926
 
927
- var _hoisted_3$3 = /*#__PURE__*/vue.createTextVNode(" 默认 ");
927
+ var _hoisted_3$4 = /*#__PURE__*/vue.createTextVNode(" 默认 ");
928
928
 
929
- var _hoisted_4$3 = /*#__PURE__*/vue.createTextVNode(" 中等 ");
929
+ var _hoisted_4$4 = /*#__PURE__*/vue.createTextVNode(" 中等 ");
930
930
 
931
- var _hoisted_5$2 = /*#__PURE__*/vue.createTextVNode(" 紧凑 ");
931
+ var _hoisted_5$3 = /*#__PURE__*/vue.createTextVNode(" 紧凑 ");
932
932
 
933
- var _hoisted_6$2 = /*#__PURE__*/_withScopeId(function () {
933
+ var _hoisted_6$3 = /*#__PURE__*/_withScopeId(function () {
934
934
  return /*#__PURE__*/vue.createElementVNode("div", null, "列设置", -1
935
935
  /* HOISTED */
936
936
  );
937
937
  });
938
938
 
939
- var _hoisted_7$2 = /*#__PURE__*/vue.createTextVNode(" 全选 ");
939
+ var _hoisted_7$3 = /*#__PURE__*/vue.createTextVNode(" 全选 ");
940
940
 
941
- var script$b = /*#__PURE__*/vue.defineComponent({
941
+ var script$d = /*#__PURE__*/vue.defineComponent({
942
942
  __name: 'IVMrpTableControl',
943
943
  props: {
944
944
  setHeight: {
@@ -1033,13 +1033,13 @@ var script$b = /*#__PURE__*/vue.defineComponent({
1033
1033
 
1034
1034
  var _component_setting_outlined = vue.resolveComponent("setting-outlined");
1035
1035
 
1036
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [vue.createVNode(_component_a_popover, {
1036
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, [vue.createVNode(_component_a_popover, {
1037
1037
  trigger: "hover",
1038
1038
  visible: hovered.value,
1039
1039
  onVisibleChange: handleHoverChange
1040
1040
  }, {
1041
1041
  content: vue.withCtx(function () {
1042
- return [_hoisted_2$3];
1042
+ return [_hoisted_2$4];
1043
1043
  }),
1044
1044
  "default": vue.withCtx(function () {
1045
1045
  return [vue.createVNode(_component_a_popover, {
@@ -1065,7 +1065,7 @@ var script$b = /*#__PURE__*/vue.defineComponent({
1065
1065
  key: "0"
1066
1066
  }, {
1067
1067
  "default": vue.withCtx(function () {
1068
- return [_hoisted_3$3];
1068
+ return [_hoisted_3$4];
1069
1069
  }),
1070
1070
  _: 1
1071
1071
  /* STABLE */
@@ -1074,7 +1074,7 @@ var script$b = /*#__PURE__*/vue.defineComponent({
1074
1074
  key: "1"
1075
1075
  }, {
1076
1076
  "default": vue.withCtx(function () {
1077
- return [_hoisted_4$3];
1077
+ return [_hoisted_4$4];
1078
1078
  }),
1079
1079
  _: 1
1080
1080
  /* STABLE */
@@ -1083,7 +1083,7 @@ var script$b = /*#__PURE__*/vue.defineComponent({
1083
1083
  key: "2"
1084
1084
  }, {
1085
1085
  "default": vue.withCtx(function () {
1086
- return [_hoisted_5$2];
1086
+ return [_hoisted_5$3];
1087
1087
  }),
1088
1088
  _: 1
1089
1089
  /* STABLE */
@@ -1121,7 +1121,7 @@ var script$b = /*#__PURE__*/vue.defineComponent({
1121
1121
  trigger: "hover"
1122
1122
  }, {
1123
1123
  content: vue.withCtx(function () {
1124
- return [_hoisted_6$2];
1124
+ return [_hoisted_6$3];
1125
1125
  }),
1126
1126
  "default": vue.withCtx(function () {
1127
1127
  return [vue.createVNode(_component_a_popover, {
@@ -1143,7 +1143,7 @@ var script$b = /*#__PURE__*/vue.defineComponent({
1143
1143
  onChange: onCheckAllChange
1144
1144
  }, {
1145
1145
  "default": vue.withCtx(function () {
1146
- return [_hoisted_7$2];
1146
+ return [_hoisted_7$3];
1147
1147
  }),
1148
1148
  _: 1
1149
1149
  /* STABLE */
@@ -1184,8 +1184,8 @@ var script$b = /*#__PURE__*/vue.defineComponent({
1184
1184
  }
1185
1185
  });
1186
1186
 
1187
- script$b.__scopeId = "data-v-4b5cf48c";
1188
- script$b.__file = "src/function-ui/component/IVMrpTableControl.vue";
1187
+ script$d.__scopeId = "data-v-4b5cf48c";
1188
+ script$d.__file = "src/function-ui/component/IVMrpTableControl.vue";
1189
1189
 
1190
1190
  function _loadChildren(obj, list) {
1191
1191
  var arr = list.filter(function (x) {
@@ -1358,6 +1358,18 @@ var API_OPTION = {
1358
1358
  option: _objectSpread2({
1359
1359
  method: "GET"
1360
1360
  }, DEFIND_OPTION)
1361
+ },
1362
+ getIVMrpMaterialSelector: {
1363
+ url: "/api/material-management/material-economic-batch",
1364
+ option: _objectSpread2({
1365
+ method: "GET"
1366
+ }, DEFIND_OPTION)
1367
+ },
1368
+ getIVMrpMaterialTypeDropdown: {
1369
+ url: "/api/purchase-management/purchase-contract/all",
1370
+ option: _objectSpread2({
1371
+ method: "GET"
1372
+ }, DEFIND_OPTION)
1361
1373
  }
1362
1374
  };
1363
1375
  var formatHTTP = function formatHTTP(fetch) {
@@ -1377,7 +1389,7 @@ var formatUrl = function formatUrl(base, api, params) {
1377
1389
  return buildURL(base + api, params);
1378
1390
  };
1379
1391
 
1380
- var _hoisted_1$8 = {
1392
+ var _hoisted_1$a = {
1381
1393
  key: 0,
1382
1394
  "class": "text-[#0000006D] text-[14px]"
1383
1395
  };
@@ -1385,7 +1397,7 @@ var _hoisted_1$8 = {
1385
1397
  * 组件定义-------------------------------------
1386
1398
  * */
1387
1399
 
1388
- var script$a = /*#__PURE__*/vue.defineComponent({
1400
+ var script$c = /*#__PURE__*/vue.defineComponent({
1389
1401
  __name: 'IVMrpOrgDropdown',
1390
1402
  props: {
1391
1403
  value: {
@@ -1556,7 +1568,7 @@ var script$a = /*#__PURE__*/vue.defineComponent({
1556
1568
  colon: __props.isTitle
1557
1569
  }, {
1558
1570
  label: vue.withCtx(function () {
1559
- return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$8, vue.toDisplayString(__props.title), 1
1571
+ return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, vue.toDisplayString(__props.title), 1
1560
1572
  /* TEXT */
1561
1573
  )) : vue.createCommentVNode("v-if", true)];
1562
1574
  }),
@@ -1596,9 +1608,9 @@ var script$a = /*#__PURE__*/vue.defineComponent({
1596
1608
  }
1597
1609
  });
1598
1610
 
1599
- script$a.__file = "src/business-ui/component/IVMrpOrgDropdown.vue";
1611
+ script$c.__file = "src/business-ui/component/IVMrpOrgDropdown.vue";
1600
1612
 
1601
- var _hoisted_1$7 = {
1613
+ var _hoisted_1$9 = {
1602
1614
  key: 0,
1603
1615
  "class": "text-[#0000006D] text-[14px]"
1604
1616
  };
@@ -1606,7 +1618,7 @@ var _hoisted_1$7 = {
1606
1618
  * 组件定义-------------------------------------
1607
1619
  * */
1608
1620
 
1609
- var script$9 = /*#__PURE__*/vue.defineComponent({
1621
+ var script$b = /*#__PURE__*/vue.defineComponent({
1610
1622
  __name: 'IVMrpProdBaseDropdown',
1611
1623
  props: {
1612
1624
  value: {
@@ -1776,7 +1788,7 @@ var script$9 = /*#__PURE__*/vue.defineComponent({
1776
1788
  colon: __props.isTitle
1777
1789
  }, {
1778
1790
  label: vue.withCtx(function () {
1779
- return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, vue.toDisplayString(__props.title), 1
1791
+ return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, vue.toDisplayString(__props.title), 1
1780
1792
  /* TEXT */
1781
1793
  )) : vue.createCommentVNode("v-if", true)];
1782
1794
  }),
@@ -1814,9 +1826,9 @@ var script$9 = /*#__PURE__*/vue.defineComponent({
1814
1826
  }
1815
1827
  });
1816
1828
 
1817
- script$9.__file = "src/business-ui/component/IVMrpProdBaseDropdown.vue";
1829
+ script$b.__file = "src/business-ui/component/IVMrpProdBaseDropdown.vue";
1818
1830
 
1819
- var _hoisted_1$6 = {
1831
+ var _hoisted_1$8 = {
1820
1832
  key: 0,
1821
1833
  "class": "text-[#0000006D] text-[14px]"
1822
1834
  };
@@ -1824,7 +1836,7 @@ var _hoisted_1$6 = {
1824
1836
  * 组件定义-------------------------------------
1825
1837
  * */
1826
1838
 
1827
- var script$8 = /*#__PURE__*/vue.defineComponent({
1839
+ var script$a = /*#__PURE__*/vue.defineComponent({
1828
1840
  __name: 'IVMrpLineDropdown',
1829
1841
  props: {
1830
1842
  value: {
@@ -1996,7 +2008,7 @@ var script$8 = /*#__PURE__*/vue.defineComponent({
1996
2008
  colon: __props.isTitle
1997
2009
  }, {
1998
2010
  label: vue.withCtx(function () {
1999
- return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, vue.toDisplayString(__props.title), 1
2011
+ return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$8, vue.toDisplayString(__props.title), 1
2000
2012
  /* TEXT */
2001
2013
  )) : vue.createCommentVNode("v-if", true)];
2002
2014
  }),
@@ -2034,9 +2046,9 @@ var script$8 = /*#__PURE__*/vue.defineComponent({
2034
2046
  }
2035
2047
  });
2036
2048
 
2037
- script$8.__file = "src/business-ui/component/IVMrpLineDropdown.vue";
2049
+ script$a.__file = "src/business-ui/component/IVMrpLineDropdown.vue";
2038
2050
 
2039
- var _hoisted_1$5 = {
2051
+ var _hoisted_1$7 = {
2040
2052
  key: 0,
2041
2053
  "class": "text-[#0000006D] text-[14px]"
2042
2054
  };
@@ -2044,7 +2056,7 @@ var _hoisted_1$5 = {
2044
2056
  * 组件定义-------------------------------------
2045
2057
  * */
2046
2058
 
2047
- var script$7 = /*#__PURE__*/vue.defineComponent({
2059
+ var script$9 = /*#__PURE__*/vue.defineComponent({
2048
2060
  __name: 'IVMrpSetofbookDropdown',
2049
2061
  props: {
2050
2062
  value: {
@@ -2220,7 +2232,7 @@ var script$7 = /*#__PURE__*/vue.defineComponent({
2220
2232
  colon: __props.isTitle
2221
2233
  }, {
2222
2234
  label: vue.withCtx(function () {
2223
- return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, vue.toDisplayString(__props.title), 1
2235
+ return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, vue.toDisplayString(__props.title), 1
2224
2236
  /* TEXT */
2225
2237
  )) : vue.createCommentVNode("v-if", true)];
2226
2238
  }),
@@ -2260,9 +2272,9 @@ var script$7 = /*#__PURE__*/vue.defineComponent({
2260
2272
  }
2261
2273
  });
2262
2274
 
2263
- script$7.__file = "src/business-ui/component/IVMrpSetofbookDropdown.vue";
2275
+ script$9.__file = "src/business-ui/component/IVMrpSetofbookDropdown.vue";
2264
2276
 
2265
- var _hoisted_1$4 = {
2277
+ var _hoisted_1$6 = {
2266
2278
  key: 0,
2267
2279
  "class": "text-[#0000006D] text-[14px]"
2268
2280
  };
@@ -2270,7 +2282,7 @@ var _hoisted_1$4 = {
2270
2282
  * 组件定义-------------------------------------
2271
2283
  * */
2272
2284
 
2273
- var script$6 = /*#__PURE__*/vue.defineComponent({
2285
+ var script$8 = /*#__PURE__*/vue.defineComponent({
2274
2286
  __name: 'IVMrpPostDropdown',
2275
2287
  props: {
2276
2288
  value: {
@@ -2437,7 +2449,7 @@ var script$6 = /*#__PURE__*/vue.defineComponent({
2437
2449
  colon: __props.isTitle
2438
2450
  }, {
2439
2451
  label: vue.withCtx(function () {
2440
- return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, vue.toDisplayString(__props.title), 1
2452
+ return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, vue.toDisplayString(__props.title), 1
2441
2453
  /* TEXT */
2442
2454
  )) : vue.createCommentVNode("v-if", true)];
2443
2455
  }),
@@ -2476,9 +2488,9 @@ var script$6 = /*#__PURE__*/vue.defineComponent({
2476
2488
  }
2477
2489
  });
2478
2490
 
2479
- script$6.__file = "src/business-ui/component/IVMrpPostDropdown.vue";
2491
+ script$8.__file = "src/business-ui/component/IVMrpPostDropdown.vue";
2480
2492
 
2481
- var _hoisted_1$3 = {
2493
+ var _hoisted_1$5 = {
2482
2494
  key: 0,
2483
2495
  "class": "text-[#0000006D] text-[14px]"
2484
2496
  };
@@ -2486,7 +2498,7 @@ var _hoisted_1$3 = {
2486
2498
  * 组件定义-------------------------------------
2487
2499
  * */
2488
2500
 
2489
- var script$5 = /*#__PURE__*/vue.defineComponent({
2501
+ var script$7 = /*#__PURE__*/vue.defineComponent({
2490
2502
  __name: 'IVMrpManagDropdown',
2491
2503
  props: {
2492
2504
  value: {
@@ -2644,7 +2656,7 @@ var script$5 = /*#__PURE__*/vue.defineComponent({
2644
2656
  colon: __props.isTitle
2645
2657
  }, {
2646
2658
  label: vue.withCtx(function () {
2647
- return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, vue.toDisplayString(__props.title), 1
2659
+ return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, vue.toDisplayString(__props.title), 1
2648
2660
  /* TEXT */
2649
2661
  )) : vue.createCommentVNode("v-if", true)];
2650
2662
  }),
@@ -2682,13 +2694,13 @@ var script$5 = /*#__PURE__*/vue.defineComponent({
2682
2694
  }
2683
2695
  });
2684
2696
 
2685
- script$5.__file = "src/business-ui/component/IVMrpManagDropdown.vue";
2697
+ script$7.__file = "src/business-ui/component/IVMrpManagDropdown.vue";
2686
2698
 
2687
2699
  /**
2688
2700
  * 组件定义-------------------------------------
2689
2701
  * */
2690
2702
 
2691
- var script$4 = /*#__PURE__*/vue.defineComponent({
2703
+ var script$6 = /*#__PURE__*/vue.defineComponent({
2692
2704
  __name: 'IVMrpRateDropdown',
2693
2705
  props: {
2694
2706
  value: {
@@ -2701,7 +2713,7 @@ var script$4 = /*#__PURE__*/vue.defineComponent({
2701
2713
  "default": function _default() {
2702
2714
  return {
2703
2715
  label: "name",
2704
- value: "id"
2716
+ value: "name"
2705
2717
  };
2706
2718
  }
2707
2719
  },
@@ -2768,13 +2780,13 @@ var script$4 = /*#__PURE__*/vue.defineComponent({
2768
2780
  }
2769
2781
  });
2770
2782
 
2771
- script$4.__file = "src/business-ui/component/IVMrpRateDropdown.vue";
2783
+ script$6.__file = "src/business-ui/component/IVMrpRateDropdown.vue";
2772
2784
 
2773
2785
  /**
2774
2786
  * 组件定义-------------------------------------
2775
2787
  * */
2776
2788
 
2777
- var script$3 = /*#__PURE__*/vue.defineComponent({
2789
+ var script$5 = /*#__PURE__*/vue.defineComponent({
2778
2790
  __name: 'IVMrpUnitDropdown',
2779
2791
  props: {
2780
2792
  value: {
@@ -2909,149 +2921,99 @@ var script$3 = /*#__PURE__*/vue.defineComponent({
2909
2921
  }
2910
2922
  });
2911
2923
 
2912
- script$3.__file = "src/business-ui/component/IVMrpUnitDropdown.vue";
2913
-
2914
- var _hoisted_1$2 = {
2915
- "class": "relative mt-[8px] w-[30px] h-[23px]"
2916
- };
2917
- var _hoisted_2$2 = vue.createElementVNode("svg", {
2918
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
2919
- xmlns: "http://www.w3.org/2000/svg",
2920
- version: "1.1",
2921
- width: "23px",
2922
- height: "23px",
2923
- "class": "absolute"
2924
- }, [vue.createElementVNode("g", {
2925
- transform: "matrix(1 0 0 1 -256 -275 )"
2926
- }, [vue.createElementVNode("path", {
2927
- 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 ",
2928
- "fill-rule": "nonzero",
2929
- fill: "#bd9e55",
2930
- stroke: "none",
2931
- transform: "matrix(1 0 0 1 256 275 )"
2932
- })])], -1
2933
- );
2934
- var _hoisted_3$2 = vue.createElementVNode("svg", {
2935
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
2936
- xmlns: "http://www.w3.org/2000/svg",
2937
- version: "1.1",
2938
- width: "23px",
2939
- height: "23px",
2940
- "class": "absolute left-[7px] bottom-[7px]"
2941
- }, [vue.createElementVNode("g", {
2942
- transform: "matrix(1 0 0 1 -263 -268 )"
2943
- }, [vue.createElementVNode("path", {
2944
- 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 ",
2945
- "fill-rule": "nonzero",
2946
- fill: "#bd9e55",
2947
- stroke: "none",
2948
- transform: "matrix(1 0 0 1 263 268 )"
2949
- })])], -1
2950
- );
2951
- var _hoisted_4$2 = [_hoisted_2$2, _hoisted_3$2];
2952
- function render(_ctx, _cache) {
2953
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, _hoisted_4$2);
2954
- }
2955
-
2956
- var script$2 = {};
2957
- script$2.render = render;
2958
- script$2.__file = "src/business-ui/component/icon/SelectorIcon.vue";
2959
-
2960
- var _hoisted_1$1 = {
2961
- "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
2962
- };
2963
-
2964
- var _hoisted_2$1 = /*#__PURE__*/vue.createElementVNode("span", {
2965
- "class": "text-xl text-[#bd9e55] pl-2"
2966
- }, "选择人员", -1
2967
- /* HOISTED */
2968
- );
2969
-
2970
- var _hoisted_3$1 = {
2971
- "class": "px-[150px]",
2972
- id: "IVMrpUserSelector"
2973
- };
2974
- var _hoisted_4$1 = {
2975
- "class": "mx-10"
2976
- };
2977
- var _hoisted_5$1 = {
2978
- "class": "flex items-center my-4 justify-center"
2979
- };
2980
-
2981
- var _hoisted_6$1 = /*#__PURE__*/vue.createTextVNode(" 搜索 ");
2982
-
2983
- var _hoisted_7$1 = {
2984
- "class": "mt-10"
2985
- };
2986
- var _hoisted_8$1 = {
2987
- "class": "flex justify-between mb-2"
2988
- };
2989
- var _hoisted_9$1 = {
2990
- "class": "text-[#999999]"
2991
- };
2992
-
2993
- var _hoisted_10$1 = /*#__PURE__*/vue.createTextVNode(" 共有 ");
2994
-
2995
- var _hoisted_11$1 = {
2996
- "class": "text-[#BD9E55] text-[16px]"
2997
- };
2998
-
2999
- var _hoisted_12$1 = /*#__PURE__*/vue.createTextVNode(" 个记录满足条件,当前第 ");
3000
-
3001
- var _hoisted_13$1 = {
3002
- "class": "text-[#BD9E55] text-[16px]"
3003
- };
3004
-
3005
- var _hoisted_14$1 = /*#__PURE__*/vue.createTextVNode(" 页,跳转到第 ");
3006
-
3007
- var _hoisted_15$1 = {
3008
- "class": "text-[#BD9E55] text-[16px]"
3009
- };
3010
-
3011
- var _hoisted_16$1 = /*#__PURE__*/vue.createTextVNode(" 页 ");
2924
+ script$5.__file = "src/business-ui/component/IVMrpUnitDropdown.vue";
3012
2925
 
3013
- var _hoisted_17$1 = {
3014
- "class": "contentList"
3015
- };
3016
- var _hoisted_18$1 = ["onClick"];
3017
- var _hoisted_19$1 = {
3018
- key: 0
3019
- };
3020
- var _hoisted_20$1 = {
3021
- "class": "flex items-center justify-around text-[#006AB2] text-[13px]"
2926
+ var _hoisted_1$4 = {
2927
+ key: 0,
2928
+ "class": "text-[#0000006D] text-[14px]"
3022
2929
  };
3023
- var _hoisted_21$1 = ["onClick"];
3024
2930
  /**
3025
2931
  * 组件定义-------------------------------------
3026
2932
  * */
3027
2933
 
3028
- var script$1 = /*#__PURE__*/vue.defineComponent({
3029
- __name: 'IVMrpUserSelector',
2934
+ var script$4 = /*#__PURE__*/vue.defineComponent({
2935
+ __name: 'IVMrpMaterialTypeDropdown',
3030
2936
  props: {
3031
- show: {
3032
- type: Boolean,
2937
+ value: {
2938
+ type: null,
2939
+ required: true
2940
+ },
2941
+ params: {
2942
+ type: Object,
2943
+ required: false
2944
+ },
2945
+ data: {
2946
+ type: Object,
2947
+ required: false
2948
+ },
2949
+ replaceFields: {
2950
+ type: null,
2951
+ required: false,
2952
+ "default": function _default() {
2953
+ return {
2954
+ children: "childs",
2955
+ label: "name",
2956
+ key: "id",
2957
+ value: "id"
2958
+ };
2959
+ }
2960
+ },
2961
+ inputStyle: {
2962
+ type: Object,
3033
2963
  required: true
2964
+ },
2965
+ formItemStyle: {
2966
+ type: Object,
2967
+ required: false
2968
+ },
2969
+ labelCol: {
2970
+ type: Object,
2971
+ required: false,
2972
+ "default": function _default() {
2973
+ return {
2974
+ span: 4
2975
+ };
2976
+ }
2977
+ },
2978
+ wrapperCol: {
2979
+ type: Object,
2980
+ required: false,
2981
+ "default": function _default() {
2982
+ return {
2983
+ span: 11
2984
+ };
2985
+ }
2986
+ },
2987
+ isRequired: {
2988
+ type: Boolean,
2989
+ required: true,
2990
+ "default": true
2991
+ },
2992
+ multiple: {
2993
+ type: Boolean,
2994
+ required: false,
2995
+ "default": false
2996
+ },
2997
+ isTitle: {
2998
+ type: Boolean,
2999
+ required: false,
3000
+ "default": true
3001
+ },
3002
+ placeholder: {
3003
+ type: String,
3004
+ required: false,
3005
+ "default": "请选择"
3006
+ },
3007
+ title: {
3008
+ type: String,
3009
+ required: false,
3010
+ "default": "材料类型"
3034
3011
  }
3035
3012
  },
3036
- emits: ["update:show", "getItem"],
3013
+ emits: ["update:value", "change"],
3037
3014
  setup: function setup(__props, _ref) {
3038
3015
  var emit = _ref.emit;
3039
3016
  var props = __props;
3040
- /**
3041
- * 搜索-------------------------------------
3042
- * */
3043
-
3044
- var formData = vue.reactive({
3045
- name: null,
3046
- phoneNumber: null,
3047
- workNo: null,
3048
- positionId: null,
3049
- organizationId: null,
3050
- lineId: null,
3051
- sorting: null,
3052
- skipCount: 0,
3053
- maxResultCount: 10
3054
- });
3055
3017
  /**
3056
3018
  * 获取数据-------------------------------------
3057
3019
  * */
@@ -3062,9 +3024,285 @@ var script$1 = /*#__PURE__*/vue.defineComponent({
3062
3024
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
3063
3025
  var _option,
3064
3026
  _a,
3065
- _yield$formatHTTP,
3066
- items,
3067
- totalCount,
3027
+ _args = arguments;
3028
+
3029
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
3030
+ while (1) {
3031
+ switch (_context.prev = _context.next) {
3032
+ case 0:
3033
+ _option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
3034
+ _context.next = 3;
3035
+ return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.getIVMrpMaterialTypeDropdown.url, _option.params), assign({
3036
+ data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
3037
+ }, API_OPTION.getIVMrpMaterialTypeDropdown.option)));
3038
+
3039
+ case 3:
3040
+ dataV.value = _context.sent;
3041
+
3042
+ case 4:
3043
+ case "end":
3044
+ return _context.stop();
3045
+ }
3046
+ }
3047
+ }, _callee);
3048
+ }));
3049
+
3050
+ return function getData() {
3051
+ return _ref2.apply(this, arguments);
3052
+ };
3053
+ }();
3054
+
3055
+ var inputV = vue.computed({
3056
+ get: function get() {
3057
+ return props.value;
3058
+ },
3059
+ set: function set(value) {
3060
+ emit("update:value", value);
3061
+ }
3062
+ });
3063
+ /**
3064
+ * 侦听器-------------------------------------
3065
+ * */
3066
+
3067
+ vue.watchEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
3068
+ var _a, _b;
3069
+
3070
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
3071
+ while (1) {
3072
+ switch (_context2.prev = _context2.next) {
3073
+ case 0:
3074
+ // 由于打包问题,侦听器一定要在最后,否则找不到getData方法
3075
+ getData({
3076
+ params: assign((_a = props.params) !== null && _a !== void 0 ? _a : {}, {
3077
+ type: 1
3078
+ }),
3079
+ data: (_b = props.data) !== null && _b !== void 0 ? _b : null
3080
+ });
3081
+
3082
+ case 1:
3083
+ case "end":
3084
+ return _context2.stop();
3085
+ }
3086
+ }
3087
+ }, _callee2);
3088
+ })));
3089
+ return function (_ctx, _cache) {
3090
+ var _component_a_tree_select = vue.resolveComponent("a-tree-select");
3091
+
3092
+ var _component_a_form_item = vue.resolveComponent("a-form-item");
3093
+
3094
+ return vue.openBlock(), vue.createBlock(_component_a_form_item, {
3095
+ name: "materialCategoryId",
3096
+ "label-col": __props.labelCol,
3097
+ "wrapper-col": __props.wrapperCol,
3098
+ rules: [{
3099
+ required: __props.isRequired,
3100
+ message: '请选择' + __props.title
3101
+ }],
3102
+ style: vue.normalizeStyle(__props.formItemStyle),
3103
+ colon: __props.isTitle
3104
+ }, {
3105
+ label: vue.withCtx(function () {
3106
+ return [__props.isTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$4, vue.toDisplayString(__props.title), 1
3107
+ /* TEXT */
3108
+ )) : vue.createCommentVNode("v-if", true)];
3109
+ }),
3110
+ "default": vue.withCtx(function () {
3111
+ return [vue.createVNode(_component_a_tree_select, {
3112
+ value: vue.unref(inputV),
3113
+ "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
3114
+ return vue.isRef(inputV) ? inputV.value = $event : null;
3115
+ }),
3116
+ "tree-data": dataV.value,
3117
+ getPopupContainer: function getPopupContainer(triggerNode) {
3118
+ return triggerNode.parentNode;
3119
+ },
3120
+ placeholder: __props.placeholder,
3121
+ showArrow: "",
3122
+ showSearch: "",
3123
+ allowClear: !__props.isRequired,
3124
+ "dropdown-style": {
3125
+ maxHeight: '400px',
3126
+ overflow: 'auto'
3127
+ },
3128
+ "filter-option": vue.unref(filterOptionHeadle),
3129
+ multiple: __props.multiple,
3130
+ treeDefaultExpandAll: "",
3131
+ style: vue.normalizeStyle(__props.inputStyle),
3132
+ onChange: _cache[1] || (_cache[1] = function ($event) {
3133
+ return _ctx.$emit('change', $event);
3134
+ }),
3135
+ replaceFields: __props.replaceFields
3136
+ }, null, 8
3137
+ /* PROPS */
3138
+ , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "filter-option", "multiple", "style", "replaceFields"])];
3139
+ }),
3140
+ _: 1
3141
+ /* STABLE */
3142
+
3143
+ }, 8
3144
+ /* PROPS */
3145
+ , ["label-col", "wrapper-col", "rules", "style", "colon"]);
3146
+ };
3147
+ }
3148
+ });
3149
+
3150
+ script$4.__file = "src/business-ui/component/IVMrpMaterialTypeDropdown.vue";
3151
+
3152
+ var _hoisted_1$3 = {
3153
+ "class": "relative mt-[8px] w-[30px] h-[23px]"
3154
+ };
3155
+ var _hoisted_2$3 = vue.createElementVNode("svg", {
3156
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
3157
+ xmlns: "http://www.w3.org/2000/svg",
3158
+ version: "1.1",
3159
+ width: "23px",
3160
+ height: "23px",
3161
+ "class": "absolute"
3162
+ }, [vue.createElementVNode("g", {
3163
+ transform: "matrix(1 0 0 1 -256 -275 )"
3164
+ }, [vue.createElementVNode("path", {
3165
+ 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 ",
3166
+ "fill-rule": "nonzero",
3167
+ fill: "#bd9e55",
3168
+ stroke: "none",
3169
+ transform: "matrix(1 0 0 1 256 275 )"
3170
+ })])], -1
3171
+ );
3172
+ var _hoisted_3$3 = vue.createElementVNode("svg", {
3173
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
3174
+ xmlns: "http://www.w3.org/2000/svg",
3175
+ version: "1.1",
3176
+ width: "23px",
3177
+ height: "23px",
3178
+ "class": "absolute left-[7px] bottom-[7px]"
3179
+ }, [vue.createElementVNode("g", {
3180
+ transform: "matrix(1 0 0 1 -263 -268 )"
3181
+ }, [vue.createElementVNode("path", {
3182
+ 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 ",
3183
+ "fill-rule": "nonzero",
3184
+ fill: "#bd9e55",
3185
+ stroke: "none",
3186
+ transform: "matrix(1 0 0 1 263 268 )"
3187
+ })])], -1
3188
+ );
3189
+ var _hoisted_4$3 = [_hoisted_2$3, _hoisted_3$3];
3190
+ function render(_ctx, _cache) {
3191
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, _hoisted_4$3);
3192
+ }
3193
+
3194
+ var script$3 = {};
3195
+ script$3.render = render;
3196
+ script$3.__file = "src/business-ui/component/icon/SelectorIcon.vue";
3197
+
3198
+ var _hoisted_1$2 = {
3199
+ "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
3200
+ };
3201
+
3202
+ var _hoisted_2$2 = /*#__PURE__*/vue.createElementVNode("span", {
3203
+ "class": "text-xl text-[#bd9e55] pl-2"
3204
+ }, "选择人员", -1
3205
+ /* HOISTED */
3206
+ );
3207
+
3208
+ var _hoisted_3$2 = {
3209
+ "class": "px-[150px]",
3210
+ id: "IVMrpUserSelector"
3211
+ };
3212
+ var _hoisted_4$2 = {
3213
+ "class": "mx-10"
3214
+ };
3215
+ var _hoisted_5$2 = {
3216
+ "class": "flex items-center my-4 justify-center"
3217
+ };
3218
+
3219
+ var _hoisted_6$2 = /*#__PURE__*/vue.createTextVNode(" 搜索 ");
3220
+
3221
+ var _hoisted_7$2 = {
3222
+ "class": "mt-10"
3223
+ };
3224
+ var _hoisted_8$2 = {
3225
+ "class": "flex justify-between mb-2"
3226
+ };
3227
+ var _hoisted_9$2 = {
3228
+ "class": "text-[#999999]"
3229
+ };
3230
+
3231
+ var _hoisted_10$2 = /*#__PURE__*/vue.createTextVNode(" 共有 ");
3232
+
3233
+ var _hoisted_11$2 = {
3234
+ "class": "text-[#BD9E55] text-[16px]"
3235
+ };
3236
+
3237
+ var _hoisted_12$2 = /*#__PURE__*/vue.createTextVNode(" 个记录满足条件,当前第 ");
3238
+
3239
+ var _hoisted_13$2 = {
3240
+ "class": "text-[#BD9E55] text-[16px]"
3241
+ };
3242
+
3243
+ var _hoisted_14$2 = /*#__PURE__*/vue.createTextVNode(" 页,跳转到第 ");
3244
+
3245
+ var _hoisted_15$2 = {
3246
+ "class": "text-[#BD9E55] text-[16px]"
3247
+ };
3248
+
3249
+ var _hoisted_16$2 = /*#__PURE__*/vue.createTextVNode(" 页 ");
3250
+
3251
+ var _hoisted_17$2 = {
3252
+ "class": "contentList"
3253
+ };
3254
+ var _hoisted_18$2 = ["onClick"];
3255
+ var _hoisted_19$2 = {
3256
+ key: 0
3257
+ };
3258
+ var _hoisted_20$2 = {
3259
+ "class": "flex items-center justify-around text-[#006AB2] text-[13px]"
3260
+ };
3261
+ var _hoisted_21$2 = ["onClick"];
3262
+ /**
3263
+ * 组件定义-------------------------------------
3264
+ * */
3265
+
3266
+ var script$2 = /*#__PURE__*/vue.defineComponent({
3267
+ __name: 'IVMrpUserSelector',
3268
+ props: {
3269
+ show: {
3270
+ type: Boolean,
3271
+ required: true
3272
+ }
3273
+ },
3274
+ emits: ["update:show", "getItem"],
3275
+ setup: function setup(__props, _ref) {
3276
+ var emit = _ref.emit;
3277
+ var props = __props;
3278
+ /**
3279
+ * 搜索-------------------------------------
3280
+ * */
3281
+
3282
+ var formData = vue.reactive({
3283
+ name: null,
3284
+ phoneNumber: null,
3285
+ workNo: null,
3286
+ positionId: null,
3287
+ organizationId: null,
3288
+ lineId: null,
3289
+ sorting: null,
3290
+ skipCount: 0,
3291
+ maxResultCount: 10
3292
+ });
3293
+ /**
3294
+ * 获取数据-------------------------------------
3295
+ * */
3296
+
3297
+ var dataV = vue.ref();
3298
+
3299
+ var getData = /*#__PURE__*/function () {
3300
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
3301
+ var _option,
3302
+ _a,
3303
+ _yield$formatHTTP,
3304
+ items,
3305
+ totalCount,
3068
3306
  _args = arguments;
3069
3307
 
3070
3308
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -3251,7 +3489,7 @@ var script$1 = /*#__PURE__*/vue.defineComponent({
3251
3489
 
3252
3490
  var _component_a_dropdown = vue.resolveComponent("a-dropdown");
3253
3491
 
3254
- return vue.openBlock(), vue.createBlock(script$d, {
3492
+ return vue.openBlock(), vue.createBlock(script$f, {
3255
3493
  show: vue.unref(inputV),
3256
3494
  "onUpdate:show": _cache[5] || (_cache[5] = function ($event) {
3257
3495
  return vue.isRef(inputV) ? inputV.value = $event : null;
@@ -3259,10 +3497,10 @@ var script$1 = /*#__PURE__*/vue.defineComponent({
3259
3497
  "remove-padding": false
3260
3498
  }, {
3261
3499
  title: vue.withCtx(function () {
3262
- return [vue.createElementVNode("div", _hoisted_1$1, [vue.createVNode(script$2), _hoisted_2$1])];
3500
+ return [vue.createElementVNode("div", _hoisted_1$2, [vue.createVNode(script$3), _hoisted_2$2])];
3263
3501
  }),
3264
3502
  body: vue.withCtx(function () {
3265
- return [vue.createElementVNode("div", _hoisted_3$1, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4$1, [vue.createElementVNode("div", _hoisted_5$1, [vue.createVNode(vue.unref(script$a), {
3503
+ return [vue.createElementVNode("div", _hoisted_3$2, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4$2, [vue.createElementVNode("div", _hoisted_5$2, [vue.createVNode(vue.unref(script$c), {
3266
3504
  value: formData.organizationId,
3267
3505
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
3268
3506
  return formData.organizationId = $event;
@@ -3280,7 +3518,7 @@ var script$1 = /*#__PURE__*/vue.defineComponent({
3280
3518
  }
3281
3519
  }, null, 8
3282
3520
  /* PROPS */
3283
- , ["value"]), vue.createVNode(vue.unref(script$8), {
3521
+ , ["value"]), vue.createVNode(vue.unref(script$a), {
3284
3522
  value: formData.lineId,
3285
3523
  "onUpdate:value": _cache[1] || (_cache[1] = function ($event) {
3286
3524
  return formData.lineId = $event;
@@ -3299,7 +3537,7 @@ var script$1 = /*#__PURE__*/vue.defineComponent({
3299
3537
  }
3300
3538
  }, null, 8
3301
3539
  /* PROPS */
3302
- , ["value"]), vue.createVNode(vue.unref(script$6), {
3540
+ , ["value"]), vue.createVNode(vue.unref(script$8), {
3303
3541
  value: formData.positionId,
3304
3542
  "onUpdate:value": _cache[2] || (_cache[2] = function ($event) {
3305
3543
  return formData.positionId = $event;
@@ -3342,16 +3580,16 @@ var script$1 = /*#__PURE__*/vue.defineComponent({
3342
3580
  onClick: onSearch
3343
3581
  }, {
3344
3582
  "default": vue.withCtx(function () {
3345
- return [_hoisted_6$1];
3583
+ return [_hoisted_6$2];
3346
3584
  }),
3347
3585
  _: 1
3348
3586
  /* STABLE */
3349
3587
 
3350
- })])]), vue.createCommentVNode(" 主体 "), vue.createElementVNode("div", _hoisted_7$1, [vue.createCommentVNode(" 分页 "), vue.createElementVNode("div", _hoisted_8$1, [vue.createElementVNode("div", _hoisted_9$1, [_hoisted_10$1, vue.createElementVNode("span", _hoisted_11$1, vue.toDisplayString(totalPages.value), 1
3588
+ })])]), vue.createCommentVNode(" 主体 "), vue.createElementVNode("div", _hoisted_7$2, [vue.createCommentVNode(" 分页 "), vue.createElementVNode("div", _hoisted_8$2, [vue.createElementVNode("div", _hoisted_9$2, [_hoisted_10$2, vue.createElementVNode("span", _hoisted_11$2, vue.toDisplayString(totalPages.value), 1
3351
3589
  /* TEXT */
3352
- ), _hoisted_12$1, vue.createElementVNode("span", _hoisted_13$1, vue.toDisplayString(topCurrentPages.value), 1
3590
+ ), _hoisted_12$2, vue.createElementVNode("span", _hoisted_13$2, vue.toDisplayString(topCurrentPages.value), 1
3353
3591
  /* TEXT */
3354
- ), _hoisted_14$1, vue.createVNode(_component_a_dropdown, {
3592
+ ), _hoisted_14$2, vue.createVNode(_component_a_dropdown, {
3355
3593
  trigger: ['click']
3356
3594
  }, {
3357
3595
  overlay: vue.withCtx(function () {
@@ -3395,7 +3633,7 @@ var script$1 = /*#__PURE__*/vue.defineComponent({
3395
3633
  return [vue.createElementVNode("a", {
3396
3634
  "class": "pl-2 ant-dropdown-link border-b border-[#BD9E55]",
3397
3635
  onClick: _cache[4] || (_cache[4] = vue.withModifiers(function () {}, ["prevent"]))
3398
- }, [vue.createElementVNode("span", _hoisted_15$1, vue.toDisplayString(topSelectPages.value), 1
3636
+ }, [vue.createElementVNode("span", _hoisted_15$2, vue.toDisplayString(topSelectPages.value), 1
3399
3637
  /* TEXT */
3400
3638
  ), vue.createVNode(_component_DownOutlined, {
3401
3639
  "class": "align-middle ml-1 mb-[4px]",
@@ -3407,7 +3645,7 @@ var script$1 = /*#__PURE__*/vue.defineComponent({
3407
3645
  _: 1
3408
3646
  /* STABLE */
3409
3647
 
3410
- }), _hoisted_16$1])]), vue.createElementVNode("div", _hoisted_17$1, [vue.createVNode(vue.unref(script$c), {
3648
+ }), _hoisted_16$2])]), vue.createElementVNode("div", _hoisted_17$2, [vue.createVNode(vue.unref(script$e), {
3411
3649
  dataTh: vue.unref(th),
3412
3650
  contractExecDocList: dataV.value,
3413
3651
  currentPages: currentPages.value,
@@ -3427,26 +3665,26 @@ var script$1 = /*#__PURE__*/vue.defineComponent({
3427
3665
  }
3428
3666
  }, vue.toDisplayString(e.item.name), 9
3429
3667
  /* TEXT, PROPS */
3430
- , _hoisted_18$1)];
3668
+ , _hoisted_18$2)];
3431
3669
  }),
3432
3670
  lineNames: vue.withCtx(function (e) {
3433
3671
  return [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e.item.lineNames, function (item, index) {
3434
3672
  return vue.openBlock(), vue.createElementBlock("span", null, [vue.createTextVNode(vue.toDisplayString(item) + " ", 1
3435
3673
  /* TEXT */
3436
- ), index !== e.item.lineNames.length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_19$1, ",")) : vue.createCommentVNode("v-if", true)]);
3674
+ ), index !== e.item.lineNames.length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_19$2, ",")) : vue.createCommentVNode("v-if", true)]);
3437
3675
  }), 256
3438
3676
  /* UNKEYED_FRAGMENT */
3439
3677
  ))];
3440
3678
  }),
3441
3679
  buttonSlot: vue.withCtx(function (buttonSlot) {
3442
- return [vue.createElementVNode("div", _hoisted_20$1, [vue.createElementVNode("span", {
3680
+ return [vue.createElementVNode("div", _hoisted_20$2, [vue.createElementVNode("span", {
3443
3681
  "class": "cursor-pointer",
3444
3682
  onClick: function onClick($event) {
3445
3683
  return sendItem(buttonSlot.item);
3446
3684
  }
3447
3685
  }, "选择", 8
3448
3686
  /* PROPS */
3449
- , _hoisted_21$1)])];
3687
+ , _hoisted_21$2)])];
3450
3688
  }),
3451
3689
  _: 1
3452
3690
  /* STABLE */
@@ -3465,77 +3703,77 @@ var script$1 = /*#__PURE__*/vue.defineComponent({
3465
3703
  }
3466
3704
  });
3467
3705
 
3468
- script$1.__file = "src/business-ui/component/IVMrpUserSelector.vue";
3706
+ script$2.__file = "src/business-ui/component/IVMrpUserSelector.vue";
3469
3707
 
3470
- var _hoisted_1 = {
3708
+ var _hoisted_1$1 = {
3471
3709
  "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
3472
3710
  };
3473
3711
 
3474
- var _hoisted_2 = /*#__PURE__*/vue.createElementVNode("span", {
3712
+ var _hoisted_2$1 = /*#__PURE__*/vue.createElementVNode("span", {
3475
3713
  "class": "text-xl text-[#bd9e55] pl-2"
3476
3714
  }, "选择供应商", -1
3477
3715
  /* HOISTED */
3478
3716
  );
3479
3717
 
3480
- var _hoisted_3 = {
3718
+ var _hoisted_3$1 = {
3481
3719
  "class": "px-[150px]",
3482
3720
  id: "IVMrpUserSelector"
3483
3721
  };
3484
- var _hoisted_4 = {
3722
+ var _hoisted_4$1 = {
3485
3723
  "class": "mx-10"
3486
3724
  };
3487
- var _hoisted_5 = {
3725
+ var _hoisted_5$1 = {
3488
3726
  "class": "flex items-center my-4 justify-center"
3489
3727
  };
3490
3728
 
3491
- var _hoisted_6 = /*#__PURE__*/vue.createTextVNode(" 搜索 ");
3729
+ var _hoisted_6$1 = /*#__PURE__*/vue.createTextVNode(" 搜索 ");
3492
3730
 
3493
- var _hoisted_7 = {
3731
+ var _hoisted_7$1 = {
3494
3732
  "class": "mt-10"
3495
3733
  };
3496
- var _hoisted_8 = {
3734
+ var _hoisted_8$1 = {
3497
3735
  "class": "flex justify-between mb-2"
3498
3736
  };
3499
- var _hoisted_9 = {
3737
+ var _hoisted_9$1 = {
3500
3738
  "class": "text-[#999999]"
3501
3739
  };
3502
3740
 
3503
- var _hoisted_10 = /*#__PURE__*/vue.createTextVNode(" 共有 ");
3741
+ var _hoisted_10$1 = /*#__PURE__*/vue.createTextVNode(" 共有 ");
3504
3742
 
3505
- var _hoisted_11 = {
3743
+ var _hoisted_11$1 = {
3506
3744
  "class": "text-[#BD9E55] text-[16px]"
3507
3745
  };
3508
3746
 
3509
- var _hoisted_12 = /*#__PURE__*/vue.createTextVNode(" 个记录满足条件,当前第 ");
3747
+ var _hoisted_12$1 = /*#__PURE__*/vue.createTextVNode(" 个记录满足条件,当前第 ");
3510
3748
 
3511
- var _hoisted_13 = {
3749
+ var _hoisted_13$1 = {
3512
3750
  "class": "text-[#BD9E55] text-[16px]"
3513
3751
  };
3514
3752
 
3515
- var _hoisted_14 = /*#__PURE__*/vue.createTextVNode(" 页,跳转到第 ");
3753
+ var _hoisted_14$1 = /*#__PURE__*/vue.createTextVNode(" 页,跳转到第 ");
3516
3754
 
3517
- var _hoisted_15 = {
3755
+ var _hoisted_15$1 = {
3518
3756
  "class": "text-[#BD9E55] text-[16px]"
3519
3757
  };
3520
3758
 
3521
- var _hoisted_16 = /*#__PURE__*/vue.createTextVNode(" 页 ");
3759
+ var _hoisted_16$1 = /*#__PURE__*/vue.createTextVNode(" 页 ");
3522
3760
 
3523
- var _hoisted_17 = {
3761
+ var _hoisted_17$1 = {
3524
3762
  "class": "contentList"
3525
3763
  };
3526
- var _hoisted_18 = {
3764
+ var _hoisted_18$1 = {
3527
3765
  key: 0
3528
3766
  };
3529
- var _hoisted_19 = {
3767
+ var _hoisted_19$1 = {
3530
3768
  key: 0
3531
3769
  };
3532
- var _hoisted_20 = {
3770
+ var _hoisted_20$1 = {
3533
3771
  key: 0
3534
3772
  };
3535
- var _hoisted_21 = {
3773
+ var _hoisted_21$1 = {
3536
3774
  key: 1
3537
3775
  };
3538
- var _hoisted_22 = {
3776
+ var _hoisted_22$1 = {
3539
3777
  key: 2
3540
3778
  };
3541
3779
  var _hoisted_23 = {
@@ -3550,7 +3788,7 @@ var _hoisted_26 = ["onClick"];
3550
3788
  * 组件定义-------------------------------------
3551
3789
  * */
3552
3790
 
3553
- var script = /*#__PURE__*/vue.defineComponent({
3791
+ var script$1 = /*#__PURE__*/vue.defineComponent({
3554
3792
  __name: 'IVMrpVendorSelector',
3555
3793
  props: {
3556
3794
  show: {
@@ -3833,7 +4071,7 @@ var script = /*#__PURE__*/vue.defineComponent({
3833
4071
 
3834
4072
  var _component_a_dropdown = vue.resolveComponent("a-dropdown");
3835
4073
 
3836
- return vue.openBlock(), vue.createBlock(script$d, {
4074
+ return vue.openBlock(), vue.createBlock(script$f, {
3837
4075
  show: vue.unref(inputV),
3838
4076
  "onUpdate:show": _cache[5] || (_cache[5] = function ($event) {
3839
4077
  return vue.isRef(inputV) ? inputV.value = $event : null;
@@ -3841,10 +4079,10 @@ var script = /*#__PURE__*/vue.defineComponent({
3841
4079
  "remove-padding": false
3842
4080
  }, {
3843
4081
  title: vue.withCtx(function () {
3844
- return [vue.createElementVNode("div", _hoisted_1, [vue.createVNode(script$2), _hoisted_2])];
4082
+ return [vue.createElementVNode("div", _hoisted_1$1, [vue.createVNode(script$3), _hoisted_2$1])];
3845
4083
  }),
3846
4084
  body: vue.withCtx(function () {
3847
- return [vue.createElementVNode("div", _hoisted_3, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4, [vue.createElementVNode("div", _hoisted_5, [vue.createVNode(_component_a_select, {
4085
+ 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, {
3848
4086
  value: formData.typeIds,
3849
4087
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
3850
4088
  return formData.typeIds = $event;
@@ -3870,7 +4108,7 @@ var script = /*#__PURE__*/vue.defineComponent({
3870
4108
  }
3871
4109
  }, null, 8
3872
4110
  /* PROPS */
3873
- , ["value", "getPopupContainer", "filter-option", "options"]), vue.createVNode(vue.unref(script$8), {
4111
+ , ["value", "getPopupContainer", "filter-option", "options"]), vue.createVNode(vue.unref(script$a), {
3874
4112
  value: formData.lineIds,
3875
4113
  "onUpdate:value": _cache[1] || (_cache[1] = function ($event) {
3876
4114
  return formData.lineIds = $event;
@@ -3936,16 +4174,16 @@ var script = /*#__PURE__*/vue.defineComponent({
3936
4174
  onClick: onSearch
3937
4175
  }, {
3938
4176
  "default": vue.withCtx(function () {
3939
- return [_hoisted_6];
4177
+ return [_hoisted_6$1];
3940
4178
  }),
3941
4179
  _: 1
3942
4180
  /* STABLE */
3943
4181
 
3944
- })])]), vue.createCommentVNode(" 主体 "), vue.createElementVNode("div", _hoisted_7, [vue.createCommentVNode(" 分页 "), vue.createElementVNode("div", _hoisted_8, [vue.createElementVNode("div", _hoisted_9, [_hoisted_10, vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(totalPages.value), 1
4182
+ })])]), vue.createCommentVNode(" 主体 "), vue.createElementVNode("div", _hoisted_7$1, [vue.createCommentVNode(" 分页 "), vue.createElementVNode("div", _hoisted_8$1, [vue.createElementVNode("div", _hoisted_9$1, [_hoisted_10$1, vue.createElementVNode("span", _hoisted_11$1, vue.toDisplayString(totalPages.value), 1
3945
4183
  /* TEXT */
3946
- ), _hoisted_12, vue.createElementVNode("span", _hoisted_13, vue.toDisplayString(topCurrentPages.value), 1
4184
+ ), _hoisted_12$1, vue.createElementVNode("span", _hoisted_13$1, vue.toDisplayString(topCurrentPages.value), 1
3947
4185
  /* TEXT */
3948
- ), _hoisted_14, vue.createVNode(_component_a_dropdown, {
4186
+ ), _hoisted_14$1, vue.createVNode(_component_a_dropdown, {
3949
4187
  trigger: ['click']
3950
4188
  }, {
3951
4189
  overlay: vue.withCtx(function () {
@@ -3989,7 +4227,7 @@ var script = /*#__PURE__*/vue.defineComponent({
3989
4227
  return [vue.createElementVNode("a", {
3990
4228
  "class": "pl-2 ant-dropdown-link border-b border-[#BD9E55]",
3991
4229
  onClick: _cache[4] || (_cache[4] = vue.withModifiers(function () {}, ["prevent"]))
3992
- }, [vue.createElementVNode("span", _hoisted_15, vue.toDisplayString(topSelectPages.value), 1
4230
+ }, [vue.createElementVNode("span", _hoisted_15$1, vue.toDisplayString(topSelectPages.value), 1
3993
4231
  /* TEXT */
3994
4232
  ), vue.createVNode(_component_DownOutlined, {
3995
4233
  "class": "align-middle ml-1 mb-[4px]",
@@ -4001,7 +4239,7 @@ var script = /*#__PURE__*/vue.defineComponent({
4001
4239
  _: 1
4002
4240
  /* STABLE */
4003
4241
 
4004
- }), _hoisted_16])]), vue.createElementVNode("div", _hoisted_17, [vue.createVNode(vue.unref(script$c), {
4242
+ }), _hoisted_16$1])]), vue.createElementVNode("div", _hoisted_17$1, [vue.createVNode(vue.unref(script$e), {
4005
4243
  dataTh: vue.unref(th),
4006
4244
  contractExecDocList: dataV.value,
4007
4245
  currentPages: currentPages.value,
@@ -4017,7 +4255,7 @@ var script = /*#__PURE__*/vue.defineComponent({
4017
4255
  return [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e.item.vendorTypes, function (item, index) {
4018
4256
  return vue.openBlock(), vue.createElementBlock("span", null, [vue.createTextVNode(vue.toDisplayString(item.name) + " ", 1
4019
4257
  /* TEXT */
4020
- ), index !== e.item.vendorTypes.length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_18, ",")) : vue.createCommentVNode("v-if", true)]);
4258
+ ), index !== e.item.vendorTypes.length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_18$1, ",")) : vue.createCommentVNode("v-if", true)]);
4021
4259
  }), 256
4022
4260
  /* UNKEYED_FRAGMENT */
4023
4261
  ))];
@@ -4026,13 +4264,13 @@ var script = /*#__PURE__*/vue.defineComponent({
4026
4264
  return [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(e.item.lines, function (item, index) {
4027
4265
  return vue.openBlock(), vue.createElementBlock("span", null, [vue.createTextVNode(vue.toDisplayString(item.displayName) + " ", 1
4028
4266
  /* TEXT */
4029
- ), index !== e.item.lines.length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_19, ",")) : vue.createCommentVNode("v-if", true)]);
4267
+ ), index !== e.item.lines.length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_19$1, ",")) : vue.createCommentVNode("v-if", true)]);
4030
4268
  }), 256
4031
4269
  /* UNKEYED_FRAGMENT */
4032
4270
  ))];
4033
4271
  }),
4034
4272
  vendorLevel: vue.withCtx(function (e) {
4035
- return [e.item.vendorLevel === 0 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_20, "优质")) : e.item.vendorLevel === 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_21, "普通")) : e.item.vendorLevel === 2 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_22, "差")) : e.item.vendorLevel === 3 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_23, "内部")) : vue.createCommentVNode("v-if", true)];
4273
+ return [e.item.vendorLevel === 0 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_20$1, "优质")) : e.item.vendorLevel === 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_21$1, "普通")) : e.item.vendorLevel === 2 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_22$1, "差")) : e.item.vendorLevel === 3 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_23, "内部")) : vue.createCommentVNode("v-if", true)];
4036
4274
  }),
4037
4275
  name: vue.withCtx(function (e) {
4038
4276
  return [vue.createElementVNode("span", {
@@ -4071,14 +4309,489 @@ var script = /*#__PURE__*/vue.defineComponent({
4071
4309
  }
4072
4310
  });
4073
4311
 
4074
- script.__file = "src/business-ui/component/IVMrpVendorSelector.vue";
4312
+ script$1.__file = "src/business-ui/component/IVMrpVendorSelector.vue";
4313
+
4314
+ var _hoisted_1 = {
4315
+ "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
4316
+ };
4317
+
4318
+ var _hoisted_2 = /*#__PURE__*/vue.createElementVNode("span", {
4319
+ "class": "text-xl text-[#bd9e55] pl-2"
4320
+ }, "库存材料", -1
4321
+ /* HOISTED */
4322
+ );
4323
+
4324
+ var _hoisted_3 = {
4325
+ "class": "px-[150px]",
4326
+ id: "IVMrpUserSelector"
4327
+ };
4328
+ var _hoisted_4 = {
4329
+ "class": "mx-10"
4330
+ };
4331
+ var _hoisted_5 = {
4332
+ "class": "flex items-center my-4 justify-center"
4333
+ };
4334
+
4335
+ var _hoisted_6 = /*#__PURE__*/vue.createTextVNode("搜索");
4336
+
4337
+ var _hoisted_7 = {
4338
+ "class": "mt-10"
4339
+ };
4340
+ var _hoisted_8 = {
4341
+ "class": "flex justify-between mb-2"
4342
+ };
4343
+ var _hoisted_9 = {
4344
+ "class": "text-[#999999]"
4345
+ };
4346
+
4347
+ var _hoisted_10 = /*#__PURE__*/vue.createTextVNode(" 共有 ");
4348
+
4349
+ var _hoisted_11 = {
4350
+ "class": "text-[#BD9E55] text-[16px]"
4351
+ };
4352
+
4353
+ var _hoisted_12 = /*#__PURE__*/vue.createTextVNode(" 个记录满足条件,当前第 ");
4354
+
4355
+ var _hoisted_13 = {
4356
+ "class": "text-[#BD9E55] text-[16px]"
4357
+ };
4358
+
4359
+ var _hoisted_14 = /*#__PURE__*/vue.createTextVNode(" 页,跳转到第 ");
4360
+
4361
+ var _hoisted_15 = {
4362
+ "class": "text-[#BD9E55] text-[16px]"
4363
+ };
4364
+
4365
+ var _hoisted_16 = /*#__PURE__*/vue.createTextVNode(" 页 ");
4366
+
4367
+ var _hoisted_17 = {
4368
+ "class": "contentList"
4369
+ };
4370
+ var _hoisted_18 = {
4371
+ key: 0,
4372
+ style: {
4373
+ "color": "#27bc04"
4374
+ }
4375
+ };
4376
+ var _hoisted_19 = {
4377
+ key: 1,
4378
+ style: {
4379
+ "color": "#ff0066"
4380
+ }
4381
+ };
4382
+ var _hoisted_20 = {
4383
+ key: 2
4384
+ };
4385
+ var _hoisted_21 = {
4386
+ "class": "flex items-center justify-around text-[#006AB2] text-[13px]"
4387
+ };
4388
+ var _hoisted_22 = ["onClick"];
4389
+ /**
4390
+ * 组件定义-------------------------------------
4391
+ * */
4392
+
4393
+ var script = /*#__PURE__*/vue.defineComponent({
4394
+ __name: 'IVMrpMaterialSelector',
4395
+ props: {
4396
+ show: {
4397
+ type: Boolean,
4398
+ required: true
4399
+ }
4400
+ },
4401
+ emits: ["update:show", "getItem"],
4402
+ setup: function setup(__props, _ref) {
4403
+ var emit = _ref.emit;
4404
+ var props = __props;
4405
+ /**
4406
+ * 搜索-------------------------------------
4407
+ * */
4408
+
4409
+ var formData = vue.reactive({
4410
+ materialName: null,
4411
+ skipCount: 0,
4412
+ maxResultCount: 10
4413
+ });
4414
+ /**
4415
+ * 获取数据-------------------------------------
4416
+ * */
4417
+
4418
+ var dataV = vue.ref();
4419
+
4420
+ var getData = /*#__PURE__*/function () {
4421
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
4422
+ var _option,
4423
+ _a,
4424
+ _yield$formatHTTP,
4425
+ items,
4426
+ totalCount,
4427
+ _args = arguments;
4428
+
4429
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
4430
+ while (1) {
4431
+ switch (_context.prev = _context.next) {
4432
+ case 0:
4433
+ _option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
4434
+ _context.next = 3;
4435
+ return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.getIVMrpMaterialSelector.url, _option.params), assign({
4436
+ data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
4437
+ }, API_OPTION.getIVMrpMaterialSelector.option)));
4438
+
4439
+ case 3:
4440
+ _yield$formatHTTP = _context.sent;
4441
+ items = _yield$formatHTTP.items;
4442
+ totalCount = _yield$formatHTTP.totalCount;
4443
+ dataV.value = items.map(function (item, index) {
4444
+ item.creationTime = dateFormat(item.creationTime, "YYYY-MM-DD");
4445
+ return item;
4446
+ });
4447
+ totalPages.value = totalCount;
4448
+ topPages.value = Math.ceil(totalPages.value / formData.maxResultCount);
4449
+
4450
+ case 9:
4451
+ case "end":
4452
+ return _context.stop();
4453
+ }
4454
+ }
4455
+ }, _callee);
4456
+ }));
4457
+
4458
+ return function getData() {
4459
+ return _ref2.apply(this, arguments);
4460
+ };
4461
+ }();
4462
+ /**
4463
+ * 表格-------------------------------------
4464
+ * */
4465
+
4466
+
4467
+ var th = vue.ref([{
4468
+ title: "序号",
4469
+ w: 54 / 1499 * 100 + "%",
4470
+ key: "index",
4471
+ show: true
4472
+ }, {
4473
+ title: "材料编号",
4474
+ w: 104 / 1499 * 100 + "%",
4475
+ key: "serialNumber",
4476
+ show: true
4477
+ }, {
4478
+ title: "材料名称",
4479
+ w: 104 / 1499 * 100 + "%",
4480
+ key: "materialName",
4481
+ show: true
4482
+ }, {
4483
+ title: "仓库名称",
4484
+ w: 104 / 1499 * 100 + "%",
4485
+ key: "locationName",
4486
+ show: true
4487
+ }, {
4488
+ title: "总数量",
4489
+ w: 104 / 1499 * 100 + "%",
4490
+ key: "totalQuantity",
4491
+ show: true
4492
+ }, {
4493
+ title: "剩余数量",
4494
+ w: 104 / 1499 * 100 + "%",
4495
+ key: "remainQuantity",
4496
+ show: true
4497
+ }, {
4498
+ title: "单位",
4499
+ w: 104 / 1499 * 100 + "%",
4500
+ key: "unitName",
4501
+ show: true
4502
+ }, {
4503
+ title: "单价",
4504
+ unit: "(元)",
4505
+ w: 104 / 1499 * 100 + "%",
4506
+ key: "unitPrice",
4507
+ show: true
4508
+ }, {
4509
+ title: "暂估单价",
4510
+ w: 104 / 1499 * 100 + "%",
4511
+ key: "estimationUnitPrice",
4512
+ show: true
4513
+ }, {
4514
+ title: "验收单价",
4515
+ w: 104 / 1499 * 100 + "%",
4516
+ key: "acceptanceUnitPrice",
4517
+ show: true
4518
+ }, {
4519
+ title: "创建人",
4520
+ w: 109 / 1499 * 100 + "%",
4521
+ key: "creatorName",
4522
+ show: true
4523
+ }, {
4524
+ title: "创建时间",
4525
+ w: 109 / 1499 * 100 + "%",
4526
+ key: "creationTime",
4527
+ show: true
4528
+ }, {
4529
+ title: "",
4530
+ w: 45 / 1333 * 100 + "%",
4531
+ key: "buttonSlot",
4532
+ show: true
4533
+ }]); // 更新th
4534
+
4535
+ var upth = function upth(val) {
4536
+ th.value = val;
4537
+ }; //获取指定记录
4538
+
4539
+
4540
+ function sendItem(_x) {
4541
+ return _sendItem.apply(this, arguments);
4542
+ }
4543
+ /**
4544
+ * 分页-------------------------------------
4545
+ * */
4546
+
4547
+
4548
+ function _sendItem() {
4549
+ _sendItem = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(item) {
4550
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
4551
+ while (1) {
4552
+ switch (_context2.prev = _context2.next) {
4553
+ case 0:
4554
+ emit("getItem", JSON.stringify(item));
4555
+ inputV.value = false;
4556
+
4557
+ case 2:
4558
+ case "end":
4559
+ return _context2.stop();
4560
+ }
4561
+ }
4562
+ }, _callee2);
4563
+ }));
4564
+ return _sendItem.apply(this, arguments);
4565
+ }
4566
+
4567
+ var currentPages = vue.ref(1);
4568
+ var topCurrentPages = vue.ref(1);
4569
+ var topPages = vue.ref(0);
4570
+ var topSelectPages = vue.ref(1);
4571
+ var totalPages = vue.ref(0); // 重置搜索分页
4572
+
4573
+ function resetPagination() {
4574
+ formData.skipCount = 0;
4575
+ currentPages.value = 1;
4576
+ topCurrentPages.value = 1;
4577
+ topPages.value = 0;
4578
+ topSelectPages.value = 1;
4579
+ }
4580
+
4581
+ function onPageChange(current, pageSize) {
4582
+ topCurrentPages.value = current;
4583
+ topSelectPages.value = current;
4584
+ currentPages.value = current;
4585
+ formData.skipCount = (current - 1) * pageSize;
4586
+ formData.maxResultCount = pageSize;
4587
+ getData({
4588
+ params: formData
4589
+ });
4590
+ }
4591
+
4592
+ function onShowSizeChange(current, pageSize) {
4593
+ topCurrentPages.value = current;
4594
+ topSelectPages.value = current;
4595
+ formData.maxResultCount = pageSize;
4596
+ getData({
4597
+ params: formData
4598
+ });
4599
+ }
4600
+
4601
+ function onSelectTopPage(id) {
4602
+ topSelectPages.value = id;
4603
+ currentPages.value = id;
4604
+ onPageChange(id, formData.maxResultCount);
4605
+ }
4606
+
4607
+ function onSearch() {
4608
+ resetPagination();
4609
+ getData({
4610
+ params: formData
4611
+ });
4612
+ }
4613
+
4614
+ vue.onBeforeMount(function () {
4615
+ getData({
4616
+ params: formData
4617
+ });
4618
+ });
4619
+ var inputV = vue.computed({
4620
+ get: function get() {
4621
+ return props.show;
4622
+ },
4623
+ set: function set(value) {
4624
+ emit("update:show", value);
4625
+ }
4626
+ });
4627
+ return function (_ctx, _cache) {
4628
+ var _component_a_input = vue.resolveComponent("a-input");
4629
+
4630
+ var _component_a_button = vue.resolveComponent("a-button");
4631
+
4632
+ var _component_DownOutlined = vue.resolveComponent("DownOutlined");
4633
+
4634
+ var _component_a_menu_item = vue.resolveComponent("a-menu-item");
4635
+
4636
+ var _component_a_menu = vue.resolveComponent("a-menu");
4637
+
4638
+ var _component_a_dropdown = vue.resolveComponent("a-dropdown");
4639
+
4640
+ return vue.openBlock(), vue.createBlock(script$f, {
4641
+ show: vue.unref(inputV),
4642
+ "onUpdate:show": _cache[2] || (_cache[2] = function ($event) {
4643
+ return vue.isRef(inputV) ? inputV.value = $event : null;
4644
+ }),
4645
+ "remove-padding": false
4646
+ }, {
4647
+ title: vue.withCtx(function () {
4648
+ return [vue.createElementVNode("div", _hoisted_1, [vue.createVNode(script$3), _hoisted_2])];
4649
+ }),
4650
+ body: vue.withCtx(function () {
4651
+ return [vue.createElementVNode("div", _hoisted_3, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4, [vue.createElementVNode("div", _hoisted_5, [vue.createVNode(_component_a_input, {
4652
+ value: formData.materialName,
4653
+ "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
4654
+ return formData.materialName = $event;
4655
+ }),
4656
+ style: {
4657
+ "width": "428px",
4658
+ "margin-right": "15px"
4659
+ },
4660
+ "class": "mr-4",
4661
+ placeholder: "请输入材料型号规格名称",
4662
+ onKeyup: vue.withKeys(onSearch, ["enter"])
4663
+ }, null, 8
4664
+ /* PROPS */
4665
+ , ["value", "onKeyup"]), vue.createVNode(_component_a_button, {
4666
+ style: {
4667
+ "padding": "4px 10px",
4668
+ "border-radius": "4px",
4669
+ "background": "#006ab2",
4670
+ "margin-right": "15px",
4671
+ "color": "#fff"
4672
+ },
4673
+ onClick: onSearch
4674
+ }, {
4675
+ "default": vue.withCtx(function () {
4676
+ return [_hoisted_6];
4677
+ }),
4678
+ _: 1
4679
+ /* STABLE */
4680
+
4681
+ })])]), vue.createCommentVNode(" 主体 "), vue.createElementVNode("div", _hoisted_7, [vue.createCommentVNode(" 分页 "), vue.createElementVNode("div", _hoisted_8, [vue.createElementVNode("div", _hoisted_9, [_hoisted_10, vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(totalPages.value), 1
4682
+ /* TEXT */
4683
+ ), _hoisted_12, vue.createElementVNode("span", _hoisted_13, vue.toDisplayString(topCurrentPages.value), 1
4684
+ /* TEXT */
4685
+ ), _hoisted_14, vue.createVNode(_component_a_dropdown, {
4686
+ trigger: ['click']
4687
+ }, {
4688
+ overlay: vue.withCtx(function () {
4689
+ return [vue.createVNode(_component_a_menu, {
4690
+ getPopupContainer: function getPopupContainer(triggerNode) {
4691
+ return triggerNode.parentNode;
4692
+ },
4693
+ "class": "max-h-40 overflow-y-auto scrollbar"
4694
+ }, {
4695
+ "default": vue.withCtx(function () {
4696
+ return [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(topPages.value, function (e) {
4697
+ return vue.openBlock(), vue.createBlock(_component_a_menu_item, {
4698
+ key: e,
4699
+ onClick: function onClick($event) {
4700
+ return onSelectTopPage(e);
4701
+ }
4702
+ }, {
4703
+ "default": vue.withCtx(function () {
4704
+ return [vue.createTextVNode(vue.toDisplayString(e), 1
4705
+ /* TEXT */
4706
+ )];
4707
+ }),
4708
+ _: 2
4709
+ /* DYNAMIC */
4710
+
4711
+ }, 1032
4712
+ /* PROPS, DYNAMIC_SLOTS */
4713
+ , ["onClick"]);
4714
+ }), 128
4715
+ /* KEYED_FRAGMENT */
4716
+ ))];
4717
+ }),
4718
+ _: 1
4719
+ /* STABLE */
4720
+
4721
+ }, 8
4722
+ /* PROPS */
4723
+ , ["getPopupContainer"])];
4724
+ }),
4725
+ "default": vue.withCtx(function () {
4726
+ return [vue.createElementVNode("a", {
4727
+ "class": "pl-2 ant-dropdown-link border-b border-[#BD9E55]",
4728
+ onClick: _cache[1] || (_cache[1] = vue.withModifiers(function () {}, ["prevent"]))
4729
+ }, [vue.createElementVNode("span", _hoisted_15, vue.toDisplayString(topSelectPages.value), 1
4730
+ /* TEXT */
4731
+ ), vue.createVNode(_component_DownOutlined, {
4732
+ "class": "align-middle ml-1 mb-[4px]",
4733
+ style: {
4734
+ "font-size": "16px"
4735
+ }
4736
+ })])];
4737
+ }),
4738
+ _: 1
4739
+ /* STABLE */
4740
+
4741
+ }), _hoisted_16])]), vue.createElementVNode("div", _hoisted_17, [vue.createVNode(vue.unref(script$e), {
4742
+ dataTh: vue.unref(th),
4743
+ contractExecDocList: dataV.value,
4744
+ currentPages: currentPages.value,
4745
+ totalPages: totalPages.value,
4746
+ formData: formData,
4747
+ setHeight: 40,
4748
+ isTableControl: false,
4749
+ onOnPageChange: onPageChange,
4750
+ onOnShowSizeChange: onShowSizeChange,
4751
+ onUpth: upth
4752
+ }, {
4753
+ isverify: vue.withCtx(function (e) {
4754
+ return [vue.createElementVNode("div", null, [e.item.isverify == '审核通过' ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_18, vue.toDisplayString(e.item.isverify), 1
4755
+ /* TEXT */
4756
+ )) : e.item.isverify == '已拒绝' ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_19, vue.toDisplayString(e.item.isverify), 1
4757
+ /* TEXT */
4758
+ )) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_20, "待审核"))])];
4759
+ }),
4760
+ buttonSlot: vue.withCtx(function (buttonSlot) {
4761
+ return [vue.createElementVNode("div", _hoisted_21, [vue.createElementVNode("span", {
4762
+ "class": "cursor-pointer",
4763
+ onClick: function onClick($event) {
4764
+ return sendItem(buttonSlot.item);
4765
+ }
4766
+ }, "选择", 8
4767
+ /* PROPS */
4768
+ , _hoisted_22)])];
4769
+ }),
4770
+ _: 1
4771
+ /* STABLE */
4772
+
4773
+ }, 8
4774
+ /* PROPS */
4775
+ , ["dataTh", "contractExecDocList", "currentPages", "totalPages", "formData"])])])])];
4776
+ }),
4777
+ _: 1
4778
+ /* STABLE */
4779
+
4780
+ }, 8
4781
+ /* PROPS */
4782
+ , ["show"]);
4783
+ };
4784
+ }
4785
+ });
4786
+
4787
+ script.__file = "src/business-ui/component/IVMrpMaterialSelector.vue";
4075
4788
 
4076
4789
  /*
4077
4790
  * @Author: Mr.Cong Wei
4078
4791
  * @Date: 2022-08-08 18:47:06
4079
- * @LastEditTime: 2022-08-12 15:07:51
4792
+ * @LastEditTime: 2022-08-12 16:07:20
4080
4793
  */
4081
- var components = [script$d, script$a, script$9, script$8, script$7, script$6, script$5, script$c, script$b, script$1, script, script$4, script$3];
4794
+ var components = [script$f, script$c, script$b, script$a, script$9, script$8, script$7, script$e, script$d, script$6, script$5, script$4, script$2, script$1, script];
4082
4795
  installComponents(); // 单独引用
4083
4796
 
4084
4797
  function installComponents() {
@@ -4100,17 +4813,19 @@ var cAll = {
4100
4813
  install: install
4101
4814
  };
4102
4815
 
4103
- exports.IVMrpLineDropdown = script$8;
4104
- exports.IVMrpManagDropdown = script$5;
4105
- exports.IVMrpModal = script$d;
4106
- exports.IVMrpOrgDropdown = script$a;
4107
- exports.IVMrpPostDropdown = script$6;
4108
- exports.IVMrpProdBaseDropdown = script$9;
4109
- exports.IVMrpRateDropdown = script$4;
4110
- exports.IVMrpSetofbookDropdown = script$7;
4111
- exports.IVMrpTable = script$c;
4112
- exports.IVMrpTableControl = script$b;
4113
- exports.IVMrpUnitDropdown = script$3;
4114
- exports.IVMrpUserSelector = script$1;
4115
- exports.IVMrpVendorSelector = script;
4816
+ exports.IVMrpLineDropdown = script$a;
4817
+ exports.IVMrpManagDropdown = script$7;
4818
+ exports.IVMrpMaterialSelector = script;
4819
+ exports.IVMrpMaterialTypeDropdown = script$4;
4820
+ exports.IVMrpModal = script$f;
4821
+ exports.IVMrpOrgDropdown = script$c;
4822
+ exports.IVMrpPostDropdown = script$8;
4823
+ exports.IVMrpProdBaseDropdown = script$b;
4824
+ exports.IVMrpRateDropdown = script$6;
4825
+ exports.IVMrpSetofbookDropdown = script$9;
4826
+ exports.IVMrpTable = script$e;
4827
+ exports.IVMrpTableControl = script$d;
4828
+ exports.IVMrpUnitDropdown = script$5;
4829
+ exports.IVMrpUserSelector = script$2;
4830
+ exports.IVMrpVendorSelector = script$1;
4116
4831
  exports["default"] = cAll;