ソースを参照

库存过期优化

wyh 1 年間 前
コミット
514918c2de
共有1 個のファイルを変更した18 個の追加14 個の削除を含む
  1. 18 14
      itdmWeb/src/views/module-iTDM/inventory/ItdmSampleExpireRealList.vue

+ 18 - 14
itdmWeb/src/views/module-iTDM/inventory/ItdmSampleExpireRealList.vue

@@ -27,7 +27,7 @@
     <!-- 操作按钮区域 -->
     <div class="table-operator">
 <!--      <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>-->
-      <a-button type="primary" icon="download" @click="handleExportXls('样品过期审核通过表')">导出</a-button>
+      <!-- <a-button type="primary" icon="download" @click="handleExportXls('样品过期审核通过表')">导出</a-button> -->
       <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
 <!--        <a-button type="primary" icon="import">导入</a-button>-->
       </a-upload>
@@ -43,10 +43,10 @@
 
     <!-- table区域-begin -->
     <div>
-      <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
+      <!-- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
         <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
         <a style="margin-left: 24px" @click="onClearSelected">清空</a>
-      </div>
+      </div> -->
 
       <a-table
         ref="table"
@@ -58,7 +58,6 @@
         :dataSource="dataSource"
         :pagination="ipagination"
         :loading="loading"
-        :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
         class="j-table-force-nowrap"
         @change="handleTableChange">
 
@@ -126,16 +125,16 @@
         description: '样品过期审核通过表管理页面',
         // 表头
         columns: [
-          {
-            title: '#',
-            dataIndex: '',
-            key:'rowIndex',
-            width:60,
-            align:"center",
-            customRender:function (t,r,index) {
-              return parseInt(index)+1;
-            }
-          },
+          // {
+          //   title: '#',
+          //   dataIndex: '',
+          //   key:'rowIndex',
+          //   width:60,
+          //   align:"center",
+          //   customRender:function (t,r,index) {
+          //     return parseInt(index)+1;
+          //   }
+          // },
           // {
           //   title:'样品过期申请表id',
           //   align:"center",
@@ -220,4 +219,9 @@
 </script>
 <style scoped>
   @import '~@assets/less/common.less';
+  ::v-deep .ant-card-body{
+    padding-top: 0px !important;
+    padding-left: 10px !important;
+    padding-right: 10px !important;
+  }
 </style>