Commit f63bd5b3 by 任晓松

update

parent 4def99f7
...@@ -2204,6 +2204,7 @@ class OrderInfoService extends ServiceBase { ...@@ -2204,6 +2204,7 @@ class OrderInfoService extends ServiceBase {
orderStatus: 2,//订单状态: 1: 待付款, 2: 已付款, 4: 待服务, 8: 已完成 orderStatus: 2,//订单状态: 1: 待付款, 2: 已付款, 4: 待服务, 8: 已完成
totalSum: order.price, //订单总额(产品价格×优惠费率×订单件数) totalSum: order.price, //订单总额(产品价格×优惠费率×订单件数)
payTotalSum: order.price, payTotalSum: order.price,
created_at:order.createdAt
} }
if (order.status == '已签收' || order.status == '服务已完成') { if (order.status == '已签收' || order.status == '服务已完成') {
orderObj['orderStatus'] = 8; orderObj['orderStatus'] = 8;
...@@ -2214,7 +2215,8 @@ class OrderInfoService extends ServiceBase { ...@@ -2214,7 +2215,8 @@ class OrderInfoService extends ServiceBase {
uapp_id: uapp_id, uapp_id: uapp_id,
sourceOrderNo: order.number, sourceOrderNo: order.number,
contactName: order.personName || "", contactName: order.personName || "",
mobile: order.personMobile mobile: order.personMobile,
created_at:order.createdAt
}; };
contactsArr.push(customerContactObj); contactsArr.push(customerContactObj);
} }
...@@ -2242,6 +2244,7 @@ class OrderInfoService extends ServiceBase { ...@@ -2242,6 +2244,7 @@ class OrderInfoService extends ServiceBase {
price: order.price,//定价 price: order.price,//定价
quantity: 1,// 订单数量(即产品的倍数,默认值为1) quantity: 1,// 订单数量(即产品的倍数,默认值为1)
opPayType: "10",// 操作付款类型:00: 创建订单, 10: 补单 opPayType: "10",// 操作付款类型:00: 创建订单, 10: 补单
created_at:order.createdAt
}; };
productsArr.push(orderProductObj); productsArr.push(orderProductObj);
} }
......
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