gxd-uni-library-editx 1.0.64 → 1.0.66
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
|
@@ -269,6 +269,7 @@ export default {
|
|
|
269
269
|
this.selectedCardList = this.selectedCardList.map(item => {
|
|
270
270
|
if(!checkedArr.includes(item.card_number)){
|
|
271
271
|
this.needPayPrice = +this.needPayPrice + item['card_use_price'];
|
|
272
|
+
this.cardPayPrice = this.cardPayPrice - item.card_use_price;
|
|
272
273
|
item['card_use_point'] = 0;
|
|
273
274
|
}
|
|
274
275
|
return item;
|
|
@@ -857,4 +858,4 @@ export default {
|
|
|
857
858
|
}
|
|
858
859
|
}
|
|
859
860
|
}
|
|
860
|
-
</style>
|
|
861
|
+
</style>
|
|
@@ -70,15 +70,20 @@
|
|
|
70
70
|
if(n){
|
|
71
71
|
if(!this.hadChoseWallet){
|
|
72
72
|
this.selectedWalletList = [];
|
|
73
|
+
this.walletPayPrice = 0;
|
|
73
74
|
}else{
|
|
74
75
|
let checkedArr = this.hadChoseWallet.map(w => w.wallet_virtual_number);
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
this.selectedWalletList = this.selectedWalletList.map(item => {
|
|
77
|
+
if(!checkedArr.includes(item.wallet_virtual_number)){
|
|
78
|
+
this.walletPayPrice = this.walletPayPrice - item.wallet_use_price;
|
|
79
|
+
item['wallet_use_price'] = 0;
|
|
80
|
+
}
|
|
81
|
+
return item;
|
|
78
82
|
});
|
|
79
83
|
}
|
|
80
84
|
}
|
|
81
85
|
this.$emit('update:show', n);
|
|
86
|
+
this.$emit("onAlert");
|
|
82
87
|
},
|
|
83
88
|
},
|
|
84
89
|
computed: {
|