Browse Source

线上测试 u9手动提交小单的信息

lvhao 5 months ago
parent
commit
85fdd86b63
1 changed files with 14 additions and 0 deletions
  1. 14 0
      core/CoreApp/models/Model_logic_u9xgsd.php

+ 14 - 0
core/CoreApp/models/Model_logic_u9xgsd.php

@@ -528,6 +528,10 @@ class Model_logic_u9xgsd extends Lin_Model {
     }
     //将许昌仓的料品同步到香港仓
     public function tbXgLp($tb_info){
+
+        $this->cxLp($tb_info);
+        //先检测料品是否存在
+
         $rr = $this->apiyyv1->tbLp($tb_info,$this->getToken(130));
         
         if($rr[0]['Success']){
@@ -535,6 +539,16 @@ class Model_logic_u9xgsd extends Lin_Model {
         }else{
             return $this->logic_tools->ret_arr(-1,$rr);
         }
+    }
+    public function cxLp($tb_info){
+        $rr = $this->apiyyv1->cxLp($tb_info,$this->getToken(130));
+        echo "<pre>";
+        var_dump($rr);
+        die;
+    }
+
+    public function addLp(){
+
     }
     //根据返回的状态修改对应的值
     protected function editData($zq_u9_id,$z_qu_arr,$number,$one_type,$two_type,$apply_api,$apply_data,$ret_data){