浏览代码

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

peter 2 月之前
父节点
当前提交
1666b9861b

+ 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(