Przeglądaj źródła

【添加】列表添加优惠类型字段

痴货 9 miesięcy temu
rodzic
commit
870a1c44e8

+ 11 - 0
src/views/mall/promotion/discountActivity/discountActivity.data.ts

@@ -72,6 +72,17 @@ const crudSchemas = reactive<CrudSchema[]>([
       width: 120
     }
   },
+  {
+    label: '优惠类型',
+    field: 'discountType',
+    dictType: DICT_TYPE.PROMOTION_DISCOUNT_TYPE,
+    dictClass: 'number',
+    isSearch: true,
+    form: {
+      component: 'Radio',
+      value: 1
+    }
+  },
   {
     label: '活动商品',
     field: 'spuId',