|
@@ -334,6 +334,7 @@ class NowReportHandle extends Command
|
|
|
->leftJoin("warehouse_info wwi","wwi.wsm_code = wpo.wsm_code")
|
|
|
->leftJoin("supplier ws","ws.code=wpo.supplierNo")
|
|
|
->where('wpi.status',"in", [4,6])
|
|
|
+ ->where('wpo.order_type',"=",1)
|
|
|
->whereBetween('wpi.addtime', [$start, $end])
|
|
|
->field(" wpo.companyNo '业务公司',
|
|
|
bkcode '备库单号',
|