浏览代码

Merge branch 'main' of https://git.2fi-solutions.com/wayne.lee/tsms

tags/Baseline_180220205_Frontend
MSI\2Fi 10 个月前
父节点
当前提交
115c1505d9
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      src/components/InvoiceSearch/InvoiceSearchWrapper.tsx

+ 3
- 3
src/components/InvoiceSearch/InvoiceSearchWrapper.tsx 查看文件

@@ -27,10 +27,10 @@ const InvoiceSearchWrapper: React.FC & SubComponents = async () => {
let filteredInvoice = invoices
if (teamId) {
filteredInvoice = invoices.filter(i => i.teamId === teamId)
if (userStaff.isTeamLead == false) {
filteredInvoice = invoices
}
}
// else {
// filteredInvoice = []
// }

const convertedInvoices = filteredInvoice.map((invoice)=>{
return{


正在加载...
取消
保存