|
@@ -1482,7 +1482,7 @@ class Payment extends Base
|
|
|
*/
|
|
|
public function invStatus(){
|
|
|
$param = $this->request->param(["hpNo"=>"","status"=>"","remark"=>"","ItemRemark"=>[]],"post","trim");
|
|
|
- $valid = Validate::rule(["hpNo|回票申请编号"=>"require|max:255","status"=>"require|number|in:1,2,3,4,6,8,13"]);
|
|
|
+ $valid = Validate::rule(["hpNo|回票申请编号"=>"require|max:255","status"=>"require|number|in:1,2,3,4,6,7,8,13"]);
|
|
|
if(!$valid->check($param))$this->error($valid->getError());
|
|
|
$info = PayInvoice::where(["hpNo"=>$param['hpNo'],"is_del"=>0])->findOrEmpty();
|
|
|
if ($info->isEmpty())$this->error("未找到回票申请信息");
|