Browse Source

Merge branch 'wugg-dev' of wugg/phpstock into version1.5

wugg 2 years ago
parent
commit
33ce1939e4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Reorder.php

+ 1 - 1
app/admin/controller/Reorder.php

@@ -845,7 +845,7 @@ class Reorder extends Base
                                 $cgd['wsend_num'] -= $info['num'];
                                 $cgd['send_num'] += $info['num'];
                             }
-                            $cgd['status'] = $cgd['wsend_num']==0?2:($cgd['send_num']==0?0:1);
+                            $cgd['status'] = $cgd['wsend_num']==0?3:($cgd['send_num']==0?1:2);
                             $cgd['send_status'] =$cgd['wsend_num']==0?3:($cgd['send_num']==0?1:2);
                             $cgd['th_num'] += $info['num'];
                             if($cgd['th_num']==$cgd['send_num']&& $cgd['wsend_num']==0){