huangbin 4 роки тому
батько
коміт
c7f949323d

+ 7 - 6
src/views/business/exposure/list/spot/index.vue

@@ -5,7 +5,8 @@
     <filterCustomTable @search="updateColumn">
     </filterCustomTable>
     <a-table :columns="columns"
-             class="topTable"
+             class="srcollYTable"
+             :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }"
              :expandedRowKeys="expandedRowKeys"
              :customRow="Rowclick"
              :pagination="false"
@@ -27,10 +28,10 @@
                :data-source="detailTableList"
                :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
       </a-table>
-        <!-- 类型 -->
-        <template #logtype="{ record }">
-            <span>{{ getLogType(record.logtype) }}</span>
-        </template>
+      <!-- 类型 -->
+      <template #logtype="{ record }">
+        <span>{{ getLogType(record.logtype) }}</span>
+      </template>
     </Description>
   </div>
 </template>
@@ -46,7 +47,7 @@ import { queryResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
 import Description from '@/common/components/description/index.vue';
 import { TabList } from '@/common/components/description/interface';
 import { EnumRouterName } from '@/common/constants/enumRouterName';
-import {getLogType} from "@/common/constants/enumsName";
+import { getLogType } from '@/common/constants/enumsName';
 
 export default defineComponent({
     name: EnumRouterName.exposure_spot,

+ 6 - 5
src/views/information/custom/list/checkpending/index.vue

@@ -7,7 +7,8 @@
     </filterCustomTable>
     <contextMenu :contextMenuList="forDataBtn">
       <a-table :columns="columns"
-               class="topTable"
+               class="srcollYTable"
+               :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }"
                :pagination="false"
                :expandedRowKeys="expandedRowKeys"
                :customRow="Rowclick"
@@ -20,10 +21,10 @@
         <template #userinfotype="{ text }">
           <a>{{ text === 2 ? '企业' : '个人' }}</a>
         </template>
-          <!-- 客户名称 -->
-          <template #customername="{ record }">
-              <a>{{ record.userinfotype === 2 ? record.customername :  record.username }}</a>
-          </template>
+        <!-- 客户名称 -->
+        <template #customername="{ record }">
+          <a>{{ record.userinfotype === 2 ? record.customername :  record.username }}</a>
+        </template>
 
         <template #status="{ text }">
           <a>{{ getStatusName(text) }}</a>

+ 2 - 1
src/views/information/custom/list/normal-use/index.vue

@@ -7,7 +7,8 @@
     </filterCustomTable>
     <contextMenu :contextMenuList="forDataBtn">
       <a-table :columns="columns"
-               class="topTable"
+               class="srcollYTable"
+               :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }"
                :pagination="false"
                :expandedRowKeys="expandedRowKeys"
                :customRow="Rowclick"

+ 7 - 6
src/views/information/custom/list/stop-use/index.vue

@@ -7,7 +7,8 @@
     </filterCustomTable>
     <contextMenu :contextMenuList="forDataBtn">
       <a-table :columns="columns"
-               class="topTable"
+               class="srcollYTable"
+               :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }"
                :expandedRowKeys="expandedRowKeys"
                :customRow="Rowclick"
                :pagination="false"
@@ -18,12 +19,12 @@
           <BtnList :btnList="forDataBtn" />
         </template>
         <template #userinfotype="{ text }">
-            <a>{{ text === 2 ? '企业' : '个人' }}</a>
+          <a>{{ text === 2 ? '企业' : '个人' }}</a>
+        </template>
+        <!-- 客户名称 -->
+        <template #customername="{ record }">
+          <a>{{ record.userinfotype === 2 ? record.customername :  record.username }}</a>
         </template>
-          <!-- 客户名称 -->
-          <template #customername="{ record }">
-              <a>{{ record.userinfotype === 2 ? record.customername :  record.username }}</a>
-          </template>
         <template #status="{ text }">
           <a>{{ getStatusName(text) }}</a>
         </template>

+ 7 - 6
src/views/information/custom/list/unsubmit/index.vue

@@ -7,7 +7,8 @@
     </filterCustomTable>
     <contextMenu :contextMenuList="forDataBtn">
       <a-table :columns="columns"
-               class="topTable"
+               class="srcollYTable"
+               :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }"
                :pagination="false"
                :expandedRowKeys="expandedRowKeys"
                :customRow="Rowclick"
@@ -18,12 +19,12 @@
           <BtnList :btnList="forDataBtn" />
         </template>
         <template #userinfotype="{ text }">
-            <a>{{ text === 2 ? '企业' : '个人' }}</a>
+          <a>{{ text === 2 ? '企业' : '个人' }}</a>
+        </template>
+        <!-- 客户名称 -->
+        <template #customername="{ record }">
+          <a>{{ record.userinfotype === 2 ? record.customername :  record.username }}</a>
         </template>
-          <!-- 客户名称 -->
-          <template #customername="{ record }">
-              <a>{{ record.userinfotype === 2 ? record.customername :  record.username }}</a>
-          </template>
         <template #status="{ text }">
           <a>{{ getStatusName(text) }}</a>
         </template>

+ 2 - 1
src/views/information/warehouse-info/list/normal-use/index.vue

@@ -7,7 +7,8 @@
     </filterCustomTable>
     <contextMenu :contextMenuList="forDataBtn">
       <a-table :columns="columns"
-               class="topTable"
+               class="srcollYTable"
+               :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }"
                :pagination="false"
                :expandedRowKeys="expandedRowKeys"
                :customRow="Rowclick"

+ 1 - 0
src/views/information/warehouse-info/list/stop-use/index.vue

@@ -11,6 +11,7 @@
                :expandedRowKeys="expandedRowKeys"
                :customRow="Rowclick"
                rowKey="key"
+               :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }"
                :data-source="tableList">
         <!-- 额外的展开行 -->
         <template #expandedRowRender="{  }">

+ 1 - 0
src/views/manage/business-review/list/settlement/index.vue

@@ -10,6 +10,7 @@
              :expandedRowKeys="expandedRowKeys"
              :customRow="Rowclick"
              rowKey="key"
+             :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }"
              :data-source="tableList">
       <!-- 额外的展开行 -->
       <template #expandedRowRender="{ record }">

+ 2 - 1
src/views/manage/business-review/list/someprice/index.vue

@@ -5,7 +5,8 @@
     <Filter @search="updateColumn">
     </Filter>
     <a-table :columns="columns"
-             class="topTable"
+             class="srcollYTable"
+             :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }"
              :pagination="false"
              :expandedRowKeys="expandedRowKeys"
              :customRow="Rowclick"

+ 2 - 1
src/views/manage/finance-review/list/funds/index.vue

@@ -5,7 +5,8 @@
     <Filter @search="updateColumn">
     </Filter>
     <a-table :columns="columns"
-             class="topTable"
+             class="srcollYTable"
+             :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }"
              :pagination="false"
              :expandedRowKeys="expandedRowKeys"
              :customRow="Rowclick"

+ 1 - 0
src/views/manage/finance-review/list/invoice/index.vue

@@ -10,6 +10,7 @@
              :expandedRowKeys="expandedRowKeys"
              :customRow="Rowclick"
              rowKey="key"
+             :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }"
              :data-source="tableList">
       <!-- 额外的展开行 -->
       <template #expandedRowRender="{ record }">

+ 22 - 21
src/views/manage/inventory-review/list/checkin/index.vue

@@ -6,7 +6,8 @@
             :inOrOut="'in'">
     </Filter>
     <a-table :columns="columns"
-             class="topTable"
+             class="srcollYTable"
+             :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }"
              :pagination="false"
              :expandedRowKeys="expandedRowKeys"
              :customRow="Rowclick"
@@ -18,26 +19,26 @@
                  :record="record"
                  @click="openComponent" />
       </template>
-        <!-- 状态 -->
-        <template #applystatus="{ text }">
-            <a>{{ getApplyStatusName(text) }}</a>
-        </template>
-        <!-- 现货合同类型 -->
-        <template #contracttype="{ text }">
-            <a>{{ getContractTypeName(text) }}</a>
-        </template>
-        <!-- 点价类型 -->
-        <template #pricetype="{ text }">
-            <a>{{ getPriceTypeName(text) }}</a>
-        </template>
-        <!-- 出入库类型 -->
-        <template #inouttype="{ text }">
-            <a>{{ InOutTypeName(text) }}</a>
-        </template>
-        <!-- 对手方 -->
-        <template #buynicknameOrsellusername="{ record }">
-            <a>{{ handleName(record) }}</a>
-        </template>
+      <!-- 状态 -->
+      <template #applystatus="{ text }">
+        <a>{{ getApplyStatusName(text) }}</a>
+      </template>
+      <!-- 现货合同类型 -->
+      <template #contracttype="{ text }">
+        <a>{{ getContractTypeName(text) }}</a>
+      </template>
+      <!-- 点价类型 -->
+      <template #pricetype="{ text }">
+        <a>{{ getPriceTypeName(text) }}</a>
+      </template>
+      <!-- 出入库类型 -->
+      <template #inouttype="{ text }">
+        <a>{{ InOutTypeName(text) }}</a>
+      </template>
+      <!-- 对手方 -->
+      <template #buynicknameOrsellusername="{ record }">
+        <a>{{ handleName(record) }}</a>
+      </template>
     </a-table>
     <!-- 右键 -->
     <contextMenu :contextMenu="contextMenu"

+ 1 - 0
src/views/manage/inventory-review/list/checkout/index.vue

@@ -11,6 +11,7 @@
              :expandedRowKeys="expandedRowKeys"
              :customRow="Rowclick"
              rowKey="key"
+             :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }"
              :data-source="tableList">
       <!-- 额外的展开行 -->
       <template #expandedRowRender="{ record }">

+ 3 - 8
src/views/search/inventory/list/inventory_applyrecord/index.vue

@@ -7,7 +7,8 @@
     </Filter>
     <contextMenu :contextMenuList="secondBtn">
       <a-table :columns="columns"
-               class="topTable"
+               class="srcollYTable"
+               :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }"
                :pagination="false"
                rowKey="key"
                :expandedRowKeys="expandedRowKeys"
@@ -50,13 +51,7 @@ import { defineComponent, initData, getTableColumns, getTableEvent, getBtnList,
 import Filter from '../../components/filterTable/index.vue';
 import Add from '../../components/add/index.vue';
 
-import {
-    getApplyStatusName,
-    getBizTypeName,
-    getContractStatusName,
-    getContractTypeName,
-    getPriceTypeName
-} from '@/common/constants/enumsName';
+import { getApplyStatusName, getBizTypeName, getContractStatusName, getContractTypeName, getPriceTypeName } from '@/common/constants/enumsName';
 import { Ermcp3AreaStockApply, queryTableList } from './setup';
 
 export default defineComponent({