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