|
@ -107,11 +107,11 @@ function createCommerceCheckList(path, business, client, title = "商务审批") |
|
|
"title=客户已收票&isTop=true", |
|
|
"title=客户已收票&isTop=true", |
|
|
(_, q) => q.filters.some((o) => o.column === "state" && o.value === 3) && q.filters.some((o) => o.column === "invoiceState" && o.value === 1) |
|
|
(_, q) => q.filters.some((o) => o.column === "state" && o.value === 3) && q.filters.some((o) => o.column === "invoiceState" && o.value === 1) |
|
|
), |
|
|
), |
|
|
createButton( |
|
|
// createButton(
|
|
|
"bao-fei", |
|
|
// "bao-fei",
|
|
|
"title=报废&isTop=true", |
|
|
// "title=报废&isTop=true",
|
|
|
(_, q) => q.filters.some((o) => o.column === "state" && (o.value === 3 || o.value === 4)) && q.filters.some((o) => o.column === "invoiceState" && o.value === 1) |
|
|
// (_, q) => q.filters.some((o) => o.column === "state" && (o.value === 3 || o.value === 4)) && q.filters.some((o) => o.column === "invoiceState" && o.value === 1)
|
|
|
), |
|
|
// ),
|
|
|
], |
|
|
], |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|