Commit 8257256f6937b277fcf58e07af87e0905262b3a3
1 parent
ef1a8d80
兑换记录注释地址填写按钮
Showing
1 changed file
with
12 additions
and
12 deletions
src/pages/pointsExchangeRecords/pointsExchangeRecords.vue
| @@ -36,10 +36,10 @@ | @@ -36,10 +36,10 @@ | ||
| 36 | </div> | 36 | </div> |
| 37 | <div v-show="item.shop_type == 1 && !item.address_name && !item.address_address && !item.address_phone" class="btn-box"> | 37 | <div v-show="item.shop_type == 1 && !item.address_name && !item.address_address && !item.address_phone" class="btn-box"> |
| 38 | <!-- 需要填写地址状态 --> | 38 | <!-- 需要填写地址状态 --> |
| 39 | - <div @click.stop="addAddressInfo(item)" class="btn"> | 39 | + <!-- <div @click.stop="addAddressInfo(item)" class="btn"> |
| 40 | 填写地址 | 40 | 填写地址 |
| 41 | <img src="static/img/red_right_icon.png" alt=""/> | 41 | <img src="static/img/red_right_icon.png" alt=""/> |
| 42 | - </div> | 42 | + </div> --> |
| 43 | <!-- 已填写地址等待发货状态 --> | 43 | <!-- 已填写地址等待发货状态 --> |
| 44 | <div v-show="item.sendtime && item.sendtime>0" class="look_logistics"> | 44 | <div v-show="item.sendtime && item.sendtime>0" class="look_logistics"> |
| 45 | 查看物流 | 45 | 查看物流 |
| @@ -57,14 +57,14 @@ | @@ -57,14 +57,14 @@ | ||
| 57 | 没有更多了 | 57 | 没有更多了 |
| 58 | </div> | 58 | </div> |
| 59 | <!-- 地址信息组件 --> | 59 | <!-- 地址信息组件 --> |
| 60 | - <app-address-toast ref="itemsInfo" @toUpdate="updateAddressInfo" v-show="pointsToast_control"></app-address-toast> | 60 | + <!-- <app-address-toast ref="itemsInfo" @toUpdate="updateAddressInfo" v-show="pointsToast_control"></app-address-toast> --> |
| 61 | </div> | 61 | </div> |
| 62 | </template> | 62 | </template> |
| 63 | 63 | ||
| 64 | <script> | 64 | <script> |
| 65 | // 引入组件 | 65 | // 引入组件 |
| 66 | import { Toast, Indicator } from "mint-ui"; | 66 | import { Toast, Indicator } from "mint-ui"; |
| 67 | -import appAddressToast from "@/components/appAddressToast/appAddressToast"; | 67 | +// import appAddressToast from "@/components/appAddressToast/appAddressToast"; |
| 68 | export default { | 68 | export default { |
| 69 | data () { | 69 | data () { |
| 70 | return { | 70 | return { |
| @@ -73,12 +73,12 @@ export default { | @@ -73,12 +73,12 @@ export default { | ||
| 73 | isMore: 1, // 0没有更多1有更多 | 73 | isMore: 1, // 0没有更多1有更多 |
| 74 | addressInfo: null, // 暂存已选商品发货地址信息 | 74 | addressInfo: null, // 暂存已选商品发货地址信息 |
| 75 | isCall: false, // 是否调用接口 | 75 | isCall: false, // 是否调用接口 |
| 76 | - pointsToast_control: this.$route.query.pointsToast_control, | 76 | + // pointsToast_control: this.$route.query.pointsToast_control, |
| 77 | } | 77 | } |
| 78 | }, | 78 | }, |
| 79 | //部件 | 79 | //部件 |
| 80 | components: { | 80 | components: { |
| 81 | - appAddressToast | 81 | + // appAddressToast |
| 82 | }, | 82 | }, |
| 83 | //静态 | 83 | //静态 |
| 84 | props: [ | 84 | props: [ |
| @@ -132,12 +132,12 @@ export default { | @@ -132,12 +132,12 @@ export default { | ||
| 132 | } | 132 | } |
| 133 | }, | 133 | }, |
| 134 | // 填写地址 | 134 | // 填写地址 |
| 135 | - addAddressInfo (item) { | ||
| 136 | - // 如果是实物弹起填写地址弹窗 | ||
| 137 | - this.pointsToast_control = true; | ||
| 138 | - // 礼品兑换弹框派发 | ||
| 139 | - this.$refs.itemsInfo.getItemInfo(item, item.id); | ||
| 140 | - }, | 135 | + // addAddressInfo (item) { |
| 136 | + // // 如果是实物弹起填写地址弹窗 | ||
| 137 | + // this.pointsToast_control = true; | ||
| 138 | + // // 礼品兑换弹框派发 | ||
| 139 | + // this.$refs.itemsInfo.getItemInfo(item, item.id); | ||
| 140 | + // }, | ||
| 141 | // 填写完地址回调 | 141 | // 填写完地址回调 |
| 142 | updateAddressInfo (orderInfo, addressInfo) { | 142 | updateAddressInfo (orderInfo, addressInfo) { |
| 143 | console.log(orderInfo); | 143 | console.log(orderInfo); |