|
|
@@ -637,9 +637,8 @@ export default {
|
|
|
},
|
|
|
handleSaveBtn(status) {
|
|
|
if (!this.operateType || this.operateType === 'add' || this.formData.status == 0) {
|
|
|
- let errorText = this.validForm();
|
|
|
- if (errorText) {
|
|
|
- this.$message.error(errorText+'!');
|
|
|
+ if (!this.formData.xmmc) {
|
|
|
+ this.$message.error('请输入项目名称!');
|
|
|
return;
|
|
|
}
|
|
|
|