huangbin 4 lat temu
rodzic
commit
c21407188e

+ 1 - 1
src/common/setup/table/clolumn.ts

@@ -43,7 +43,7 @@ export function getTableColumns() {
             if (columntitle === '序号') {
                 item.render = (text: any, record: any, index: number) => `${index + 1}`
             }
-            if (columnwidth) {
+            if (columnwidth && columnwidth !== '0') {
                 item.width = +columnwidth
             } else {
                 item.width = 120 // 默认120

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

@@ -46,7 +46,7 @@ export default defineComponent({
             // 获取列表数据
             queryTable({ cycletype: getInitType(), cycletime: getInitTime() }, { sumfields: '4' });
             // 注册表头信息 过滤
-            registerColumn('table_pcweb_warehouse_category_report', []);
+            registerColumn('table_pcweb_warehouse_report', []);
         });
         function update(value: TypeAndTime) {
             queryTable(value, { sumfields: '4' });