@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.cjs.js CHANGED
@@ -23467,7 +23467,7 @@ return (_ctx, _cache) => {
23467
23467
 
23468
23468
  script$o.__file = "src/form/LabelBox.vue";
23469
23469
 
23470
- const _hoisted_1$h = { key: 12 };
23470
+ const _hoisted_1$i = { key: 12 };
23471
23471
  const _hoisted_2$e = { key: 0 };
23472
23472
  const _hoisted_3$7 = { key: 13 };
23473
23473
  const _hoisted_4$5 = { key: 0 };
@@ -23904,7 +23904,7 @@ return (_ctx, _cache) => {
23904
23904
  }, 8 /* PROPS */, ["modelValue", "disabled", "onChange"]))
23905
23905
  : vue.createCommentVNode("v-if", true),
23906
23906
  (vue.unref(propsItem_box).inputType === 'button-group' && vue.unref(propsItem_box).box && vue.unref(propsItem_box).box.length > 0)
23907
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$h, [
23907
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$i, [
23908
23908
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(propsItem_box).box, (item0, index0) => {
23909
23909
  return (vue.openBlock(), vue.createBlock(_component_el_button_group, {
23910
23910
  key: index0,
@@ -24240,7 +24240,7 @@ return (_ctx, _cache) => {
24240
24240
 
24241
24241
  script$n.__file = "src/form/InputBox.vue";
24242
24242
 
24243
- const _hoisted_1$g = { key: 0 };
24243
+ const _hoisted_1$h = { key: 0 };
24244
24244
  const _hoisted_2$d = ["colspan"];
24245
24245
  const _hoisted_3$6 = { key: 0 };
24246
24246
  const _hoisted_4$4 = ["colspan"];
@@ -24319,7 +24319,7 @@ return (_ctx, _cache) => {
24319
24319
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.items, (item0, index0) => {
24320
24320
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index0 }, [
24321
24321
  (item0.hdlVisible ? item0.hdlVisible({formData: vue.unref(formData_box), scopeThis: vue.unref(scopeThis_box)}) : true)
24322
- ? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_1$g, [
24322
+ ? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_1$h, [
24323
24323
  (!!item0.label)
24324
24324
  ? (vue.openBlock(), vue.createElementBlock("td", {
24325
24325
  key: 0,
@@ -41858,7 +41858,7 @@ return (_ctx, _cache) => {
41858
41858
 
41859
41859
  script$j.__file = "src/richtext/index.vue";
41860
41860
 
41861
- const _hoisted_1$f = { style: {"text-align":"center"} };
41861
+ const _hoisted_1$g = { style: {"text-align":"center"} };
41862
41862
 
41863
41863
 
41864
41864
  var script$i = {
@@ -42019,7 +42019,7 @@ return (_ctx, _cache) => {
42019
42019
  vue.createElementVNode("div", {
42020
42020
  style: vue.normalizeStyle(style.line)
42021
42021
  }, null, 4 /* STYLE */),
42022
- vue.createElementVNode("div", _hoisted_1$f, [
42022
+ vue.createElementVNode("div", _hoisted_1$g, [
42023
42023
  vue.createVNode(_component_el_button, {
42024
42024
  type: "success",
42025
42025
  round: "",
@@ -42042,7 +42042,7 @@ return (_ctx, _cache) => {
42042
42042
 
42043
42043
  script$i.__file = "src/table/PickCol.vue";
42044
42044
 
42045
- const _hoisted_1$e = { style: {"padding":"10px"} };
42045
+ const _hoisted_1$f = { style: {"padding":"10px"} };
42046
42046
  const _hoisted_2$c = { key: 0 };
42047
42047
  const _hoisted_3$5 = ["onClick", "onMouseover"];
42048
42048
  const _hoisted_4$3 = ["href", "download"];
@@ -42242,7 +42242,7 @@ return (_ctx, _cache) => {
42242
42242
  const _component_el_pagination = vue.resolveComponent("el-pagination");
42243
42243
  const _directive_loading = vue.resolveDirective("loading");
42244
42244
 
42245
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
42245
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [
42246
42246
  vue.createCommentVNode(" 标题线 "),
42247
42247
  (vue.unref(tableProps_box).titleLine.text)
42248
42248
  ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -42720,7 +42720,7 @@ var ly0default = {
42720
42720
  }
42721
42721
  };
42722
42722
 
42723
- const _hoisted_1$d = { class: "el-upload__tip" };
42723
+ const _hoisted_1$e = { class: "el-upload__tip" };
42724
42724
  const _hoisted_2$b = {
42725
42725
  key: 0,
42726
42726
  style: {"font-size":"xx-small"}
@@ -42835,7 +42835,7 @@ return (_ctx, _cache) => {
42835
42835
  limit: myProps_box.limit
42836
42836
  }, {
42837
42837
  tip: vue.withCtx(() => [
42838
- vue.createElementVNode("span", _hoisted_1$d, " " + vue.toDisplayString(myProps_box.tip ?? "可以上传" + myProps_box.limit + "个文件"), 1 /* TEXT */)
42838
+ vue.createElementVNode("span", _hoisted_1$e, " " + vue.toDisplayString(myProps_box.tip ?? "可以上传" + myProps_box.limit + "个文件"), 1 /* TEXT */)
42839
42839
  ]),
42840
42840
  default: vue.withCtx(() => [
42841
42841
  vue.createVNode(_component_el_button, {
@@ -42874,7 +42874,7 @@ return (_ctx, _cache) => {
42874
42874
 
42875
42875
  script$f.__file = "src/upload/Upload.vue";
42876
42876
 
42877
- const _hoisted_1$c = ["src"];
42877
+ const _hoisted_1$d = ["src"];
42878
42878
  const _hoisted_2$a = { key: 0 };
42879
42879
 
42880
42880
  // 遵循 Vue 3 v-model 规范,使用 modelValue
@@ -43017,7 +43017,7 @@ return (_ctx, _cache) => {
43017
43017
  src: vue.unref(fileList_box)[0].response.data.src,
43018
43018
  class: "avatar",
43019
43019
  style: vue.normalizeStyle(style.avatarImage)
43020
- }, null, 12 /* STYLE, PROPS */, _hoisted_1$c))
43020
+ }, null, 12 /* STYLE, PROPS */, _hoisted_1$d))
43021
43021
  : (vue.openBlock(), vue.createBlock(_component_el_icon, {
43022
43022
  key: 1,
43023
43023
  class: "avatar-uploader-icon",
@@ -43055,7 +43055,7 @@ return (_ctx, _cache) => {
43055
43055
  script$e.__scopeId = "data-v-0b647a60";
43056
43056
  script$e.__file = "src/upload/Upload-avatar.vue";
43057
43057
 
43058
- const _hoisted_1$b = ["src"];
43058
+ const _hoisted_1$c = ["src"];
43059
43059
  const _hoisted_2$9 = { key: 0 };
43060
43060
  const _hoisted_3$4 = { style: {"color":"blue"} };
43061
43061
  const _hoisted_4$2 = { key: 1 };
@@ -43193,7 +43193,7 @@ return (_ctx, _cache) => {
43193
43193
  class: "avatar",
43194
43194
  src: fileList_box.value[0].response.data.src,
43195
43195
  style: vue.normalizeStyle(style.avatarImage())
43196
- }, null, 12 /* STYLE, PROPS */, _hoisted_1$b))
43196
+ }, null, 12 /* STYLE, PROPS */, _hoisted_1$c))
43197
43197
  : (vue.openBlock(), vue.createBlock(_component_el_icon, {
43198
43198
  key: 1,
43199
43199
  class: "avatar-uploader-icon",
@@ -43248,7 +43248,7 @@ return (_ctx, _cache) => {
43248
43248
  script$d.__scopeId = "data-v-6fc32e0e";
43249
43249
  script$d.__file = "src/upload/Upload-carplate.vue";
43250
43250
 
43251
- const _hoisted_1$a = { class: "el-upload__tip" };
43251
+ const _hoisted_1$b = { class: "el-upload__tip" };
43252
43252
  const _hoisted_2$8 = {
43253
43253
  key: 0,
43254
43254
  style: {"font-size":"xx-small"}
@@ -43365,7 +43365,7 @@ return (_ctx, _cache) => {
43365
43365
  drag: ""
43366
43366
  }, {
43367
43367
  tip: vue.withCtx(() => [
43368
- vue.createElementVNode("div", _hoisted_1$a, " " + vue.toDisplayString(myProps_box.tip || "可以上传" + myProps_box.limit + "个文件"), 1 /* TEXT */)
43368
+ vue.createElementVNode("div", _hoisted_1$b, " " + vue.toDisplayString(myProps_box.tip || "可以上传" + myProps_box.limit + "个文件"), 1 /* TEXT */)
43369
43369
  ]),
43370
43370
  default: vue.withCtx(() => [
43371
43371
  vue.createVNode(_component_el_icon, { class: "el-icon--upload" }, {
@@ -43405,7 +43405,7 @@ return (_ctx, _cache) => {
43405
43405
 
43406
43406
  script$c.__file = "src/upload/Upload-drag.vue";
43407
43407
 
43408
- const _hoisted_1$9 = { class: "el-upload__tip" };
43408
+ const _hoisted_1$a = { class: "el-upload__tip" };
43409
43409
  const _hoisted_2$7 = {
43410
43410
  key: 0,
43411
43411
  style: {"font-size":"xx-small"}
@@ -43519,7 +43519,7 @@ return (_ctx, _cache) => {
43519
43519
  limit: myProps_box.limit
43520
43520
  }, {
43521
43521
  tip: vue.withCtx(() => [
43522
- vue.createElementVNode("div", _hoisted_1$9, " " + vue.toDisplayString(myProps_box.tip || "可以上传" + myProps_box.limit + "个图片"), 1 /* TEXT */)
43522
+ vue.createElementVNode("div", _hoisted_1$a, " " + vue.toDisplayString(myProps_box.tip || "可以上传" + myProps_box.limit + "个图片"), 1 /* TEXT */)
43523
43523
  ]),
43524
43524
  default: vue.withCtx(() => [
43525
43525
  vue.createVNode(_component_el_button, {
@@ -43558,7 +43558,7 @@ return (_ctx, _cache) => {
43558
43558
 
43559
43559
  script$b.__file = "src/upload/Upload-picture.vue";
43560
43560
 
43561
- const _hoisted_1$8 = { class: "el-upload__tip" };
43561
+ const _hoisted_1$9 = { class: "el-upload__tip" };
43562
43562
  const _hoisted_2$6 = ["src"];
43563
43563
  const _hoisted_3$3 = {
43564
43564
  key: 0,
@@ -43658,7 +43658,7 @@ return (_ctx, _cache) => {
43658
43658
  limit: myProps_box.limit
43659
43659
  }, {
43660
43660
  tip: vue.withCtx(() => [
43661
- vue.createElementVNode("div", _hoisted_1$8, " " + vue.toDisplayString(myProps_box.tip || "可以上传" + myProps_box.limit + "个图片"), 1 /* TEXT */)
43661
+ vue.createElementVNode("div", _hoisted_1$9, " " + vue.toDisplayString(myProps_box.tip || "可以上传" + myProps_box.limit + "个图片"), 1 /* TEXT */)
43662
43662
  ]),
43663
43663
  default: vue.withCtx(() => [
43664
43664
  vue.createVNode(_component_el_icon, null, {
@@ -43716,7 +43716,7 @@ var upload = {
43716
43716
  Upload_pictureCard: script$a
43717
43717
  };
43718
43718
 
43719
- const _hoisted_1$7 = { style: {"width":"100%"} };
43719
+ const _hoisted_1$8 = { style: {"width":"100%"} };
43720
43720
  const _hoisted_2$5 = { style: {"width":"30%"} };
43721
43721
 
43722
43722
  // 遵循 Vue 3 v-model 规范,使用 modelValue
@@ -43969,7 +43969,7 @@ return (_ctx, _cache) => {
43969
43969
  "destroy-on-close": true
43970
43970
  }, {
43971
43971
  default: vue.withCtx(() => [
43972
- vue.createElementVNode("table", _hoisted_1$7, [
43972
+ vue.createElementVNode("table", _hoisted_1$8, [
43973
43973
  vue.createElementVNode("tbody", null, [
43974
43974
  vue.createElementVNode("tr", null, [
43975
43975
  vue.createElementVNode("td", _hoisted_2$5, [
@@ -47473,7 +47473,7 @@ var handles = {
47473
47473
  }
47474
47474
  };
47475
47475
 
47476
- const _hoisted_1$6 = { class: "amount" };
47476
+ const _hoisted_1$7 = { class: "amount" };
47477
47477
 
47478
47478
 
47479
47479
  var script$8 = {
@@ -47521,7 +47521,7 @@ return (_ctx, _cache) => {
47521
47521
  class: "qrcode",
47522
47522
  id: "qrcodejs2.ly0d2cash"
47523
47523
  }, null, -1 /* CACHED */)),
47524
- vue.createElementVNode("div", _hoisted_1$6, vue.toDisplayString('金额:¥' + vue.unref(qrcode$1).formData.amount), 1 /* TEXT */)
47524
+ vue.createElementVNode("div", _hoisted_1$7, vue.toDisplayString('金额:¥' + vue.unref(qrcode$1).formData.amount), 1 /* TEXT */)
47525
47525
  ]),
47526
47526
  _: 1 /* STABLE */
47527
47527
  }),
@@ -47552,7 +47552,7 @@ return (_ctx, _cache) => {
47552
47552
  script$8.__scopeId = "data-v-4b8e1496";
47553
47553
  script$8.__file = "src/ly0d2cash/qrcode/Index.vue";
47554
47554
 
47555
- const _hoisted_1$5 = { style: {"padding":"10px"} };
47555
+ const _hoisted_1$6 = { style: {"padding":"10px"} };
47556
47556
 
47557
47557
 
47558
47558
  var script$7 = {
@@ -47590,7 +47590,7 @@ vue.onMounted(()=>{
47590
47590
  return (_ctx, _cache) => {
47591
47591
  const _component_ly0Form = vue.resolveComponent("ly0Form");
47592
47592
 
47593
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [
47593
+ return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [
47594
47594
  vue.createVNode(_component_ly0Form, {
47595
47595
  modelValue: scopeThis.formData,
47596
47596
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((scopeThis.formData) = $event)),
@@ -47632,143 +47632,145 @@ var tableData = {
47632
47632
 
47633
47633
  var tableProps = {
47634
47634
  // 置顶菜单
47635
- menu: [{
47636
- title: "查询",
47635
+ menu: {
47637
47636
  menu: [{
47638
- title: "全部",
47639
- async handle(_ref) {
47640
- let {
47641
- scopeThis,
47642
- index
47643
- } = _ref;
47644
- await withTable.reload({
47645
- scopeThis
47646
- });
47647
- }
47648
- }, {
47649
- title: "刷新",
47650
- async handle(_ref2) {
47651
- let {
47652
- scopeThis,
47653
- index
47654
- } = _ref2;
47655
- await withTable.refresh({
47656
- scopeThis
47657
- });
47658
- }
47659
- }, {
47660
47637
  title: "查询",
47661
- handle(_ref3) {
47662
- let {
47663
- scopeThis,
47664
- index
47665
- } = _ref3;
47666
- withTable.popupFind({
47667
- scopeThis
47668
- });
47669
- }
47638
+ menu: [{
47639
+ title: "全部",
47640
+ async handle(_ref) {
47641
+ let {
47642
+ scopeThis,
47643
+ index
47644
+ } = _ref;
47645
+ await withTable.reload({
47646
+ scopeThis
47647
+ });
47648
+ }
47649
+ }, {
47650
+ title: "刷新",
47651
+ async handle(_ref2) {
47652
+ let {
47653
+ scopeThis,
47654
+ index
47655
+ } = _ref2;
47656
+ await withTable.refresh({
47657
+ scopeThis
47658
+ });
47659
+ }
47660
+ }, {
47661
+ title: "查询",
47662
+ handle(_ref3) {
47663
+ let {
47664
+ scopeThis,
47665
+ index
47666
+ } = _ref3;
47667
+ withTable.popupFind({
47668
+ scopeThis
47669
+ });
47670
+ }
47671
+ }, {
47672
+ title: "新增",
47673
+ hdlDisabled(_ref4) {
47674
+ let {
47675
+ scopeThis,
47676
+ item,
47677
+ index
47678
+ } = _ref4;
47679
+ return scopeThis.initBox.readOnly;
47680
+ },
47681
+ handle(_ref5) {
47682
+ let {
47683
+ scopeThis,
47684
+ index
47685
+ } = _ref5;
47686
+ withTable.popupInsertOne({
47687
+ scopeThis
47688
+ });
47689
+ }
47690
+ }]
47670
47691
  }, {
47671
- title: "新增",
47672
- hdlDisabled(_ref4) {
47692
+ title: "收银",
47693
+ hdlDisabled(_ref6) {
47673
47694
  let {
47674
47695
  scopeThis,
47675
47696
  item,
47676
47697
  index
47677
- } = _ref4;
47698
+ } = _ref6;
47678
47699
  return scopeThis.initBox.readOnly;
47679
47700
  },
47680
- handle(_ref5) {
47681
- let {
47682
- scopeThis,
47683
- index
47684
- } = _ref5;
47685
- withTable.popupInsertOne({
47686
- scopeThis
47687
- });
47688
- }
47689
- }]
47690
- }, {
47691
- title: "收银",
47692
- hdlDisabled(_ref6) {
47693
- let {
47694
- scopeThis,
47695
- item,
47696
- index
47697
- } = _ref6;
47698
- return scopeThis.initBox.readOnly;
47699
- },
47700
- menu: [{
47701
- title: "收银",
47702
- handle(_ref7) {
47703
- let {
47704
- scopeThis,
47705
- index
47706
- } = _ref7;
47707
- scopeThis.cashBox.formData.id_business = scopeThis.initBox.id_business;
47708
- scopeThis.cashBox.formData.businesstype_code = scopeThis.initBox.businesstype_code;
47709
- // 支付金额合计
47710
- scopeThis.cashBox.formData.amount = Math.floor(scopeThis.initBox.deal -
47711
- // 订单金额(应收应付)
47712
- scopeThis.amountBox.succeeded -
47713
- // 支付成功
47714
- scopeThis.amountBox.started // 支付中
47715
- ) / 100;
47716
- scopeThis.cashBox.formData.wx_appid = scopeThis.initBox.wx_appid;
47717
- scopeThis.cashBox.formData.wx_mchid = scopeThis.initBox.wx_mchid;
47718
- scopeThis.cashBox.formProps.popup.visible = true;
47719
- }
47720
- }, {
47721
- title: "退款",
47722
- handle(_ref8) {
47723
- let {
47724
- scopeThis,
47725
- index
47726
- } = _ref8;
47727
- elementPlus.ElMessageBox.confirm('退款?', '警告', {
47728
- confirmButtonText: '确认',
47729
- cancelButtonText: '取消',
47730
- type: 'warning'
47731
- }).then(() => {
47701
+ menu: [{
47702
+ title: "收银",
47703
+ handle(_ref7) {
47704
+ let {
47705
+ scopeThis,
47706
+ index
47707
+ } = _ref7;
47708
+ scopeThis.cashBox.formData.id_business = scopeThis.initBox.id_business;
47709
+ scopeThis.cashBox.formData.businesstype_code = scopeThis.initBox.businesstype_code;
47710
+ // 支付金额合计
47711
+ scopeThis.cashBox.formData.amount = Math.floor(scopeThis.initBox.deal -
47712
+ // 订单金额(应收应付)
47713
+ scopeThis.amountBox.succeeded -
47714
+ // 支付成功
47715
+ scopeThis.amountBox.started // 支付中
47716
+ ) / 100;
47717
+ scopeThis.cashBox.formData.wx_appid = scopeThis.initBox.wx_appid;
47718
+ scopeThis.cashBox.formData.wx_mchid = scopeThis.initBox.wx_mchid;
47719
+ scopeThis.cashBox.formProps.popup.visible = true;
47720
+ }
47721
+ }, {
47722
+ title: "退款",
47723
+ handle(_ref8) {
47724
+ let {
47725
+ scopeThis,
47726
+ index
47727
+ } = _ref8;
47728
+ elementPlus.ElMessageBox.confirm('退款?', '警告', {
47729
+ confirmButtonText: '确认',
47730
+ cancelButtonText: '取消',
47731
+ type: 'warning'
47732
+ }).then(() => {
47733
+ ly0request$1.ly0.storpro({
47734
+ storproName: "ly0d2.wxzf.refund",
47735
+ data: {
47736
+ id_business: scopeThis.initBox.id_business
47737
+ }
47738
+ }).then(() => {
47739
+ elementPlus.ElMessage("已退款");
47740
+ withTable.refresh({
47741
+ scopeThis
47742
+ });
47743
+ });
47744
+ }).catch(err => {
47745
+ elementPlus.ElMessage({
47746
+ type: 'info',
47747
+ message: '取消退款'
47748
+ });
47749
+ });
47750
+ }
47751
+ }, {
47752
+ title: "中止支付",
47753
+ handle(_ref9) {
47754
+ let {
47755
+ scopeThis,
47756
+ index
47757
+ } = _ref9;
47732
47758
  ly0request$1.ly0.storpro({
47733
- storproName: "ly0d2.wxzf.refund",
47759
+ storproName: "ly0d2.wxzf.setFail",
47734
47760
  data: {
47761
+ mchid: scopeThis.initBox.mchid,
47735
47762
  id_business: scopeThis.initBox.id_business
47736
47763
  }
47737
47764
  }).then(() => {
47738
- elementPlus.ElMessage("已退款");
47765
+ elementPlus.ElMessage("已中止支付");
47739
47766
  withTable.refresh({
47740
47767
  scopeThis
47741
47768
  });
47742
47769
  });
47743
- }).catch(err => {
47744
- elementPlus.ElMessage({
47745
- type: 'info',
47746
- message: '取消退款'
47747
- });
47748
- });
47749
- }
47750
- }, {
47751
- title: "中止支付",
47752
- handle(_ref9) {
47753
- let {
47754
- scopeThis,
47755
- index
47756
- } = _ref9;
47757
- ly0request$1.ly0.storpro({
47758
- storproName: "ly0d2.wxzf.setFail",
47759
- data: {
47760
- mchid: scopeThis.initBox.mchid,
47761
- id_business: scopeThis.initBox.id_business
47762
- }
47763
- }).then(() => {
47764
- elementPlus.ElMessage("已中止支付");
47765
- withTable.refresh({
47766
- scopeThis
47767
- });
47768
- });
47769
- }
47770
+ }
47771
+ }]
47770
47772
  }]
47771
- }],
47773
+ },
47772
47774
  table: {
47773
47775
  cols: [{
47774
47776
  label: '金额',
@@ -48330,6 +48332,9 @@ var cashBox = {
48330
48332
  formProps
48331
48333
  };
48332
48334
 
48335
+ const _hoisted_1$5 = { style: {"width":"100%"} };
48336
+
48337
+
48333
48338
  var script$6 = {
48334
48339
  __name: 'main',
48335
48340
  props: {
@@ -48380,7 +48385,7 @@ return (_ctx, _cache) => {
48380
48385
 
48381
48386
  return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
48382
48387
  vue.createCommentVNode(" 金额统计 "),
48383
- vue.createElementVNode("table", null, [
48388
+ vue.createElementVNode("table", _hoisted_1$5, [
48384
48389
  _cache[3] || (_cache[3] = vue.createElementVNode("thead", null, [
48385
48390
  vue.createElementVNode("tr", null, [
48386
48391
  vue.createElementVNode("th", null, "订单金额(应收应付)"),