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