|
|
@@ -324,18 +324,30 @@ export default {
|
|
|
},
|
|
|
onSave(e) {
|
|
|
// this.$toast('save');
|
|
|
- homeApi.pickupOrder({ order_id: this.item.order_id, name: e.name, phone: e.tel, address: e.province + ' ' + e.city + ' ' + e.county + ' ' + e.addressDetail }).then(res => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.addresPopop = false;
|
|
|
- this.page = 1;
|
|
|
- this.nft_list = [];
|
|
|
- this.getNftList();
|
|
|
- this.getUserInfo();
|
|
|
- Notify({ type: 'success', message: this.$t('lang152') });
|
|
|
- } else {
|
|
|
- this.$toast(res.msg);
|
|
|
- }
|
|
|
- });
|
|
|
+ let _this = this
|
|
|
+ Dialog.confirm({
|
|
|
+ title: _this.$t('lang136'),
|
|
|
+ message: _this.$t('lang239').replace('XX', _this.logistics_freight),
|
|
|
+ confirmButtonText: _this.$t('lang111'),
|
|
|
+ cancelButtonText: _this.$t('lang135'),
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ homeApi.pickupOrder({ order_id: _this.item.order_id, name: e.name, phone: e.tel, address: e.province + ' ' + e.city + ' ' + e.county + ' ' + e.addressDetail }).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ _this.addresPopop = false;
|
|
|
+ _this.page = 1;
|
|
|
+ _this.nft_list = [];
|
|
|
+ _this.getNftList();
|
|
|
+ _this.getUserInfo();
|
|
|
+ Notify({ type: 'success', message: _this.$t('lang152') });
|
|
|
+ } else {
|
|
|
+ _this.$toast(res.msg);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ // on cancel
|
|
|
+ });
|
|
|
},
|
|
|
// 转让
|
|
|
transfer(item) {
|