提交 fedb26d8 authored 作者: 郑伟娜's avatar 郑伟娜

修改逻辑

上级 ad7d3221
......@@ -106,10 +106,10 @@ export default {
shopInfo().then(res => {
if (res.code == 1) {
// 是否需要缴纳保证金 0否 1是
if (res.data.is_take_bond == 1 || res.data.bond < res.data.cate_bond / 2) {
this.dialogVisible = true
} else {
if (res.data.is_take_bond == 0 && res.data.bond > res.data.cate_bond / 2) {
this.dialogVisible = false
} else {
this.dialogVisible = true
}
}
})
......
......@@ -448,7 +448,7 @@
this.payForm.money = this.getFixed(this.cate_bond - this.bond)
// 是否需要缴纳保证金 0否 1是
if (res.data.is_take_bond == 1 || this.bond < this.cate_bond / 2) {
if (res.data.is_take_bond == 0 && this.bond > this.cate_bond / 2) {
this.isPay = true
} else {
this.isPay = false
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论