qk-pc-ui 2.9.7 → 2.9.9

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-581c0492"), 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 {
@@ -18157,7 +18160,7 @@ const SafeCall$1 = async (e, r) => {
18157
18160
  }).then(({ value: p }) => {
18158
18161
  SafeCall$1(async () => {
18159
18162
  let u = await MemberApi("/OrganApi/GetMemberCardIdentityCode", { CardId: d.Id, PassWord: p, ValidityMinute: 5 });
18160
- i("success", u.RCardCode);
18163
+ i("success", u.RCardCode, h);
18161
18164
  }, "卡密码验证中");
18162
18165
  }) : i("success", "MEM" + d.CardNo, h);
18163
18166
  }, c = (d) => {
@@ -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-581c0492"]]), _hoisted_1$3 = ["src"], _sfc_main$6 = {
18386
18394
  __name: "byDialog",
18387
18395
  props: {
18388
18396
  modelValue: { type: Boolean, default: !1 },
@@ -18488,6 +18496,7 @@ const SafeCall$1 = async (e, r) => {
18488
18496
  OrderCode: e.OrderCode,
18489
18497
  PayType: e.PayType,
18490
18498
  PayCode: e.PayCode,
18499
+ UseTimes: e.UseTimes,
18491
18500
  MakreterTel: e.MakreterTel,
18492
18501
  Telephone: e.Telephone,
18493
18502
  RebateAmount: e.RebateAmount * 100,
@@ -18510,7 +18519,7 @@ const SafeCall$1 = async (e, r) => {
18510
18519
  }
18511
18520
  staticData.isConfirm = !1;
18512
18521
  }
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 = {
18522
+ }, _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
18523
  key: 1,
18515
18524
  style: { color: "crimson" }
18516
18525
  }, _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 +18793,8 @@ const SafeCall$1 = async (e, r) => {
18784
18793
  style: { width: "220px" },
18785
18794
  ref_key: "payCode",
18786
18795
  ref: n,
18787
- placeholder: "会员手机号"
18796
+ placeholder: "会员手机号",
18797
+ onKeyup: withKeys(f, ["enter", "native"])
18788
18798
  }, {
18789
18799
  append: withCtx(() => [
18790
18800
  createVNode(unref(ElPopover), {
@@ -18806,12 +18816,13 @@ const SafeCall$1 = async (e, r) => {
18806
18816
  ref_key: "RefMemberBox",
18807
18817
  ref: i,
18808
18818
  payAmount: l.value,
18819
+ orderInfo: t.orderInfo,
18809
18820
  onSuccess: d,
18810
18821
  ckUserInfoPassword: o.ckUserInfoPassword,
18811
18822
  ckCardPassword: o.ckCardPassword,
18812
18823
  ckTsCardUse: o.ckTsCardUse,
18813
18824
  onCancel: m[5] || (m[5] = (C) => o.isMemberBox = !1)
18814
- }, null, 8, ["payAmount", "ckUserInfoPassword", "ckCardPassword", "ckTsCardUse"])
18825
+ }, null, 8, ["payAmount", "orderInfo", "ckUserInfoPassword", "ckCardPassword", "ckTsCardUse"])
18815
18826
  ]),
18816
18827
  _: 1
18817
18828
  }, 8, ["visible"])
@@ -18913,7 +18924,7 @@ const SafeCall$1 = async (e, r) => {
18913
18924
  _: 1
18914
18925
  }, 8, ["modelValue"]));
18915
18926
  }
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 = {
18927
+ }, 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
18928
  class: "icon",
18918
18929
  "aria-hidden": "true",
18919
18930
  style: { "font-size": "60px" }