diff --git a/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue b/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue index 92ac46d7..9bee1cc4 100644 --- a/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue +++ b/src/project/huizhili/AppCooperationPropaganda/addPropaganda.vue @@ -253,7 +253,7 @@ export default { ], // upload: [], midiaIds: [], - sum: '', + sum: null, // 筛选条件 girdListIds: [], // 网格id集合 deptListIds: [], // 部门id集合 @@ -414,7 +414,7 @@ export default { return this.$u.toast('请输入任务名称') } - if(!this.form.sendScope || !this.sum.length) { + if(!this.form.sendScope || this.sum == 0) { return this.$u.toast('请选择发送范围') } diff --git a/src/project/huizhili/AppCooperationPropaganda/selectDeptUser.vue b/src/project/huizhili/AppCooperationPropaganda/selectDeptUser.vue index c6aa7419..1d686054 100644 --- a/src/project/huizhili/AppCooperationPropaganda/selectDeptUser.vue +++ b/src/project/huizhili/AppCooperationPropaganda/selectDeptUser.vue @@ -60,7 +60,6 @@ export default { this.selected = uni.getStorageSync('selectDeptUser') || [] this.getAllDepts() this.type = o.selectTtype.split('?')[0] - // console.log(typeof(this.type)); }, methods: { isSelected(id, corpId) {