yu.jie 4 years ago
parent
commit
c294842f6d

+ 2 - 2
src/views/report/inventory-report/list/category/index.vue

@@ -44,12 +44,12 @@ export default defineComponent({
         initData(() => {
             const { getInitTime, getInitType } = handleInitTypeAndTime();
             // 获取列表数据
-            queryTable({ cycletype: getInitType(), cycletime: getInitTime() }, { sumfields: '2' });
+            queryTable({ cycletype: getInitType(), cycletime: getInitTime() }, { sumfields: '1,2' });
             // 注册表头信息 过滤
             registerColumn('table_pcweb_warehouse_category_report', []);
         });
         function update(value: TypeAndTime) {
-            queryTable(value, { sumfields: '2' });
+            queryTable(value, { sumfields: '1,2' });
         }
         // 查询
         function search(value: any) {

+ 2 - 2
src/views/report/inventory-report/list/warehouse/index.vue

@@ -44,12 +44,12 @@ export default defineComponent({
         initData(() => {
             const { getInitTime, getInitType } = handleInitTypeAndTime();
             // 获取列表数据
-            queryTable({ cycletype: getInitType(), cycletime: getInitTime() }, { sumfields: '4' });
+            queryTable({ cycletype: getInitType(), cycletime: getInitTime() }, { sumfields: '1,2,4' });
             // 注册表头信息 过滤
             registerColumn('table_pcweb_warehouse_report', []);
         });
         function update(value: TypeAndTime) {
-            queryTable(value, { sumfields: '4' });
+            queryTable(value, { sumfields: '1,2,4' });
         }
         // 查询
         function search(value: any) {