dever 3 年之前
父節點
當前提交
3467a15e85
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. 8 1
      app/mshop/lib/Buy.php

+ 8 - 1
app/mshop/lib/Buy.php

@@ -1036,10 +1036,17 @@ class Buy
                     $i++;
                 }
             }
+
+            $btn = array();
+            $btn[] = array(
+                'type' => 'action',
+                'link' => Dever::url('lib/manage.set_commit?json=1&type=5&order_id='.$info['id'], 'agent'),
+                'name' => '全部调整';
+            );
             $result['商品拆单'] = array
             (
                 'type' => 'table',
-                'head' => array('name' => $this->getSelect($source, false, false), 'btn' => array()),
+                'head' => array('name' => $this->getSelect($source, false, false), 'btn' => $btn),
                 'content' => array
                 (
                     'head' => $head,