jufubao-third 1.0.11 → 1.0.12
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/package.json
CHANGED
|
@@ -3,57 +3,70 @@
|
|
|
3
3
|
export default {
|
|
4
4
|
style: [],
|
|
5
5
|
advanced: [],
|
|
6
|
-
content:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
6
|
+
content:(data)=>{
|
|
7
|
+
return [
|
|
8
|
+
{
|
|
9
|
+
label: "支付时是否跳过补差提示:",
|
|
10
|
+
ele: 'xd-radio',
|
|
11
|
+
valueKey: "skipTip",
|
|
12
|
+
value: data['skipTip'] || 'N',
|
|
13
|
+
groupKey:'content',
|
|
14
|
+
list: [
|
|
15
|
+
{label: '是', value: 'Y'},
|
|
16
|
+
{label: '否', value: 'N'},
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
label: "选择业务线",
|
|
21
|
+
ele: "xd-choose-namespace",
|
|
22
|
+
valueKey: "xnamespace",
|
|
23
|
+
value: data['xnamespace'] || null,
|
|
24
|
+
groupKey: "advanced",
|
|
25
|
+
handleCustom: (cb) => {
|
|
26
|
+
XdBus.getParentApi('getOptionsNamespaces')()
|
|
27
|
+
.then(res => {
|
|
28
|
+
cb(res.list)
|
|
29
|
+
})
|
|
30
|
+
.catch();
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
label: '支付成功路径:', //label
|
|
35
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
36
|
+
valueKey: 'orderSuccessPath', //form[valueKey]
|
|
37
|
+
placeholder: '请选择核销成功路径',
|
|
38
|
+
value: data['orderSuccessPath'] || null,
|
|
39
|
+
groupKey: "advanced",
|
|
40
|
+
setting: {
|
|
41
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
30
42
|
|
|
43
|
+
},
|
|
44
|
+
inline: false,
|
|
31
45
|
},
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
setting: {
|
|
42
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
46
|
+
{
|
|
47
|
+
label: '三方支付补差路径:', //label
|
|
48
|
+
ele: 'xd-select-pages-path', //package 名称
|
|
49
|
+
valueKey: 'thirdPayPath', //form[valueKey]
|
|
50
|
+
placeholder: '请选择支付路径',
|
|
51
|
+
value: data['thirdPayPath'] || null,
|
|
52
|
+
groupKey: "advanced",
|
|
53
|
+
setting: {
|
|
54
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
43
55
|
|
|
56
|
+
},
|
|
57
|
+
inline: false,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
label: "是否可以使用新票券",
|
|
61
|
+
ele: "xd-radio",
|
|
62
|
+
valueKey: 'bindCard',
|
|
63
|
+
value: data['thirdPayPath'] || '1',
|
|
64
|
+
groupKey: 'content',
|
|
65
|
+
list: [
|
|
66
|
+
{label: "是", value: "1"},
|
|
67
|
+
{label: "否", value: "2"},
|
|
68
|
+
]
|
|
44
69
|
},
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
{
|
|
48
|
-
label: "是否可以使用新票券",
|
|
49
|
-
ele: "xd-radio",
|
|
50
|
-
valueKey: 'bindCard',
|
|
51
|
-
value: "",
|
|
52
|
-
groupKey: 'content',
|
|
53
|
-
list: [
|
|
54
|
-
{label: "是", value: "1"},
|
|
55
|
-
{label: "否", value: "2"},
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
],
|
|
70
|
+
]
|
|
71
|
+
},
|
|
59
72
|
}
|
|
@@ -396,7 +396,8 @@
|
|
|
396
396
|
orderSuccessPath: "",
|
|
397
397
|
thirdPayPath: "",
|
|
398
398
|
xnamespace: "",
|
|
399
|
-
bindCard: '1'
|
|
399
|
+
bindCard: '1',
|
|
400
|
+
skipTip: "N",
|
|
400
401
|
}
|
|
401
402
|
},
|
|
402
403
|
watch: {
|
|
@@ -487,6 +488,7 @@
|
|
|
487
488
|
this.thirdPayPath = getContainerPropsValue(container, 'content.thirdPayPath', {value: ""}).value;
|
|
488
489
|
this.xnamespace = getContainerPropsValue(container, 'content.xnamespace', this.projectAttr.business_code);
|
|
489
490
|
this.bindCard = getContainerPropsValue(container,"content.bindCard","1");
|
|
491
|
+
this.skipTip = getContainerPropsValue(container, "content.skipTip", "N");
|
|
490
492
|
},
|
|
491
493
|
getTimeFormat(time){
|
|
492
494
|
let date = null;
|
|
@@ -610,7 +612,7 @@
|
|
|
610
612
|
if(!submitCardList.length){
|
|
611
613
|
//支持补差, 提示是否使用补差
|
|
612
614
|
if(this.payThird){
|
|
613
|
-
if(
|
|
615
|
+
if(this.skipTip === 'N'){
|
|
614
616
|
await this.handleConfirmAllWxPay();
|
|
615
617
|
}
|
|
616
618
|
}else{
|
|
@@ -192,7 +192,9 @@ export default {
|
|
|
192
192
|
}else{
|
|
193
193
|
//支持补差, 提示是否使用补差
|
|
194
194
|
if(this.payThird){
|
|
195
|
-
|
|
195
|
+
if(this.skipTip === 'N'){
|
|
196
|
+
await this.handleConfirmAllWxPay();
|
|
197
|
+
}
|
|
196
198
|
}else{
|
|
197
199
|
//不支持补差,仅提示
|
|
198
200
|
return this.$xdAlert({content: "请选择兑换方式"})
|