jufubao-third 1.0.2 → 1.0.3
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
|
@@ -305,6 +305,7 @@
|
|
|
305
305
|
|
|
306
306
|
cardList: [], //卡绑定列表
|
|
307
307
|
selectedCardList: [], //卡绑定使用的
|
|
308
|
+
options: {},
|
|
308
309
|
|
|
309
310
|
//面板
|
|
310
311
|
orderSuccessPath: "",
|
|
@@ -361,6 +362,7 @@
|
|
|
361
362
|
methods: {
|
|
362
363
|
onJfbLoad(options) {
|
|
363
364
|
//设置业务请求代码
|
|
365
|
+
this.options = options;
|
|
364
366
|
this.setNameSpace(options);
|
|
365
367
|
|
|
366
368
|
let { main_order_id} = options;
|
|
@@ -393,6 +395,7 @@
|
|
|
393
395
|
data: {
|
|
394
396
|
main_order_id: this.main_order_id,
|
|
395
397
|
namespace: this.xnamespace,
|
|
398
|
+
...this.options,
|
|
396
399
|
}
|
|
397
400
|
}).then(res => {
|
|
398
401
|
|
|
@@ -436,6 +439,7 @@
|
|
|
436
439
|
data: {
|
|
437
440
|
providers: this.projectAttr.pay_channels,
|
|
438
441
|
namespace: this.xnamespace,
|
|
442
|
+
...this.options,
|
|
439
443
|
}
|
|
440
444
|
}).then(res => {
|
|
441
445
|
console.log("p_getListUserPayChannel", res);
|
|
@@ -471,6 +475,7 @@
|
|
|
471
475
|
other_channel_pay_price: needPayPrice,
|
|
472
476
|
need_pay_price: needPayPrice,
|
|
473
477
|
namespace: this.xnamespace,
|
|
478
|
+
...this.options,
|
|
474
479
|
}, res => {
|
|
475
480
|
this.$xdLog.setARMSInfo({
|
|
476
481
|
main_order_id,
|
|
@@ -556,7 +561,8 @@
|
|
|
556
561
|
selected_card_list: submitCardList,
|
|
557
562
|
total_price,
|
|
558
563
|
namespace: this.xnamespace,
|
|
559
|
-
...options
|
|
564
|
+
...options,
|
|
565
|
+
...this.options,
|
|
560
566
|
}
|
|
561
567
|
})
|
|
562
568
|
.then(res => {
|
|
@@ -666,7 +672,8 @@
|
|
|
666
672
|
card_number: ticket.card_number,
|
|
667
673
|
selected_card_list: submitCardList,
|
|
668
674
|
namespace: this.xnamespace,
|
|
669
|
-
...options
|
|
675
|
+
...options,
|
|
676
|
+
...this.options,
|
|
670
677
|
}
|
|
671
678
|
}).then(res => {
|
|
672
679
|
let resOptions = JSON.parse(JSON.stringify(res));
|
|
@@ -64,7 +64,8 @@ export default {
|
|
|
64
64
|
vm: this,
|
|
65
65
|
data: {
|
|
66
66
|
namespace: this.xnamespace,
|
|
67
|
-
support_methods: JSON.stringify(support_methods)
|
|
67
|
+
support_methods: JSON.stringify(support_methods),
|
|
68
|
+
...this.options,
|
|
68
69
|
}
|
|
69
70
|
}).then(res => {
|
|
70
71
|
this.otherPayMethod = res.list;
|
|
@@ -82,6 +83,7 @@ export default {
|
|
|
82
83
|
vm: this,
|
|
83
84
|
data: {
|
|
84
85
|
namespace: this.xnamespace,
|
|
86
|
+
...this.options,
|
|
85
87
|
}
|
|
86
88
|
}).then(res => {
|
|
87
89
|
const {list} = res;
|
|
@@ -97,6 +99,7 @@ export default {
|
|
|
97
99
|
...options,
|
|
98
100
|
namespace: this.xnamespace,
|
|
99
101
|
cart_order_id: this.order_id,
|
|
102
|
+
...this.options,
|
|
100
103
|
}
|
|
101
104
|
}).then(res => {
|
|
102
105
|
this.$xdHideLoading();
|
|
@@ -119,6 +122,7 @@ export default {
|
|
|
119
122
|
data: {
|
|
120
123
|
namespace: this.xnamespace,
|
|
121
124
|
...options,
|
|
125
|
+
...this.options,
|
|
122
126
|
}
|
|
123
127
|
}).then(res => {
|
|
124
128
|
successCb(res)
|
|
@@ -151,7 +155,8 @@ export default {
|
|
|
151
155
|
total_price: this.total_price,
|
|
152
156
|
selected_card_list_json: JSON.stringify(selected_card_list),
|
|
153
157
|
namespace: this.xnamespace,
|
|
154
|
-
cart_order_id: this.cart_order_id
|
|
158
|
+
cart_order_id: this.cart_order_id,
|
|
159
|
+
...this.options,
|
|
155
160
|
}
|
|
156
161
|
}).then(res => {
|
|
157
162
|
successCb(res)
|
|
@@ -185,6 +190,7 @@ export default {
|
|
|
185
190
|
selected_wallet_list_json: JSON.stringify(selected_wallet_list),
|
|
186
191
|
need_pay_price: this.orderNeedPayPrice,
|
|
187
192
|
namespace: this.xnamespace,
|
|
193
|
+
...this.options,
|
|
188
194
|
}, (res) => {
|
|
189
195
|
console.warn("创建订单成功");
|
|
190
196
|
console.warn(res);
|
|
@@ -204,6 +210,7 @@ export default {
|
|
|
204
210
|
main_order_id: this.main_order_id,
|
|
205
211
|
notify_provider_id: this.projectAttr['notify_provider_id'],
|
|
206
212
|
namespace: this.xnamespace,
|
|
213
|
+
...this.options,
|
|
207
214
|
};
|
|
208
215
|
this.$xdShowLoading({});
|
|
209
216
|
jfbRootExec("setThirdCreateOrder",{
|