|
@@ -567,7 +567,7 @@ class Purchin extends BaseController
|
|
|
Db::startTrans();
|
|
|
try{
|
|
|
|
|
|
- $info['status'] =3;
|
|
|
+ $info['status'] =5;
|
|
|
$info['is_th'] =$return_num>0 ?1:0;
|
|
|
$info['updatetime'] = date("Y-m-d H:i:s");
|
|
|
$up= Db::name("purchease_in")->save($info);
|
|
@@ -650,7 +650,7 @@ class Purchin extends BaseController
|
|
|
$process=["order_code"=>$info['wsm_in_code'],"order_id"=>$return['id'],"order_status"=>1,"order_type"=>'RKTHD'];
|
|
|
ProcessOrder::AddProcess($this->post['token'],$process);
|
|
|
$ark=$info['status'];
|
|
|
- $info['status']=5;
|
|
|
+ $info['status']=6;
|
|
|
$info['updatetime']=date("Y-m-d H:i:s");
|
|
|
$sa=Db::name("purchease_in")->save($info);
|
|
|
if($sa){
|