@yoooloo42/joker 1.0.259 → 1.0.261
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 -199
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +22 -199
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -23024,7 +23024,6 @@ const submitInsertOne = async _ref10 => {
|
|
|
23024
23024
|
cancelButtonText: '取消',
|
|
23025
23025
|
type: 'warning' // 警告图标
|
|
23026
23026
|
});
|
|
23027
|
-
console.log('joker测试 000', scopeThis.formData);
|
|
23028
23027
|
const result = await ly0request.storpro({
|
|
23029
23028
|
storproName: scopeThis.storpro.insertOne,
|
|
23030
23029
|
data: scopeThis.formData,
|
|
@@ -44207,7 +44206,6 @@ var qrcode$1 = {
|
|
|
44207
44206
|
};
|
|
44208
44207
|
|
|
44209
44208
|
const ly0session = ly0request.ly0sessionLoad();
|
|
44210
|
-
console.log('joker测试 555', ly0session);
|
|
44211
44209
|
function init(_ref) {
|
|
44212
44210
|
let {
|
|
44213
44211
|
scopeThis
|
|
@@ -44227,7 +44225,6 @@ function submit(_ref2) {
|
|
|
44227
44225
|
let {
|
|
44228
44226
|
scopeThis
|
|
44229
44227
|
} = _ref2;
|
|
44230
|
-
console.log('joker测试 444', ly0session);
|
|
44231
44228
|
if (scopeThis.formData.process_code === "0") {
|
|
44232
44229
|
//系统外流转
|
|
44233
44230
|
ly0request.storpro({
|
|
@@ -47669,7 +47666,7 @@ var tableProps = {
|
|
|
47669
47666
|
}
|
|
47670
47667
|
}]
|
|
47671
47668
|
}, {
|
|
47672
|
-
title: "
|
|
47669
|
+
title: "收银",
|
|
47673
47670
|
hdlDisabled(_ref4) {
|
|
47674
47671
|
let {
|
|
47675
47672
|
scopeThis,
|
|
@@ -47678,32 +47675,13 @@ var tableProps = {
|
|
|
47678
47675
|
} = _ref4;
|
|
47679
47676
|
return scopeThis.initBox.readOnly;
|
|
47680
47677
|
},
|
|
47681
|
-
handle(_ref5) {
|
|
47682
|
-
let {
|
|
47683
|
-
scopeThis,
|
|
47684
|
-
index
|
|
47685
|
-
} = _ref5;
|
|
47686
|
-
withTable.popupInsertOne({
|
|
47687
|
-
scopeThis
|
|
47688
|
-
});
|
|
47689
|
-
}
|
|
47690
|
-
}, {
|
|
47691
|
-
title: "收银",
|
|
47692
|
-
hdlDisabled(_ref6) {
|
|
47693
|
-
let {
|
|
47694
|
-
scopeThis,
|
|
47695
|
-
item,
|
|
47696
|
-
index
|
|
47697
|
-
} = _ref6;
|
|
47698
|
-
return scopeThis.initBox.readOnly;
|
|
47699
|
-
},
|
|
47700
47678
|
menu: [{
|
|
47701
47679
|
title: "收银",
|
|
47702
|
-
handle(
|
|
47680
|
+
handle(_ref5) {
|
|
47703
47681
|
let {
|
|
47704
47682
|
scopeThis,
|
|
47705
47683
|
index
|
|
47706
|
-
} =
|
|
47684
|
+
} = _ref5;
|
|
47707
47685
|
scopeThis.cashBox.formData.id_business = scopeThis.initBox.id_business;
|
|
47708
47686
|
scopeThis.cashBox.formData.businesstype_code = scopeThis.initBox.businesstype_code;
|
|
47709
47687
|
// 支付金额合计
|
|
@@ -47719,17 +47697,17 @@ var tableProps = {
|
|
|
47719
47697
|
}
|
|
47720
47698
|
}, {
|
|
47721
47699
|
title: "退款",
|
|
47722
|
-
handle(
|
|
47700
|
+
handle(_ref6) {
|
|
47723
47701
|
let {
|
|
47724
47702
|
scopeThis,
|
|
47725
47703
|
index
|
|
47726
|
-
} =
|
|
47704
|
+
} = _ref6;
|
|
47727
47705
|
ElMessageBox.confirm('退款?', '警告', {
|
|
47728
47706
|
confirmButtonText: '确认',
|
|
47729
47707
|
cancelButtonText: '取消',
|
|
47730
47708
|
type: 'warning'
|
|
47731
47709
|
}).then(() => {
|
|
47732
|
-
ly0request.
|
|
47710
|
+
ly0request.storpro({
|
|
47733
47711
|
storproName: "ly0d2.wxzf.refund",
|
|
47734
47712
|
data: {
|
|
47735
47713
|
id_business: scopeThis.initBox.id_business
|
|
@@ -47749,12 +47727,12 @@ var tableProps = {
|
|
|
47749
47727
|
}
|
|
47750
47728
|
}, {
|
|
47751
47729
|
title: "中止支付",
|
|
47752
|
-
handle(
|
|
47730
|
+
handle(_ref7) {
|
|
47753
47731
|
let {
|
|
47754
47732
|
scopeThis,
|
|
47755
47733
|
index
|
|
47756
|
-
} =
|
|
47757
|
-
ly0request.
|
|
47734
|
+
} = _ref7;
|
|
47735
|
+
ly0request.storpro({
|
|
47758
47736
|
storproName: "ly0d2.wxzf.setFail",
|
|
47759
47737
|
data: {
|
|
47760
47738
|
mchid: scopeThis.initBox.mchid,
|
|
@@ -47774,32 +47752,32 @@ var tableProps = {
|
|
|
47774
47752
|
cols: [{
|
|
47775
47753
|
label: '金额',
|
|
47776
47754
|
show: 'expression',
|
|
47777
|
-
hdlExpression(
|
|
47755
|
+
hdlExpression(_ref8) {
|
|
47778
47756
|
let {
|
|
47779
47757
|
scopeThis,
|
|
47780
47758
|
row
|
|
47781
|
-
} =
|
|
47759
|
+
} = _ref8;
|
|
47782
47760
|
return row.amount ? Math.floor(row.amount) / 100 : 0;
|
|
47783
47761
|
},
|
|
47784
47762
|
width: "75px"
|
|
47785
47763
|
}, {
|
|
47786
47764
|
label: '支付方式',
|
|
47787
47765
|
show: 'expression',
|
|
47788
|
-
hdlExpression(
|
|
47766
|
+
hdlExpression(_ref9) {
|
|
47789
47767
|
let {
|
|
47790
47768
|
scopeThis,
|
|
47791
47769
|
row
|
|
47792
|
-
} =
|
|
47770
|
+
} = _ref9;
|
|
47793
47771
|
return row.process_text + (row.process_code === '0' ? "/" + row.method_text : "");
|
|
47794
47772
|
}
|
|
47795
47773
|
}, {
|
|
47796
47774
|
label: '支付状态',
|
|
47797
47775
|
show: 'expression',
|
|
47798
|
-
hdlExpression(
|
|
47776
|
+
hdlExpression(_ref0) {
|
|
47799
47777
|
let {
|
|
47800
47778
|
scopeThis,
|
|
47801
47779
|
row
|
|
47802
|
-
} =
|
|
47780
|
+
} = _ref0;
|
|
47803
47781
|
return row.status_text + "\n" + unclassified.dateFormat.dateFormat(row.time, 'yyyy/MM/dd hh:mm:ss');
|
|
47804
47782
|
}
|
|
47805
47783
|
}, {
|
|
@@ -47808,44 +47786,31 @@ var tableProps = {
|
|
|
47808
47786
|
buttonGroup: [{
|
|
47809
47787
|
text: "详细",
|
|
47810
47788
|
size: "small",
|
|
47811
|
-
hdlClick(
|
|
47789
|
+
hdlClick(_ref1) {
|
|
47812
47790
|
let {
|
|
47813
47791
|
scopeThis,
|
|
47814
47792
|
row
|
|
47815
|
-
} =
|
|
47793
|
+
} = _ref1;
|
|
47816
47794
|
withTable.popupDoc({
|
|
47817
47795
|
scopeThis,
|
|
47818
47796
|
row
|
|
47819
47797
|
});
|
|
47820
47798
|
}
|
|
47821
|
-
}, {
|
|
47822
|
-
text: "修改",
|
|
47823
|
-
size: "small",
|
|
47824
|
-
hdlClick(_ref12) {
|
|
47825
|
-
let {
|
|
47826
|
-
scopeThis,
|
|
47827
|
-
row
|
|
47828
|
-
} = _ref12;
|
|
47829
|
-
withTable.popupUpdateOne({
|
|
47830
|
-
scopeThis,
|
|
47831
|
-
row
|
|
47832
|
-
});
|
|
47833
|
-
}
|
|
47834
47799
|
}, {
|
|
47835
47800
|
text: "删除",
|
|
47836
|
-
hdlVisible(
|
|
47801
|
+
hdlVisible(_ref10) {
|
|
47837
47802
|
let {
|
|
47838
47803
|
scopeThis,
|
|
47839
47804
|
row
|
|
47840
|
-
} =
|
|
47805
|
+
} = _ref10;
|
|
47841
47806
|
return scopeThis.initBox.readOnly;
|
|
47842
47807
|
},
|
|
47843
47808
|
size: "small",
|
|
47844
|
-
hdlClick(
|
|
47809
|
+
hdlClick(_ref11) {
|
|
47845
47810
|
let {
|
|
47846
47811
|
scopeThis,
|
|
47847
47812
|
row
|
|
47848
|
-
} =
|
|
47813
|
+
} = _ref11;
|
|
47849
47814
|
withTable.submitDeleteOne({
|
|
47850
47815
|
scopeThis,
|
|
47851
47816
|
row
|
|
@@ -47862,9 +47827,7 @@ var tableProps = {
|
|
|
47862
47827
|
|
|
47863
47828
|
var storpro = {
|
|
47864
47829
|
refresh: "ly0d2.record0.find",
|
|
47865
|
-
|
|
47866
|
-
updateOne: "ly0d2.record0.updateOne",
|
|
47867
|
-
deleteOne: "ly0d2.record0.deleteOne",
|
|
47830
|
+
deleteOne: "ly0d2.record.deleteOne",
|
|
47868
47831
|
getPgData: "ly0d2.record0.getPgData",
|
|
47869
47832
|
getPayments: "ly0d2.wxzf.getPayments",
|
|
47870
47833
|
setFail: "ly0d2.wxzf.setFail"
|
|
@@ -47901,141 +47864,6 @@ var find = {
|
|
|
47901
47864
|
}
|
|
47902
47865
|
};
|
|
47903
47866
|
|
|
47904
|
-
var insertOne = {
|
|
47905
|
-
formProps: {
|
|
47906
|
-
popup: {
|
|
47907
|
-
switch: true,
|
|
47908
|
-
visible: false,
|
|
47909
|
-
title: "新增"
|
|
47910
|
-
},
|
|
47911
|
-
cols: [{
|
|
47912
|
-
items: [{
|
|
47913
|
-
inputType: "input",
|
|
47914
|
-
label: "金额",
|
|
47915
|
-
fieldName: "amount0",
|
|
47916
|
-
style: {
|
|
47917
|
-
width: "100px"
|
|
47918
|
-
}
|
|
47919
|
-
}, {
|
|
47920
|
-
inputType: "select",
|
|
47921
|
-
label: "用户自主支付方式",
|
|
47922
|
-
fieldName: "method_code",
|
|
47923
|
-
item_fieldLabel: "text",
|
|
47924
|
-
item_fieldValue: "code",
|
|
47925
|
-
hdlGetItems(_ref) {
|
|
47926
|
-
let {
|
|
47927
|
-
scopeThis
|
|
47928
|
-
} = _ref;
|
|
47929
|
-
return scopeThis.pgData.data.arrMethod;
|
|
47930
|
-
},
|
|
47931
|
-
style: {
|
|
47932
|
-
width: "200px"
|
|
47933
|
-
}
|
|
47934
|
-
}, {
|
|
47935
|
-
inputType: "input",
|
|
47936
|
-
label: "备注",
|
|
47937
|
-
fieldName: "note",
|
|
47938
|
-
style: {
|
|
47939
|
-
width: "400px"
|
|
47940
|
-
}
|
|
47941
|
-
}]
|
|
47942
|
-
}],
|
|
47943
|
-
submit: {
|
|
47944
|
-
async handle(_ref2) {
|
|
47945
|
-
let {
|
|
47946
|
-
scopeThis
|
|
47947
|
-
} = _ref2;
|
|
47948
|
-
console.log('joker测试 111', scopeThis.formData);
|
|
47949
|
-
await withTable.submitInsertOne({
|
|
47950
|
-
scopeThis
|
|
47951
|
-
});
|
|
47952
|
-
}
|
|
47953
|
-
}
|
|
47954
|
-
},
|
|
47955
|
-
formData: {
|
|
47956
|
-
_id: null,
|
|
47957
|
-
id_business: null,
|
|
47958
|
-
businesstype_code: "",
|
|
47959
|
-
businesstype_text: "",
|
|
47960
|
-
amount: 0,
|
|
47961
|
-
amount0: 0,
|
|
47962
|
-
process_code: "",
|
|
47963
|
-
process_text: "",
|
|
47964
|
-
method_code: "",
|
|
47965
|
-
method_text: "",
|
|
47966
|
-
status_code: "",
|
|
47967
|
-
status_text: "",
|
|
47968
|
-
time: null,
|
|
47969
|
-
end: null,
|
|
47970
|
-
note: "",
|
|
47971
|
-
rec: "",
|
|
47972
|
-
wxzf_appid: "",
|
|
47973
|
-
wxzf_mchid: "",
|
|
47974
|
-
wxzf_code_url: "",
|
|
47975
|
-
wxzf_out_trade_no: "",
|
|
47976
|
-
wxzf_transaction_id: "",
|
|
47977
|
-
wxzf_trade_type: "",
|
|
47978
|
-
wxzf_trade_state: "",
|
|
47979
|
-
wxzf_trade_state_desc: "",
|
|
47980
|
-
wxzf_bank_type: "",
|
|
47981
|
-
wxzf_success_time: "",
|
|
47982
|
-
wxzf_payer_openid: "",
|
|
47983
|
-
wxzf_amount_total: 0
|
|
47984
|
-
}
|
|
47985
|
-
};
|
|
47986
|
-
|
|
47987
|
-
var updateOne = {
|
|
47988
|
-
formProps: {
|
|
47989
|
-
popup: {
|
|
47990
|
-
switch: true,
|
|
47991
|
-
visible: false,
|
|
47992
|
-
title: "修改"
|
|
47993
|
-
},
|
|
47994
|
-
cols: [{
|
|
47995
|
-
items: [{
|
|
47996
|
-
inputType: "input",
|
|
47997
|
-
label: "金额",
|
|
47998
|
-
fieldName: "amount0",
|
|
47999
|
-
style: {
|
|
48000
|
-
width: "100px"
|
|
48001
|
-
}
|
|
48002
|
-
}, {
|
|
48003
|
-
inputType: "select",
|
|
48004
|
-
label: "用户自主支付方式",
|
|
48005
|
-
fieldName: "method_code",
|
|
48006
|
-
item_fieldLabel: "text",
|
|
48007
|
-
item_fieldValue: "code",
|
|
48008
|
-
hdlGetItems(_ref) {
|
|
48009
|
-
let {
|
|
48010
|
-
scopeThis
|
|
48011
|
-
} = _ref;
|
|
48012
|
-
return scopeThis.pgData.data.arrMethod;
|
|
48013
|
-
},
|
|
48014
|
-
style: {
|
|
48015
|
-
width: "200px"
|
|
48016
|
-
}
|
|
48017
|
-
}, {
|
|
48018
|
-
inputType: "input",
|
|
48019
|
-
label: "备注",
|
|
48020
|
-
fieldName: "note",
|
|
48021
|
-
style: {
|
|
48022
|
-
width: "400px"
|
|
48023
|
-
}
|
|
48024
|
-
}]
|
|
48025
|
-
}],
|
|
48026
|
-
submit: {
|
|
48027
|
-
async handle(_ref2) {
|
|
48028
|
-
let {
|
|
48029
|
-
scopeThis
|
|
48030
|
-
} = _ref2;
|
|
48031
|
-
await withTable.submitUpdateOne({
|
|
48032
|
-
scopeThis
|
|
48033
|
-
});
|
|
48034
|
-
}
|
|
48035
|
-
}
|
|
48036
|
-
}
|
|
48037
|
-
};
|
|
48038
|
-
|
|
48039
47867
|
var doc = {
|
|
48040
47868
|
formProps: {
|
|
48041
47869
|
popup: {
|
|
@@ -48356,8 +48184,6 @@ const scopeThis = reactive({
|
|
|
48356
48184
|
query: JSON.parse(JSON.stringify(query)),
|
|
48357
48185
|
storpro,
|
|
48358
48186
|
find,
|
|
48359
|
-
insertOne,
|
|
48360
|
-
updateOne,
|
|
48361
48187
|
doc,
|
|
48362
48188
|
pgData: {
|
|
48363
48189
|
arrBusinessType: [],
|
|
@@ -48372,9 +48198,6 @@ const scopeThis = reactive({
|
|
|
48372
48198
|
cashBox
|
|
48373
48199
|
});
|
|
48374
48200
|
|
|
48375
|
-
console.log('joker测试 222', scopeThis.initBox);
|
|
48376
|
-
console.log('joker测试 333', props.myProps);
|
|
48377
|
-
|
|
48378
48201
|
onMounted(async ()=>{
|
|
48379
48202
|
scopeThis.queryInit.formData.id_business = scopeThis.initBox.id_business;
|
|
48380
48203
|
scopeThis.queryInit.formData.businesstype_code = scopeThis.initBox.businesstype_code;
|