From 149ea95d48393f40ddc76589ed9456fc2fbbd7d8 Mon Sep 17 00:00:00 2001 From: Jruome <2559028966@qq.com> Date: Thu, 25 May 2023 14:33:27 +0800 Subject: [PATCH] =?UTF-8?q?uniapp=20=E4=BC=9A=E5=91=98=E8=B4=AD=E4=B9=B0?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E9=80=80=E6=AC=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../freightSet/creatTemplates.vue | 14 ++-- yudao-ui-app/api/member.js | 7 ++ yudao-ui-app/pages/member_back/index.vue | 2 +- yudao-ui-app/pages/member_equity/index.vue | 8 +-- yudao-ui-app/pages/member_record/index.vue | 67 +++++++++++-------- 5 files changed, 56 insertions(+), 42 deletions(-) diff --git a/yudao-ui-admin/src/views/deliverGoods/freightSet/creatTemplates.vue b/yudao-ui-admin/src/views/deliverGoods/freightSet/creatTemplates.vue index 2e151e6d6..9a1761ef2 100644 --- a/yudao-ui-admin/src/views/deliverGoods/freightSet/creatTemplates.vue +++ b/yudao-ui-admin/src/views/deliverGoods/freightSet/creatTemplates.vue @@ -6,7 +6,7 @@ width="70%" :before-close="handleClose" > - + @@ -31,7 +31,6 @@ collapse-tags clearable filterable - @change="changeRegion" /> @@ -306,9 +305,6 @@ export default { noRegion: [] } }, - changeRegion(value) { - console.log(value) - }, changeRadio(num) { this.columns = Object.assign({}, statusMap[num - 1]) }, @@ -346,8 +342,10 @@ export default { name: info.name, type: info.type, appoint: info.appoint, + noDelivery: info.noDelivery, sort: info.sort }) + console.log(this.ruleForm) this.columns = Object.assign({}, statusMap[this.ruleForm.type - 1]) this.$nextTick(() => { loadingInstance.close() @@ -394,11 +392,7 @@ export default { // 包邮 shippingNodelivery() { logistics.shippingNodelivery({ tempId: this.tempId }).then(res => { - res.data.forEach((item, index) => { - // item.title = JSON.parse(item.title) - item.city_ids = JSON.parse(item.title) - }) - this.ruleForm.noDelivery = res.data + this.ruleForm.noRegion = JSON.parse(res.data[0].title) }) }, removeChild(list){ diff --git a/yudao-ui-app/api/member.js b/yudao-ui-app/api/member.js index 6f93e6d05..5b62e3e21 100644 --- a/yudao-ui-app/api/member.js +++ b/yudao-ui-app/api/member.js @@ -15,6 +15,13 @@ export function memberOrderInfo(){ return request.get('api/order/member/memberOrderInfo', {}) } +/** + * 根据当前手机号获取账号的充值记录 + */ +export function memberOrderInfoByPhone(phone){ + return request.get(`api/order/member/memberOrderInfoByPhone?phone=${phone}`, {}) +} + /** * 查询权益档位信息 */ diff --git a/yudao-ui-app/pages/member_back/index.vue b/yudao-ui-app/pages/member_back/index.vue index 6eded3d16..5e86d3abf 100644 --- a/yudao-ui-app/pages/member_back/index.vue +++ b/yudao-ui-app/pages/member_back/index.vue @@ -47,7 +47,7 @@ - + diff --git a/yudao-ui-app/pages/member_equity/index.vue b/yudao-ui-app/pages/member_equity/index.vue index edb9e0303..b33bdf62d 100644 --- a/yudao-ui-app/pages/member_equity/index.vue +++ b/yudao-ui-app/pages/member_equity/index.vue @@ -10,7 +10,7 @@ 再升1级即可获得【XX】等6项权益 - 购买记录 + 购买记录 @@ -21,8 +21,8 @@ - 会员等级{{vipData.findIndex((item) => item == parseInt(memberDetail.grade)) +1}}级 - + 会员等级{{vipData.findIndex((item) => item == memberDetail.grade) +1}}级 + @@ -256,7 +256,7 @@ margin-bottom: 10rpx; } - button { + .right-button { border-radius: 18rpx; margin-top: 10rpx; padding: 7rpx 16rpx; diff --git a/yudao-ui-app/pages/member_record/index.vue b/yudao-ui-app/pages/member_record/index.vue index 447337b52..3e984fb51 100644 --- a/yudao-ui-app/pages/member_record/index.vue +++ b/yudao-ui-app/pages/member_record/index.vue @@ -9,7 +9,8 @@ 充值号码:{{item.userPhone}} - + + 申请退款中 充值档次:{{item.grade}} @@ -22,7 +23,7 @@