Commit 30347aba by 王昆

gsb

parent 7d01cbf8
...@@ -790,11 +790,11 @@ class OorderService extends ServiceBase { ...@@ -790,11 +790,11 @@ class OorderService extends ServiceBase {
//格式化订单详细 //格式化订单详细
await this.aliFormateOrderInfoReg(list,ids); await this.aliFormateOrderInfoReg(list,ids);
//格式化订单交付商详细 //格式化订单交付商详细
await this.aliFormateOrderDeliver(list,ids); await this.formateDeliver(list);
//格式化个体户信息 //格式化个体户信息
await this.aliFormateOrderBusinessmen(list,ids); await this.aliFormateOrderBusinessmen(list,ids);
//格式化状态 //格式化状态
// await this.aliFormateOrderStatus(statausArray); await this.formateStatus(list);
for(let element of list){ for(let element of list){
this.handleDate(element, ["created_at", "assign_time"], null, -8); this.handleDate(element, ["created_at", "assign_time"], null, -8);
...@@ -833,7 +833,7 @@ class OorderService extends ServiceBase { ...@@ -833,7 +833,7 @@ class OorderService extends ServiceBase {
async aliFormateOrderDeliver(list,ids){ async aliFormateOrderDeliver(list,ids){
let orderDeliverMap = await this.oorderdeliverDao.getByOrderIds(ids); let orderDeliverMap = await this.oorderdeliverDao.getByOrderIds(ids);
for(let item of list){ for(let item of list){
item.orderDeliver = orderDeliverMap[item.id] || {}; item.odeliver = orderDeliverMap[item.id] || {};
} }
} }
......
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