|
@@ -283,7 +283,7 @@ function __construct(){
|
|
|
$post['source'] = 2;//订单类型
|
|
|
$post['type'] = 1;//发货仓库
|
|
|
$post['capital'] = 3;//资金支付状况,全部付款
|
|
|
- $numbernew = $shop['shortname'].'-'.substr(date('ymd',substr($data['create_time'],0,10)-$sjc),1);
|
|
|
+ $numbernew = $shop['shortname'].'-'.date('ymd',substr($data['create_time'],0,10)-$sjc);
|
|
|
$numberwb = (substr(strval($num+1000),1,3));
|
|
|
if($numbernew == 'TT-QQS-40807')
|
|
|
{
|
|
@@ -294,7 +294,7 @@ function __construct(){
|
|
|
// if($tmp_time == '20250114'){
|
|
|
// $numberwb = $numberwb+7;
|
|
|
// }
|
|
|
- $post['number'] = $shop['shortname'].'-'.substr(date('ymd',substr($data['create_time'],0,10)-$sjc),1).'-'.$numberwb;//编号
|
|
|
+ $post['number'] = $shop['shortname'].'-'.date('ymd',substr($data['create_time'],0,10)-$sjc).'-'.$numberwb;//编号
|
|
|
|
|
|
$post['orderinfo'] = $data['id'];//订单号
|
|
|
$post['insurance'] = 0;//运输保险费用
|