소스 검색

Merge branch 'demo_' of http://123.60.19.203:8088/hitch/hitch-antd

guarantee-lsq 2 년 전
부모
커밋
85aabcf998
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/views/repair/application-form/modules/RemarkForm.vue

+ 4 - 0
src/views/repair/application-form/modules/RemarkForm.vue

@@ -46,6 +46,10 @@ export default {
       this.model = record
     },
     save () {
+      if (this.model.content === '' || this.model.content == null) {
+        this.$message.error('请填写故障描述!')
+        return
+      }
       changeEditForm({
         id: this.model.id,
         content: this.model.content