|
@@ -1535,10 +1535,11 @@ class Consult extends Base
|
|
|
}
|
|
|
|
|
|
public function bids_check(){
|
|
|
- $params = $this->request->param(["bidNo"=>"","status"=>"","out_tax_id"=>"","out_tax"=>"","goodCombind"=>[]],"post");
|
|
|
+ $params = $this->request->param(["bidNo"=>"","status"=>"","remark"=>"","out_tax_id"=>"","out_tax"=>"","goodCombind"=>[]],"post");
|
|
|
$valid = Validate::rule([
|
|
|
"bidNo|反馈单编号"=>"require",
|
|
|
"status|状态"=>"require|number",
|
|
|
+ "remark|备注"=>"max:255",
|
|
|
"out_tax_id|税目id"=>"requireIf:status,7|number",
|
|
|
"out_tax|税目税率"=>"requireIf:status,7",
|
|
|
"goodCombind|组合商品信息"=>"array",
|
|
@@ -1571,6 +1572,7 @@ class Consult extends Base
|
|
|
try {
|
|
|
$oldstattus=$info->status;
|
|
|
$info->status=$params['status'];
|
|
|
+ $info->remark=$params['remark'];
|
|
|
$save=$info->save();
|
|
|
if($save){
|
|
|
ActionLog::logAdd(['id' => $this->uid, 'nickname' => $this->uname], [
|