修改假运单配送
This commit is contained in:
@@ -627,7 +627,7 @@ func (c *PurchaseHandler) SelfDeliverDelivered(order *model.GoodsOrder, userName
|
||||
waybills, _ := dao.GetWaybills(db, order.VendorOrderID, nil)
|
||||
if len(waybills) == model.NO {
|
||||
store, _ := dao.GetStoreDetail(db, jxutils.GetSaleStoreIDFromOrder(order), order.VendorID, order.VendorOrgCode)
|
||||
riderInfo.CourierName = "老板"
|
||||
riderInfo.CourierName = "老板1"
|
||||
riderInfo.CourierPhone = store.Tel1
|
||||
riderInfo.ThirdCarrierOrderId = order.VendorOrderID
|
||||
} else {
|
||||
@@ -641,7 +641,7 @@ func (c *PurchaseHandler) SelfDeliverDelivered(order *model.GoodsOrder, userName
|
||||
}
|
||||
}
|
||||
if riderInfo.CourierName == "" || riderInfo.CourierPhone == "" {
|
||||
riderInfo.CourierName = "老板"
|
||||
riderInfo.CourierName = "老板2"
|
||||
riderInfo.CourierPhone = "18048531223"
|
||||
}
|
||||
if riderInfo.ThirdCarrierOrderId == "" {
|
||||
|
||||
@@ -428,14 +428,15 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
|
||||
if storeSku.Upc != "" {
|
||||
skus[0]["upc"] = storeSku.Upc
|
||||
}
|
||||
skus[0]["ladder_box_num"] = storeSku.LadderBoxNum
|
||||
boxPirce := 0
|
||||
if storeSku.MtLadderBoxPrice != 0 {
|
||||
boxPirce = storeSku.MtLadderBoxPrice
|
||||
} else {
|
||||
boxPirce = storeSku.LadderBoxPrice
|
||||
}
|
||||
skus[0]["ladder_box_price"] = jxutils.IntPrice2Standard(int64(boxPirce))
|
||||
// 暂时取消打包费
|
||||
//skus[0]["ladder_box_num"] = storeSku.LadderBoxNum
|
||||
//boxPirce := 0
|
||||
//if storeSku.MtLadderBoxPrice != 0 {
|
||||
// boxPirce = storeSku.MtLadderBoxPrice
|
||||
//} else {
|
||||
// boxPirce = storeSku.LadderBoxPrice
|
||||
//}
|
||||
//skus[0]["ladder_box_price"] = jxutils.IntPrice2Standard(int64(boxPirce))
|
||||
if foodData["tag_id"] != nil {
|
||||
skus[0]["weight"] = storeSku.Weight // weight字段仅限服饰鞋帽、美妆、日用品、母婴、生鲜果蔬、生活超市下的便利店/超市门店品类的商家使用
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user