From 1c259cc17e79a4ead09e2a1e86a32f4519461420 Mon Sep 17 00:00:00 2001 From: wtq <2394975549@qq.com> Date: Mon, 26 Jan 2026 10:57:58 +0800 Subject: [PATCH] '!' --- .../storemanager/dialog/editorCourier.vue | 59 +++---------------- 1 file changed, 9 insertions(+), 50 deletions(-) diff --git a/src/components/storemanager/dialog/editorCourier.vue b/src/components/storemanager/dialog/editorCourier.vue index 7d0eb8e..f1fa3fd 100644 --- a/src/components/storemanager/dialog/editorCourier.vue +++ b/src/components/storemanager/dialog/editorCourier.vue @@ -11,19 +11,6 @@ {{ formData.vendorID === 101 ? '400-661-5020' : formData.vendorID === 102 ? '400-055-6100' : '400-990-0295转1号键' }} - -
- -
- {{ '¥' + platformBalance }} - - - -
-
- @@ -74,8 +61,8 @@ import { addStoreCourierMap, updateStoreCourierMap, // getStoreCourierMaps, - queryPlatformBalance, - balanceRecharge + // queryPlatformBalance, + // balanceRecharge } from "@/apis/store.js"; import { getVendorStore } from "@/apis/controls/shop.js"; export default { @@ -111,8 +98,6 @@ export default { }, auditStatus: 0, errMessage:'', - platformBalance:'0.00', - amount:0, // 充值金额 }; }, computed: { @@ -161,13 +146,13 @@ export default { } - // 查询平台余额 达达和蜂鸟 - if(this.currentDialog.vendorID === 101 || this.currentDialog.vendorID === 103){ - // console.log(this.currentDialog,'查询平台余额,,,currentDialog') - let res1 = await queryPlatformBalance({vendorID:this.currentDialog.vendorID}) - this.platformBalance = +res1/100 - // console.log(this.currentDialog,'查询平台余额',res1) - } + // // 查询平台余额 达达和蜂鸟 + // if(this.currentDialog.vendorID === 101 || this.currentDialog.vendorID === 103){ + // // console.log(this.currentDialog,'查询平台余额,,,currentDialog') + // let res1 = await queryPlatformBalance({vendorID:this.currentDialog.vendorID}) + // this.platformBalance = +res1/100 + // // console.log(this.currentDialog,'查询平台余额',res1) + // } }, mounted() { }, methods: { @@ -236,36 +221,10 @@ export default { // // 刷新美团状态 // refreshMT() { // } - // 确认充值 - async sureRecharge(){ - if(!this.amount) return this.$toast('请输入充值金额') - let form = new FormData() - form.append('vendorID',this.currentDialog.vendorID) - form.append('amount',this.amount * 100) - form.append('category','PC') // 链接场景 [PC,H5] - // form.append('notifyUrl','https://www.jxc4.com/#/jxstoremanager') //支付宝有,微信没有 - - let res = await balanceRecharge(form) - // window.location.href = res - window.open(res, '_blank'); - this.handleClose(); - console.log(this.amount,'充值情况','res',res) - } } };