Explorar o código

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

guarantee-lsq %!s(int64=2) %!d(string=hai) anos
pai
achega
85aabcf998
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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