lvhao 4 часов назад
Родитель
Сommit
d27e5837c0
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      core/CoreApp/controllers/Fullorder.php

+ 5 - 0
core/CoreApp/controllers/Fullorder.php

@@ -1981,6 +1981,11 @@ class Fullorder extends Start_Controller {
 			// $post['fpdata'] = str_replace(array("\r", "\n"), "", $post['fpdata']);
 			// $ud['fpdata'] = str_replace(" ", "", $ud['fpdata']); // 去除所有空格
 			// $ud['fpdata'] = str_replace(array("\r", "\n"), "", $ud['fpdata']);
+
+			if($ud['estimaterate'] == 1){
+				$post['budget'] = $ud['shouldmoney'];
+			}
+
 			if($ud['state'] == 216 && $post['whlabel'] != $ud['whlabel'])
 			{
 			    echo json_encode(array('msg'=>'商品信息需要找梦体修改','success'=>false));exit;