wugg hace 7 meses
padre
commit
61cdb523d0
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. 5 2
      app/admin/controller/Consult.php

+ 5 - 2
app/admin/controller/Consult.php

@@ -576,6 +576,10 @@ class Consult extends Base
 				                        $value['infoNo']=$innew;
 				                        $value['bidNo']=makeNo("BD");
 				                        $value['spuCode']=makeNo("SKU");
+				                        $value['tax_status']=0;
+				                        $value['out_tax_id'] =0;
+				                        $value['out_tax'] ="";
+				                        $value["remark"]="";
 				                        $value['status'] =0;
 				                        $value['updatetime'] =date("Y-m-d H:i:s");
 				                        $in = Db::name("consult_bids")->insert($value);
@@ -587,6 +591,7 @@ class Consult extends Base
 				                            "action_type" => "create"//新建create,编辑edit,更改状态status
 				                        ], "FKD", 1, $this->post);
 				                    }
+
 				                }
 				}
 
@@ -1891,9 +1896,7 @@ class Consult extends Base
         $info['supplierNo'] =$bidinfos['supplierNo'];
         $user= \app\admin\common\User::getIns();
         $supplier_temp =$user->handle("getCodeAndName",["code"=>$info['supplierNo']]);
-//        if($supplier_temp['code']!=0 || empty($supplier_temp['data']) ) throw new Exception('该供应商不存在');
 		$supplier=$supplier_temp['data']??[];
-//        $supplier = Db::name("supplier")->where(["code"=>$info['supplierNo']])->find();
         $info['supplier_name'] = $supplier[$info['supplierNo']]??"";
         $info['pay_way'] =$bidinfos['pay_way'];
         $info['tax'] =$bidinfos['tax'];