@yoooloo42/joker 1.0.290 → 1.0.291

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