|
@@ -409,6 +409,7 @@ class PurchaseOrderClass extends BaseClass
|
|
|
//总运费/总公斤数,计算每公斤的运费
|
|
//总运费/总公斤数,计算每公斤的运费
|
|
|
$avgKgWeight = bcdiv($totalFreight, $totalWeight, 2);
|
|
$avgKgWeight = bcdiv($totalFreight, $totalWeight, 2);
|
|
|
$data['avgKgWeight'] = $avgKgWeight;
|
|
$data['avgKgWeight'] = $avgKgWeight;
|
|
|
|
|
+ noticeUtil::push("{$avgKgWeight} {$totalFreight} {$totalWeight}", '15280215347');
|
|
|
|
|
|
|
|
$data['cgStyle'] = dict::getDict('cgStyle', 'ghs');
|
|
$data['cgStyle'] = dict::getDict('cgStyle', 'ghs');
|
|
|
$order = self::add($data, true);
|
|
$order = self::add($data, true);
|