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