<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                ###訂單的簽收 **位置:** Common\Lib\FlowLib.class.php **參數:** * @param $id int 訂單ID * @param $type int 訂單類型 * @return array 簽收提示信息 **調用:** * $flow = new FlowLib(); * $order_arr = $flow->take($id, $type); **完整代碼:** ~~~ /** * 收貨單簽收 * @param $id int 訂單ID * @param $type int 訂單類型 * @return array 簽收提示信息 * whz 2018-02-06 * */ public function take($id, $type) { M()->startTrans(); //1、查詢收貨的門店(簽收需要改變商品位置) $store_id = M('wms_flow') ->field('receive_id') ->where(array('id' => $id)) ->find(); if (count($store_id) == 0) { return array('success'=>false, 'code'=>201, 'msg'=>'訂單信息查詢失敗!'); } //2、更改訂單狀態為:6、已簽收 $res = M('wms_flow') ->where(array('id' => $id)) ->save(array('status' => 6)); if ($res === false) { M()->rollback(); return array('success'=>false, 'code'=>201, 'msg'=>'收貨單狀態改變失敗!'); } //3、簽收成功記錄日志 $add_log['description'] = '訂單簽收成功!'; $add_log['order_id'] = $id; $add_log['type'] = $type; $logadd = $this->addLog($add_log); if (!$logadd) { M()->rollback(); return array('success' => false,'code' => 201 ,'msg' => '日志記錄添加失敗!'); } M()->commit(); return array('success' => true,'code' => 200 ,'msg' => '簽收成功!'); } ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看