@yoooloo42/joker 1.0.288 → 1.0.289

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
@@ -47642,31 +47642,52 @@ var tableProps = {
47642
47642
  title: "查询",
47643
47643
  menu: [{
47644
47644
  title: "全部",
47645
- hdlClick: withTable.reload
47645
+ hdlClick(_ref) {
47646
+ let {
47647
+ scopeThis
47648
+ } = _ref;
47649
+ withTable.reload({
47650
+ scopeThis
47651
+ });
47652
+ }
47646
47653
  }, {
47647
47654
  title: "刷新",
47648
- hdlClick: withTable.refresh
47655
+ hdlClick(_ref2) {
47656
+ let {
47657
+ scopeThis
47658
+ } = _ref2;
47659
+ withTable.refresh({
47660
+ scopeThis
47661
+ });
47662
+ }
47649
47663
  }, {
47650
47664
  title: "查询",
47651
- hdlClick: withTable.popupFind
47665
+ hdlClick(_ref3) {
47666
+ let {
47667
+ scopeThis
47668
+ } = _ref3;
47669
+ withTable.popupFind({
47670
+ scopeThis
47671
+ });
47672
+ }
47652
47673
  }]
47653
47674
  }, {
47654
47675
  title: "收银",
47655
- hdlDisabled(_ref) {
47676
+ hdlDisabled(_ref4) {
47656
47677
  let {
47657
47678
  scopeThis,
47658
47679
  item,
47659
47680
  index
47660
- } = _ref;
47681
+ } = _ref4;
47661
47682
  return scopeThis.initBox.readOnly;
47662
47683
  },
47663
47684
  menu: [{
47664
47685
  title: "收银",
47665
- handle(_ref2) {
47686
+ handle(_ref5) {
47666
47687
  let {
47667
47688
  scopeThis,
47668
47689
  index
47669
- } = _ref2;
47690
+ } = _ref5;
47670
47691
  scopeThis.cashBox.formData.id_business = scopeThis.initBox.id_business;
47671
47692
  scopeThis.cashBox.formData.businesstype_code = scopeThis.initBox.businesstype_code;
47672
47693
  // 支付金额合计
@@ -47682,11 +47703,11 @@ var tableProps = {
47682
47703
  }
47683
47704
  }, {
47684
47705
  title: "退款",
47685
- handle(_ref3) {
47706
+ handle(_ref6) {
47686
47707
  let {
47687
47708
  scopeThis,
47688
47709
  index
47689
- } = _ref3;
47710
+ } = _ref6;
47690
47711
  ElMessageBox.confirm('退款?', '警告', {
47691
47712
  confirmButtonText: '确认',
47692
47713
  cancelButtonText: '取消',
@@ -47712,11 +47733,11 @@ var tableProps = {
47712
47733
  }
47713
47734
  }, {
47714
47735
  title: "中止支付",
47715
- handle(_ref4) {
47736
+ handle(_ref7) {
47716
47737
  let {
47717
47738
  scopeThis,
47718
47739
  index
47719
- } = _ref4;
47740
+ } = _ref7;
47720
47741
  ly0request.storpro({
47721
47742
  storproName: "ly0d2.wxzf.setFail",
47722
47743
  data: {
@@ -47739,32 +47760,32 @@ var tableProps = {
47739
47760
  cols: [{
47740
47761
  label: '金额',
47741
47762
  show: 'expression',
47742
- hdlExpression(_ref5) {
47763
+ hdlExpression(_ref8) {
47743
47764
  let {
47744
47765
  scopeThis,
47745
47766
  row
47746
- } = _ref5;
47767
+ } = _ref8;
47747
47768
  return row.amount ? Math.floor(row.amount) / 100 : 0;
47748
47769
  },
47749
47770
  width: "75px"
47750
47771
  }, {
47751
47772
  label: '支付方式',
47752
47773
  show: 'expression',
47753
- hdlExpression(_ref6) {
47774
+ hdlExpression(_ref9) {
47754
47775
  let {
47755
47776
  scopeThis,
47756
47777
  row
47757
- } = _ref6;
47778
+ } = _ref9;
47758
47779
  return row.process_text + (row.process_code === '0' ? "/" + row.method_text : "");
47759
47780
  }
47760
47781
  }, {
47761
47782
  label: '支付状态',
47762
47783
  show: 'expression',
47763
- hdlExpression(_ref7) {
47784
+ hdlExpression(_ref0) {
47764
47785
  let {
47765
47786
  scopeThis,
47766
47787
  row
47767
- } = _ref7;
47788
+ } = _ref0;
47768
47789
  return row.status_text + "\n" + unclassified.dateFormat.dateFormat(row.time, 'yyyy/MM/dd hh:mm:ss');
47769
47790
  }
47770
47791
  }, {
@@ -47773,11 +47794,11 @@ var tableProps = {
47773
47794
  buttonGroup: [{
47774
47795
  text: "详细",
47775
47796
  size: "small",
47776
- hdlClick(_ref8) {
47797
+ hdlClick(_ref1) {
47777
47798
  let {
47778
47799
  scopeThis,
47779
47800
  row
47780
- } = _ref8;
47801
+ } = _ref1;
47781
47802
  withTable.popupDoc({
47782
47803
  scopeThis,
47783
47804
  row
@@ -47785,19 +47806,19 @@ var tableProps = {
47785
47806
  }
47786
47807
  }, {
47787
47808
  text: "删除",
47788
- hdlVisible(_ref9) {
47809
+ hdlVisible(_ref10) {
47789
47810
  let {
47790
47811
  scopeThis,
47791
47812
  row
47792
- } = _ref9;
47813
+ } = _ref10;
47793
47814
  return scopeThis.initBox.readOnly;
47794
47815
  },
47795
47816
  size: "small",
47796
- hdlClick(_ref0) {
47817
+ hdlClick(_ref11) {
47797
47818
  let {
47798
47819
  scopeThis,
47799
47820
  row
47800
- } = _ref0;
47821
+ } = _ref11;
47801
47822
  withTable.submitDeleteOne({
47802
47823
  scopeThis,
47803
47824
  row