Przeglądaj źródła

设备修改提交报错

2 lat temu
rodzic
commit
4803f68a5d
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      src/views/sb/info/modules/BaseForm.vue

+ 3 - 3
src/views/sb/info/modules/BaseForm.vue

@@ -478,7 +478,7 @@
             <a-date-picker
               style="width: 100%"
               :format="BaseTool.Date.PICKER_NORM_DATE_PATTERN"
-              v-decorator="['buyDate', {rules: [{required: true, message: '不能为空'}]}]" />
+              v-decorator="['buyDate']" />
           </a-form-item>
         </a-col>
         <a-col :lg="12" :md="24" :sm="24">
@@ -490,7 +490,7 @@
             <a-date-picker
               style="width: 100%"
               :format="BaseTool.Date.PICKER_NORM_DATE_PATTERN"
-              v-decorator="['startDate', {rules: [{required: true, message: '不能为空'}]}]" />
+              v-decorator="['startDate']" />
           </a-form-item>
         </a-col>
       </a-row>
@@ -802,7 +802,7 @@
               :wrapperCol="BaseTool.Constant.wrapperCol"
             >
               <a-input
-                v-decorator="['dph', {rules: [{required: true, message: '检定单位不能为空'}]}]" />
+                v-decorator="['dph']" />
             </a-form-item>
           </a-col>
           <a-col :lg="12" :md="24" :sm="24">