回滚提交

This commit is contained in:
zyn
2023-04-23 11:50:51 +08:00
parent b701c3b3ae
commit ccec32a408
@@ -1726,6 +1726,9 @@
zrDeptIdName:this.$store.getters.userInfo.institutionName,
children:[],
};
if(!this.form.modelData){
this.form.modelData = []
}
this.form.modelData.push(list);
this.$message.success("新增成功")
this.showForm.modelNum = ""
@@ -2915,7 +2918,7 @@
if (valid) {
this.$refs['formTongGuo'].validate((valid) => {
if (valid) {
if(this.form.modelData.length === 0){
if(this.form.modelData === undefined || this.form.modelData.length === 0){
this.opinionDialogVisible = true
}else{
this.commentTextHandle();