Commit 3aa29590 by 岑成威

fix(tabWorkOrder/createOrder): update default order type to 1

1 parent 705576b6
......@@ -86,7 +86,7 @@ BaseStrategy.prototype.commonHandle = function (res) {
// 1. 兼容初始化字段默认值
if (res.djOrderType === undefined || res.djOrderType === null) {
res.djOrderType =
res.orderType !== undefined && res.orderType !== null ? res.orderType : 0
res.orderType !== undefined && res.orderType !== null ? res.orderType : 1
}
if (res.discountType === undefined || res.discountType === null)
res.discountType = 3
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!