소스 검색

收货单 添加paypal

lvhao 3 달 전
부모
커밋
fda5ce026f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      core/CoreApp/controllers/Returngoods.php

+ 2 - 1
core/CoreApp/controllers/Returngoods.php

@@ -1641,7 +1641,8 @@ class Returngoods extends Start_Controller {
 			$post['express'] = $this->input->post('express',true);//快递公司
 			$post['express'] = $this->input->post('express',true);//快递公司
 			$post['printtype'] = $this->input->post('printtype',true);//打印类型
 			$post['printtype'] = $this->input->post('printtype',true);//打印类型
 			$post['quantity'] = $this->input->post('quantity',true);//数量
 			$post['quantity'] = $this->input->post('quantity',true);//数量
-			$post['paypal'] = $this->input->post('paypal',true);//支付号
+            $paypal = $this->input->post('paypal',true);
+			$post['paypal'] = empty($paypal)?$post['orderinfo']:$paypal;//支付号
 			$post['guarantee'] = $this->input->post('guarantee',true);//卖家保障
 			$post['guarantee'] = $this->input->post('guarantee',true);//卖家保障
 			$post['msg'] = $this->input->post('msg',true);//发送留言类型
 			$post['msg'] = $this->input->post('msg',true);//发送留言类型
 			$post['ioss'] = $this->input->post('ioss',true);
 			$post['ioss'] = $this->input->post('ioss',true);