Преглед на файлове

change: indent商品模块product_type调整为必填.

peter преди 2 месеца
родител
ревизия
1666b9861b
променени са 2 файла, в които са добавени 14 реда и са изтрити 0 реда
  1. 7 0
      src/pages/indent-manage/product/components/edit.vue
  2. 7 0
      src/pages/indent-manage/product/components/examine.vue

+ 7 - 0
src/pages/indent-manage/product/components/edit.vue

@@ -260,6 +260,13 @@ const rules = {
       trigger: 'change',
     },
   ],
+  product_type: [
+    {
+      required: true,
+      message: $t('text_please_input'),
+      trigger: 'change',
+    },
+  ],
 }
 
 watch(

+ 7 - 0
src/pages/indent-manage/product/components/examine.vue

@@ -275,6 +275,13 @@ const rules = {
       trigger: 'change',
     },
   ],
+  product_type: [
+    {
+      required: true,
+      message: $t('text_please_input'),
+      trigger: 'change',
+    },
+  ],
 }
 
 watch(