ERP字段

This commit is contained in:
2024-12-04 14:30:06 +08:00
parent 5eca489b1c
commit 85fd4c3e01

View File

@@ -47,7 +47,9 @@ class ErpController extends Controller
'po.is_sync_erp' => 0,
])->andWhere([
'in','po.status',[1,2,3,6,7]
])->andWhere(['BETWEEN', 'po.created_at', $startDate, $endDate])->joinWith('approvedPrescription')->with(['orderItems','store'])->asArray()->all();
])->andWhere(['BETWEEN', 'po.created_at', $startDate, $endDate])
->joinWith('approvedPrescription')
->with(['orderItems','store', 'prescription'])->asArray()->all();
//解析成erp所需参数订单详情是否需要改动 - 线上订单的展示)
$erpData = [];
$ids = [];