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