diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue index 39b8aaee5..d5f99098f 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue @@ -184,7 +184,7 @@ - +
- +
{ - if (item.implementer) { - standList.push(item); - } - }); - this.listForm.breakdownList = standList + if(this.breakdownList < 1){ + this.$message.warning('请添加产品线数据') + }else{ + let standList = []; + this.breakdownList.forEach(item => { + if (item.implementer) { + standList.push(item); + } + }); + this.listForm.breakdownList = standList; this.listForm.prcCreateUser = this.$store.getters.userInfo.userId; this.listForm.applyUpdUserId = this.$store.getters.userInfo.userId; this.listForm.prcCreateUserName = this.$store.getters.userInfo.account; @@ -922,6 +925,7 @@ export default { this.isSubmit = false; }, e => { }); + } }, drawerCheck(data) { var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes());