Sfoglia il codice sorgente

fix: 统计-锁库用量字段取值更改

lanjianrong 4 anni fa
parent
commit
e8518fff91
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      src/pages/Statistic/Software/Usage/index.jsx

+ 3 - 1
src/pages/Statistic/Software/Usage/index.jsx

@@ -246,7 +246,9 @@ const Usage = () => {
             <>
               <Table.Summary.Row>
                 <Table.Summary.Cell className="text-center">小计</Table.Summary.Cell>
-                <Table.Summary.Cell className="text-center">{state.create}</Table.Summary.Cell>
+                <Table.Summary.Cell className="text-center">
+                  {state.sum?.createCount ? state.sum?.createCount + state.sum?.receiveCount : '-'}
+                </Table.Summary.Cell>
                 <Table.Summary.Cell className="text-center">
                   {state.sum?.receiveCount}
                 </Table.Summary.Cell>