xieruidong 2 years ago
parent
commit
c2cccd17a2
1 changed files with 6 additions and 0 deletions
  1. 6 0
      application/admin/controller/Goods.php

+ 6 - 0
application/admin/controller/Goods.php

@@ -81,6 +81,12 @@ class Goods extends Backend
     public function add()
     {
         if($this->request->isGet()){
+            $this->assign('row',[
+                'sku'=>[
+                    'amount_ladder'=>[],
+                    'amount_kill_ladder'=>[],
+                ],
+            ]);
             return $this->fetch();
         }else{
             $this->makeAdd();