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