@yoooloo42/joker 1.0.255 → 1.0.256

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/index.esm.js CHANGED
@@ -23463,7 +23463,7 @@ return (_ctx, _cache) => {
23463
23463
 
23464
23464
  script$o.__file = "src/form/LabelBox.vue";
23465
23465
 
23466
- const _hoisted_1$h = { key: 12 };
23466
+ const _hoisted_1$i = { key: 12 };
23467
23467
  const _hoisted_2$e = { key: 0 };
23468
23468
  const _hoisted_3$7 = { key: 13 };
23469
23469
  const _hoisted_4$5 = { key: 0 };
@@ -23900,7 +23900,7 @@ return (_ctx, _cache) => {
23900
23900
  }, 8 /* PROPS */, ["modelValue", "disabled", "onChange"]))
23901
23901
  : createCommentVNode("v-if", true),
23902
23902
  (unref(propsItem_box).inputType === 'button-group' && unref(propsItem_box).box && unref(propsItem_box).box.length > 0)
23903
- ? (openBlock(), createElementBlock("div", _hoisted_1$h, [
23903
+ ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
23904
23904
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(propsItem_box).box, (item0, index0) => {
23905
23905
  return (openBlock(), createBlock(_component_el_button_group, {
23906
23906
  key: index0,
@@ -24236,7 +24236,7 @@ return (_ctx, _cache) => {
24236
24236
 
24237
24237
  script$n.__file = "src/form/InputBox.vue";
24238
24238
 
24239
- const _hoisted_1$g = { key: 0 };
24239
+ const _hoisted_1$h = { key: 0 };
24240
24240
  const _hoisted_2$d = ["colspan"];
24241
24241
  const _hoisted_3$6 = { key: 0 };
24242
24242
  const _hoisted_4$4 = ["colspan"];
@@ -24315,7 +24315,7 @@ return (_ctx, _cache) => {
24315
24315
  (openBlock(true), createElementBlock(Fragment, null, renderList(item.items, (item0, index0) => {
24316
24316
  return (openBlock(), createElementBlock(Fragment, { key: index0 }, [
24317
24317
  (item0.hdlVisible ? item0.hdlVisible({formData: unref(formData_box), scopeThis: unref(scopeThis_box)}) : true)
24318
- ? (openBlock(), createElementBlock("tr", _hoisted_1$g, [
24318
+ ? (openBlock(), createElementBlock("tr", _hoisted_1$h, [
24319
24319
  (!!item0.label)
24320
24320
  ? (openBlock(), createElementBlock("td", {
24321
24321
  key: 0,
@@ -41854,7 +41854,7 @@ return (_ctx, _cache) => {
41854
41854
 
41855
41855
  script$j.__file = "src/richtext/index.vue";
41856
41856
 
41857
- const _hoisted_1$f = { style: {"text-align":"center"} };
41857
+ const _hoisted_1$g = { style: {"text-align":"center"} };
41858
41858
 
41859
41859
 
41860
41860
  var script$i = {
@@ -42015,7 +42015,7 @@ return (_ctx, _cache) => {
42015
42015
  createElementVNode("div", {
42016
42016
  style: normalizeStyle(style.line)
42017
42017
  }, null, 4 /* STYLE */),
42018
- createElementVNode("div", _hoisted_1$f, [
42018
+ createElementVNode("div", _hoisted_1$g, [
42019
42019
  createVNode(_component_el_button, {
42020
42020
  type: "success",
42021
42021
  round: "",
@@ -42038,7 +42038,7 @@ return (_ctx, _cache) => {
42038
42038
 
42039
42039
  script$i.__file = "src/table/PickCol.vue";
42040
42040
 
42041
- const _hoisted_1$e = { style: {"padding":"10px"} };
42041
+ const _hoisted_1$f = { style: {"padding":"10px"} };
42042
42042
  const _hoisted_2$c = { key: 0 };
42043
42043
  const _hoisted_3$5 = ["onClick", "onMouseover"];
42044
42044
  const _hoisted_4$3 = ["href", "download"];
@@ -42238,7 +42238,7 @@ return (_ctx, _cache) => {
42238
42238
  const _component_el_pagination = resolveComponent("el-pagination");
42239
42239
  const _directive_loading = resolveDirective("loading");
42240
42240
 
42241
- return (openBlock(), createElementBlock("div", _hoisted_1$e, [
42241
+ return (openBlock(), createElementBlock("div", _hoisted_1$f, [
42242
42242
  createCommentVNode(" 标题线 "),
42243
42243
  (unref(tableProps_box).titleLine.text)
42244
42244
  ? (openBlock(), createElementBlock("div", {
@@ -42716,7 +42716,7 @@ var ly0default = {
42716
42716
  }
42717
42717
  };
42718
42718
 
42719
- const _hoisted_1$d = { class: "el-upload__tip" };
42719
+ const _hoisted_1$e = { class: "el-upload__tip" };
42720
42720
  const _hoisted_2$b = {
42721
42721
  key: 0,
42722
42722
  style: {"font-size":"xx-small"}
@@ -42831,7 +42831,7 @@ return (_ctx, _cache) => {
42831
42831
  limit: myProps_box.limit
42832
42832
  }, {
42833
42833
  tip: withCtx(() => [
42834
- createElementVNode("span", _hoisted_1$d, " " + toDisplayString(myProps_box.tip ?? "可以上传" + myProps_box.limit + "个文件"), 1 /* TEXT */)
42834
+ createElementVNode("span", _hoisted_1$e, " " + toDisplayString(myProps_box.tip ?? "可以上传" + myProps_box.limit + "个文件"), 1 /* TEXT */)
42835
42835
  ]),
42836
42836
  default: withCtx(() => [
42837
42837
  createVNode(_component_el_button, {
@@ -42870,7 +42870,7 @@ return (_ctx, _cache) => {
42870
42870
 
42871
42871
  script$f.__file = "src/upload/Upload.vue";
42872
42872
 
42873
- const _hoisted_1$c = ["src"];
42873
+ const _hoisted_1$d = ["src"];
42874
42874
  const _hoisted_2$a = { key: 0 };
42875
42875
 
42876
42876
  // 遵循 Vue 3 v-model 规范,使用 modelValue
@@ -43013,7 +43013,7 @@ return (_ctx, _cache) => {
43013
43013
  src: unref(fileList_box)[0].response.data.src,
43014
43014
  class: "avatar",
43015
43015
  style: normalizeStyle(style.avatarImage)
43016
- }, null, 12 /* STYLE, PROPS */, _hoisted_1$c))
43016
+ }, null, 12 /* STYLE, PROPS */, _hoisted_1$d))
43017
43017
  : (openBlock(), createBlock(_component_el_icon, {
43018
43018
  key: 1,
43019
43019
  class: "avatar-uploader-icon",
@@ -43051,7 +43051,7 @@ return (_ctx, _cache) => {
43051
43051
  script$e.__scopeId = "data-v-0b647a60";
43052
43052
  script$e.__file = "src/upload/Upload-avatar.vue";
43053
43053
 
43054
- const _hoisted_1$b = ["src"];
43054
+ const _hoisted_1$c = ["src"];
43055
43055
  const _hoisted_2$9 = { key: 0 };
43056
43056
  const _hoisted_3$4 = { style: {"color":"blue"} };
43057
43057
  const _hoisted_4$2 = { key: 1 };
@@ -43189,7 +43189,7 @@ return (_ctx, _cache) => {
43189
43189
  class: "avatar",
43190
43190
  src: fileList_box.value[0].response.data.src,
43191
43191
  style: normalizeStyle(style.avatarImage())
43192
- }, null, 12 /* STYLE, PROPS */, _hoisted_1$b))
43192
+ }, null, 12 /* STYLE, PROPS */, _hoisted_1$c))
43193
43193
  : (openBlock(), createBlock(_component_el_icon, {
43194
43194
  key: 1,
43195
43195
  class: "avatar-uploader-icon",
@@ -43244,7 +43244,7 @@ return (_ctx, _cache) => {
43244
43244
  script$d.__scopeId = "data-v-6fc32e0e";
43245
43245
  script$d.__file = "src/upload/Upload-carplate.vue";
43246
43246
 
43247
- const _hoisted_1$a = { class: "el-upload__tip" };
43247
+ const _hoisted_1$b = { class: "el-upload__tip" };
43248
43248
  const _hoisted_2$8 = {
43249
43249
  key: 0,
43250
43250
  style: {"font-size":"xx-small"}
@@ -43361,7 +43361,7 @@ return (_ctx, _cache) => {
43361
43361
  drag: ""
43362
43362
  }, {
43363
43363
  tip: withCtx(() => [
43364
- createElementVNode("div", _hoisted_1$a, " " + toDisplayString(myProps_box.tip || "可以上传" + myProps_box.limit + "个文件"), 1 /* TEXT */)
43364
+ createElementVNode("div", _hoisted_1$b, " " + toDisplayString(myProps_box.tip || "可以上传" + myProps_box.limit + "个文件"), 1 /* TEXT */)
43365
43365
  ]),
43366
43366
  default: withCtx(() => [
43367
43367
  createVNode(_component_el_icon, { class: "el-icon--upload" }, {
@@ -43401,7 +43401,7 @@ return (_ctx, _cache) => {
43401
43401
 
43402
43402
  script$c.__file = "src/upload/Upload-drag.vue";
43403
43403
 
43404
- const _hoisted_1$9 = { class: "el-upload__tip" };
43404
+ const _hoisted_1$a = { class: "el-upload__tip" };
43405
43405
  const _hoisted_2$7 = {
43406
43406
  key: 0,
43407
43407
  style: {"font-size":"xx-small"}
@@ -43515,7 +43515,7 @@ return (_ctx, _cache) => {
43515
43515
  limit: myProps_box.limit
43516
43516
  }, {
43517
43517
  tip: withCtx(() => [
43518
- createElementVNode("div", _hoisted_1$9, " " + toDisplayString(myProps_box.tip || "可以上传" + myProps_box.limit + "个图片"), 1 /* TEXT */)
43518
+ createElementVNode("div", _hoisted_1$a, " " + toDisplayString(myProps_box.tip || "可以上传" + myProps_box.limit + "个图片"), 1 /* TEXT */)
43519
43519
  ]),
43520
43520
  default: withCtx(() => [
43521
43521
  createVNode(_component_el_button, {
@@ -43554,7 +43554,7 @@ return (_ctx, _cache) => {
43554
43554
 
43555
43555
  script$b.__file = "src/upload/Upload-picture.vue";
43556
43556
 
43557
- const _hoisted_1$8 = { class: "el-upload__tip" };
43557
+ const _hoisted_1$9 = { class: "el-upload__tip" };
43558
43558
  const _hoisted_2$6 = ["src"];
43559
43559
  const _hoisted_3$3 = {
43560
43560
  key: 0,
@@ -43654,7 +43654,7 @@ return (_ctx, _cache) => {
43654
43654
  limit: myProps_box.limit
43655
43655
  }, {
43656
43656
  tip: withCtx(() => [
43657
- createElementVNode("div", _hoisted_1$8, " " + toDisplayString(myProps_box.tip || "可以上传" + myProps_box.limit + "个图片"), 1 /* TEXT */)
43657
+ createElementVNode("div", _hoisted_1$9, " " + toDisplayString(myProps_box.tip || "可以上传" + myProps_box.limit + "个图片"), 1 /* TEXT */)
43658
43658
  ]),
43659
43659
  default: withCtx(() => [
43660
43660
  createVNode(_component_el_icon, null, {
@@ -43712,7 +43712,7 @@ var upload = {
43712
43712
  Upload_pictureCard: script$a
43713
43713
  };
43714
43714
 
43715
- const _hoisted_1$7 = { style: {"width":"100%"} };
43715
+ const _hoisted_1$8 = { style: {"width":"100%"} };
43716
43716
  const _hoisted_2$5 = { style: {"width":"30%"} };
43717
43717
 
43718
43718
  // 遵循 Vue 3 v-model 规范,使用 modelValue
@@ -43965,7 +43965,7 @@ return (_ctx, _cache) => {
43965
43965
  "destroy-on-close": true
43966
43966
  }, {
43967
43967
  default: withCtx(() => [
43968
- createElementVNode("table", _hoisted_1$7, [
43968
+ createElementVNode("table", _hoisted_1$8, [
43969
43969
  createElementVNode("tbody", null, [
43970
43970
  createElementVNode("tr", null, [
43971
43971
  createElementVNode("td", _hoisted_2$5, [
@@ -47469,7 +47469,7 @@ var handles = {
47469
47469
  }
47470
47470
  };
47471
47471
 
47472
- const _hoisted_1$6 = { class: "amount" };
47472
+ const _hoisted_1$7 = { class: "amount" };
47473
47473
 
47474
47474
 
47475
47475
  var script$8 = {
@@ -47517,7 +47517,7 @@ return (_ctx, _cache) => {
47517
47517
  class: "qrcode",
47518
47518
  id: "qrcodejs2.ly0d2cash"
47519
47519
  }, null, -1 /* CACHED */)),
47520
- createElementVNode("div", _hoisted_1$6, toDisplayString('金额:¥' + unref(qrcode$1).formData.amount), 1 /* TEXT */)
47520
+ createElementVNode("div", _hoisted_1$7, toDisplayString('金额:¥' + unref(qrcode$1).formData.amount), 1 /* TEXT */)
47521
47521
  ]),
47522
47522
  _: 1 /* STABLE */
47523
47523
  }),
@@ -47548,7 +47548,7 @@ return (_ctx, _cache) => {
47548
47548
  script$8.__scopeId = "data-v-4b8e1496";
47549
47549
  script$8.__file = "src/ly0d2cash/qrcode/Index.vue";
47550
47550
 
47551
- const _hoisted_1$5 = { style: {"padding":"10px"} };
47551
+ const _hoisted_1$6 = { style: {"padding":"10px"} };
47552
47552
 
47553
47553
 
47554
47554
  var script$7 = {
@@ -47586,7 +47586,7 @@ onMounted(()=>{
47586
47586
  return (_ctx, _cache) => {
47587
47587
  const _component_ly0Form = resolveComponent("ly0Form");
47588
47588
 
47589
- return (openBlock(), createElementBlock("div", _hoisted_1$5, [
47589
+ return (openBlock(), createElementBlock("div", _hoisted_1$6, [
47590
47590
  createVNode(_component_ly0Form, {
47591
47591
  modelValue: scopeThis.formData,
47592
47592
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((scopeThis.formData) = $event)),
@@ -47628,143 +47628,145 @@ var tableData = {
47628
47628
 
47629
47629
  var tableProps = {
47630
47630
  // 置顶菜单
47631
- menu: [{
47632
- title: "查询",
47631
+ menu: {
47633
47632
  menu: [{
47634
- title: "全部",
47635
- async handle(_ref) {
47636
- let {
47637
- scopeThis,
47638
- index
47639
- } = _ref;
47640
- await withTable.reload({
47641
- scopeThis
47642
- });
47643
- }
47644
- }, {
47645
- title: "刷新",
47646
- async handle(_ref2) {
47647
- let {
47648
- scopeThis,
47649
- index
47650
- } = _ref2;
47651
- await withTable.refresh({
47652
- scopeThis
47653
- });
47654
- }
47655
- }, {
47656
47633
  title: "查询",
47657
- handle(_ref3) {
47658
- let {
47659
- scopeThis,
47660
- index
47661
- } = _ref3;
47662
- withTable.popupFind({
47663
- scopeThis
47664
- });
47665
- }
47634
+ menu: [{
47635
+ title: "全部",
47636
+ async handle(_ref) {
47637
+ let {
47638
+ scopeThis,
47639
+ index
47640
+ } = _ref;
47641
+ await withTable.reload({
47642
+ scopeThis
47643
+ });
47644
+ }
47645
+ }, {
47646
+ title: "刷新",
47647
+ async handle(_ref2) {
47648
+ let {
47649
+ scopeThis,
47650
+ index
47651
+ } = _ref2;
47652
+ await withTable.refresh({
47653
+ scopeThis
47654
+ });
47655
+ }
47656
+ }, {
47657
+ title: "查询",
47658
+ handle(_ref3) {
47659
+ let {
47660
+ scopeThis,
47661
+ index
47662
+ } = _ref3;
47663
+ withTable.popupFind({
47664
+ scopeThis
47665
+ });
47666
+ }
47667
+ }, {
47668
+ title: "新增",
47669
+ hdlDisabled(_ref4) {
47670
+ let {
47671
+ scopeThis,
47672
+ item,
47673
+ index
47674
+ } = _ref4;
47675
+ return scopeThis.initBox.readOnly;
47676
+ },
47677
+ handle(_ref5) {
47678
+ let {
47679
+ scopeThis,
47680
+ index
47681
+ } = _ref5;
47682
+ withTable.popupInsertOne({
47683
+ scopeThis
47684
+ });
47685
+ }
47686
+ }]
47666
47687
  }, {
47667
- title: "新增",
47668
- hdlDisabled(_ref4) {
47688
+ title: "收银",
47689
+ hdlDisabled(_ref6) {
47669
47690
  let {
47670
47691
  scopeThis,
47671
47692
  item,
47672
47693
  index
47673
- } = _ref4;
47694
+ } = _ref6;
47674
47695
  return scopeThis.initBox.readOnly;
47675
47696
  },
47676
- handle(_ref5) {
47677
- let {
47678
- scopeThis,
47679
- index
47680
- } = _ref5;
47681
- withTable.popupInsertOne({
47682
- scopeThis
47683
- });
47684
- }
47685
- }]
47686
- }, {
47687
- title: "收银",
47688
- hdlDisabled(_ref6) {
47689
- let {
47690
- scopeThis,
47691
- item,
47692
- index
47693
- } = _ref6;
47694
- return scopeThis.initBox.readOnly;
47695
- },
47696
- menu: [{
47697
- title: "收银",
47698
- handle(_ref7) {
47699
- let {
47700
- scopeThis,
47701
- index
47702
- } = _ref7;
47703
- scopeThis.cashBox.formData.id_business = scopeThis.initBox.id_business;
47704
- scopeThis.cashBox.formData.businesstype_code = scopeThis.initBox.businesstype_code;
47705
- // 支付金额合计
47706
- scopeThis.cashBox.formData.amount = Math.floor(scopeThis.initBox.deal -
47707
- // 订单金额(应收应付)
47708
- scopeThis.amountBox.succeeded -
47709
- // 支付成功
47710
- scopeThis.amountBox.started // 支付中
47711
- ) / 100;
47712
- scopeThis.cashBox.formData.wx_appid = scopeThis.initBox.wx_appid;
47713
- scopeThis.cashBox.formData.wx_mchid = scopeThis.initBox.wx_mchid;
47714
- scopeThis.cashBox.formProps.popup.visible = true;
47715
- }
47716
- }, {
47717
- title: "退款",
47718
- handle(_ref8) {
47719
- let {
47720
- scopeThis,
47721
- index
47722
- } = _ref8;
47723
- ElMessageBox.confirm('退款?', '警告', {
47724
- confirmButtonText: '确认',
47725
- cancelButtonText: '取消',
47726
- type: 'warning'
47727
- }).then(() => {
47697
+ menu: [{
47698
+ title: "收银",
47699
+ handle(_ref7) {
47700
+ let {
47701
+ scopeThis,
47702
+ index
47703
+ } = _ref7;
47704
+ scopeThis.cashBox.formData.id_business = scopeThis.initBox.id_business;
47705
+ scopeThis.cashBox.formData.businesstype_code = scopeThis.initBox.businesstype_code;
47706
+ // 支付金额合计
47707
+ scopeThis.cashBox.formData.amount = Math.floor(scopeThis.initBox.deal -
47708
+ // 订单金额(应收应付)
47709
+ scopeThis.amountBox.succeeded -
47710
+ // 支付成功
47711
+ scopeThis.amountBox.started // 支付中
47712
+ ) / 100;
47713
+ scopeThis.cashBox.formData.wx_appid = scopeThis.initBox.wx_appid;
47714
+ scopeThis.cashBox.formData.wx_mchid = scopeThis.initBox.wx_mchid;
47715
+ scopeThis.cashBox.formProps.popup.visible = true;
47716
+ }
47717
+ }, {
47718
+ title: "退款",
47719
+ handle(_ref8) {
47720
+ let {
47721
+ scopeThis,
47722
+ index
47723
+ } = _ref8;
47724
+ ElMessageBox.confirm('退款?', '警告', {
47725
+ confirmButtonText: '确认',
47726
+ cancelButtonText: '取消',
47727
+ type: 'warning'
47728
+ }).then(() => {
47729
+ ly0request.ly0.storpro({
47730
+ storproName: "ly0d2.wxzf.refund",
47731
+ data: {
47732
+ id_business: scopeThis.initBox.id_business
47733
+ }
47734
+ }).then(() => {
47735
+ ElMessage("已退款");
47736
+ withTable.refresh({
47737
+ scopeThis
47738
+ });
47739
+ });
47740
+ }).catch(err => {
47741
+ ElMessage({
47742
+ type: 'info',
47743
+ message: '取消退款'
47744
+ });
47745
+ });
47746
+ }
47747
+ }, {
47748
+ title: "中止支付",
47749
+ handle(_ref9) {
47750
+ let {
47751
+ scopeThis,
47752
+ index
47753
+ } = _ref9;
47728
47754
  ly0request.ly0.storpro({
47729
- storproName: "ly0d2.wxzf.refund",
47755
+ storproName: "ly0d2.wxzf.setFail",
47730
47756
  data: {
47757
+ mchid: scopeThis.initBox.mchid,
47731
47758
  id_business: scopeThis.initBox.id_business
47732
47759
  }
47733
47760
  }).then(() => {
47734
- ElMessage("已退款");
47761
+ ElMessage("已中止支付");
47735
47762
  withTable.refresh({
47736
47763
  scopeThis
47737
47764
  });
47738
47765
  });
47739
- }).catch(err => {
47740
- ElMessage({
47741
- type: 'info',
47742
- message: '取消退款'
47743
- });
47744
- });
47745
- }
47746
- }, {
47747
- title: "中止支付",
47748
- handle(_ref9) {
47749
- let {
47750
- scopeThis,
47751
- index
47752
- } = _ref9;
47753
- ly0request.ly0.storpro({
47754
- storproName: "ly0d2.wxzf.setFail",
47755
- data: {
47756
- mchid: scopeThis.initBox.mchid,
47757
- id_business: scopeThis.initBox.id_business
47758
- }
47759
- }).then(() => {
47760
- ElMessage("已中止支付");
47761
- withTable.refresh({
47762
- scopeThis
47763
- });
47764
- });
47765
- }
47766
+ }
47767
+ }]
47766
47768
  }]
47767
- }],
47769
+ },
47768
47770
  table: {
47769
47771
  cols: [{
47770
47772
  label: '金额',
@@ -48326,6 +48328,9 @@ var cashBox = {
48326
48328
  formProps
48327
48329
  };
48328
48330
 
48331
+ const _hoisted_1$5 = { style: {"width":"100%"} };
48332
+
48333
+
48329
48334
  var script$6 = {
48330
48335
  __name: 'main',
48331
48336
  props: {
@@ -48376,7 +48381,7 @@ return (_ctx, _cache) => {
48376
48381
 
48377
48382
  return (openBlock(), createElementBlock(Fragment, null, [
48378
48383
  createCommentVNode(" 金额统计 "),
48379
- createElementVNode("table", null, [
48384
+ createElementVNode("table", _hoisted_1$5, [
48380
48385
  _cache[3] || (_cache[3] = createElementVNode("thead", null, [
48381
48386
  createElementVNode("tr", null, [
48382
48387
  createElementVNode("th", null, "订单金额(应收应付)"),