|
@@ -1614,6 +1614,8 @@ class Consult extends Base
|
|
$info->out_tax_id=$params['out_tax_id'];
|
|
$info->out_tax_id=$params['out_tax_id'];
|
|
$info->out_tax=$params['out_tax'];
|
|
$info->out_tax=$params['out_tax'];
|
|
$info->remark=$params['remark'];
|
|
$info->remark=$params['remark'];
|
|
|
|
+ $info->tax_exam_uid=$this->uid;
|
|
|
|
+ $info->tax_exam_uname=$this->uname;
|
|
$save=$info->save();
|
|
$save=$info->save();
|
|
if($save){
|
|
if($save){
|
|
ActionLog::logAdd(['id' => $this->uid, 'nickname' => $this->uname], [
|
|
ActionLog::logAdd(['id' => $this->uid, 'nickname' => $this->uname], [
|
|
@@ -1657,7 +1659,9 @@ class Consult extends Base
|
|
"id"=>$bids[$v]['id'],
|
|
"id"=>$bids[$v]['id'],
|
|
"tax_status"=>1,
|
|
"tax_status"=>1,
|
|
"out_tax_id"=>$bids[$v]['tax_id'],
|
|
"out_tax_id"=>$bids[$v]['tax_id'],
|
|
- "out_tax"=>$bids[$v]['tax']
|
|
|
|
|
|
+ "out_tax"=>$bids[$v]['tax'],
|
|
|
|
+ "tax_exam_uid"=>$this->uid,
|
|
|
|
+ 'tax_exam_uname'=>$this->uname
|
|
];
|
|
];
|
|
}
|
|
}
|
|
try{
|
|
try{
|
|
@@ -2034,7 +2038,7 @@ class Consult extends Base
|
|
}
|
|
}
|
|
$is_own = isset($this->post['is_own']) ? intval($this->post['is_own']) : "0";
|
|
$is_own = isset($this->post['is_own']) ? intval($this->post['is_own']) : "0";
|
|
if($is_own==1){
|
|
if($is_own==1){
|
|
- $rm= $this->uid;//isset($apply_id["data"]['id']) ? $apply_id["data"]['id'] : "";
|
|
|
|
|
|
+ $rm= $this->uid; //isset($apply_id["data"]['id']) ? $apply_id["data"]['id'] : "";
|
|
$where[]=['a.createrid',"=",$rm];
|
|
$where[]=['a.createrid',"=",$rm];
|
|
}
|
|
}
|
|
$status = isset($this->post['status']) && $this->post['status'] !== "" ? intval($this->post['status']) : "";
|
|
$status = isset($this->post['status']) && $this->post['status'] !== "" ? intval($this->post['status']) : "";
|
|
@@ -2085,6 +2089,7 @@ class Consult extends Base
|
|
$value['supplierName'] = isset($supplier[$value['supplierNo']])?$supplier[$value['supplierNo']]['name']:"";
|
|
$value['supplierName'] = isset($supplier[$value['supplierNo']])?$supplier[$value['supplierNo']]['name']:"";
|
|
$value['supplier_legaler_type'] = isset($supplier[$value['supplierNo']])?$supplier[$value['supplierNo']]['legaler_type']:"";
|
|
$value['supplier_legaler_type'] = isset($supplier[$value['supplierNo']])?$supplier[$value['supplierNo']]['legaler_type']:"";
|
|
$value['company_legaler_type'] = isset($company[$value['companyNo']])?$company[$value['companyNo']]:'';
|
|
$value['company_legaler_type'] = isset($company[$value['companyNo']])?$company[$value['companyNo']]:'';
|
|
|
|
+ $value['platform_name'] = \app\admin\model\Platform::where("id",$value['platform_code'])->value("platform_name","");
|
|
if($value['brand_id']!=0){
|
|
if($value['brand_id']!=0){
|
|
$brand=Db::name("brand")->where(["id"=>$value['brand_id']])->find();
|
|
$brand=Db::name("brand")->where(["id"=>$value['brand_id']])->find();
|
|
$value["brand_name"]=isset($brand['brand_name'])?$brand['brand_name']:"";
|
|
$value["brand_name"]=isset($brand['brand_name'])?$brand['brand_name']:"";
|