diff --git a/application/admin/controller/shopro/commission/Level.php b/application/admin/controller/shopro/commission/Level.php
index 07cad25..f780a73 100755
--- a/application/admin/controller/shopro/commission/Level.php
+++ b/application/admin/controller/shopro/commission/Level.php
@@ -78,6 +78,13 @@ class Level extends Common
$params = $this->request->only(['level', 'name', 'image', 'commission_rules', 'upgrade_type', 'upgrade_rules', 'coupon_rules', 'total_consume']);
+// dd($params);
+ if ($params['level'] != 1) {
+ if (empty($params['coupon_rules']['programme_1'])) $this->error('请选择方案一');
+ if (empty($params['coupon_rules']['programme_2'])) $this->error('请选择方案二');
+ }
+
+
$result = Db::transaction(function () use ($id, $params) {
$this->svalidate($params);
diff --git a/application/admin/view/shopro/commission/level/add.html b/application/admin/view/shopro/commission/level/add.html
index 23cb8d0..6888c74 100755
--- a/application/admin/view/shopro/commission/level/add.html
+++ b/application/admin/view/shopro/commission/level/add.html
@@ -95,12 +95,12 @@
-
+
选择商品券
-
+