|
|
|
|
@ -563,9 +563,14 @@ class Tulanduo
|
|
|
|
|
// echo json_encode($grd_apart_info);exit;
|
|
|
|
|
$request_info = $this->ci->Group_model->get_plan_request($vas->GRI_SN);
|
|
|
|
|
$big_order_index = 0;
|
|
|
|
|
$expect_order_cnt = count($grd_apart_info['com'])+intval(!empty($grd_apart_info['big_pvt']))+intval(!empty($grd_apart_info['pvt']));
|
|
|
|
|
foreach ($grd_apart_info as $group_key => $grd_part) {
|
|
|
|
|
$big_order_index = $this->tour_apart_order_exec($group_key, $vas, $request_info, null, $grd_part, $big_order_index);
|
|
|
|
|
}
|
|
|
|
|
if ($big_order_index === $expect_order_cnt) {
|
|
|
|
|
/** VendorArrangeState VAS_IsReceive */
|
|
|
|
|
$this->ci->Group_model->set_plan_received($vas->VAS_SN);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
|