|
@@ -907,15 +907,15 @@ class Fullorder extends Start_Controller {
|
|
|
$post = $this->input->post(NULL, TRUE);
|
|
|
if(isset($post['id']))
|
|
|
{
|
|
|
- $dtsbjz = $this->input->post('dtsbjz',true);
|
|
|
- $ts = $this->input->post('ts',true);
|
|
|
- $dtsbjz = sprintf("%.2f",$dtsbjz);
|
|
|
- $total_sbjz = $dtsbjz*$ts;
|
|
|
- $tmp_zsbjz = $this->input->post('zsbjz',true);
|
|
|
- $tmp_zsbjz = sprintf("%.2f",$tmp_zsbjz);
|
|
|
- if($tmp_zsbjz*1 != $total_sbjz){
|
|
|
- echo json_encode(array('msg'=>'单条申报价为2为小数!','success'=>false));exit;
|
|
|
- }
|
|
|
+ // $dtsbjz = $this->input->post('dtsbjz',true);
|
|
|
+ // $ts = $this->input->post('ts',true);
|
|
|
+ // $dtsbjz = sprintf("%.2f",$dtsbjz);
|
|
|
+ // $total_sbjz = $dtsbjz*$ts;
|
|
|
+ // $tmp_zsbjz = $this->input->post('zsbjz',true);
|
|
|
+ // $tmp_zsbjz = sprintf("%.2f",$tmp_zsbjz);
|
|
|
+ // if($tmp_zsbjz*1 != $total_sbjz){
|
|
|
+ // echo json_encode(array('msg'=>'单条申报价为2为小数!','success'=>false));exit;
|
|
|
+ // }
|
|
|
$id = $this->input->post('id',true);
|
|
|
$data = $this->fullorder->read($id);
|
|
|
$post['type'] = $this->input->post('warehouse',true);
|