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