408249787 2 年之前
父節點
當前提交
ea6bb24817
共有 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