Kaynağa Gözat

页面布局更改

jbb 2 yıl önce
ebeveyn
işleme
1d6e48b227

+ 21 - 4
src/views/advance-packingList/adPaList-clothes.vue

@@ -143,7 +143,7 @@
         :row-key="record => record.id"
         :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
         @change="handleTableChange"
-        :scroll="{ x: 1500 , y: 500}"
+        :scroll="{ x: 1500 , y: 600}"
       >
         <!-- 推送状态 -->
         <span slot="pushStatesSlot" slot-scope="text, record" :title="record.memo">
@@ -261,7 +261,7 @@
           </a-dropdown>
         </span>
       </a-table>
-       <span style="position: absolute;bottom: 9%;">共勾选{{selectedNumber}}条数</span>
+       <span style="position: absolute;bottom: 4%;">共勾选{{selectedNumber}}条数</span>
     </a-card>
 
     <!-- 抽屉 -->
@@ -479,7 +479,7 @@ export default {
         {
           title: '推送状态',
           dataIndex: 'pushStatus',
-          width: 80,
+          width: 100,
           scopedSlots: { customRender: 'pushStatesSlot' },
           fixed: 'right',
           className: 'replacecolor'
@@ -488,7 +488,7 @@ export default {
         {
           title: '单据状态',
           dataIndex: 'status',
-          width: 80,
+          width: 100,
           scopedSlots: { customRender: 'statusSlot' },
           fixed: 'right',
           className: 'replacecolor'
@@ -1007,4 +1007,21 @@ export default {
 // /deep/ th.replacecolor {
 //   background-color: #ccc;
 // }
+/deep/ .ant-table-tbody .ant-table-row td{
+    padding-top: 8px;
+    padding-bottom: 8px;
+}
+/deep/.ant-card-body{
+padding-top: 10px !important;
+padding-bottom: 0px !important;
+}
+/deep/.table-operator .ant-btn{
+  margin: 0 8px 3px 0;
+}
+/deep/.table-page-search-wrapper .ant-form-inline .ant-form-item{
+  margin-bottom: 10px;
+}
+/deep/.table-page-search-wrapper .table-page-search-submitButtons{
+ margin-bottom: 10px;
+}
 </style>

+ 18 - 2
src/views/book/book-list.vue

@@ -91,7 +91,7 @@
         :columns="bookListColumns"
         :data-source="bookListData"
         :loading="loading"
-        :scroll="{x: 1500 , y: 500 }"
+        :scroll="{x: 1500 , y: 600 }"
         :pagination="pagination"
         :row-key="record => record.id"
         :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
@@ -557,7 +557,23 @@ export default {
 /deep/ .ant-table-tbody {
   text-align: center;
 }
-
+/deep/ .ant-table-tbody .ant-table-row td{
+    padding-top: 8px;
+    padding-bottom: 8px;
+}
+/deep/.ant-card-body{
+padding-top: 10px !important;
+padding-bottom: 0px !important;
+}
+/deep/.table-operator .ant-btn{
+  margin: 0 8px 3px 0;
+}
+/deep/.table-page-search-wrapper .ant-form-inline .ant-form-item{
+  margin-bottom: 10px;
+}
+/deep/.table-page-search-wrapper .table-page-search-submitButtons{
+ margin-bottom: 10px;
+}
 // /deep/ th.replacecolor {
 //   background-color: #ccc;
 // }

+ 22 - 5
src/views/packing-list/clothes-list.vue

@@ -127,7 +127,7 @@
         :row-key="record => record.id"
         :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
         @change="handleTableChange"
-        :scroll="{ x: 1500, y: 500 }"
+        :scroll="{ x: 1500, y: 600 }"
       >
         <!-- 集装箱号 输入框-->
         <!-- <a-form-model
@@ -229,7 +229,7 @@
           </a-dropdown>
         </span>
       </a-table>
-       <span style="position: absolute;bottom: 9%;">共勾选{{selectedNumber}}条数</span>
+       <span style="position: absolute;bottom: 4%;">共勾选{{selectedNumber}}条数</span>
     </a-card>
 
     <!-- 子表 -->
@@ -483,9 +483,9 @@ export default {
           className: 'replacecolor'
         },
         {
-          title: '是否云工厂推送',
+          title: '云工厂推送',
           dataIndex: 'whetherCloudFactoryPush ',
-          width: 90,
+          width: 110,
           fixed: 'right',
           scopedSlots: { customRender: 'whetherCloudFactoryPush' },
           className: 'replacecolor'
@@ -494,7 +494,7 @@ export default {
         {
           title: '单据状态',
           dataIndex: 'status',
-          width: 80,
+          width: 100,
           fixed: 'right',
           scopedSlots: { customRender: 'stateSlot' },
           className: 'replacecolor'
@@ -939,4 +939,21 @@ export default {
 // /deep/ th.replacecolor {
 //   background-color: #ccc;
 // }
+/deep/ .ant-table-tbody .ant-table-row td{
+    padding-top: 8px;
+    padding-bottom: 8px;
+}
+/deep/.ant-card-body{
+padding-top: 10px !important;
+padding-bottom: 0px !important;
+}
+/deep/.table-operator .ant-btn{
+  margin: 0 8px 3px 0;
+}
+/deep/.table-page-search-wrapper .ant-form-inline .ant-form-item{
+  margin-bottom: 10px;
+}
+/deep/.table-page-search-wrapper .table-page-search-submitButtons{
+ margin-bottom: 10px;
+}
 </style>

+ 21 - 4
src/views/packing-list/fabric-list.vue

@@ -77,7 +77,7 @@
         :columns="fabricListColumns"
         :data-source="fabricListData"
         :loading="loading"
-        :scroll="{ x: 1500 , y: 500 }"
+        :scroll="{ x: 1500 , y: 600 }"
         :pagination="pagination"
         :row-key="record => record.id"
         :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
@@ -144,7 +144,7 @@
           </a-dropdown>
         </span>
       </a-table>
-       <span style="position: absolute;bottom: 9%;">共勾选{{selectedNumber}}条数</span>
+       <span style="position: absolute;bottom: 4%;">共勾选{{selectedNumber}}条数</span>
     </a-card>
 
     <!-- 抽屉 -->
@@ -271,9 +271,9 @@ export default {
           className: 'replacecolor'
         },
         {
-          title: '是否云工厂推送',
+          title: '云工厂推送',
           dataIndex: 'whetherCloudFactoryPush ',
-          width: 90,
+          width: 110,
           fixed: 'right',
           scopedSlots: { customRender: 'whetherCloudFactoryPush' },
           className: 'replacecolor'
@@ -719,4 +719,21 @@ export default {
 // /deep/ th.replacecolor {
 //   background-color: #ccc;
 // }
+/deep/ .ant-table-tbody .ant-table-row td{
+    padding-top: 8px;
+    padding-bottom: 8px;
+}
+/deep/.ant-card-body{
+padding-top: 10px !important;
+padding-bottom: 0px !important;
+}
+/deep/.table-operator .ant-btn{
+  margin: 0 8px 3px 0;
+}
+/deep/.table-page-search-wrapper .ant-form-inline .ant-form-item{
+  margin-bottom: 10px;
+}
+/deep/.table-page-search-wrapper .table-page-search-submitButtons{
+ margin-bottom: 10px;
+}
 </style>

+ 18 - 1
src/views/pre-book/preBookList.vue

@@ -85,7 +85,7 @@
         :loading="loading"
         :pagination="pagination"
         @change="handleTableChange"
-        :scroll="{ x: 1500,y: 500 }"
+        :scroll="{ x: 1500,y: 600 }"
       >
 
         <!-- 单据状态 -->
@@ -475,4 +475,21 @@ export default {
 // /deep/ th.replacecolor {
 //   background-color: #ccc;
 // }
+/deep/ .ant-table-tbody .ant-table-row td{
+    padding-top: 8px;
+    padding-bottom: 8px;
+}
+/deep/.ant-card-body{
+padding-top: 10px !important;
+padding-bottom: 0px !important;
+}
+/deep/.table-operator .ant-btn{
+  margin: 0 8px 3px 0;
+}
+/deep/.table-page-search-wrapper .ant-form-inline .ant-form-item{
+  margin-bottom: 10px;
+}
+/deep/.table-page-search-wrapper .table-page-search-submitButtons{
+ margin-bottom: 10px;
+}
 </style>

+ 18 - 1
src/views/shipment-details/shipmentList.vue

@@ -146,7 +146,7 @@
         :data-source="shipmentListData"
         :loading="loading"
         :pagination="false"
-        :scroll="{ x: 1500 , y: 500}"
+        :scroll="{ x: 1500 , y: 600}"
         :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
         @change="handleTableChange"
       >
@@ -1026,4 +1026,21 @@ export default {
 // /deep/ .ant-form-item {
 //   // margin-bottom: 0 !important;
 // }
+/deep/ .ant-table-tbody .ant-table-row td{
+    padding-top: 8px;
+    padding-bottom: 8px;
+}
+/deep/.ant-card-body{
+padding-top: 10px !important;
+padding-bottom: 0px !important;
+}
+/deep/.table-operator .ant-btn{
+  margin: 0 8px 3px 0;
+}
+/deep/.table-page-search-wrapper .ant-form-inline .ant-form-item{
+  margin-bottom: 10px;
+}
+/deep/.table-page-search-wrapper .table-page-search-submitButtons{
+ margin-bottom: 10px;
+}
 </style>