|
@@ -624,7 +624,7 @@ class Report extends Base
|
|
|
$all_send_status = [1 => '未发货', 2 => '部分发货', 3 => '已发货'];
|
|
|
|
|
|
|
|
|
- $total = Db::name('purchease_order')
|
|
|
+ $count = Db::name('purchease_order')
|
|
|
->alias('po')
|
|
|
->leftJoin('business b', 'b.companyNo=po.companyNo AND b.is_del=0')
|
|
|
->where($where)
|
|
@@ -661,7 +661,7 @@ class Report extends Base
|
|
|
$list[] = $v;
|
|
|
}
|
|
|
|
|
|
- return app_show(0, '请求成功', ['list' => $list, 'total' => $total]);
|
|
|
+ return app_show(0, '请求成功', ['list' => $list, 'count' => $count]);
|
|
|
|
|
|
|
|
|
}
|