Commit 19becc32 by 王昆

Merge branch 'xgg-admin' of gitlab.gongsibao.com:jiangyong/zhichan into xgg-admin

parents 990a76da 50b043a3
......@@ -64,7 +64,7 @@ class ManagerCtl extends CtlBase {
}
// 数据简报
// 数据简报 (本月交易数据)
async statTransData(params) {
if(!params.current_date){
let nowTime =new Date();
......@@ -96,7 +96,7 @@ class ManagerCtl extends CtlBase {
}
}
//交付商统计
//交付商统计 (本月交付商业务概览)
async statDeliverData(params) {
if(!params.current_date){
let nowTime =new Date();
......
......@@ -208,7 +208,7 @@ class OrderService extends ServiceBase {
await this.pushapiSve.push(options);
}
// 数据简报
// 数据简报(本月交易数据)
async statTransData(params) {
if (!params.current_date) {
return system.getResult(null, `参数错误 当前时间不能为空`);
......@@ -239,7 +239,13 @@ class OrderService extends ServiceBase {
return system.getResult(null,`参数错误 当前时间不能为空`);
}
try {
return await this.callms("order", "statDeliverData", params);
let res = await this.callms("order", "statDeliverData", params);
if(res.status==0 && res.data && res.data.length>0){
for(let item of res.data){
item.serivce_price=system.f2y(item.serivce_price);
}
}
return res;
} catch (error) {
console.log(error);
return system.getResult(null,`系统错误 错误信息 ${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