@yoooloo42/joker 1.0.288 → 1.0.290

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