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