This commit is contained in:
zmj 2024-05-17 14:56:53 +08:00
parent aef4b7a279
commit ebb8e0a2af
4 changed files with 68 additions and 8 deletions

View File

@ -12,16 +12,26 @@ export const amountAccountApi = (data) => {
return request.get('user/UserWithdraw/amount_account', data);
}
export const UserWithdrawApi = (data) => {
return request.post('user/UserWithdraw/withdraw', data);
}
export const UserWithdrawIndexApi = (data) => {
return request.get('user/UserWithdraw/index', data);
}
export const UserWithdrawListsApi = (data) => {
return request.get('user/UserWithdraw/lists', data);
}
export const OpurchaseGoodsOfferListApi = (data) => {
return request.get('operation/OpurchaseGoodsOffer/list', data);
}
export const OpurchaseGoodsOfferApi = (data) => {
return request.post('operation/OpurchaseGoodsOffer/offer', data);
}
export const aboutUsApi = (data) => {
return request.post('operation/OpurchaseGoodsOffer/offer', data);
}

View File

@ -106,6 +106,8 @@
"image": "https://lihaiim.oss-cn-chengdu.aliyuncs.com/public/uploads/images/20240510/20240510114142858ca3838.png"
}
],
hasBindAccount: [{
"id": 297,
"supplier_id": 0,
@ -149,6 +151,8 @@
"bank_image": "https://lihaiim.oss-cn-chengdu.aliyuncs.com/public/uploads/images/20240510/20240510114142858ca3838.png"
}
],
showPop1: false
}
},

View File

@ -69,6 +69,10 @@
import {
OpurchaseGoodsOfferListApi
} from "@/api/supplier.js"
export default {
data() {
return {

View File

@ -82,10 +82,52 @@
form: {
money: ''
},
hasBindAccount: [{
"id": 297,
"supplier_id": 0,
"mer_id": 500,
"bank_id": 1,
"bank_code": "6213362109985515778",
"bank_branch": "迎晖路支行",
"name": "赵明军",
"id_card": "513701200012105613",
"phone": "19130550023",
"financial_img": "",
"is_own": 0,
"is_check": 1,
"fail_msg": null,
"admin_id": 1,
"create_time": "2024-05-14 16:49:31",
"update_time": "2024-05-14 16:50:04",
"delete_time": null,
"bank_name": "中国银行",
"bank_image": "https://lihaiim.oss-cn-chengdu.aliyuncs.com/public/uploads/images/20240510/20240510114142858ca3838.png"
},
{
"id": 298,
"supplier_id": 0,
"mer_id": 500,
"bank_id": 1,
"bank_code": "6213362109985515778",
"bank_branch": "迎晖路支行",
"name": "赵明军",
"id_card": "513701200012105613",
"phone": "19130550023",
"financial_img": "",
"is_own": 1,
"is_check": 1,
"fail_msg": null,
"admin_id": 1,
"create_time": "2024-05-14 18:16:21",
"update_time": "2024-05-14 18:17:21",
"delete_time": null,
"bank_name": "中国银行",
"bank_image": "https://lihaiim.oss-cn-chengdu.aliyuncs.com/public/uploads/images/20240510/20240510114142858ca3838.png"
}
],
showPop1: false,
}
},
methods: {
@ -99,12 +141,12 @@
this.showPop1 = false
},
async getHasBindBankList() {
this.target_bankhasBindAccountt[0]
this.target_bank = this.hasBindAccount[0]
return
let res = await amountAccountApi({})
this.balance = res.data.balance
this.hasBindAccount = res.data.hasBindAccount
this.target_bank = res.data.hasBindAccount[0] || {}
// this.hasBindAccount = res.data.hasBindAccount
// this.target_bank = res.data.hasBindAccount[0] || {}
},
async submit() {
console.log({