jufubao-third 1.0.6-beta1 → 1.0.6-beta2
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
|
@@ -9,6 +9,7 @@ export default {
|
|
|
9
9
|
ele: "xd-choose-namespace",
|
|
10
10
|
valueKey: "xnamespace",
|
|
11
11
|
value: "",
|
|
12
|
+
groupKey: "advanced",
|
|
12
13
|
handleCustom: (cb) => {
|
|
13
14
|
XdBus.getParentApi('getOptionsNamespaces')()
|
|
14
15
|
.then(res => {
|
|
@@ -23,6 +24,7 @@ export default {
|
|
|
23
24
|
valueKey: 'orderSuccessPath', //form[valueKey]
|
|
24
25
|
placeholder: '请选择核销成功路径',
|
|
25
26
|
value: null,
|
|
27
|
+
groupKey: "advanced",
|
|
26
28
|
setting: {
|
|
27
29
|
router: XdBus.getParentApi('getPagesTree'),
|
|
28
30
|
|
|
@@ -35,6 +37,7 @@ export default {
|
|
|
35
37
|
valueKey: 'thirdPayPath', //form[valueKey]
|
|
36
38
|
placeholder: '请选择支付路径',
|
|
37
39
|
value: null,
|
|
40
|
+
groupKey: "advanced",
|
|
38
41
|
setting: {
|
|
39
42
|
router: XdBus.getParentApi('getPagesTree'),
|
|
40
43
|
|
|
@@ -166,6 +166,7 @@
|
|
|
166
166
|
:getUserWalletList="getUserWalletList"
|
|
167
167
|
:useBindedWallet="p_useBindedWallet"
|
|
168
168
|
@onChose="handleWalletChose"
|
|
169
|
+
@onAlert="() => hasAlertCardChose = true"
|
|
169
170
|
></xd-wallet-chose>
|
|
170
171
|
</template>
|
|
171
172
|
|
|
@@ -564,7 +565,7 @@
|
|
|
564
565
|
vm: this,
|
|
565
566
|
data: {
|
|
566
567
|
...cardForm,
|
|
567
|
-
|
|
568
|
+
selected_card_list_json: JSON.stringify(submitCardList),
|
|
568
569
|
total_price,
|
|
569
570
|
namespace: this.xnamespace,
|
|
570
571
|
...options,
|
|
@@ -676,7 +677,7 @@
|
|
|
676
677
|
data: {
|
|
677
678
|
total_price,
|
|
678
679
|
card_number: ticket.card_number,
|
|
679
|
-
|
|
680
|
+
selected_card_list_json: JSON.stringify(submitCardList),
|
|
680
681
|
namespace: this.xnamespace,
|
|
681
682
|
...options,
|
|
682
683
|
...this.options,
|
|
@@ -178,7 +178,11 @@ export default {
|
|
|
178
178
|
//票券跟钱包都未选择,给用户提示
|
|
179
179
|
if(selected_card_list.length == 0 && selected_wallet_list.length == 0){
|
|
180
180
|
if(!this.hasAlertCardChose){
|
|
181
|
-
this.
|
|
181
|
+
if(this.payCard){
|
|
182
|
+
this.showCardPayChose = true;
|
|
183
|
+
}else{
|
|
184
|
+
this.showWalletChose = true;
|
|
185
|
+
}
|
|
182
186
|
return false;
|
|
183
187
|
}else{
|
|
184
188
|
//支持补差, 提示是否使用补差
|