This commit is contained in:
宋伟佳
2021-12-24 17:03:16 +08:00
parent 2192d72264
commit 9374d63d37
@@ -892,13 +892,16 @@ export default {
},
//提交事件
handleSubmit() {
let standList = []
this.breakdownList.forEach(item => {
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());