Commit 82e7f816 by 徐忆琳

Merge branch 'xuyl_dev_sop' into 'v3.5.0'

修复编辑样式以及重置bug

See merge request !422
2 parents 60e9b545 75ba9ecf
......@@ -198,7 +198,7 @@
<div>
<el-button class="default-blue-btn newBtnSty"
v-if="new Date(item.eventStartDate) > new Date() || !item.eventStartDate"
:disabled="!editForm.customerInfoList.length || !editForm.sopName"
:disabled="!editForm.customerInfoList.length || !editForm.sopName || !!item.eventStartDate"
:size="size" @click="handleEventEdit('edit', item, index)">编辑
</el-button>
</div>
......@@ -698,7 +698,7 @@ export default {
if (action == 'confirm') {
this.customerDataList[this.currentCustomerIdx].list = []
this.changeCustomer()
this.editForm.eventList = []
// this.editForm.eventList = []
}
}
})
......@@ -709,7 +709,8 @@ export default {
},
deleteCustPop() {
this.$confirm('修改的客户类型(是否加企微、是否有手机号)不一致,原有营销渠道可能不可用,系统自动重置原有营销事件。是否确定修改?', '提示', {
// ,原有营销渠道可能不可用,系统自动重置原有营销事件
this.$confirm('修改的客户类型(是否加企微、是否有手机号)不一致。是否确定修改?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
......@@ -719,7 +720,7 @@ export default {
// this.$refs.editFormRef.$refs[this.editChildRef].validateField('customerInfoList')
this.customerDataList[this.currentCustomerIdx].list = []
this.changeCustomer()
this.editForm.eventList = []
// this.editForm.eventList = []
}
}
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!