cost adjus promotion_price all the same

This commit is contained in:
qianhy
2023-04-04 16:05:04 +08:00
committed by lccsw
parent 049c06ff37
commit d047b43a16
+4 -2
View File
@@ -40,9 +40,11 @@ class Items_cost_model extends HD_Model
//【促销成本合计】(销售佣金+其他)
$promotion_price = $promotion_json['sale_price'] + $promotion_json['other'];
#if ($biz_type == 3 && $business_row && $business_row['proxy_type'] == 1){ # 23-4-04: 不用区分是否票折
if ($biz_type == 3){
# 三个土豆: 代理店:【促销成本合计】=(销售佣金+其他);那非代理店,怎么计算?
# 0fun:都一样,默认是0; 可以手工填写
/*if ($biz_type == 3){
$promotion_price = $promotion_json['other'];
}
}*/
//【整车采购成本】(采购成本-厂家补贴)
$car_buy_price = $item_row['buy_price'] - $promotion_json['factory_price'];
//【整车采购毛利】(销售收入合计 - 整车采购成本 - 促销成本合计 - 选装金额 -选装工时费)