Commit 9f6d5b59 by liangjianmin

fix(approve): update approval status filter to include rejected orders

- Modify status filter logic to include rejected orders (status -1) in completed tab
- Change statusVal from '2' to '2,-1' when viewing completed approvals
- Ensures rejected orders are displayed alongside approved orders in the done tab
parent 45536e53
Showing with 1 additions and 1 deletions
......@@ -138,7 +138,7 @@
*/
getData() {
var page = this.currentTab === 0 ? this.pendingPage : this.donePage;
var statusVal = this.currentTab === 0 ? '0,1' : '2';
var statusVal = this.currentTab === 0 ? '0,1' : '2,-1';
var params = {
approval_status: statusVal,
page,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment