Pārlūkot izejas kodu

人工添加的

lvhao 2 nedēļas atpakaļ
vecāks
revīzija
e484cbfa55

+ 1 - 1
core/CoreApp/controllers/Customer.php

@@ -1783,7 +1783,7 @@ class Customer extends Start_Controller {
 				$ddpost['type'] = 1;//发货仓库
 				$ddpost['capital'] = 3;//资金支付状况,全部付款
 				$num = $this->fullorder->find_count('gtime = "'.date('Ymd',$dtime).'" and shop = 19');
-				$ddpost['number'] = $shop['shortname'].'-'.substr(date('ymd',$dtime),1).'-'.(substr(strval($num+1+1000),1,3));//编号
+				$ddpost['number'] = $shop['shortname'].'-'.date('ymd',$dtime).'-'.(substr(strval($num+1+1000),1,3));//编号
 				$ddpost['orderinfo'] =  preg_replace('/[^0-9]/', '', $value['0']);//订单号
 				$d = $this->fullorder->get_orderinfo($ddpost['orderinfo']);
 				if(isset($d['id']))

+ 1 - 1
core/CoreApp/controllers/Customeramz.php

@@ -1049,7 +1049,7 @@ class customeramz extends Start_Controller {
 			$orderinfo = $this->input->post('orderinfo',true);
 			$post['shop'] = $sp['id'];
 			$post['user'] = $sp['shopuser'];
-			$post['number'] = $sp['shortname'].'-'.substr(date('ymd',time()),1).'-'.(substr(strval($num+1+1000),1,3));//编号 
+			$post['number'] = $sp['shortname'].'-'.date('ymd',time()).'-'.(substr(strval($num+1+1000),1,3));//编号 
 			if($orderinfo != "")
 			{
 				$ordefin = $this->fullorderamz->get_orderinfo($orderinfo);

+ 1 - 1
core/CoreApp/controllers/Customersmt.php

@@ -529,7 +529,7 @@ class Customersmt extends Start_Controller {
 			$post['shop'] = $sp['id'];
 			$post['user'] = $sp['shopuser'];
 			$nut = time();
-			$nma = substr(date('ymd',$nut),1);
+			$nma = date('ymd',$nut);
 			$nmb = substr(strval($num+1+1000),1,3);
 			$post['number'] = $sp['shortname'].'-'.$nma.'-'.$nmb;//编号
 			$post['numberpx'] = date('ymd',$nut)*10000+$nmb;//按编号排序

+ 1 - 1
core/CoreApp/controllers/Customertt.php

@@ -1050,7 +1050,7 @@ class customertt extends Start_Controller {
 			$orderinfo = $this->input->post('orderinfo',true);
 			$post['shop'] = $sp['id'];
 			$post['user'] = $sp['shopuser'];
-			$post['number'] = $sp['shortname'].'-'.substr(date('ymd',time()),1).'-'.(substr(strval($num+1+1000),1,3));//编号 
+			$post['number'] = $sp['shortname'].'-'.date('ymd',time()).'-'.(substr(strval($num+1+1000),1,3));//编号 
 			if($orderinfo != "")
 			{
 				$ordefin = $this->fullordertt->get_orderinfo($orderinfo);