|
|
@@ -43,9 +43,9 @@ class JuShuiTanService {
|
|
|
// 保温加收价格
|
|
|
$getPackSpecsFee=self::getPackSpecsFee($sku,$item['shopId'], $item['disInnerOrderGoodsViewList'][0]['shopSkuId'],$item['receiverState']);
|
|
|
$pack_specs=strval($getPackSpecsFee['surcharge_money']);
|
|
|
- $other_price=(string)$other_price;
|
|
|
- $other_price=strval($other_price);
|
|
|
- $other_price=bcadd($other_price,$pack_specs, 2);
|
|
|
+ // $other_price=(string)$other_price;
|
|
|
+ // $other_price=strval($other_price);
|
|
|
+ // $other_price=bcadd($other_price,$pack_specs, 2);
|
|
|
|
|
|
//获取包装箱
|
|
|
$box = $customerSpec::getBoxId($shops->customer_id, $specs->variety_id, $specs->spec_id);
|
|
|
@@ -89,7 +89,9 @@ class JuShuiTanService {
|
|
|
'region' => $item['receiverState'].' '.$item['receiverCity'],
|
|
|
'other_price' => $other_price,
|
|
|
'ship_date' => substr($item['deliveryDate'], 0, 10),
|
|
|
- 'incubator' => $getPackSpecsFee['pack_specs_type']
|
|
|
+ 'incubator' => $getPackSpecsFee['pack_specs_type'],
|
|
|
+ 'insulation_money' => $getPackSpecsFee['surcharge_money'],
|
|
|
+ 'labor_cost_money' => $getPackSpecsFee['data']['labor_cost_money']
|
|
|
];
|
|
|
}
|
|
|
}else{
|
|
|
@@ -125,9 +127,9 @@ class JuShuiTanService {
|
|
|
// 保温加收价格
|
|
|
$getPackSpecsFee=self::getPackSpecsFee($sku,$shop_id, $sku_id,$item['province']);
|
|
|
$pack_specs=strval($getPackSpecsFee['surcharge_money']);
|
|
|
- $other_price=(string)$other_price;
|
|
|
- $other_price=strval($other_price);
|
|
|
- $other_price=bcadd($other_price,$pack_specs, 2);
|
|
|
+ // $other_price=(string)$other_price;
|
|
|
+ // $other_price=strval($other_price);
|
|
|
+ // $other_price=bcadd($other_price,$pack_specs, 2);
|
|
|
//获取包装箱
|
|
|
$box = $customerSpec::getBoxId($shops->customer_id, (int)$variety_id, (int)$spec_id);
|
|
|
// $shopDelivery::create([
|
|
|
@@ -173,7 +175,9 @@ class JuShuiTanService {
|
|
|
'region' => $item['province'].' '.$item['city'],
|
|
|
'other_price' => $other_price,
|
|
|
'ship_date' => substr($item['consign_time'], 0, 10),
|
|
|
- 'incubator' => $getPackSpecsFee['pack_specs_type']
|
|
|
+ 'incubator' => $getPackSpecsFee['pack_specs_type'],
|
|
|
+ 'insulation_money' => $getPackSpecsFee['surcharge_money'],
|
|
|
+ 'labor_cost_money' => $getPackSpecsFee['data']['labor_cost_money']
|
|
|
|
|
|
|
|
|
|