Commit 0e718ef6 authored by yaya's avatar yaya

feat: 众筹发布功能优化

parent e8b5066e
...@@ -94,6 +94,7 @@ ...@@ -94,6 +94,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="银行卡账号" width="200" prop="bankCardId" /> <el-table-column align="center" label="银行卡账号" width="200" prop="bankCardId" />
<el-table-column align="center" label="开户行信息" width="200" prop="bankName" />
<el-table-column align="center" label="真实姓名" prop="realName" /> <el-table-column align="center" label="真实姓名" prop="realName" />
<el-table-column align="center" label="查看凭证" prop="voucher" > <el-table-column align="center" label="查看凭证" prop="voucher" >
<template slot-scope="scope" > <template slot-scope="scope" >
......
...@@ -157,7 +157,7 @@ export default { ...@@ -157,7 +157,7 @@ export default {
listQuery: { listQuery: {
page: 1, page: 1,
size: 20, size: 20,
typeStr: '2,3' typeStr: '2,3,6'
}, },
list: [], list: [],
total: 0, total: 0,
...@@ -183,7 +183,7 @@ export default { ...@@ -183,7 +183,7 @@ export default {
this.listQuery = { this.listQuery = {
page: 1, page: 1,
limit: 20, limit: 20,
typeStr: '2,3' typeStr: '2,3,6'
} }
this.getList() this.getList()
}, },
......
...@@ -354,7 +354,13 @@ export default { ...@@ -354,7 +354,13 @@ export default {
} else { } else {
this.goods.images = '' this.goods.images = ''
} }
if (Number(this.goods.salePrice) <= 0) {
this.$message({
type: 'error',
message: '众筹价需大于0!'
})
return
}
if (!this.timeValue || this.timeValue.length === 0) { if (!this.timeValue || this.timeValue.length === 0) {
this.$message({ this.$message({
type: 'error', type: 'error',
...@@ -369,6 +375,14 @@ export default { ...@@ -369,6 +375,14 @@ export default {
}) })
return return
} }
if (this.goods.targetNum <= 0) {
this.$message({
type: 'error',
message: '众筹件数需大于0!'
})
return
}
if (!this.goods.wxQrcode) { if (!this.goods.wxQrcode) {
this.$message({ this.$message({
type: 'error', type: 'error',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment