Commit 5b9f87ef by 杨北旺

编辑-验证

1 parent 34d5bc97
......@@ -99,6 +99,10 @@ html {
color: #eb4e4e;
}
.marketing .red-txt {
color: #eb4e4e;
}
.marketing .wechat-container {
width: 290px;
margin-left: 32px;
......
......@@ -71,6 +71,7 @@
</div>
</div>
</div>
<div v-show="!editForm.eventList.length && submit" class="red-txt">请创建营销事件</div>
</div>
</div>
<div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }">
......@@ -100,6 +101,7 @@ export default {
editChildRef: 'editChildRef',
editStatus: false,
editDisabled: false,
submit: false,
deleteIdList: [],
labelWidth: '144px',
imgIcon: {
......@@ -406,8 +408,12 @@ export default {
},
handleConfirm() {
this.submit = true
this.$refs.editFormRef.$refs[this.editChildRef].validate(valid => {
if (valid) {
if(!this.editForm.eventList.length) {
return true
}
var params = this.$common.utils.deepClone(this.editForm)
params.customerIds = this.editForm.customerInfoList.map(item => item.id)
delete params.customerInfoList
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!