Commit 7694d6ea by EDZ

交付往来产品类型条件查询修改

parent 0a972d97
...@@ -30,6 +30,10 @@ class DeliverybillCtl extends CtlBase { ...@@ -30,6 +30,10 @@ class DeliverybillCtl extends CtlBase {
} }
delete pobj.search.dateType delete pobj.search.dateType
} }
if (pobj.search && pobj.search.businessType) {
pobj.search.product_code=pobj.search.businessType
delete pobj.search.businessType
}
const rs = await this.service.findAndCountAll(pobj); const rs = await this.service.findAndCountAll(pobj);
let rarr = []; let rarr = [];
......
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