Commit 75ba9ecf by 前端

修复编辑样式以及重置bug

1 parent f50dabef
...@@ -198,7 +198,7 @@ ...@@ -198,7 +198,7 @@
<div> <div>
<el-button class="default-blue-btn newBtnSty" <el-button class="default-blue-btn newBtnSty"
v-if="new Date(item.eventStartDate) > new Date() || !item.eventStartDate" 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)">编辑 :size="size" @click="handleEventEdit('edit', item, index)">编辑
</el-button> </el-button>
</div> </div>
...@@ -698,7 +698,7 @@ export default { ...@@ -698,7 +698,7 @@ export default {
if (action == 'confirm') { if (action == 'confirm') {
this.customerDataList[this.currentCustomerIdx].list = [] this.customerDataList[this.currentCustomerIdx].list = []
this.changeCustomer() this.changeCustomer()
this.editForm.eventList = [] // this.editForm.eventList = []
} }
} }
}) })
...@@ -709,7 +709,8 @@ export default { ...@@ -709,7 +709,8 @@ export default {
}, },
deleteCustPop() { deleteCustPop() {
this.$confirm('修改的客户类型(是否加企微、是否有手机号)不一致,原有营销渠道可能不可用,系统自动重置原有营销事件。是否确定修改?', '提示', { // ,原有营销渠道可能不可用,系统自动重置原有营销事件
this.$confirm('修改的客户类型(是否加企微、是否有手机号)不一致。是否确定修改?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning', type: 'warning',
...@@ -719,7 +720,7 @@ export default { ...@@ -719,7 +720,7 @@ export default {
// this.$refs.editFormRef.$refs[this.editChildRef].validateField('customerInfoList') // this.$refs.editFormRef.$refs[this.editChildRef].validateField('customerInfoList')
this.customerDataList[this.currentCustomerIdx].list = [] this.customerDataList[this.currentCustomerIdx].list = []
this.changeCustomer() 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!