소스 검색

样式修改

lilei 3 년 전
부모
커밋
ff3766b978

+ 8 - 7
src/views/financialManagement/financialCollection/list.vue

@@ -110,9 +110,9 @@
         </a-form>
       </div>
       <!-- 总计 -->
-      <a-alert type="info" showIcon style="margin-bottom:15px">
+      <!-- <a-alert type="info" showIcon style="margin-bottom:15px">
         <div slot="message">合计:<strong>{{ total }}</strong>条</div>
-      </a-alert>
+      </a-alert> -->
       <!-- 列表 -->
       <s-table
         class="sTable"
@@ -175,7 +175,6 @@ export default {
         dealerCitySn: undefined,
         dealerCountySn: undefined
       },
-      tableHeight: 0,
       disabled: false, //  查询、重置按钮是否可操作
       auditDate: [
         moment(getDate.getThreeMonthDays().starttime, 'YYYY-MM-DD'),
@@ -200,9 +199,6 @@ export default {
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {
         this.disabled = true
-        if (this.tableHeight == 0) {
-          this.tableHeight = window.innerHeight - 380
-        }
         return salesReceiptList(Object.assign(parameter, this.queryParam)).then(res => {
           const data = res.data
           const no = (data.pageNo - 1) * data.pageSize
@@ -220,6 +216,11 @@ export default {
       addrDistrictList: [] //  区下拉
     }
   },
+  computed: {
+    tableHeight () {
+      return window.innerHeight - (this.advanced ? 440 : 330)
+    }
+  },
   methods: {
     //  审核时间  change
     dateAuditChange (date) {
@@ -333,7 +334,7 @@ export default {
 <style lang="less">
   .financialCollectionList-wrap{
     .sTable{
-      margin-top: 20px;
+      margin-top: 10px;
     }
 	.active{
 		color: #ed1c24;

+ 1 - 1
src/views/financialManagement/returnConfirmation/list.vue

@@ -214,7 +214,7 @@ export default {
 <style lang="less">
   .returnConfirmationList-wrap{
     .sTable{
-      margin-top: 20px;
+      margin-top: 10px;
     }
 	.active{
 		color: #ed1c24;

+ 1 - 1
src/views/financialManagement/warehousingConfirmation/list.vue

@@ -121,7 +121,7 @@ export default {
       loadData: parameter => {
         this.disabled = true
         if (this.tableHeight == 0) {
-          this.tableHeight = window.innerHeight - 380
+          this.tableHeight = window.innerHeight - 370
         }
         return stockPutList(Object.assign(parameter, this.queryParam, { confirm: true })).then(res => {
           const data = res.data

+ 4 - 0
src/views/purchasingManagement/bulkWarehousingOrder/edit.vue

@@ -179,6 +179,10 @@ export default {
   .bulkWarehousingOrderEdit-wrap{
     .bulkWarehousingOrderEdit-cont{
       margin-bottom: 10px;
+      .table-operator{
+        border: 0;
+        padding-top: 0;
+      }
     }
   }
 </style>

+ 2 - 4
src/views/purchasingManagement/bulkWarehousingOrder/list.vue

@@ -123,7 +123,7 @@ export default {
       loadData: parameter => {
         this.disabled = true
         if (this.tableHeight == 0) {
-          this.tableHeight = window.innerHeight - 440
+          this.tableHeight = window.innerHeight - 380
         }
         return sparePartsList(Object.assign(parameter, this.queryParam)).then(res => {
           const data = res.data
@@ -256,8 +256,6 @@ export default {
 </script>
 <style lang="less">
   .bulkWarehousingOrderList-wrap{
-    .sTable{
-      margin-top: 15px;
-    }
+
   }
 </style>