add
This commit is contained in:
parent
aef4b7a279
commit
ebb8e0a2af
@ -12,16 +12,26 @@ export const amountAccountApi = (data) => {
|
|||||||
return request.get('user/UserWithdraw/amount_account', data);
|
return request.get('user/UserWithdraw/amount_account', data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export const UserWithdrawApi = (data) => {
|
export const UserWithdrawApi = (data) => {
|
||||||
return request.post('user/UserWithdraw/withdraw', data);
|
return request.post('user/UserWithdraw/withdraw', data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export const UserWithdrawIndexApi = (data) => {
|
export const UserWithdrawIndexApi = (data) => {
|
||||||
return request.get('user/UserWithdraw/index', data);
|
return request.get('user/UserWithdraw/index', data);
|
||||||
}
|
}
|
||||||
|
|
||||||
export const UserWithdrawListsApi = (data) => {
|
export const UserWithdrawListsApi = (data) => {
|
||||||
return request.get('user/UserWithdraw/lists', 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);
|
||||||
}
|
}
|
@ -106,6 +106,8 @@
|
|||||||
"image": "https://lihaiim.oss-cn-chengdu.aliyuncs.com/public/uploads/images/20240510/20240510114142858ca3838.png"
|
"image": "https://lihaiim.oss-cn-chengdu.aliyuncs.com/public/uploads/images/20240510/20240510114142858ca3838.png"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
||||||
hasBindAccount: [{
|
hasBindAccount: [{
|
||||||
"id": 297,
|
"id": 297,
|
||||||
"supplier_id": 0,
|
"supplier_id": 0,
|
||||||
@ -149,6 +151,8 @@
|
|||||||
"bank_image": "https://lihaiim.oss-cn-chengdu.aliyuncs.com/public/uploads/images/20240510/20240510114142858ca3838.png"
|
"bank_image": "https://lihaiim.oss-cn-chengdu.aliyuncs.com/public/uploads/images/20240510/20240510114142858ca3838.png"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
||||||
showPop1: false
|
showPop1: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -69,6 +69,10 @@
|
|||||||
import {
|
import {
|
||||||
OpurchaseGoodsOfferListApi
|
OpurchaseGoodsOfferListApi
|
||||||
} from "@/api/supplier.js"
|
} from "@/api/supplier.js"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
@ -82,10 +82,52 @@
|
|||||||
form: {
|
form: {
|
||||||
money: ''
|
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,
|
showPop1: false,
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -99,12 +141,12 @@
|
|||||||
this.showPop1 = false
|
this.showPop1 = false
|
||||||
},
|
},
|
||||||
async getHasBindBankList() {
|
async getHasBindBankList() {
|
||||||
this.target_bankhasBindAccountt[0]
|
this.target_bank = this.hasBindAccount[0]
|
||||||
return
|
return
|
||||||
let res = await amountAccountApi({})
|
let res = await amountAccountApi({})
|
||||||
this.balance = res.data.balance
|
this.balance = res.data.balance
|
||||||
this.hasBindAccount = res.data.hasBindAccount
|
// this.hasBindAccount = res.data.hasBindAccount
|
||||||
this.target_bank = res.data.hasBindAccount[0] || {}
|
// this.target_bank = res.data.hasBindAccount[0] || {}
|
||||||
},
|
},
|
||||||
async submit() {
|
async submit() {
|
||||||
console.log({
|
console.log({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user