|
@@ -290,7 +290,23 @@ class Model_apiyyv1 extends Lin_Model
|
|
|
$res = $this->sendReq($url,$header,json_encode($list));
|
|
|
return array($res,$list);
|
|
|
}
|
|
|
+ /**
|
|
|
+ * 查询生产订单状态
|
|
|
+ */
|
|
|
+ public function cxScdStatus($doc_no,$token){
|
|
|
+
|
|
|
+
|
|
|
|
|
|
+ $list["SqlString"] = "select top 2 docno,DocState,* from mo_mo where docno = '".$doc_no."'";
|
|
|
+ $url = '/U9C/webapi/QueryCommon/QueryInfoBySql';
|
|
|
+ $url = $this->base_url.$url;
|
|
|
+ $header[] = "Content-Type: application/json";
|
|
|
+ $header[] = "Token: ".$token;
|
|
|
+ $res = $this->sendReq($url,$header,json_encode($list));
|
|
|
+ return array($res,$list);
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
/**
|
|
|
* 标准出货单提交并审核
|
|
|
*/
|