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