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