Sfoglia il codice sorgente

SAI开项管理 - 修改/保存/提交申请时片区字段设置为必填项

wangggziwen 1 anno fa
parent
commit
705711f6fa

+ 3 - 0
ui/src/views/production/apply/all/index.vue

@@ -971,6 +971,9 @@ export default {
         applyDate: [
           { required: true, message: this.$t('记录日期') + this.$t('不能为空'), trigger: "change" }
         ],
+        workArea: [
+          { required: true, message: this.$t('片区') + this.$t('不能为空'), trigger: "change" }
+        ],
         unsafeStatus: [
           { validator: validateUnsafeStatus, trigger: 'change' }
         ],

+ 3 - 0
ui/src/views/production/apply/mine/index.vue

@@ -917,6 +917,9 @@
           applyDate: [
             { required: true, message: this.$t('记录日期') + this.$t('不能为空'), trigger: "change" }
           ],
+          workArea: [
+            { required: true, message: this.$t('片区') + this.$t('不能为空'), trigger: "change" }
+          ],
           unsafeStatus: [
             { validator: validateUnsafeStatus, trigger: 'change' }
           ],

+ 3 - 0
ui/src/views/production/apply/pending/index.vue

@@ -916,6 +916,9 @@
           applyDate: [
             { required: true, message: this.$t('记录日期') + this.$t('不能为空'), trigger: "change" }
           ],
+          workArea: [
+            { required: true, message: this.$t('片区') + this.$t('不能为空'), trigger: "change" }
+          ],
           unsafeStatus: [
             { validator: validateUnsafeStatus, trigger: 'change' }
           ],