|
@@ -902,6 +902,14 @@ class Purchin extends Base
|
|
|
$sto = ["order_code"=>$incode,"status"=>0,"action_remark"=>'',"action_type"=>"create"];
|
|
|
ActionLog::logAdd($this->post['token'],$sto,"RKTHD",0,$data);
|
|
|
|
|
|
+ //维护台账记录
|
|
|
+ Db::name('standing_book')
|
|
|
+ ->where('wsm_in_code', $incode)
|
|
|
+ ->update([
|
|
|
+ 'cgdReturnCode' => $returnCode,
|
|
|
+ 'updatetime' => date('Y-m-d H:i:s'),
|
|
|
+ ]);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
Db::commit();
|