@yoooloo42/joker 1.0.290 → 1.0.292
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 +22 -87
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +22 -87
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -47639,58 +47639,25 @@ var tableProps = {
|
|
|
47639
47639
|
// 置顶菜单
|
|
47640
47640
|
menu: {
|
|
47641
47641
|
menu: [{
|
|
47642
|
-
title: "
|
|
47643
|
-
|
|
47644
|
-
title: "全部",
|
|
47645
|
-
hdlClick(_ref) {
|
|
47646
|
-
let {
|
|
47647
|
-
scopeThis
|
|
47648
|
-
} = _ref;
|
|
47649
|
-
console.log('测试 000');
|
|
47650
|
-
withTable.reload({
|
|
47651
|
-
scopeThis
|
|
47652
|
-
});
|
|
47653
|
-
}
|
|
47654
|
-
}, {
|
|
47655
|
-
title: "刷新",
|
|
47656
|
-
hdlClick(_ref2) {
|
|
47657
|
-
let {
|
|
47658
|
-
scopeThis
|
|
47659
|
-
} = _ref2;
|
|
47660
|
-
console.log('测试 111');
|
|
47661
|
-
withTable.refresh({
|
|
47662
|
-
scopeThis
|
|
47663
|
-
});
|
|
47664
|
-
}
|
|
47665
|
-
}, {
|
|
47666
|
-
title: "查询",
|
|
47667
|
-
hdlClick(_ref3) {
|
|
47668
|
-
let {
|
|
47669
|
-
scopeThis
|
|
47670
|
-
} = _ref3;
|
|
47671
|
-
console.log('测试 222', scopeThis);
|
|
47672
|
-
withTable.popupFind({
|
|
47673
|
-
scopeThis
|
|
47674
|
-
});
|
|
47675
|
-
}
|
|
47676
|
-
}]
|
|
47642
|
+
title: "刷新",
|
|
47643
|
+
handle: withTable.reload
|
|
47677
47644
|
}, {
|
|
47678
47645
|
title: "收银",
|
|
47679
|
-
hdlDisabled(
|
|
47646
|
+
hdlDisabled(_ref) {
|
|
47680
47647
|
let {
|
|
47681
47648
|
scopeThis,
|
|
47682
47649
|
item,
|
|
47683
47650
|
index
|
|
47684
|
-
} =
|
|
47651
|
+
} = _ref;
|
|
47685
47652
|
return scopeThis.initBox.readOnly;
|
|
47686
47653
|
},
|
|
47687
47654
|
menu: [{
|
|
47688
47655
|
title: "收银",
|
|
47689
|
-
handle(
|
|
47656
|
+
handle(_ref2) {
|
|
47690
47657
|
let {
|
|
47691
47658
|
scopeThis,
|
|
47692
47659
|
index
|
|
47693
|
-
} =
|
|
47660
|
+
} = _ref2;
|
|
47694
47661
|
scopeThis.cashBox.formData.id_business = scopeThis.initBox.id_business;
|
|
47695
47662
|
scopeThis.cashBox.formData.businesstype_code = scopeThis.initBox.businesstype_code;
|
|
47696
47663
|
// 支付金额合计
|
|
@@ -47706,11 +47673,11 @@ var tableProps = {
|
|
|
47706
47673
|
}
|
|
47707
47674
|
}, {
|
|
47708
47675
|
title: "退款",
|
|
47709
|
-
handle(
|
|
47676
|
+
handle(_ref3) {
|
|
47710
47677
|
let {
|
|
47711
47678
|
scopeThis,
|
|
47712
47679
|
index
|
|
47713
|
-
} =
|
|
47680
|
+
} = _ref3;
|
|
47714
47681
|
ElMessageBox.confirm('退款?', '警告', {
|
|
47715
47682
|
confirmButtonText: '确认',
|
|
47716
47683
|
cancelButtonText: '取消',
|
|
@@ -47736,11 +47703,11 @@ var tableProps = {
|
|
|
47736
47703
|
}
|
|
47737
47704
|
}, {
|
|
47738
47705
|
title: "中止支付",
|
|
47739
|
-
handle(
|
|
47706
|
+
handle(_ref4) {
|
|
47740
47707
|
let {
|
|
47741
47708
|
scopeThis,
|
|
47742
47709
|
index
|
|
47743
|
-
} =
|
|
47710
|
+
} = _ref4;
|
|
47744
47711
|
ly0request.storpro({
|
|
47745
47712
|
storproName: "ly0d2.wxzf.setFail",
|
|
47746
47713
|
data: {
|
|
@@ -47763,32 +47730,32 @@ var tableProps = {
|
|
|
47763
47730
|
cols: [{
|
|
47764
47731
|
label: '金额',
|
|
47765
47732
|
show: 'expression',
|
|
47766
|
-
hdlExpression(
|
|
47733
|
+
hdlExpression(_ref5) {
|
|
47767
47734
|
let {
|
|
47768
47735
|
scopeThis,
|
|
47769
47736
|
row
|
|
47770
|
-
} =
|
|
47737
|
+
} = _ref5;
|
|
47771
47738
|
return row.amount ? Math.floor(row.amount) / 100 : 0;
|
|
47772
47739
|
},
|
|
47773
47740
|
width: "75px"
|
|
47774
47741
|
}, {
|
|
47775
47742
|
label: '支付方式',
|
|
47776
47743
|
show: 'expression',
|
|
47777
|
-
hdlExpression(
|
|
47744
|
+
hdlExpression(_ref6) {
|
|
47778
47745
|
let {
|
|
47779
47746
|
scopeThis,
|
|
47780
47747
|
row
|
|
47781
|
-
} =
|
|
47748
|
+
} = _ref6;
|
|
47782
47749
|
return row.process_text + (row.process_code === '0' ? "/" + row.method_text : "");
|
|
47783
47750
|
}
|
|
47784
47751
|
}, {
|
|
47785
47752
|
label: '支付状态',
|
|
47786
47753
|
show: 'expression',
|
|
47787
|
-
hdlExpression(
|
|
47754
|
+
hdlExpression(_ref7) {
|
|
47788
47755
|
let {
|
|
47789
47756
|
scopeThis,
|
|
47790
47757
|
row
|
|
47791
|
-
} =
|
|
47758
|
+
} = _ref7;
|
|
47792
47759
|
return row.status_text + "\n" + unclassified.dateFormat.dateFormat(row.time, 'yyyy/MM/dd hh:mm:ss');
|
|
47793
47760
|
}
|
|
47794
47761
|
}, {
|
|
@@ -47797,11 +47764,11 @@ var tableProps = {
|
|
|
47797
47764
|
buttonGroup: [{
|
|
47798
47765
|
text: "详细",
|
|
47799
47766
|
size: "small",
|
|
47800
|
-
hdlClick(
|
|
47767
|
+
hdlClick(_ref8) {
|
|
47801
47768
|
let {
|
|
47802
47769
|
scopeThis,
|
|
47803
47770
|
row
|
|
47804
|
-
} =
|
|
47771
|
+
} = _ref8;
|
|
47805
47772
|
withTable.popupDoc({
|
|
47806
47773
|
scopeThis,
|
|
47807
47774
|
row
|
|
@@ -47809,19 +47776,19 @@ var tableProps = {
|
|
|
47809
47776
|
}
|
|
47810
47777
|
}, {
|
|
47811
47778
|
text: "删除",
|
|
47812
|
-
hdlVisible(
|
|
47779
|
+
hdlVisible(_ref9) {
|
|
47813
47780
|
let {
|
|
47814
47781
|
scopeThis,
|
|
47815
47782
|
row
|
|
47816
|
-
} =
|
|
47783
|
+
} = _ref9;
|
|
47817
47784
|
return scopeThis.initBox.readOnly;
|
|
47818
47785
|
},
|
|
47819
47786
|
size: "small",
|
|
47820
|
-
hdlClick(
|
|
47787
|
+
hdlClick(_ref0) {
|
|
47821
47788
|
let {
|
|
47822
47789
|
scopeThis,
|
|
47823
47790
|
row
|
|
47824
|
-
} =
|
|
47791
|
+
} = _ref0;
|
|
47825
47792
|
withTable.submitDeleteOne({
|
|
47826
47793
|
scopeThis,
|
|
47827
47794
|
row
|
|
@@ -47844,37 +47811,6 @@ var storpro = {
|
|
|
47844
47811
|
setFail: "ly0d2.wxzf.setFail"
|
|
47845
47812
|
};
|
|
47846
47813
|
|
|
47847
|
-
var find = {
|
|
47848
|
-
formProps: {
|
|
47849
|
-
popup: {
|
|
47850
|
-
switch: true,
|
|
47851
|
-
visible: false,
|
|
47852
|
-
title: "查询"
|
|
47853
|
-
},
|
|
47854
|
-
cols: [{
|
|
47855
|
-
items: [{
|
|
47856
|
-
inputType: "input",
|
|
47857
|
-
label: "备注",
|
|
47858
|
-
fieldName: "note",
|
|
47859
|
-
style: {
|
|
47860
|
-
width: "200px"
|
|
47861
|
-
}
|
|
47862
|
-
}]
|
|
47863
|
-
}],
|
|
47864
|
-
submit: {
|
|
47865
|
-
async handle(_ref) {
|
|
47866
|
-
let {
|
|
47867
|
-
formData,
|
|
47868
|
-
scopeThis
|
|
47869
|
-
} = _ref;
|
|
47870
|
-
await withTable.submitFind({
|
|
47871
|
-
scopeThis
|
|
47872
|
-
});
|
|
47873
|
-
}
|
|
47874
|
-
}
|
|
47875
|
-
}
|
|
47876
|
-
};
|
|
47877
|
-
|
|
47878
47814
|
var doc = {
|
|
47879
47815
|
formProps: {
|
|
47880
47816
|
popup: {
|
|
@@ -48194,7 +48130,6 @@ const scopeThis = reactive({
|
|
|
48194
48130
|
queryInit: query,
|
|
48195
48131
|
query: JSON.parse(JSON.stringify(query)),
|
|
48196
48132
|
storpro,
|
|
48197
|
-
find,
|
|
48198
48133
|
doc,
|
|
48199
48134
|
pgData: {
|
|
48200
48135
|
query: null,
|