|
@@ -171,7 +171,7 @@ class NowReportHandle extends Command
|
|
|
->leftJoin('supplier ws', 'ws.supplierNo = ws.`code`')
|
|
|
->where('wgs.is_del', 0)
|
|
|
->where('wgb.is_stock', 1)
|
|
|
- ->whereBetween('gs.addtime', [$start_date, $end_date])
|
|
|
+ ->whereBetween('wgs.addtime', [$start_date, $end_date])
|
|
|
->order('wgs.addtime', 'desc')
|
|
|
->cursor();
|
|
|
|
|
@@ -218,7 +218,7 @@ class NowReportHandle extends Command
|
|
|
wtd.addtime '退货单创建时间',
|
|
|
wb.company '公司名称',
|
|
|
thCode '退货单号',
|
|
|
- if(wtd。th_type=1,'售前','售后') '退货类型',
|
|
|
+ if(wtd.th_type=1,'售前','售后') '退货类型',
|
|
|
'已完成' as '流程进度',
|
|
|
wtd.apply_id '业务部门',
|
|
|
wtd.apply_name '业务人员',
|