|
|
@ -363,7 +363,7 @@ export default [ |
|
|
|
createButton( |
|
|
|
"import", |
|
|
|
"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 === 2) && q.filters.some((o) => o.column === "invoiceState" && o.value === 1) |
|
|
|
), |
|
|
|
createButton( |
|
|
|
"approval", |
|
|
@ -377,7 +377,11 @@ export default [ |
|
|
|
"title=退回&isTop=true", |
|
|
|
(_, q) => q.filters.some((o) => o.column === "state" && o.value === 2) && q.filters.some((o) => o.column === "invoiceState" && o.value === 1) |
|
|
|
), |
|
|
|
createButton("sync", "title=同步到QAD&isTop=true"), |
|
|
|
createButton( |
|
|
|
"sync", |
|
|
|
"title=同步到QAD&isTop=true", |
|
|
|
(_, q) => q.filters.some((o) => o.column === "state" && o.value === 4) && q.filters.some((o) => o.column === "invoiceState" && o.value === 1) |
|
|
|
), |
|
|
|
], |
|
|
|
}, |
|
|
|
], |
|
|
|