回滚提交
This commit is contained in:
@@ -1726,6 +1726,9 @@
|
|||||||
zrDeptIdName:this.$store.getters.userInfo.institutionName,
|
zrDeptIdName:this.$store.getters.userInfo.institutionName,
|
||||||
children:[],
|
children:[],
|
||||||
};
|
};
|
||||||
|
if(!this.form.modelData){
|
||||||
|
this.form.modelData = []
|
||||||
|
}
|
||||||
this.form.modelData.push(list);
|
this.form.modelData.push(list);
|
||||||
this.$message.success("新增成功")
|
this.$message.success("新增成功")
|
||||||
this.showForm.modelNum = ""
|
this.showForm.modelNum = ""
|
||||||
@@ -2915,7 +2918,7 @@
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
this.$refs['formTongGuo'].validate((valid) => {
|
this.$refs['formTongGuo'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if(this.form.modelData.length === 0){
|
if(this.form.modelData === undefined || this.form.modelData.length === 0){
|
||||||
this.opinionDialogVisible = true
|
this.opinionDialogVisible = true
|
||||||
}else{
|
}else{
|
||||||
this.commentTextHandle();
|
this.commentTextHandle();
|
||||||
|
|||||||
Reference in New Issue
Block a user