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