소스 검색

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(