Commit 0e718ef6 authored by yaya's avatar yaya

feat: 众筹发布功能优化

parent e8b5066e
......@@ -94,6 +94,7 @@
</template>
</el-table-column>
<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="voucher" >
<template slot-scope="scope" >
......
......@@ -157,7 +157,7 @@ export default {
listQuery: {
page: 1,
size: 20,
typeStr: '2,3'
typeStr: '2,3,6'
},
list: [],
total: 0,
......@@ -183,7 +183,7 @@ export default {
this.listQuery = {
page: 1,
limit: 20,
typeStr: '2,3'
typeStr: '2,3,6'
}
this.getList()
},
......
......@@ -354,7 +354,13 @@ export default {
} else {
this.goods.images = ''
}
if (Number(this.goods.salePrice) <= 0) {
this.$message({
type: 'error',
message: '众筹价需大于0!'
})
return
}
if (!this.timeValue || this.timeValue.length === 0) {
this.$message({
type: 'error',
......@@ -369,6 +375,14 @@ export default {
})
return
}
if (this.goods.targetNum <= 0) {
this.$message({
type: 'error',
message: '众筹件数需大于0!'
})
return
}
if (!this.goods.wxQrcode) {
this.$message({
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