dfs-page-config 0.3.34 → 0.3.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -105127,21 +105127,31 @@ const _sfc_main = defineComponent({
105127
105127
  k.type == "dialog" ? ie.isShow = !1 : ie.zoomIn = !1;
105128
105128
  }
105129
105129
  function Oe() {
105130
- getLodopObj(ElMessageBox) && (L = window.getLodop(), L.SET_PRINT_PAGESIZE(1, 450, 700, ""), L.SET_PRINT_STYLE("FontSize", 6), L.SET_PRINT_STYLE("FontName", "Circular"), Et(k.data), L.PRINT_DESIGN());
105130
+ getLodopObj(ElMessageBox) && ElMessageBox.prompt("请输入打印数量", "提示", {
105131
+ confirmButtonText: "确认",
105132
+ cancelButtonText: "取消",
105133
+ inputPattern: /^\d*$/,
105134
+ inputErrorMessage: "请输入数字",
105135
+ center: !0
105136
+ }).then(({ value: Dt }) => {
105137
+ for (let Ue = 0; Ue < Dt; Ue++)
105138
+ L = window.getLodop(), L.SET_PRINT_PAGESIZE(1, 450, 700, ""), L.SET_PRINT_STYLE("FontSize", 6), L.SET_PRINT_STYLE("FontName", "Circular"), Et(k.data), L.PRINT();
105139
+ }).catch(() => {
105140
+ });
105131
105141
  }
105132
105142
  const xe = 5, Ne = 260 - xe, Ie = 180, ze = 20, At = 8;
105133
105143
  function Et(Dt) {
105134
105144
  let Ue = ze;
105135
105145
  if (L.ADD_PRINT_BARCODE(Ne - ze, xe, 120, 20, "EAN128B", Dt.barCodeId), L.SET_PRINT_STYLEA(0, "ShowBarText", 0), Dt.friendlyReminder) {
105136
- const jt = Math.ceil(Dt.friendlyReminder.length / 26) * At;
105137
- Ue += jt + 4, L.ADD_PRINT_TEXT(Ne - Ue, xe, Ie, Ue, Dt.friendlyReminder);
105146
+ let jt = Math.ceil(Dt.friendlyReminder.length / 26) * At;
105147
+ Ue += jt + 4, L.ADD_PRINT_TEXT(Ne - Ue, xe, Ie, jt, Dt.friendlyReminder);
105138
105148
  }
105139
- Ue += 12, Dt.fabricFeatureDescList.forEach((jt) => {
105149
+ Ue += 9, Dt.fabricFeatureDescList.forEach((jt) => {
105140
105150
  const tr = Math.ceil(jt.length / 26) * At + 4;
105141
105151
  Ue += tr, L.ADD_PRINT_TEXT(Ne - Ue, xe, Ie, tr, " ● " + jt);
105142
105152
  });
105143
- const kt = Math.ceil(Dt.fabricIntroduction.length / 26) * At + 5;
105144
- Ue += kt + 12, L.ADD_PRINT_TEXT(Ne - Ue, xe, Ie, kt, Dt.fabricIntroduction), Ue += 28, L.ADD_PRINT_TEXT(Ne - Ue, xe, Ie, 13, Dt.fabricSeries), L.SET_PRINT_STYLEA(0, "FontSize", 13), L.SET_PRINT_STYLEA(0, "Bold", 1);
105153
+ let kt = Math.ceil(Dt.fabricIntroduction.length / 26) * At + 5;
105154
+ Ue += kt + 9, L.ADD_PRINT_TEXT(Ne - Ue, xe, Ie, kt, Dt.fabricIntroduction), Ue += 28, kt = Math.ceil(Dt.fabricSeries.length / 15) * 13, Ue += kt, console.log(kt), L.ADD_PRINT_TEXT(Ne - Ue, xe, Ie, kt, Dt.fabricSeries), L.SET_PRINT_STYLEA(0, "FontSize", 13), L.SET_PRINT_STYLEA(0, "Bold", 1);
105145
105155
  }
105146
105156
  return {
105147
105157
  // printEle,
@@ -105151,14 +105161,14 @@ const _sfc_main = defineComponent({
105151
105161
  print: Oe
105152
105162
  };
105153
105163
  }
105154
- }), FabricHangTag_vue_vue_type_style_index_0_scoped_23596478_lang = "", _withScopeId = (k) => (pushScopeId("data-v-23596478"), k = k(), popScopeId(), k), _hoisted_1 = {
105164
+ }), FabricHangTag_vue_vue_type_style_index_0_scoped_cefff6fd_lang = "", _withScopeId = (k) => (pushScopeId("data-v-cefff6fd"), k = k(), popScopeId(), k), _hoisted_1 = {
105155
105165
  style: { height: "max-content", display: "block" },
105156
105166
  class: "el-upload-list--picture-card"
105157
105167
  }, _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "point" }, null, -1)), _hoisted_3 = { class: "el-upload-list__item-actions" }, _hoisted_4 = {
105158
105168
  class: "print-ele",
105159
105169
  ref: "printEle",
105160
105170
  style: { padding: "10px", "font-size": "7pt", "line-height": "9pt", "font-family": "Circular", display: "flex", "flex-direction": "column", "justify-content": "flex-end" }
105161
- }, _hoisted_5 = { style: { "font-size": "13pt", "font-weight": "bold", "margin-bottom": "10pt" } }, _hoisted_6 = { style: { margin: "4pt 0" } }, _hoisted_7 = { style: { margin: "10px 0" } }, _hoisted_8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { style: { margin: "0 0 0 5px" } }, "●", -1)), _hoisted_9 = { style: { margin: "3pt 0" } }, _hoisted_10 = {
105171
+ }, _hoisted_5 = { style: { "font-size": "13pt", "font-weight": "bold", "margin-bottom": "10pt", "line-height": "13pt" } }, _hoisted_6 = { style: { margin: "4pt 0" } }, _hoisted_7 = { style: { margin: "10px 0" } }, _hoisted_8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { style: { margin: "0 5px", "font-size": "6px" } }, "●", -1)), _hoisted_9 = { style: { margin: "3pt 0" } }, _hoisted_10 = {
105162
105172
  id: "barcode",
105163
105173
  style: { width: "100px" }
105164
105174
  };
@@ -105194,7 +105204,7 @@ function _sfc_render(k, L, ie, ae, de, _e) {
105194
105204
  createElementVNode("ul", _hoisted_7, [
105195
105205
  (openBlock(!0), createElementBlock(Fragment, null, renderList(k.data.fabricFeatureDescList, (Ie) => (openBlock(), createElementBlock("li", {
105196
105206
  key: Ie,
105197
- style: { margin: "1pt 0" }
105207
+ style: { margin: "1pt 0", display: "flex", "align-items": "center" }
105198
105208
  }, [
105199
105209
  _hoisted_8,
105200
105210
  createTextVNode(" " + toDisplayString(Ie), 1)
@@ -105223,7 +105233,7 @@ function _sfc_render(k, L, ie, ae, de, _e) {
105223
105233
  [vShow, k.isShow]
105224
105234
  ]);
105225
105235
  }
105226
- const FabricHangTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-23596478"]]);
105236
+ const FabricHangTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-cefff6fd"]]);
105227
105237
  FabricHangTag.install = (k) => k.component(FabricHangTag.name, FabricHangTag);
105228
105238
  AgTable.install = (k) => k.component(AgTable.name, AgTable);
105229
105239
  const index = (k, L) => {