@fmdeui/fmui 1.0.174 → 1.0.176

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.
@@ -30,10 +30,15 @@ export declare const FmTooltip: {
30
30
  type: ObjectConstructor;
31
31
  default: () => void;
32
32
  };
33
+ isDel: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
33
37
  }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
34
38
  content: string;
35
39
  params: Record<string, any>;
36
40
  label: string;
41
+ isDel: boolean;
37
42
  tipdata: any[];
38
43
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
39
44
  P: {};
@@ -72,10 +77,15 @@ export declare const FmTooltip: {
72
77
  type: ObjectConstructor;
73
78
  default: () => void;
74
79
  };
80
+ isDel: {
81
+ type: BooleanConstructor;
82
+ default: boolean;
83
+ };
75
84
  }>> & Readonly<{}>, {}, {}, {}, {}, {
76
85
  content: string;
77
86
  params: Record<string, any>;
78
87
  label: string;
88
+ isDel: boolean;
79
89
  tipdata: any[];
80
90
  }>;
81
91
  __isFragment?: never;
@@ -111,10 +121,15 @@ export declare const FmTooltip: {
111
121
  type: ObjectConstructor;
112
122
  default: () => void;
113
123
  };
124
+ isDel: {
125
+ type: BooleanConstructor;
126
+ default: boolean;
127
+ };
114
128
  }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
115
129
  content: string;
116
130
  params: Record<string, any>;
117
131
  label: string;
132
+ isDel: boolean;
118
133
  tipdata: any[];
119
134
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
120
135
  $slots: {
@@ -38,6 +38,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
38
38
  type: ObjectConstructor;
39
39
  default: () => void;
40
40
  };
41
+ isDel: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
41
45
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
42
46
  label: {
43
47
  type: StringConstructor;
@@ -68,10 +72,15 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
68
72
  type: ObjectConstructor;
69
73
  default: () => void;
70
74
  };
75
+ isDel: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
71
79
  }>> & Readonly<{}>, {
72
80
  content: string;
73
81
  params: Record<string, any>;
74
82
  label: string;
83
+ isDel: boolean;
75
84
  tipdata: any[];
76
85
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
77
86
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,10 +1,11 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, renderSlot, createTextVNode, toDisplayString, createBlock, withCtx, createVNode, unref, Fragment, renderList, createElementVNode, createCommentVNode } from 'vue';
1
+ import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, renderSlot, createTextVNode, toDisplayString, createBlock, withCtx, createVNode, unref, Fragment, renderList, createCommentVNode } from 'vue';
2
2
  import { Opportunity } from '@element-plus/icons-vue';
3
3
  import '../../stores/index.mjs';
4
4
  import { usefmPageFormDatatore } from '../../stores/thepagefromdata.mjs';
5
5
 
6
- const _hoisted_1 = { style: { "display": "inline-flex" } };
7
- const _hoisted_2 = ["innerHTML"];
6
+ const _hoisted_1 = { style: { "position": "relative", "display": "inline-flex", "align-items": "center", "width": "100%", "max-width": "100%" } };
7
+ const _hoisted_2 = { style: { "flex": "1", "min-width": "0", "position": "relative" } };
8
+ const _hoisted_3 = ["innerHTML"];
8
9
  var _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  ...{
10
11
  name: "FmTooltip"
@@ -27,33 +28,44 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
27
28
  type: Object,
28
29
  default: () => {
29
30
  }
31
+ },
32
+ isDel: {
33
+ type: Boolean,
34
+ default: false
30
35
  }
31
36
  },
32
37
  setup(__props) {
33
38
  const props = __props;
34
39
  const useBaseApi = usefmPageFormDatatore();
35
40
  const tipLoadData = computed(() => {
36
- var _a;
37
- return useBaseApi.getLableLogData(props.params.table, props.params.field, props.params.bizid, ((_a = props.params) == null ? void 0 : _a.bizType) || "basefrom");
41
+ var _a, _b;
42
+ if (props.isDel) {
43
+ return useBaseApi.getLableDelLogData(props.params.table, props.params.field, props.params.bizid, ((_a = props.params) == null ? void 0 : _a.bizType) || "basefrom");
44
+ }
45
+ return useBaseApi.getLableLogData(props.params.table, props.params.field, props.params.bizid, ((_b = props.params) == null ? void 0 : _b.bizType) || "basefrom");
38
46
  });
39
47
  return (_ctx, _cache) => {
40
48
  const _component_el_icon = resolveComponent("el-icon");
41
49
  const _component_el_tooltip = resolveComponent("el-tooltip");
42
50
  return openBlock(), createElementBlock("div", _hoisted_1, [
43
- renderSlot(_ctx.$slots, "default"),
44
- createTextVNode(
45
- " " + toDisplayString(__props.label) + " ",
46
- 1
47
- /* TEXT */
48
- ),
51
+ createElementVNode("div", _hoisted_2, [
52
+ renderSlot(_ctx.$slots, "default", {}, () => [
53
+ createTextVNode(
54
+ toDisplayString(__props.label),
55
+ 1
56
+ /* TEXT */
57
+ )
58
+ ])
59
+ ]),
49
60
  tipLoadData.value.length > 0 || __props.content ? (openBlock(), createBlock(_component_el_tooltip, {
50
61
  key: 0,
51
62
  "raw-content": "",
52
63
  placement: "top",
53
- effect: "light"
64
+ effect: "light",
65
+ style: { "position": "absolute", "top": "4px", "right": "4px", "z-index": "10", "line-height": "1" }
54
66
  }, {
55
67
  content: withCtx(() => [
56
- tipLoadData.value.length > 0 ? (openBlock(true), createElementBlock(
68
+ tipLoadData.value.length > 0 && !__props.isDel ? (openBlock(true), createElementBlock(
57
69
  Fragment,
58
70
  { key: 0 },
59
71
  renderList(tipLoadData.value, (value) => {
@@ -98,13 +110,50 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
98
110
  }),
99
111
  256
100
112
  /* UNKEYED_FRAGMENT */
113
+ )) : createCommentVNode("v-if", true),
114
+ tipLoadData.value.length > 0 && __props.isDel ? (openBlock(true), createElementBlock(
115
+ Fragment,
116
+ { key: 1 },
117
+ renderList(tipLoadData.value, (value) => {
118
+ return openBlock(), createElementBlock("p", null, [
119
+ _cache[3] || (_cache[3] = createTextVNode(
120
+ " \u5220\u9664\u3010",
121
+ -1
122
+ /* CACHED */
123
+ )),
124
+ createElementVNode(
125
+ "strong",
126
+ null,
127
+ toDisplayString((value == null ? void 0 : value.supplierName) != null ? (value == null ? void 0 : value.supplierName) + "/" : "") + " " + toDisplayString(value.itemName),
128
+ 1
129
+ /* TEXT */
130
+ ),
131
+ createTextVNode(
132
+ "\u3011" + toDisplayString(value == null ? void 0 : value.price) + "*" + toDisplayString((value == null ? void 0 : value.numA) != null ? value == null ? void 0 : value.numA : value == null ? void 0 : value.num) + "*" + toDisplayString((value == null ? void 0 : value.unit) != null ? value == null ? void 0 : value.unit : (value == null ? void 0 : value.numB) || 1) + "=" + toDisplayString(value == null ? void 0 : value.totalMoney) + "\uFF0C",
133
+ 1
134
+ /* TEXT */
135
+ ),
136
+ createElementVNode(
137
+ "strong",
138
+ null,
139
+ toDisplayString(value.opUser) + " " + toDisplayString(value.opDate),
140
+ 1
141
+ /* TEXT */
142
+ )
143
+ ]);
144
+ }),
145
+ 256
146
+ /* UNKEYED_FRAGMENT */
101
147
  )) : (openBlock(), createElementBlock("p", {
102
- key: 1,
148
+ key: 2,
103
149
  innerHTML: __props.content
104
- }, null, 8, _hoisted_2))
150
+ }, null, 8, _hoisted_3))
105
151
  ]),
106
152
  default: withCtx(() => [
107
- createVNode(_component_el_icon, { color: "#ff4d4f" }, {
153
+ createVNode(_component_el_icon, {
154
+ size: 10,
155
+ color: "#ff4d4f"
156
+ }, {
108
157
  default: withCtx(() => [
109
158
  createVNode(unref(Opportunity))
110
159
  ]),
@@ -8,6 +8,7 @@ const usefmPageFormDatatore = defineStore("fmPageFormDatatore", () => {
8
8
  });
9
9
  const setFormData = (data, bizType = "basefrom") => {
10
10
  state.formData[bizType] = data;
11
+ state.currentBizType = bizType;
11
12
  };
12
13
  const setCurrentBizType = (bizType = "") => {
13
14
  state.currentBizType = bizType;
@@ -42,13 +43,38 @@ const usefmPageFormDatatore = defineStore("fmPageFormDatatore", () => {
42
43
  }
43
44
  return resultLogData;
44
45
  };
46
+ const getLableDelLogData = (table, field, bizid, bizinType = "basefrom") => {
47
+ const resultLogData = [];
48
+ const bizType = state.currentBizType != "" ? state.currentBizType : bizinType;
49
+ if (state.formData[bizType]) {
50
+ state.formData[bizType].forEach((item) => {
51
+ var _a, _b;
52
+ const filteredLogs = (_b = (_a = item.logData) == null ? void 0 : _a.filter(
53
+ (log) => {
54
+ var _a2;
55
+ return log.table === table && log.field === field && ((_a2 = log == null ? void 0 : log.snapshot) == null ? void 0 : _a2.regMainId) === bizid && log.actionType === "delete";
56
+ }
57
+ )) != null ? _b : [];
58
+ filteredLogs.forEach((log) => {
59
+ resultLogData.push({
60
+ ...log.snapshot,
61
+ // 保留原有属性
62
+ opUser: item.createUserName,
63
+ opDate: item.createTime
64
+ });
65
+ });
66
+ });
67
+ }
68
+ return resultLogData;
69
+ };
45
70
  return {
46
71
  setCurrentBizType,
47
72
  setFormData,
48
73
  getFormData,
49
74
  clearFormData,
50
75
  clearAllFormData,
51
- getLableLogData
76
+ getLableLogData,
77
+ getLableDelLogData
52
78
  };
53
79
  });
54
80
 
@@ -11,6 +11,7 @@ export declare const usefmPageFormDatatore: StoreDefinition<"fmPageFormDatatore"
11
11
  clearFormData: (bizType?: string) => void;
12
12
  clearAllFormData: () => void;
13
13
  getLableLogData: (table: any, field: any, bizid: any, bizinType?: string) => any[];
14
+ getLableDelLogData: (table: any, field: any, bizid: any, bizinType?: string) => any[];
14
15
  }, never>, Pick<{
15
16
  setCurrentBizType: (bizType?: string) => void;
16
17
  setFormData: (data: any, bizType?: string) => void;
@@ -18,6 +19,7 @@ export declare const usefmPageFormDatatore: StoreDefinition<"fmPageFormDatatore"
18
19
  clearFormData: (bizType?: string) => void;
19
20
  clearAllFormData: () => void;
20
21
  getLableLogData: (table: any, field: any, bizid: any, bizinType?: string) => any[];
22
+ getLableDelLogData: (table: any, field: any, bizid: any, bizinType?: string) => any[];
21
23
  }, never>, Pick<{
22
24
  setCurrentBizType: (bizType?: string) => void;
23
25
  setFormData: (data: any, bizType?: string) => void;
@@ -25,4 +27,5 @@ export declare const usefmPageFormDatatore: StoreDefinition<"fmPageFormDatatore"
25
27
  clearFormData: (bizType?: string) => void;
26
28
  clearAllFormData: () => void;
27
29
  getLableLogData: (table: any, field: any, bizid: any, bizinType?: string) => any[];
28
- }, "setCurrentBizType" | "setFormData" | "getFormData" | "clearFormData" | "clearAllFormData" | "getLableLogData">>;
30
+ getLableDelLogData: (table: any, field: any, bizid: any, bizinType?: string) => any[];
31
+ }, "setCurrentBizType" | "setFormData" | "getFormData" | "clearFormData" | "clearAllFormData" | "getLableLogData" | "getLableDelLogData">>;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fmdeui-fmui v1.0.174 */
1
+ /*! fmdeui-fmui v1.0.176 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('vue-router'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', 'vue-router', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
@@ -4103,6 +4103,7 @@
4103
4103
  });
4104
4104
  const setFormData = (data, bizType = "basefrom") => {
4105
4105
  state.formData[bizType] = data;
4106
+ state.currentBizType = bizType;
4106
4107
  };
4107
4108
  const setCurrentBizType = (bizType = "") => {
4108
4109
  state.currentBizType = bizType;
@@ -4137,13 +4138,38 @@
4137
4138
  }
4138
4139
  return resultLogData;
4139
4140
  };
4141
+ const getLableDelLogData = (table, field, bizid, bizinType = "basefrom") => {
4142
+ const resultLogData = [];
4143
+ const bizType = state.currentBizType != "" ? state.currentBizType : bizinType;
4144
+ if (state.formData[bizType]) {
4145
+ state.formData[bizType].forEach((item) => {
4146
+ var _a, _b;
4147
+ const filteredLogs = (_b = (_a = item.logData) == null ? void 0 : _a.filter(
4148
+ (log) => {
4149
+ var _a2;
4150
+ return log.table === table && log.field === field && ((_a2 = log == null ? void 0 : log.snapshot) == null ? void 0 : _a2.regMainId) === bizid && log.actionType === "delete";
4151
+ }
4152
+ )) != null ? _b : [];
4153
+ filteredLogs.forEach((log) => {
4154
+ resultLogData.push({
4155
+ ...log.snapshot,
4156
+ // 保留原有属性
4157
+ opUser: item.createUserName,
4158
+ opDate: item.createTime
4159
+ });
4160
+ });
4161
+ });
4162
+ }
4163
+ return resultLogData;
4164
+ };
4140
4165
  return {
4141
4166
  setCurrentBizType,
4142
4167
  setFormData,
4143
4168
  getFormData,
4144
4169
  clearFormData,
4145
4170
  clearAllFormData,
4146
- getLableLogData
4171
+ getLableLogData,
4172
+ getLableDelLogData
4147
4173
  };
4148
4174
  });
4149
4175
 
@@ -22090,7 +22116,7 @@
22090
22116
 
22091
22117
  const _hoisted_1$B = { class: "inside_box" };
22092
22118
  const _hoisted_2$r = { class: "inside_box_title" };
22093
- const _hoisted_3$i = { class: "check-box" };
22119
+ const _hoisted_3$j = { class: "check-box" };
22094
22120
  const _hoisted_4$9 = { class: "more_dropdown_icon" };
22095
22121
  const _hoisted_5$8 = { class: "out_box" };
22096
22122
  var _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
@@ -22240,7 +22266,7 @@
22240
22266
  1
22241
22267
  /* TEXT */
22242
22268
  ),
22243
- vue.createElementVNode("div", _hoisted_3$i, [
22269
+ vue.createElementVNode("div", _hoisted_3$j, [
22244
22270
  vue.createVNode(_component_el_button, {
22245
22271
  size: "small",
22246
22272
  link: "",
@@ -23110,7 +23136,7 @@
23110
23136
  class: "table_query_condition"
23111
23137
  };
23112
23138
  const _hoisted_2$q = ["element-loading-text"];
23113
- const _hoisted_3$h = { key: 2 };
23139
+ const _hoisted_3$i = { key: 2 };
23114
23140
  const _hoisted_4$8 = {
23115
23141
  key: 0,
23116
23142
  class: "f-table-select__page"
@@ -23962,7 +23988,7 @@
23962
23988
  key: 1,
23963
23989
  scope
23964
23990
  }) : vue.createCommentVNode("v-if", true),
23965
- !item.render && !item.slotName ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$h, [
23991
+ !item.render && !item.slotName ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$i, [
23966
23992
  vue.createElementVNode(
23967
23993
  "span",
23968
23994
  null,
@@ -24985,7 +25011,7 @@
24985
25011
 
24986
25012
  const _hoisted_1$x = { class: "layout-breadcrumb-seting" };
24987
25013
  const _hoisted_2$o = { class: "layout-breadcrumb-seting-bar-flex" };
24988
- const _hoisted_3$g = { class: "layout-breadcrumb-seting-bar-flex-label" };
25014
+ const _hoisted_3$h = { class: "layout-breadcrumb-seting-bar-flex-label" };
24989
25015
  const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
24990
25016
  const _hoisted_5$7 = { style: { "margin": "10px 0" } };
24991
25017
  const _hoisted_6$3 = { class: "layout-breadcrumb-seting-bar-flex mt15" };
@@ -25400,7 +25426,7 @@
25400
25426
  vue.createElementVNode("div", _hoisted_2$o, [
25401
25427
  vue.createElementVNode(
25402
25428
  "div",
25403
- _hoisted_3$g,
25429
+ _hoisted_3$h,
25404
25430
  vue.toDisplayString(_ctx.$t("message.layout.themeColors")),
25405
25431
  1
25406
25432
  /* TEXT */
@@ -27729,7 +27755,7 @@
27729
27755
 
27730
27756
  const _hoisted_1$v = { style: { "color": "#fff" } };
27731
27757
  const _hoisted_2$n = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
27732
- const _hoisted_3$f = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
27758
+ const _hoisted_3$g = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
27733
27759
  const _hoisted_4$6 = { style: { "margin-top": "10px" } };
27734
27760
  const _hoisted_5$6 = { class: "dialog-footer" };
27735
27761
  var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
@@ -27939,7 +27965,7 @@
27939
27965
  default: vue.withCtx(() => [
27940
27966
  vue.createElementVNode(
27941
27967
  "p",
27942
- _hoisted_3$f,
27968
+ _hoisted_3$g,
27943
27969
  vue.toDisplayString(_ctx.$t(__props.title)) + vue.toDisplayString(_ctx.$t("\u5217\u8868")),
27944
27970
  1
27945
27971
  /* TEXT */
@@ -28125,7 +28151,7 @@
28125
28151
 
28126
28152
  const _hoisted_1$u = { style: { "color": "#fff" } };
28127
28153
  const _hoisted_2$m = { style: { "margin-top": "10px" } };
28128
- const _hoisted_3$e = { class: "dialog-footer" };
28154
+ const _hoisted_3$f = { class: "dialog-footer" };
28129
28155
  var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
28130
28156
  __name: "supplierSelectDialog",
28131
28157
  props: {
@@ -28269,7 +28295,7 @@
28269
28295
  ])
28270
28296
  ]),
28271
28297
  footer: vue.withCtx(() => [
28272
- vue.createElementVNode("div", _hoisted_3$e, [
28298
+ vue.createElementVNode("div", _hoisted_3$f, [
28273
28299
  vue.createVNode(_component_el_button, {
28274
28300
  icon: "ele-CircleCloseFilled",
28275
28301
  onClick: closeDialog
@@ -28504,7 +28530,7 @@
28504
28530
 
28505
28531
  const _hoisted_1$t = { style: { "color": "#fff" } };
28506
28532
  const _hoisted_2$l = { style: { "margin-top": "10px" } };
28507
- const _hoisted_3$d = { class: "dialog-footer" };
28533
+ const _hoisted_3$e = { class: "dialog-footer" };
28508
28534
  var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
28509
28535
  __name: "supplierUserSelectDialog",
28510
28536
  props: {
@@ -28641,7 +28667,7 @@
28641
28667
  ])
28642
28668
  ]),
28643
28669
  footer: vue.withCtx(() => [
28644
- vue.createElementVNode("div", _hoisted_3$d, [
28670
+ vue.createElementVNode("div", _hoisted_3$e, [
28645
28671
  vue.createVNode(_component_el_button, {
28646
28672
  icon: "ele-CircleCloseFilled",
28647
28673
  onClick: closeDialog
@@ -28833,7 +28859,7 @@
28833
28859
 
28834
28860
  const _hoisted_1$s = { style: { "color": "#fff" } };
28835
28861
  const _hoisted_2$k = { style: { "margin-top": "10px" } };
28836
- const _hoisted_3$c = { class: "dialog-footer" };
28862
+ const _hoisted_3$d = { class: "dialog-footer" };
28837
28863
  var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
28838
28864
  __name: "accountSelectDialog",
28839
28865
  props: {
@@ -28968,7 +28994,7 @@
28968
28994
  ])
28969
28995
  ]),
28970
28996
  footer: vue.withCtx(() => [
28971
- vue.createElementVNode("div", _hoisted_3$c, [
28997
+ vue.createElementVNode("div", _hoisted_3$d, [
28972
28998
  vue.createVNode(_component_el_button, {
28973
28999
  icon: "ele-CircleCloseFilled",
28974
29000
  onClick: closeDialog
@@ -29154,7 +29180,7 @@
29154
29180
 
29155
29181
  const _hoisted_1$r = { style: { "color": "#fff" } };
29156
29182
  const _hoisted_2$j = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
29157
- const _hoisted_3$b = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
29183
+ const _hoisted_3$c = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
29158
29184
  const _hoisted_4$5 = { style: { "margin-top": "10px" } };
29159
29185
  const _hoisted_5$5 = { class: "dialog-footer" };
29160
29186
  var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
@@ -29327,7 +29353,7 @@
29327
29353
  default: vue.withCtx(() => [
29328
29354
  vue.createElementVNode(
29329
29355
  "p",
29330
- _hoisted_3$b,
29356
+ _hoisted_3$c,
29331
29357
  vue.toDisplayString(_ctx.$t(__props.title)) + vue.toDisplayString(_ctx.$t("\u5217\u8868")),
29332
29358
  1
29333
29359
  /* TEXT */
@@ -29480,7 +29506,7 @@
29480
29506
 
29481
29507
  const _hoisted_1$q = { style: { "color": "#fff" } };
29482
29508
  const _hoisted_2$i = { style: { "margin-top": "10px" } };
29483
- const _hoisted_3$a = { class: "dialog-footer" };
29509
+ const _hoisted_3$b = { class: "dialog-footer" };
29484
29510
  var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
29485
29511
  __name: "linSelectDialog",
29486
29512
  props: {
@@ -29617,7 +29643,7 @@
29617
29643
  ])
29618
29644
  ]),
29619
29645
  footer: vue.withCtx(() => [
29620
- vue.createElementVNode("div", _hoisted_3$a, [
29646
+ vue.createElementVNode("div", _hoisted_3$b, [
29621
29647
  vue.createVNode(_component_el_button, {
29622
29648
  icon: "ele-CircleCloseFilled",
29623
29649
  onClick: closeDialog
@@ -29821,7 +29847,7 @@
29821
29847
 
29822
29848
  const _hoisted_1$p = { style: { "color": "#fff" } };
29823
29849
  const _hoisted_2$h = { style: { "margin-top": "10px" } };
29824
- const _hoisted_3$9 = { class: "dialog-footer" };
29850
+ const _hoisted_3$a = { class: "dialog-footer" };
29825
29851
  var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
29826
29852
  __name: "guideSelectDialog",
29827
29853
  props: {
@@ -29958,7 +29984,7 @@
29958
29984
  ])
29959
29985
  ]),
29960
29986
  footer: vue.withCtx(() => [
29961
- vue.createElementVNode("div", _hoisted_3$9, [
29987
+ vue.createElementVNode("div", _hoisted_3$a, [
29962
29988
  vue.createVNode(_component_el_button, {
29963
29989
  icon: "ele-CircleCloseFilled",
29964
29990
  onClick: closeDialog
@@ -30138,7 +30164,7 @@
30138
30164
 
30139
30165
  const _hoisted_1$o = { style: { "color": "#fff" } };
30140
30166
  const _hoisted_2$g = { style: { "margin-top": "10px" } };
30141
- const _hoisted_3$8 = { class: "dialog-footer" };
30167
+ const _hoisted_3$9 = { class: "dialog-footer" };
30142
30168
  var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
30143
30169
  __name: "dirverSelectDialog",
30144
30170
  props: {
@@ -30275,7 +30301,7 @@
30275
30301
  ])
30276
30302
  ]),
30277
30303
  footer: vue.withCtx(() => [
30278
- vue.createElementVNode("div", _hoisted_3$8, [
30304
+ vue.createElementVNode("div", _hoisted_3$9, [
30279
30305
  vue.createVNode(_component_el_button, {
30280
30306
  icon: "ele-CircleCloseFilled",
30281
30307
  onClick: closeDialog
@@ -31448,8 +31474,9 @@
31448
31474
 
31449
31475
  const FmPeriod = _sfc_main$q;
31450
31476
 
31451
- const _hoisted_1$k = { style: { "display": "inline-flex" } };
31452
- const _hoisted_2$e = ["innerHTML"];
31477
+ const _hoisted_1$k = { style: { "position": "relative", "display": "inline-flex", "align-items": "center", "width": "100%", "max-width": "100%" } };
31478
+ const _hoisted_2$e = { style: { "flex": "1", "min-width": "0", "position": "relative" } };
31479
+ const _hoisted_3$8 = ["innerHTML"];
31453
31480
  var _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
31454
31481
  ...{
31455
31482
  name: "FmTooltip"
@@ -31472,33 +31499,44 @@
31472
31499
  type: Object,
31473
31500
  default: () => {
31474
31501
  }
31502
+ },
31503
+ isDel: {
31504
+ type: Boolean,
31505
+ default: false
31475
31506
  }
31476
31507
  },
31477
31508
  setup(__props) {
31478
31509
  const props = __props;
31479
31510
  const useBaseApi = usefmPageFormDatatore();
31480
31511
  const tipLoadData = vue.computed(() => {
31481
- var _a;
31482
- return useBaseApi.getLableLogData(props.params.table, props.params.field, props.params.bizid, ((_a = props.params) == null ? void 0 : _a.bizType) || "basefrom");
31512
+ var _a, _b;
31513
+ if (props.isDel) {
31514
+ return useBaseApi.getLableDelLogData(props.params.table, props.params.field, props.params.bizid, ((_a = props.params) == null ? void 0 : _a.bizType) || "basefrom");
31515
+ }
31516
+ return useBaseApi.getLableLogData(props.params.table, props.params.field, props.params.bizid, ((_b = props.params) == null ? void 0 : _b.bizType) || "basefrom");
31483
31517
  });
31484
31518
  return (_ctx, _cache) => {
31485
31519
  const _component_el_icon = vue.resolveComponent("el-icon");
31486
31520
  const _component_el_tooltip = vue.resolveComponent("el-tooltip");
31487
31521
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [
31488
- vue.renderSlot(_ctx.$slots, "default"),
31489
- vue.createTextVNode(
31490
- " " + vue.toDisplayString(__props.label) + " ",
31491
- 1
31492
- /* TEXT */
31493
- ),
31522
+ vue.createElementVNode("div", _hoisted_2$e, [
31523
+ vue.renderSlot(_ctx.$slots, "default", {}, () => [
31524
+ vue.createTextVNode(
31525
+ vue.toDisplayString(__props.label),
31526
+ 1
31527
+ /* TEXT */
31528
+ )
31529
+ ])
31530
+ ]),
31494
31531
  tipLoadData.value.length > 0 || __props.content ? (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
31495
31532
  key: 0,
31496
31533
  "raw-content": "",
31497
31534
  placement: "top",
31498
- effect: "light"
31535
+ effect: "light",
31536
+ style: { "position": "absolute", "top": "4px", "right": "4px", "z-index": "10", "line-height": "1" }
31499
31537
  }, {
31500
31538
  content: vue.withCtx(() => [
31501
- tipLoadData.value.length > 0 ? (vue.openBlock(true), vue.createElementBlock(
31539
+ tipLoadData.value.length > 0 && !__props.isDel ? (vue.openBlock(true), vue.createElementBlock(
31502
31540
  vue.Fragment,
31503
31541
  { key: 0 },
31504
31542
  vue.renderList(tipLoadData.value, (value) => {
@@ -31543,13 +31581,50 @@
31543
31581
  }),
31544
31582
  256
31545
31583
  /* UNKEYED_FRAGMENT */
31584
+ )) : vue.createCommentVNode("v-if", true),
31585
+ tipLoadData.value.length > 0 && __props.isDel ? (vue.openBlock(true), vue.createElementBlock(
31586
+ vue.Fragment,
31587
+ { key: 1 },
31588
+ vue.renderList(tipLoadData.value, (value) => {
31589
+ return vue.openBlock(), vue.createElementBlock("p", null, [
31590
+ _cache[3] || (_cache[3] = vue.createTextVNode(
31591
+ " \u5220\u9664\u3010",
31592
+ -1
31593
+ /* CACHED */
31594
+ )),
31595
+ vue.createElementVNode(
31596
+ "strong",
31597
+ null,
31598
+ vue.toDisplayString((value == null ? void 0 : value.supplierName) != null ? (value == null ? void 0 : value.supplierName) + "/" : "") + " " + vue.toDisplayString(value.itemName),
31599
+ 1
31600
+ /* TEXT */
31601
+ ),
31602
+ vue.createTextVNode(
31603
+ "\u3011" + vue.toDisplayString(value == null ? void 0 : value.price) + "*" + vue.toDisplayString((value == null ? void 0 : value.numA) != null ? value == null ? void 0 : value.numA : value == null ? void 0 : value.num) + "*" + vue.toDisplayString((value == null ? void 0 : value.unit) != null ? value == null ? void 0 : value.unit : (value == null ? void 0 : value.numB) || 1) + "=" + vue.toDisplayString(value == null ? void 0 : value.totalMoney) + "\uFF0C",
31604
+ 1
31605
+ /* TEXT */
31606
+ ),
31607
+ vue.createElementVNode(
31608
+ "strong",
31609
+ null,
31610
+ vue.toDisplayString(value.opUser) + " " + vue.toDisplayString(value.opDate),
31611
+ 1
31612
+ /* TEXT */
31613
+ )
31614
+ ]);
31615
+ }),
31616
+ 256
31617
+ /* UNKEYED_FRAGMENT */
31546
31618
  )) : (vue.openBlock(), vue.createElementBlock("p", {
31547
- key: 1,
31619
+ key: 2,
31548
31620
  innerHTML: __props.content
31549
- }, null, 8, _hoisted_2$e))
31621
+ }, null, 8, _hoisted_3$8))
31550
31622
  ]),
31551
31623
  default: vue.withCtx(() => [
31552
- vue.createVNode(_component_el_icon, { color: "#ff4d4f" }, {
31624
+ vue.createVNode(_component_el_icon, {
31625
+ size: 10,
31626
+ color: "#ff4d4f"
31627
+ }, {
31553
31628
  default: vue.withCtx(() => [
31554
31629
  vue.createVNode(vue.unref(svg.Opportunity))
31555
31630
  ]),