ocpview-plus 1.2.4 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,58 +1,58 @@
1
-
2
- ### 1.0.18 更新说明
3
- ListDetail 模板 EditGrid 增加键盘导航
4
-
5
- ### 1.0.19 更新说明
6
- ListDetail 模板 EditGrid 屏蔽键盘导航
7
-
8
- ### 1.1.0 更新说明
9
- 支持单据明细导出
10
- 用例简介:
11
- ```
12
- // 按钮配置
13
- {
14
- icon: "custom-export",
15
- name: "billExport",
16
- text: "导出",
17
- }
18
-
19
-
20
- // 多明细导出配置,若非多明细可不配置
21
- billImportConfig: {
22
- typeData: [
23
- { code: 'goods_1', name: '单品' },
24
- { code: 'comb_2', name: '组合' },
25
- ],
26
- }
27
- ```
28
-
29
- ### 1.1.1 更新说明
30
- 导出默认加mktcode
31
-
32
- ### 1.1.2 更新说明
33
- 导出xls格式
34
-
35
- ### 1.1.3 更新说明
36
- 修复:调整高度导致合计丢失问题
37
-
38
- ### 1.1.4 更新说明
39
- DateBox 升级,增加快捷赋值操作配置项
40
-
41
- ### 1.1.5 更新说明
42
- PopTextBox 精灵多级参数透传
43
-
44
- ### 1.1.6 更新说明
45
- 1、LeftListRightDetails 模版增加操作日志功能
46
- 2、Tree 空间查询增强
47
-
48
- ### 1.2.0 更新说明
49
- tree vue3 升级
50
-
51
- ### 1.2.2 更新说明
52
- datebox format 修复
53
-
54
- ### 1.2.3 更新说明
55
- 修复treebox回显
56
-
57
- ### 1.2.4 更新说明
58
- 附件按钮只读控制
1
+
2
+ ### 1.0.18 更新说明
3
+ ListDetail 模板 EditGrid 增加键盘导航
4
+
5
+ ### 1.0.19 更新说明
6
+ ListDetail 模板 EditGrid 屏蔽键盘导航
7
+
8
+ ### 1.1.0 更新说明
9
+ 支持单据明细导出
10
+ 用例简介:
11
+ ```
12
+ // 按钮配置
13
+ {
14
+ icon: "custom-export",
15
+ name: "billExport",
16
+ text: "导出",
17
+ }
18
+
19
+
20
+ // 多明细导出配置,若非多明细可不配置
21
+ billImportConfig: {
22
+ typeData: [
23
+ { code: 'goods_1', name: '单品' },
24
+ { code: 'comb_2', name: '组合' },
25
+ ],
26
+ }
27
+ ```
28
+
29
+ ### 1.1.1 更新说明
30
+ 导出默认加mktcode
31
+
32
+ ### 1.1.2 更新说明
33
+ 导出xls格式
34
+
35
+ ### 1.1.3 更新说明
36
+ 修复:调整高度导致合计丢失问题
37
+
38
+ ### 1.1.4 更新说明
39
+ DateBox 升级,增加快捷赋值操作配置项
40
+
41
+ ### 1.1.5 更新说明
42
+ PopTextBox 精灵多级参数透传
43
+
44
+ ### 1.1.6 更新说明
45
+ 1、LeftListRightDetails 模版增加操作日志功能
46
+ 2、Tree 空间查询增强
47
+
48
+ ### 1.2.0 更新说明
49
+ tree vue3 升级
50
+
51
+ ### 1.2.2 更新说明
52
+ datebox format 修复
53
+
54
+ ### 1.2.3 更新说明
55
+ 修复treebox回显
56
+
57
+ ### 1.2.4 更新说明
58
+ 附件按钮只读控制
@@ -453,7 +453,7 @@ common.initEview = function(ViewUI2) {
453
453
  common.initAnchor(ViewUI2.Anchor);
454
454
  };
455
455
  const name = "ocpview-plus";
456
- const version$2 = "1.2.4";
456
+ const version$2 = "1.2.5";
457
457
  const title = "ocpviewPlus";
458
458
  const description = "A high quality Service UI components Library with Vue.js";
459
459
  const homepage = "";
@@ -56480,7 +56480,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
56480
56480
  var mListDetailsV2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["render", _sfc_render$7]]);
56481
56481
  var BillListPanelV3QueryBar_vue_vue_type_style_index_0_lang = "";
56482
56482
  const _sfc_main$7 = {
56483
- name: "BillListPanelV2QueryBar",
56483
+ name: "BillListPanelV3QueryBar",
56484
56484
  extends: querybar,
56485
56485
  data() {
56486
56486
  return {
@@ -56566,7 +56566,7 @@ const _sfc_main$7 = {
56566
56566
  }
56567
56567
  };
56568
56568
  const _hoisted_1$6 = { class: "querybar list-details-v3-panel" };
56569
- const _hoisted_2$1 = { style: { "margin-top": "20px" } };
56569
+ const _hoisted_2$1 = { style: { "margin-top": "14px" } };
56570
56570
  function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
56571
56571
  const _component_FormBox = resolveComponent("FormBox");
56572
56572
  const _component_Col = resolveComponent("Col");
@@ -56579,209 +56579,219 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
56579
56579
  const _component_Dropdown = resolveComponent("Dropdown");
56580
56580
  const _component_PromptMessages = resolveComponent("PromptMessages");
56581
56581
  const _component_Row = resolveComponent("Row");
56582
+ const _component_Card = resolveComponent("Card");
56582
56583
  const _component_BillConditionsBox = resolveComponent("BillConditionsBox");
56583
56584
  return openBlock(), createElementBlock("div", _hoisted_1$6, [
56584
- createVNode(_component_Row, {
56585
- type: "flex",
56586
- gutter: 0
56585
+ createVNode(_component_Card, {
56586
+ padding: 0,
56587
+ style: { "padding": "14px 16px" },
56588
+ "dis-hover": ""
56587
56589
  }, {
56588
56590
  default: withCtx(() => [
56589
- createVNode(_component_Col, { span: "16" }, {
56590
- default: withCtx(() => [
56591
- $data.searchFormListShowType ? (openBlock(), createBlock(_component_FormBox, {
56592
- key: 0,
56593
- ref: "searchFormListVM",
56594
- config: $data.searchFormList,
56595
- dictData: _ctx.dictData
56596
- }, null, 8, ["config", "dictData"])) : createCommentVNode("", true)
56597
- ]),
56598
- _: 1
56599
- }),
56600
- createVNode(_component_Col, { span: "8" }, {
56591
+ createVNode(_component_Row, {
56592
+ type: "flex",
56593
+ gutter: 0
56594
+ }, {
56601
56595
  default: withCtx(() => [
56602
- createVNode(_component_Row, {
56603
- type: "flex",
56604
- justify: "end",
56605
- gutter: 0
56606
- }, {
56596
+ createVNode(_component_Col, { span: "16" }, {
56607
56597
  default: withCtx(() => [
56608
- createVNode(_component_Col, { style: { "margin-right": "10px" } }, {
56598
+ $data.searchFormListShowType ? (openBlock(), createBlock(_component_FormBox, {
56599
+ key: 0,
56600
+ ref: "searchFormListVM",
56601
+ config: $data.searchFormList,
56602
+ dictData: _ctx.dictData
56603
+ }, null, 8, ["config", "dictData"])) : createCommentVNode("", true)
56604
+ ]),
56605
+ _: 1
56606
+ }),
56607
+ createVNode(_component_Col, { span: "8" }, {
56608
+ default: withCtx(() => [
56609
+ createVNode(_component_Row, {
56610
+ type: "flex",
56611
+ justify: "end",
56612
+ gutter: 0
56613
+ }, {
56609
56614
  default: withCtx(() => [
56610
- createVNode(_component_Button, {
56611
- customIcon: "iconfont icon-custom-search",
56612
- type: "primary",
56613
- onClick: _ctx.search
56614
- }, {
56615
- default: withCtx(() => _cache[0] || (_cache[0] = [
56616
- createTextVNode("\u67E5\u8BE2")
56617
- ])),
56615
+ createVNode(_component_Col, { style: { "margin-right": "10px" } }, {
56616
+ default: withCtx(() => [
56617
+ createVNode(_component_Button, {
56618
+ customIcon: "iconfont icon-custom-search",
56619
+ type: "primary",
56620
+ onClick: _ctx.search
56621
+ }, {
56622
+ default: withCtx(() => _cache[0] || (_cache[0] = [
56623
+ createTextVNode("\u67E5\u8BE2")
56624
+ ])),
56625
+ _: 1
56626
+ }, 8, ["onClick"])
56627
+ ]),
56618
56628
  _: 1
56619
- }, 8, ["onClick"])
56620
- ]),
56621
- _: 1
56622
- }),
56623
- createVNode(_component_Col, null, {
56624
- default: withCtx(() => [
56625
- createVNode(_component_Button, {
56626
- customIcon: "iconfont icon-custom-reset",
56627
- onClick: $options.clear
56628
- }, {
56629
- default: withCtx(() => _cache[1] || (_cache[1] = [
56630
- createTextVNode("\u91CD\u7F6E")
56631
- ])),
56629
+ }),
56630
+ createVNode(_component_Col, null, {
56631
+ default: withCtx(() => [
56632
+ createVNode(_component_Button, {
56633
+ customIcon: "iconfont icon-custom-reset",
56634
+ onClick: $options.clear
56635
+ }, {
56636
+ default: withCtx(() => _cache[1] || (_cache[1] = [
56637
+ createTextVNode("\u91CD\u7F6E")
56638
+ ])),
56639
+ _: 1
56640
+ }, 8, ["onClick"])
56641
+ ]),
56632
56642
  _: 1
56633
- }, 8, ["onClick"])
56634
- ]),
56635
- _: 1
56636
- }),
56637
- createVNode(_component_Col, null, {
56638
- default: withCtx(() => [
56639
- createVNode(_component_Divider, {
56640
- type: "vertical",
56641
- class: "dividercommon"
56642
- })
56643
- ]),
56644
- _: 1
56645
- }),
56646
- createVNode(_component_Col, { style: { "padding-right": "20px" } }, {
56647
- default: withCtx(() => [
56648
- createVNode(_component_Dropdown, {
56649
- trigger: "custom",
56650
- visible: _ctx.filterSceneFlag,
56651
- onOnClick: _ctx.filterAction,
56652
- placement: "bottom-start",
56653
- onOnClickoutside: _ctx.closeFilterScene
56654
- }, {
56655
- list: withCtx(() => [
56656
- createVNode(_component_DropdownMenu, null, {
56643
+ }),
56644
+ createVNode(_component_Col, null, {
56645
+ default: withCtx(() => [
56646
+ createVNode(_component_Divider, {
56647
+ type: "vertical",
56648
+ class: "dividercommon"
56649
+ })
56650
+ ]),
56651
+ _: 1
56652
+ }),
56653
+ createVNode(_component_Col, { style: { "padding-right": "20px" } }, {
56654
+ default: withCtx(() => [
56655
+ createVNode(_component_Dropdown, {
56656
+ trigger: "custom",
56657
+ visible: _ctx.filterSceneFlag,
56658
+ onOnClick: _ctx.filterAction,
56659
+ placement: "bottom-start",
56660
+ onOnClickoutside: _ctx.closeFilterScene
56661
+ }, {
56662
+ list: withCtx(() => [
56663
+ createVNode(_component_DropdownMenu, null, {
56664
+ default: withCtx(() => [
56665
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.sceneData, (temp, index) => {
56666
+ return openBlock(), createBlock(_component_DropdownItem, {
56667
+ selected: temp.scenename == _ctx.selectedScence,
56668
+ name: temp.scenename,
56669
+ key: "scene_" + index
56670
+ }, {
56671
+ default: withCtx(() => [
56672
+ createTextVNode(toDisplayString(temp.scenename), 1)
56673
+ ]),
56674
+ _: 2
56675
+ }, 1032, ["selected", "name"]);
56676
+ }), 128))
56677
+ ]),
56678
+ _: 1
56679
+ })
56680
+ ]),
56657
56681
  default: withCtx(() => [
56658
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.sceneData, (temp, index) => {
56659
- return openBlock(), createBlock(_component_DropdownItem, {
56660
- selected: temp.scenename == _ctx.selectedScence,
56661
- name: temp.scenename,
56662
- key: "scene_" + index
56663
- }, {
56664
- default: withCtx(() => [
56665
- createTextVNode(toDisplayString(temp.scenename), 1)
56666
- ]),
56667
- _: 2
56668
- }, 1032, ["selected", "name"]);
56669
- }), 128))
56682
+ createVNode(_component_Badge, {
56683
+ "class-name": "badgeclass",
56684
+ count: _ctx.sceneNum
56685
+ }, {
56686
+ default: withCtx(() => [
56687
+ createVNode(_component_ButtonGroup, null, {
56688
+ default: withCtx(() => [
56689
+ createVNode(_component_Button, {
56690
+ customIcon: "iconfont icon-custom-filter",
56691
+ onClick: _ctx.updataFilterScene
56692
+ }, {
56693
+ default: withCtx(() => _cache[2] || (_cache[2] = [
56694
+ createTextVNode("\u9AD8\u7EA7\u67E5\u8BE2")
56695
+ ])),
56696
+ _: 1
56697
+ }, 8, ["onClick"]),
56698
+ !_ctx.filterSceneFlag && _ctx.sceneFlag ? (openBlock(), createBlock(_component_Button, {
56699
+ key: 0,
56700
+ icon: "ios-arrow-down",
56701
+ onClick: _ctx.openFilterScene
56702
+ }, null, 8, ["onClick"])) : createCommentVNode("", true),
56703
+ _ctx.filterSceneFlag && _ctx.sceneFlag ? (openBlock(), createBlock(_component_Button, {
56704
+ key: 1,
56705
+ icon: "ios-arrow-up",
56706
+ onClick: _ctx.closeFilterScene
56707
+ }, null, 8, ["onClick"])) : createCommentVNode("", true)
56708
+ ]),
56709
+ _: 1
56710
+ })
56711
+ ]),
56712
+ _: 1
56713
+ }, 8, ["count"])
56670
56714
  ]),
56671
56715
  _: 1
56672
- })
56716
+ }, 8, ["visible", "onOnClick", "onOnClickoutside"])
56673
56717
  ]),
56718
+ _: 1
56719
+ }),
56720
+ createVNode(_component_Col, { style: { "padding-right": "10px" } }, {
56674
56721
  default: withCtx(() => [
56675
- createVNode(_component_Badge, {
56676
- "class-name": "badgeclass",
56677
- count: _ctx.sceneNum
56722
+ createVNode(_component_Dropdown, {
56723
+ trigger: "custom",
56724
+ visible: _ctx.btnFlag,
56725
+ onOnClick: _ctx.action,
56726
+ placement: "bottom-start",
56727
+ onOnClickoutside: _ctx.closeBtn
56678
56728
  }, {
56729
+ list: withCtx(() => [
56730
+ createVNode(_component_DropdownMenu, null, {
56731
+ default: withCtx(() => [
56732
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.btnData, (item, index) => {
56733
+ return openBlock(), createBlock(_component_DropdownItem, {
56734
+ style: { "padding-left": "0px" },
56735
+ key: "btn_" + index
56736
+ }, {
56737
+ default: withCtx(() => [
56738
+ createVNode(_component_Button, {
56739
+ icon: item.icon,
56740
+ type: "text",
56741
+ customIcon: item.customIcon,
56742
+ onClick: ($event) => _ctx.action(item.name)
56743
+ }, {
56744
+ default: withCtx(() => [
56745
+ createTextVNode(toDisplayString(item.text), 1)
56746
+ ]),
56747
+ _: 2
56748
+ }, 1032, ["icon", "customIcon", "onClick"])
56749
+ ]),
56750
+ _: 2
56751
+ }, 1024);
56752
+ }), 128))
56753
+ ]),
56754
+ _: 1
56755
+ })
56756
+ ]),
56679
56757
  default: withCtx(() => [
56680
56758
  createVNode(_component_ButtonGroup, null, {
56681
56759
  default: withCtx(() => [
56682
- createVNode(_component_Button, {
56683
- customIcon: "iconfont icon-custom-filter",
56684
- onClick: _ctx.updataFilterScene
56760
+ _ctx.addDataBtnFlag ? (openBlock(), createBlock(_component_Button, {
56761
+ key: 0,
56762
+ customIcon: "iconfont icon-custom-add",
56763
+ onClick: _ctx.addData
56685
56764
  }, {
56686
- default: withCtx(() => _cache[2] || (_cache[2] = [
56687
- createTextVNode("\u9AD8\u7EA7\u67E5\u8BE2")
56765
+ default: withCtx(() => _cache[3] || (_cache[3] = [
56766
+ createTextVNode("\u65B0\u589E")
56688
56767
  ])),
56689
56768
  _: 1
56690
- }, 8, ["onClick"]),
56691
- !_ctx.filterSceneFlag && _ctx.sceneFlag ? (openBlock(), createBlock(_component_Button, {
56692
- key: 0,
56769
+ }, 8, ["onClick"])) : createCommentVNode("", true),
56770
+ !_ctx.btnFlag && _ctx.moreBtnFlag ? (openBlock(), createBlock(_component_Button, {
56771
+ key: 1,
56693
56772
  icon: "ios-arrow-down",
56694
- onClick: _ctx.openFilterScene
56773
+ onClick: _ctx.openBtn
56695
56774
  }, null, 8, ["onClick"])) : createCommentVNode("", true),
56696
- _ctx.filterSceneFlag && _ctx.sceneFlag ? (openBlock(), createBlock(_component_Button, {
56697
- key: 1,
56775
+ _ctx.btnFlag && _ctx.moreBtnFlag ? (openBlock(), createBlock(_component_Button, {
56776
+ key: 2,
56698
56777
  icon: "ios-arrow-up",
56699
- onClick: _ctx.closeFilterScene
56778
+ onClick: _ctx.closeBtn
56700
56779
  }, null, 8, ["onClick"])) : createCommentVNode("", true)
56701
56780
  ]),
56702
56781
  _: 1
56703
56782
  })
56704
56783
  ]),
56705
56784
  _: 1
56706
- }, 8, ["count"])
56785
+ }, 8, ["visible", "onOnClick", "onOnClickoutside"])
56707
56786
  ]),
56708
56787
  _: 1
56709
- }, 8, ["visible", "onOnClick", "onOnClickoutside"])
56710
- ]),
56711
- _: 1
56712
- }),
56713
- createVNode(_component_Col, { style: { "padding-right": "10px" } }, {
56714
- default: withCtx(() => [
56715
- createVNode(_component_Dropdown, {
56716
- trigger: "custom",
56717
- visible: _ctx.btnFlag,
56718
- onOnClick: _ctx.action,
56719
- placement: "bottom-start",
56720
- onOnClickoutside: _ctx.closeBtn
56721
- }, {
56722
- list: withCtx(() => [
56723
- createVNode(_component_DropdownMenu, null, {
56724
- default: withCtx(() => [
56725
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.btnData, (item, index) => {
56726
- return openBlock(), createBlock(_component_DropdownItem, {
56727
- style: { "padding-left": "0px" },
56728
- key: "btn_" + index
56729
- }, {
56730
- default: withCtx(() => [
56731
- createVNode(_component_Button, {
56732
- icon: item.icon,
56733
- type: "text",
56734
- customIcon: item.customIcon,
56735
- onClick: ($event) => _ctx.action(item.name)
56736
- }, {
56737
- default: withCtx(() => [
56738
- createTextVNode(toDisplayString(item.text), 1)
56739
- ]),
56740
- _: 2
56741
- }, 1032, ["icon", "customIcon", "onClick"])
56742
- ]),
56743
- _: 2
56744
- }, 1024);
56745
- }), 128))
56746
- ]),
56747
- _: 1
56748
- })
56749
- ]),
56788
+ }),
56789
+ createVNode(_component_Col, null, {
56750
56790
  default: withCtx(() => [
56751
- createVNode(_component_ButtonGroup, null, {
56752
- default: withCtx(() => [
56753
- _ctx.addDataBtnFlag ? (openBlock(), createBlock(_component_Button, {
56754
- key: 0,
56755
- customIcon: "iconfont icon-custom-add",
56756
- onClick: _ctx.addData
56757
- }, {
56758
- default: withCtx(() => _cache[3] || (_cache[3] = [
56759
- createTextVNode("\u65B0\u589E")
56760
- ])),
56761
- _: 1
56762
- }, 8, ["onClick"])) : createCommentVNode("", true),
56763
- !_ctx.btnFlag && _ctx.moreBtnFlag ? (openBlock(), createBlock(_component_Button, {
56764
- key: 1,
56765
- icon: "ios-arrow-down",
56766
- onClick: _ctx.openBtn
56767
- }, null, 8, ["onClick"])) : createCommentVNode("", true),
56768
- _ctx.btnFlag && _ctx.moreBtnFlag ? (openBlock(), createBlock(_component_Button, {
56769
- key: 2,
56770
- icon: "ios-arrow-up",
56771
- onClick: _ctx.closeBtn
56772
- }, null, 8, ["onClick"])) : createCommentVNode("", true)
56773
- ]),
56774
- _: 1
56775
- })
56791
+ createVNode(_component_PromptMessages, { style: { "height": "100%" } })
56776
56792
  ]),
56777
56793
  _: 1
56778
- }, 8, ["visible", "onOnClick", "onOnClickoutside"])
56779
- ]),
56780
- _: 1
56781
- }),
56782
- createVNode(_component_Col, null, {
56783
- default: withCtx(() => [
56784
- createVNode(_component_PromptMessages, { style: { "height": "100%" } })
56794
+ })
56785
56795
  ]),
56786
56796
  _: 1
56787
56797
  })
@@ -56860,7 +56870,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
56860
56870
  padding: 0,
56861
56871
  "dis-hover": "",
56862
56872
  bordered: false,
56863
- style: { "background": "#fff", "padding": "14px 16px 14px 16px" }
56873
+ style: { "background": "#FAFCFF", "padding": "14px 16px 14px 16px" }
56864
56874
  }, {
56865
56875
  default: withCtx(() => [
56866
56876
  createElementVNode("div", _hoisted_1$5, [
@@ -56875,7 +56885,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
56875
56885
  createVNode(_component_Card, {
56876
56886
  class: "billquerygrid",
56877
56887
  padding: 0,
56878
- bordered: false,
56888
+ bordered: true,
56879
56889
  "dis-hover": ""
56880
56890
  }, {
56881
56891
  default: withCtx(() => [