明树Git Lab

Commit 437598fa authored by zfp1's avatar zfp1

update

parent 3cc69fde
......@@ -109,7 +109,7 @@ async function queryMatApprInfo(req, res, next) {
let inout = await DB.AgrMatInOut.find({approval: req.body._id}).sort({_id: 1}).lean().exec();
console.log(inout, "=")
approval.materials = inout || [];
return approval;
res.sendData(approval);
} catch (error) {
next(error)
}
......
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 to comment