Commit c6eb94b6 by 前端

添加提示语

1 parent 1dfc0319
......@@ -153,6 +153,8 @@ export default {
console.log(res)
if (res) {
this.activityDetail = res
} else {
this.$message.warning('查不到该活动记录')
}
})
},
......@@ -323,6 +325,10 @@ export default {
if (this.routeInfo.addOrEdit == 1) {
let detailData = await this.$apis.record.findActivity({ activityId: this.recordForm.crowdFundActivityId })
console.log(detailData, '===')
if (!detailData) {
this.$message.warning('查不到该活动记录')
return
}
params.merchantNo = detailData.merchantId
params.merchantName = detailData.merchantName
params.activityName = detailData.activityName
......
......@@ -131,6 +131,7 @@ export default {
console.log(res)
if (res) {
this.recordForm = res
this.$message.success('更新数据成功')
}
})
}
......@@ -191,7 +192,8 @@ export default {
margin: 0 0 20px 154px;
background: #f9f9f9;
padding: 20px 0;
max-width: 600px;
min-width: 600px;
max-width: 1100px;
&-content {
display: flex;
.activity-title {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!