|
@ -101,7 +101,7 @@ function createCommerceCheckList(path, business, client, title = "商务审批") |
|
|
"title=退回", |
|
|
"title=退回", |
|
|
(_, q) => q.filters.some((o) => o.column === "state" && o.value === 1) && q.filters.some((o) => o.column === "invoiceState" && o.value === 1) |
|
|
(_, q) => q.filters.some((o) => o.column === "state" && o.value === 1) && q.filters.some((o) => o.column === "invoiceState" && o.value === 1) |
|
|
), |
|
|
), |
|
|
createButton("export-group", "title=导出发票分组&pattern=paged"), |
|
|
createButton("export-group", "title=导出发票分组&pattern=paged", (r, _) => r.invoiceState !== 2), |
|
|
createButton( |
|
|
createButton( |
|
|
"receive", |
|
|
"receive", |
|
|
"title=客户已收票&isTop=true", |
|
|
"title=客户已收票&isTop=true", |
|
@ -122,6 +122,7 @@ function createVmiOutCheckList(path, business, client, title = "寄售库库存 |
|
|
children: [ |
|
|
children: [ |
|
|
createButton("query", "title=查询&isTop=true"), |
|
|
createButton("query", "title=查询&isTop=true"), |
|
|
createButton("approval", "title=扣减审核通过&isTop=true"), |
|
|
createButton("approval", "title=扣减审核通过&isTop=true"), |
|
|
|
|
|
createButton("reject", "title=退回&isTop=true"), |
|
|
createButton("export", "title=导出&isTop=true&pattern=paged"), |
|
|
createButton("export", "title=导出&isTop=true&pattern=paged"), |
|
|
], |
|
|
], |
|
|
}; |
|
|
}; |
|
@ -372,7 +373,7 @@ export default [ |
|
|
"title=财务审核通过&isTop=true", |
|
|
"title=财务审核通过&isTop=true", |
|
|
(_, q) => q.filters.some((o) => o.column === "state" && o.value === 2) && q.filters.some((o) => o.column === "invoiceState" && o.value === 1) |
|
|
(_, q) => q.filters.some((o) => o.column === "state" && o.value === 2) && q.filters.some((o) => o.column === "invoiceState" && o.value === 1) |
|
|
), |
|
|
), |
|
|
createButton("export-group", "title=导出发票分组&pattern=paged"), |
|
|
createButton("export-group", "title=导出发票分组&pattern=paged", (r, _) => r.invoiceState !== 2), |
|
|
//createButton("approval", "title=发票重开"),
|
|
|
//createButton("approval", "title=发票重开"),
|
|
|
createButton( |
|
|
createButton( |
|
|
"reject", |
|
|
"reject", |
|
|