|
@@ -1203,10 +1203,13 @@ await this.getWxCode();
|
|
|
},
|
|
|
addressConfirm(e) {
|
|
|
let address = e.currentTarget.dataset.address;
|
|
|
+
|
|
|
this.setData({
|
|
|
checkedAddress: address,
|
|
|
- addressShow: false
|
|
|
+ addressShow: false,
|
|
|
+ addressId:address.id
|
|
|
});
|
|
|
+
|
|
|
},
|
|
|
getAddressList() {
|
|
|
util.request(mall.AddressList).then((res) => {
|
|
@@ -1230,13 +1233,7 @@ addressSelect() {
|
|
|
addressShow: true
|
|
|
});
|
|
|
},
|
|
|
-addressConfirm(e) {
|
|
|
- let address = e.currentTarget.dataset.address;
|
|
|
- this.setData({
|
|
|
- checkedAddress: address,
|
|
|
- addressShow: false
|
|
|
- });
|
|
|
-},
|
|
|
+
|
|
|
onAddressClose() {
|
|
|
this.setData({
|
|
|
addressShow: false
|