Merge branch 'master' of https://gitee.com/wjl2008_admin/medicine_app
This commit is contained in:
@@ -562,17 +562,6 @@ export default {
|
||||
} else {
|
||||
this.selectPayIndex = 0;
|
||||
}
|
||||
|
||||
if (this.actualPayment == 0) {
|
||||
var that = this;
|
||||
this.payList.forEach((e, i) => {
|
||||
if (e.type == 4) {
|
||||
that.selectPayIndex = i;
|
||||
that.payType = 4;
|
||||
}
|
||||
});
|
||||
this.$forceUpdate();
|
||||
}
|
||||
} else {
|
||||
if (platform == "ios") {
|
||||
this.selectPayIndex = 0;
|
||||
@@ -580,7 +569,18 @@ export default {
|
||||
this.selectPayIndex = 0;
|
||||
}
|
||||
}
|
||||
|
||||
this.payType = this.payList[this.selectPayIndex].type;
|
||||
if (this.actualPayment == 0) {
|
||||
var that = this;
|
||||
this.payList.forEach((e, i) => {
|
||||
if (e.type == 4) {
|
||||
that.selectPayIndex = i;
|
||||
that.payType = 4;
|
||||
}
|
||||
});
|
||||
this.$forceUpdate();
|
||||
}
|
||||
this.$forceUpdate();
|
||||
},
|
||||
},
|
||||
@@ -1406,6 +1406,17 @@ export default {
|
||||
}, 5000);
|
||||
let xiaBiao = [];
|
||||
let data = {};
|
||||
|
||||
if (
|
||||
this.payType == 4 &&
|
||||
this.initData.user.peanutCoin < Number(this.actualPayment)
|
||||
) {
|
||||
uni.showToast({
|
||||
title: "天医币余额不足",
|
||||
icon: "none",
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (this.options.isFudu) {
|
||||
data = {
|
||||
jfDeduction: this.jfNumber,
|
||||
|
||||
Reference in New Issue
Block a user