|
@@ -55,6 +55,78 @@
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
totalAssetAmount: null,
|
|
totalAssetAmount: null,
|
|
|
|
|
+ bankList: [{
|
|
|
|
|
+ bankName: "中国邮政储蓄银行",
|
|
|
|
|
+ logo: "/static/image/bankLogo/youzheng.png",
|
|
|
|
|
+ background: "linear-gradient(90deg, rgba(79, 136, 69, 0.7) 0%, #4f8845 100%)"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ bankName: "中国工商银行",
|
|
|
|
|
+ logo: "/static/image/bankLogo/gongshang.png",
|
|
|
|
|
+ background: "linear-gradient(90deg, rgba(177, 0, 13, 0.7) 0%, #b1000d 100%)"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ bankName: "中国农业银行",
|
|
|
|
|
+ logo: "/static/image/bankLogo/nongye.png",
|
|
|
|
|
+ background: "linear-gradient(90deg, rgba(86,152, 130, 0.7) 0%, #569882 100%)"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ bankName: "中国银行",
|
|
|
|
|
+ logo: "/static/image/bankLogo/zhongguo.png",
|
|
|
|
|
+ background: "linear-gradient(90deg, rgba(157, 32, 40, 0.7) 0%, #9d2028 100%)"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ bankName: "中国建设银行",
|
|
|
|
|
+ logo: "/static/image/bankLogo/jianshe.png",
|
|
|
|
|
+ background: "linear-gradient(90deg, rgba(6, 89, 159, 0.7) 0%, #06569F 100%)"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ bankName: "招商银行",
|
|
|
|
|
+ logo: "/static/image/bankLogo/zhaoshang.png",
|
|
|
|
|
+ background: "linear-gradient(90deg, rgba(197, 0, 25, 0.7) 0%, #c50019 100%)"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ bankName: "中国民生银行",
|
|
|
|
|
+ logo: "/static/image/bankLogo/minsheng.png",
|
|
|
|
|
+ background: "linear-gradient(90deg, rgba(84,149, 92, 0.7) 0%, #54955c 100%)"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ bankName: "中国光大银行",
|
|
|
|
|
+ logo: "/static/image/bankLogo/guangda.png",
|
|
|
|
|
+ background: "linear-gradient(90deg, rgba(93, 30, 131, 0.7) 0%, #5d1e83 100%)"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ bankName: "中信银行",
|
|
|
|
|
+ logo: "/static/image/bankLogo/zhongxin.png",
|
|
|
|
|
+ background: "linear-gradient(90deg, rgba(184, 0,22, 0.7) 0%, #b80016 100%)"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ bankName: "华夏银行",
|
|
|
|
|
+ logo: "/static/image/bankLogo/huaxia.png",
|
|
|
|
|
+ background: "linear-gradient(90deg, rgba(216, 12, 24, 0.7) 0%, #d80c18 100%)"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ bankName: "中国交通银行",
|
|
|
|
|
+ logo: "/static/image/bankLogo/jiaotong.png",
|
|
|
|
|
+ background: "linear-gradient(90deg, rgba(33, 58, 120, 0.7) 0%, #213a78 100%)"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ bankName: "晋商银行",
|
|
|
|
|
+ logo: "/static/image/bankLogo/jinshang.png",
|
|
|
|
|
+ background: "linear-gradient(90deg, rgba(224, 150, 165, 0.7) 0%, #e096a5 100%)"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ bankName: "山西银行",
|
|
|
|
|
+ logo: "/static/image/bankLogo/shanxi.png",
|
|
|
|
|
+ background: "linear-gradient(90deg, rgba(192, 19, 73, 0.7) 0%, #c01349 100%)"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ bankName: "农村商业银行",
|
|
|
|
|
+ logo: "/static/image/bankLogo/nongcun.png",
|
|
|
|
|
+ background: "linear-gradient(90deg, rgba(0, 155, 77, 0.7) 0%, #009b4d 100%)"
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
|
|
+ bankCardInfo: {}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
@@ -62,11 +134,33 @@
|
|
|
},
|
|
},
|
|
|
onShow() {
|
|
onShow() {
|
|
|
this.getAdvanceMoney(); //金额
|
|
this.getAdvanceMoney(); //金额
|
|
|
|
|
+ this.getbankCard();
|
|
|
},
|
|
},
|
|
|
onLoad() {
|
|
onLoad() {
|
|
|
this.getAdvanceMoney(); //手续费金额
|
|
this.getAdvanceMoney(); //手续费金额
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ // 获取银行卡信息
|
|
|
|
|
+ async getbankCard() {
|
|
|
|
|
+ let res = await this.$http.post('/userBank/getUserBankList', {
|
|
|
|
|
+ auditStatus: "1",
|
|
|
|
|
+ delFlag: '0'
|
|
|
|
|
+ });
|
|
|
|
|
+ this.bankList.map(val => {
|
|
|
|
|
+ res.data.map(ele => {
|
|
|
|
|
+ if (val.bankName == ele.bankAccount) {
|
|
|
|
|
+ ele.logo = val.logo;
|
|
|
|
|
+ return ele;
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ })
|
|
|
|
|
+ let bankinfo = res.data.find(val => val.isDefault == 1)
|
|
|
|
|
+ if (bankinfo) {
|
|
|
|
|
+ this.bankCardInfo = bankinfo;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.bankCardInfo = res.data[0]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
// 预收账户金额查询
|
|
// 预收账户金额查询
|
|
|
async getAdvanceMoney() {
|
|
async getAdvanceMoney() {
|
|
|
let res = await this.$http.get('/sysUserAccount/getUserSumAmountByUserId?userId=' + this.userInfo
|
|
let res = await this.$http.get('/sysUserAccount/getUserSumAmountByUserId?userId=' + this.userInfo
|
|
@@ -115,6 +209,7 @@
|
|
|
let that = this
|
|
let that = this
|
|
|
let signResult = await this.$http.post('/ttqf/queryPressing', {
|
|
let signResult = await this.$http.post('/ttqf/queryPressing', {
|
|
|
userId: uni.getStorageSync('username'),
|
|
userId: uni.getStorageSync('username'),
|
|
|
|
|
+ bankNumber: this.bankCardInfo.bankNumber
|
|
|
})
|
|
})
|
|
|
if(signResult.data.bizCode === '1') { // 未签约
|
|
if(signResult.data.bizCode === '1') { // 未签约
|
|
|
uni.showModal({
|
|
uni.showModal({
|