qk-pc-ui 2.9.7 → 2.9.8

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/dist/qk-pc-ui.mjs CHANGED
@@ -18105,13 +18105,16 @@ const SafeCall$1 = async (e, r) => {
18105
18105
  })
18106
18106
  ]));
18107
18107
  }
18108
- }, _withScopeId$1 = (e) => (pushScopeId("data-v-385724fe"), e = e(), popScopeId(), e), _hoisted_1$4 = { style: { "margin-bottom": "10px" } }, _hoisted_2$2 = {
18108
+ }, _withScopeId$1 = (e) => (pushScopeId("data-v-d000aca5"), e = e(), popScopeId(), e), _hoisted_1$4 = { style: { "margin-bottom": "10px" } }, _hoisted_2$2 = {
18109
18109
  rowspan: "3",
18110
18110
  style: { "padding-right": "10px" }
18111
18111
  }, _hoisted_3$2 = ["src"], _hoisted_4$2 = ["src"], _hoisted_5$2 = { key: 1 }, _hoisted_6$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("td", { class: "t" }, "用户:", -1)), _hoisted_7$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("td", { class: "t" }, "手机号:", -1)), _hoisted_8$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("td", { class: "t" }, "会员余额:", -1)), _hoisted_9$2 = { class: "amount" }, _hoisted_10$1 = ["src"], _hoisted_11$1 = ["src"], _hoisted_12$1 = { key: 1 }, _hoisted_13$1 = {
18112
18112
  key: 0,
18113
18113
  class: "amount"
18114
- }, _hoisted_14$1 = { class: "amount" }, _hoisted_15$1 = { key: 0 }, _hoisted_16$1 = { key: 1 }, _hoisted_17$1 = { key: 2 }, _hoisted_18$1 = { key: 0 }, _hoisted_19$1 = { key: 0 }, _hoisted_20$1 = { style: { "text-align": "center" } }, _sfc_main$7 = {
18114
+ }, _hoisted_14$1 = {
18115
+ key: 1,
18116
+ class: "amount"
18117
+ }, _hoisted_15$1 = { key: 0 }, _hoisted_16$1 = { key: 1 }, _hoisted_17$1 = { key: 2 }, _hoisted_18$1 = { key: 0 }, _hoisted_19$1 = { key: 0 }, _hoisted_20$1 = { style: { "text-align": "center" } }, _sfc_main$7 = {
18115
18118
  __name: "MemberBox",
18116
18119
  props: {
18117
18120
  payAmount: { type: [String, Number], default: "0" },
@@ -18138,7 +18141,7 @@ const SafeCall$1 = async (e, r) => {
18138
18141
  a.cardArray = [], a.memberInfo = {}, SafeCall$1(async () => {
18139
18142
  try {
18140
18143
  let h = await MemberApi("/OrganApi/MemberRelCardSearch", { SearchType: 3, Telephone: d });
18141
- h = h.Where((p) => p.Status == s.正常 && p.CardTypeClass != CardTypeClassEnum.钱包卡), n.ckTsCardUse == "不支持" && (h = h.Where((p) => p.CardTypeClass != CardTypeClassEnum.储值卡)), a.cardArray = h;
18144
+ h = h.Where((p) => p.Status == s.正常 && p.CardTypeClass != CardTypeClassEnum.钱包卡), n.ckTsCardUse == "不支持" && (h = h.Where((p) => p.CardTypeClass == CardTypeClassEnum.储值卡)), a.cardArray = h;
18142
18145
  } catch {
18143
18146
  }
18144
18147
  try {
@@ -18325,10 +18328,7 @@ const SafeCall$1 = async (e, r) => {
18325
18328
  "show-overflow-tooltip": ""
18326
18329
  }, {
18327
18330
  default: withCtx(({ row: p }) => [
18328
- p.CardTypeClass == unref(CardTypeClassEnum).储值卡 ? (openBlock(), createElementBlock("span", _hoisted_13$1, toDisplayString((p.Blance / 100).toFixed(2)) + "元", 1)) : createCommentVNode("", !0),
18329
- createElementVNode("template", null, [
18330
- createElementVNode("span", _hoisted_14$1, toDisplayString(p.NumOfTimes) + "次", 1)
18331
- ])
18331
+ p.CardTypeClass == unref(CardTypeClassEnum).储值卡 ? (openBlock(), createElementBlock("span", _hoisted_13$1, toDisplayString((p.Blance / 100).toFixed(2)) + "元", 1)) : p.CardTypeClass == unref(CardTypeClassEnum).计次卡 ? (openBlock(), createElementBlock("span", _hoisted_14$1, toDisplayString(p.NumOfTimes) + "次", 1)) : createCommentVNode("", !0)
18332
18332
  ]),
18333
18333
  _: 1
18334
18334
  }),
@@ -18349,8 +18349,7 @@ const SafeCall$1 = async (e, r) => {
18349
18349
  ]),
18350
18350
  _: 2
18351
18351
  }, 1032, ["onClick"]))
18352
- ], 64)) : createCommentVNode("", !0),
18353
- createElementVNode("template", null, [
18352
+ ], 64)) : p.CardTypeClass == unref(CardTypeClassEnum).计次卡 ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
18354
18353
  p.NumOfTimes <= 0 ? (openBlock(), createElementBlock("span", _hoisted_19$1, "余次不足")) : (openBlock(), createBlock(unref(ElButton), {
18355
18354
  key: 1,
18356
18355
  type: "primary",
@@ -18361,7 +18360,16 @@ const SafeCall$1 = async (e, r) => {
18361
18360
  ]),
18362
18361
  _: 2
18363
18362
  }, 1032, ["onClick"]))
18364
- ])
18363
+ ], 64)) : (openBlock(), createBlock(unref(ElButton), {
18364
+ key: 2,
18365
+ type: "primary",
18366
+ onClick: (u) => c(p)
18367
+ }, {
18368
+ default: withCtx(() => [
18369
+ createTextVNode("使用")
18370
+ ]),
18371
+ _: 2
18372
+ }, 1032, ["onClick"]))
18365
18373
  ], 64))
18366
18374
  ]),
18367
18375
  _: 1
@@ -18382,7 +18390,7 @@ const SafeCall$1 = async (e, r) => {
18382
18390
  ])
18383
18391
  ]));
18384
18392
  }
18385
- }, MemberBox = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-385724fe"]]), _hoisted_1$3 = ["src"], _sfc_main$6 = {
18393
+ }, MemberBox = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-d000aca5"]]), _hoisted_1$3 = ["src"], _sfc_main$6 = {
18386
18394
  __name: "byDialog",
18387
18395
  props: {
18388
18396
  modelValue: { type: Boolean, default: !1 },
@@ -18510,7 +18518,7 @@ const SafeCall$1 = async (e, r) => {
18510
18518
  }
18511
18519
  staticData.isConfirm = !1;
18512
18520
  }
18513
- }, _withScopeId = (e) => (pushScopeId("data-v-d6fe136e"), e = e(), popScopeId(), e), _hoisted_1$2 = { style: { height: "calc(100% - 40px)", "overflow-y": "auto" } }, _hoisted_2$1 = { style: { width: "100%", "font-size": "1.2em" } }, _hoisted_3$1 = { class: "tlab" }, _hoisted_4$1 = { class: "tlab" }, _hoisted_5$1 = { style: { color: "crimson", "text-decoration": "line-through" } }, _hoisted_6$1 = { style: { color: "#1a9f17", "font-size": "1.3em" } }, _hoisted_7$1 = {
18521
+ }, _withScopeId = (e) => (pushScopeId("data-v-cad11e27"), e = e(), popScopeId(), e), _hoisted_1$2 = { style: { height: "calc(100% - 40px)", "overflow-y": "auto" } }, _hoisted_2$1 = { style: { width: "100%", "font-size": "1.2em" } }, _hoisted_3$1 = { class: "tlab" }, _hoisted_4$1 = { class: "tlab" }, _hoisted_5$1 = { style: { color: "crimson", "text-decoration": "line-through" } }, _hoisted_6$1 = { style: { color: "#1a9f17", "font-size": "1.3em" } }, _hoisted_7$1 = {
18514
18522
  key: 1,
18515
18523
  style: { color: "crimson" }
18516
18524
  }, _hoisted_8$1 = { class: "tlab" }, _hoisted_9$1 = { key: 0 }, _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "描述:", -1)), _hoisted_11 = { key: 1 }, _hoisted_12 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "优惠金额:", -1)), _hoisted_13 = { key: 2 }, _hoisted_14 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "营销员:", -1)), _hoisted_15 = { class: "tlab" }, _hoisted_16 = { key: 3 }, _hoisted_17 = { class: "tlab" }, _hoisted_18 = { class: "tlab" }, _hoisted_19 = { class: "tlab" }, _hoisted_20 = { class: "tlab" }, _hoisted_21 = { class: "tlab" }, _hoisted_22 = { key: 6 }, _hoisted_23 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("td", { class: "tlab" }, "备注:", -1)), _hoisted_24 = { style: { color: "#808080", "font-size": "14px" } }, _hoisted_25 = { style: { "text-align": "center" } }, _sfc_main$5 = {
@@ -18784,7 +18792,8 @@ const SafeCall$1 = async (e, r) => {
18784
18792
  style: { width: "220px" },
18785
18793
  ref_key: "payCode",
18786
18794
  ref: n,
18787
- placeholder: "会员手机号"
18795
+ placeholder: "会员手机号",
18796
+ onKeyup: withKeys(f, ["enter", "native"])
18788
18797
  }, {
18789
18798
  append: withCtx(() => [
18790
18799
  createVNode(unref(ElPopover), {
@@ -18806,12 +18815,13 @@ const SafeCall$1 = async (e, r) => {
18806
18815
  ref_key: "RefMemberBox",
18807
18816
  ref: i,
18808
18817
  payAmount: l.value,
18818
+ orderInfo: t.orderInfo,
18809
18819
  onSuccess: d,
18810
18820
  ckUserInfoPassword: o.ckUserInfoPassword,
18811
18821
  ckCardPassword: o.ckCardPassword,
18812
18822
  ckTsCardUse: o.ckTsCardUse,
18813
18823
  onCancel: m[5] || (m[5] = (C) => o.isMemberBox = !1)
18814
- }, null, 8, ["payAmount", "ckUserInfoPassword", "ckCardPassword", "ckTsCardUse"])
18824
+ }, null, 8, ["payAmount", "orderInfo", "ckUserInfoPassword", "ckCardPassword", "ckTsCardUse"])
18815
18825
  ]),
18816
18826
  _: 1
18817
18827
  }, 8, ["visible"])
@@ -18913,7 +18923,7 @@ const SafeCall$1 = async (e, r) => {
18913
18923
  _: 1
18914
18924
  }, 8, ["modelValue"]));
18915
18925
  }
18916
- }, byConfirmOrder = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-d6fe136e"]]), _hoisted_1$1 = { name: "selectIco" }, _hoisted_2 = { style: { padding: "5px", float: "left", border: "1px solid #e2e2e2", overflow: "hidden" } }, _hoisted_3 = {
18926
+ }, byConfirmOrder = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-cad11e27"]]), _hoisted_1$1 = { name: "selectIco" }, _hoisted_2 = { style: { padding: "5px", float: "left", border: "1px solid #e2e2e2", overflow: "hidden" } }, _hoisted_3 = {
18917
18927
  class: "icon",
18918
18928
  "aria-hidden": "true",
18919
18929
  style: { "font-size": "60px" }