Commit e2c0972a by 杨树贤

bug

parent 08119904
......@@ -131,7 +131,7 @@ class SupplierReceiptApiController extends Controller
$receipt = SupplierReceiptModel::where('receipt_id', $receiptId)->first()->toArray();
$model = new SupplierReceiptModel();
$supplierModel = new SupplierChannelModel();
$supplier = $supplierModel->where('supplier_id', $receipt['supplier_id']);
$supplier = $supplierModel->where('supplier_id', $receipt['supplier_id'])->first()->toArray();
$supplierId = $supplier['supplier_id'];
//修改供应商为审核状态
$supplierModel->where('supplier_id', $supplierId)->update([
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment