Bläddra i källkod

Merge branch 'master' of http://47.101.159.18:3000/Muchinfo/MTP2.0_WEB

huangbin 4 år sedan
förälder
incheckning
6400c797e9
27 ändrade filer med 749 tillägg och 509 borttagningar
  1. BIN
      src/assets/images/titleArrow.png
  2. BIN
      src/assets/images/titleArrow_white.png
  3. 41 31
      src/assets/styles/mixin.less
  4. 25 4
      src/assets/styles/theme.css
  5. 7 0
      src/assets/styles/variables.less
  6. 1 1
      src/common/components/drawer/index.vue
  7. 62 17
      src/common/components/filter/index.vue
  8. 2 2
      src/common/components/secondeMenu/index.vue
  9. 2 2
      src/layout/components/bottom.vue
  10. 2 2
      src/layout/components/main.vue
  11. 23 25
      src/layout/components/menu.vue
  12. 41 20
      src/layout/components/top.vue
  13. 1 1
      src/views/information/spot-contract/list/checkpending/index.vue
  14. 73 70
      src/views/information/spot-contract/list/finished/index.vue
  15. 74 71
      src/views/information/spot-contract/list/performance/index.vue
  16. 39 32
      src/views/market/spot_trade/components/buy-sell-market/components/buy/index.vue
  17. 33 30
      src/views/market/spot_trade/components/buy-sell-market/components/sell/index.vue
  18. 3 3
      src/views/market/spot_trade/components/buy-sell-market/index.vue
  19. 4 3
      src/views/market/spot_trade/components/filter/index.vue
  20. 141 0
      src/views/market/spot_trade/spot_trade_order_transaction/components/buy-sell-market/components/buy/index.vue
  21. 35 32
      src/views/market/spot_trade/spot_trade_order_transaction/components/sell-market/index.vue
  22. 33 38
      src/views/order/commodity_contract/components/commodity_contract_summary/components/commodity_contract_summary_settlement/index.vue
  23. 42 46
      src/views/order/commodity_contract/components/commodity_contract_summary/components/commodity_contract_summary_transfer/index.vue
  24. 65 70
      src/views/order/performance_information/components/components/breach_contract/index.vue
  25. 0 3
      src/views/order/pre_sale_warehouse_receipt/components/pre_sale_warehouse_receipt_order_summary/components/listed/index.vue
  26. 0 3
      src/views/order/spot_warran/components/spot_warrant_spot_details/components/listing/index.vue
  27. 0 3
      src/views/order/spot_warran/components/spot_warrant_spot_details/components/pick_up/index.vue

BIN
src/assets/images/titleArrow.png


BIN
src/assets/images/titleArrow_white.png


+ 41 - 31
src/assets/styles/mixin.less

@@ -209,7 +209,7 @@
             tr {
                 box-shadow: 0px 1px 0px 0px @m-black17;
                 th {
-                    line-height: 34px;
+                    line-height: 26px;
                     background: @m-black34;
                     padding-top: 0;
                     padding-bottom: 0;
@@ -223,12 +223,12 @@
         .ant-table-tbody {
             tr {
                 td {
-                    height: 34px;
-                    line-height: 34px;
+                    height: 30px;
+                    line-height: 30px;
                     padding: 0 8px;
                     border-right: 1px solid @m-black9;
                     border-bottom: 1px solid @m-black9;
-                    font-size: 16px;
+                    font-size: 14px;
                     color: @m-white1;
                 }
             }
@@ -267,7 +267,7 @@
         .ant-table-content {
             .ant-table-tbody {
                 .ant-table-expanded-row {
-                    width: calc(100vw - 180px);
+                    width: calc(100vw - 160px);
                 }
             }
         }
@@ -648,6 +648,7 @@
     }
 }
 .ant-form.dialogForm {
+    height: 100%;
     .ant-row.ant-form-item {
         .ant-form-item-label {
             width: 70px;
@@ -684,7 +685,7 @@
     }
     .ant-select-arrow {
         right: 8px;
-        color: @m-blue0;
+        color: @m-grey1;
     }
 }
 .inlineFormSelect.ant-select-single {
@@ -956,8 +957,8 @@
 .selectBtn.ant-btn,.operBtn.ant-btn {
     margin-left: 10px;
     width: 80px;
-    height: 30px;
-    line-height: 31px;
+    height: 28px;
+    line-height: 29px;
     text-align: center;
     background: linear-gradient(0deg, @m-grey39 0%, @m-grey40 98%);
     border: 0;
@@ -1013,7 +1014,7 @@
     margin-left: 10px;
     width: auto;
     min-width: 80px;
-    height: 30px;
+    height: 28px;
     line-height: 31px;
     text-align: center;
     background: linear-gradient(0deg, @m-blue6 0%, @m-blue7 99%);
@@ -1862,13 +1863,14 @@ input:-internal-autofill-selected {
     background-color: @m-black1;
     .buy-sell-market-title {
         width: 100%;
-        height: 60px;
+        height: 40px;
         background: @m-black1;
         display: inline-flex;
         font-size: 14px;
         position: relative;
-        line-height: 60px;
+        line-height: 40px;
         border-bottom: 1PX solid @m-blue0;
+        padding-bottom: 2px;
         div {
             align-self: center;
             align-items: center;
@@ -1877,11 +1879,11 @@ input:-internal-autofill-selected {
         }
         .backIcon {
             width: 52px;
-            line-height: 60px;
+            line-height: 40px;
         }
         .titleBtn {
-             min-width: 90px;
-            height: 40px;
+            min-width: 90px;
+            height: 32px;
             display: inline-flex;
             .name {
                 background: @m-blue12;
@@ -1890,13 +1892,13 @@ input:-internal-autofill-selected {
                 padding: 0 16px;
                 .rounded-corners(3px, 0, 0, 3px);
                  color: @m-white9;
-                 height: 40px;
-                line-height: 40px;
-                font-size: 16px;
+                 height: 32px;
+                line-height: 32px;
+                font-size: 14px;
             }
             .arrowRightIcon,.arrowLeftIcon {
                 width: 12px;
-                height: 40px;
+                height: 32px;
                 background-image: @m-arrowRight;
                 background-position: 0 0;
                 background-repeat: no-repeat;
@@ -1931,10 +1933,10 @@ input:-internal-autofill-selected {
             min-width: 80px;
             margin-left: 15px;
             .first {
-                font-size: 14px;
+                font-size: 12px;
             }
             .last {
-                font-size: 18px;
+                font-size: 16px;
                 margin-left: 10px;
             }
         }
@@ -2008,6 +2010,10 @@ input:-internal-autofill-selected {
         .btn-list {
             position: absolute;
             right: 10px;
+            .operBtn.ant-btn {
+                margin-top: 0;
+                margin-bottom: 0;
+            }
         }
     }
 }
@@ -2031,7 +2037,7 @@ input:-internal-autofill-selected {
             tr {
                 box-shadow: 0px 1px 0px 0px @m-black17;
                 th {
-                    line-height: 34px;
+                    line-height: 26px;
                     background: @m-black34;
                     padding-top: 0;
                     padding-bottom: 0;
@@ -2048,12 +2054,12 @@ input:-internal-autofill-selected {
         .ant-table-tbody {
             tr {
                 td {
-                    height: 43px;
-                    line-height: 43px;
+                    height: 30px;
+                    line-height: 30px;
                     padding: 0 8px;
                     border-right: 1px solid @m-black10;
                     border-bottom: 1px solid @m-black10;
-                    font-size: 16px;
+                    font-size: 14px;
                     color: @m-grey17;
                     white-space: nowrap;
                     text-overflow: ellipsis;
@@ -2120,18 +2126,18 @@ input:-internal-autofill-selected {
 }
 .buyHallTable,.sellHallTable {
     .ant-table-fixed-header > .ant-table-content > .ant-table-scroll > .ant-table-body {
-        min-height: calc(100vh - 470px);
+        min-height: calc(100vh - 384px);
     }
     .ant-table {
         .ant-table-tbody {
-            min-height: calc(100vh - 470px);
+            min-height: calc(100vh - 384px);
         }
     }
 }
 .noDataTable {
     .ant-table {
         .ant-table-header {
-            height: 35px;
+            // height: 35px;
             margin-bottom: 0 !important;
             overflow: hidden !important;
         }
@@ -2140,11 +2146,11 @@ input:-internal-autofill-selected {
 // 没有底部时买卖大厅表格高度
 .buyHallTableHigh,.sellHallTableHigh {
     .ant-table-fixed-header > .ant-table-content > .ant-table-scroll > .ant-table-body {
-        min-height: calc(100vh - 180px);
+        min-height: calc(100vh - 145px);
     }
     .ant-table {
         .ant-table-tbody {
-            min-height: calc(100vh - 180px);
+            min-height: calc(100vh - 145px);
         }
     }
 }
@@ -2274,8 +2280,8 @@ input:-internal-autofill-selected {
     .ant-input {
         width: 90px;
         background: transparent;
-        font-size: 16px;
-        color: @m-white9;
+        font-size: 14px;
+        color: @m-white6;
     }
     .ant-calendar-picker-icon {
         display: none;
@@ -2460,3 +2466,7 @@ input:-internal-autofill-selected {
   color: @m-white8;
 }
 
+
+.ant-select-tree-dropdown .ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
+     background: transparent !important;
+ }

+ 25 - 4
src/assets/styles/theme.css

@@ -33,8 +33,8 @@
     --m-grey32: #7a8a94;
     --m-grey33: #88a0ae;
     --m-grey34: #88A0AE;
-    --m-grey35: #343D46;
-    --m-grey36: #38444F;
+    --m-grey35: #262e35;
+    --m-grey36: #283139;
     --m-grey37: transpant;
     --m-grey38: #88a0ae;
     --m-grey39: #455773;
@@ -47,6 +47,9 @@
     --m-grey43-hover: rgba(136, 160, 174, .8);
     --m-grey44: #7A8A94;
     --m-grey44-hover: rgba(122, 138, 148, .8);
+    --m-grey45: #88A0AE;
+    --m-grey46: #252D34;
+    --m-grey47: #252D34;
     /* --m-green1: #e8ffef; */
 
     --m-black0: #242a2e;
@@ -129,6 +132,10 @@
     --m-blue29-hover: rgba(25, 55, 120, .8);
     --m-blue30: #172B56;
     --m-blue30-hover: rgba(23, 43, 86,.8);
+    --m-blue31: #26487c;
+    --m-blue31-hover: rgba(38, 72, 124, .8);
+    --m-blue32: #29538c;
+    --m-blue32-hover: rgba(41, 83, 140, .8);
 
     --body-bg: #e9eef3;
     --m-white0: #ffffff;
@@ -197,8 +204,8 @@
     --m-grey32: #7a8a94;
     --m-grey33: #88a0ae;
     --m-grey34: #88A0AE;
-    --m-grey35: #343D46;
-    --m-grey36: #38444F;
+    --m-grey35: #262e35;
+    --m-grey36: #283139;
     --m-grey37: transpant;
     --m-grey38: #88a0ae;
     --m-grey39: #455773;
@@ -211,6 +218,9 @@
     --m-grey43-hover: rgba(136, 160, 174, .8);
     --m-grey44: #7A8A94;
     --m-grey44-hover: rgba(122, 138, 148, .8);
+    --m-grey45: #88A0AE;
+    --m-grey46: #252D34;
+    --m-grey47: #252D34;
     /* --m-green1: #e8ffef; */
 
     --m-black0: #242a2e;
@@ -292,6 +302,10 @@
     --m-blue29-hover: rgba(25, 55, 120, .8);
     --m-blue30: #172B56;
     --m-blue30-hover: rgba(23, 43, 86,.8);
+    --m-blue31: #26487c;
+    --m-blue31-hover: rgba(38, 72, 124, .8);
+    --m-blue32: #29538c;
+    --m-blue32-hover: rgba(41, 83, 140, .8);
 
     --body-bg: #e9eef3;
     --m-white0: #ffffff;
@@ -373,6 +387,9 @@
     --m-grey43-hover: rgba(81, 121, 226, .8);
     --m-grey44: #718FAE;
     --m-grey44-hover: rgba(113, 143, 174, .8);
+    --m-grey45: #394753;
+    --m-grey46: #CBD7DD;
+    --m-grey47: #FFFFFF;
 
     --m-black0: #F8FBFF;
     --m-black1: #ECF2F5;
@@ -453,6 +470,10 @@
     --m-blue29-hover: rgba(81, 121, 226, .8);
     --m-blue30: #D4E0FF;
     --m-blue30-hover: rgba(212, 224, 255, .8);
+    --m-blue31: #5179E2;
+    --m-blue31-hover: rgba(81, 121, 226, .8);
+    --m-blue32: #5179E2;
+    --m-blue32-hover: rgba(81, 121, 226, .8);
 
     --body-bg: #FFFFFF;
     --m-white0: #ffffff;

+ 7 - 0
src/assets/styles/variables.less

@@ -57,6 +57,9 @@
 @m-grey43-hover: var(--m-grey43-hover);
 @m-grey44: var(--m-grey44);
 @m-grey44-hover: var(--m-grey44-hover);
+@m-grey45: var(--m-grey45);
+@m-grey46: var(--m-grey46);
+@m-grey47: var(--m-grey47);
 
 @m-black: #000000;
 @m-black0: var(--m-black0);
@@ -140,6 +143,10 @@
 @m-blue29-hover: var(--m-blue29-hover);
 @m-blue30: var(--m-blue30);
 @m-blue30-hover: var(--m-blue30-hover);
+@m-blue31: var(--m-blue31);
+@m-blue31-hover: var(--m-blue31-hover);
+@m-blue32: var(--m-blue32);
+@m-blue32-hover: var(--m-blue32-hover);
 
 @body-bg: #e9eef3;
 @m-white0: var(--m-white0);

+ 1 - 1
src/common/components/drawer/index.vue

@@ -75,7 +75,7 @@ export default defineComponent({
 .bottom {
     .position(fixed, auto, 0, -2px, auto);
     width: 586px;
-    height: 380px;
+    height: 450px;
     background: transparent;
     z-index: 10;
     .ant-drawer-content-wrapper {

+ 62 - 17
src/common/components/filter/index.vue

@@ -64,29 +64,74 @@ export default defineComponent({
 <style lang="less">
 .filter-custom-table {
     display: inline-flex;
-    padding-top: 9px;
-    padding-bottom: 6px;
+    padding-top: 5px;
+    padding-bottom: 1px;
+    .conditionSelect:first-child {
+        margin-right: 10px;
+    }
+    // /deep/.ant-select {
+    //     // margin-right: 10px;
+    //     // border: 1px solid @m-grey37;
+    //     height: 28px;
+    //     // .rounded-corners(3px);
+    //     .ant-select-selector {
+    //         height: 26px;
+    //         .ant-select-selection-search {
+    //             height: 26px;
+    //             .ant-select-selection-search-input {
+    //                 height: 26px;
+    //             }
+    //         }
+    //         // padding: 0 8px;
+    //         // background: @m-grey9;
+    //         // border: none;
+    //         // .rounded-corners(3px);
+    //         // color: @m-grey10;
+    //         // .ant-select-arrow {
+    //         //     right: 8px;
+    //         //     color: @m-grey1;
+    //         // }
+    //     }
+    //     // .ant-select-arrow {
+    //     //     color: @m-grey1;
+    //     // }
+    //     // .ant-select-selection-item {
+    //     //     color: @m-white1;
+    //     // }
+    // }
     .ant-select-single:not(.ant-select-customize-input) {
         margin-right: 10px;
-        border: 1px solid @m-grey37;
-        .rounded-corners(3px);
+        height: 28px;
+        line-height: 29px !important;
         .ant-select-selector {
-            height: 30px;
-            padding: 0 8px;
-            background: @m-grey9;
-            border: none;
+            height: 28px;
+            border-color: @m-grey46 !important;
+            background: @m-grey47;
             .rounded-corners(3px);
-            color: @m-grey10;
-            .ant-select-arrow {
-                right: 8px;
-                color: @m-grey1;
+            .ant-select-selection-item {
+                line-height: 26px;
+            }
+            .ant-select-selection-search {
+                height: 26px;
+                .ant-select-selection-search-input {
+                    height: 26px;
+                    line-height: 27px !important;
+                }
+            }
+            .ant-select-selection-placeholder {
+                line-height: 26px;
             }
         }
-        .ant-select-arrow {
-            color: @m-grey1;
-        }
-        .ant-select-selection-item {
-            color: @m-white1;
+    }
+    .allDatePicker.ant-calendar-picker {
+        height: 28px !important;
+        border: 1px solid @m-grey46 !important;
+        .ant-calendar-picker-input.ant-input {
+            height: 28px;
+            line-height: 28px;
+            &::placeholder {
+                color: @m-grey10 !important;
+            }
         }
     }
     .conditionSelect + .conditionSelect {

+ 2 - 2
src/common/components/secondeMenu/index.vue

@@ -206,8 +206,8 @@ export default defineComponent({
         }
         .ant-layout-sider-trigger {
             width: 100%;
-            height: 40px;
-            line-height: 40px;
+            height: 30px;
+            line-height: 30px;
             background: @m-black0;
         }
     }

+ 2 - 2
src/layout/components/bottom.vue

@@ -116,7 +116,7 @@ export default defineComponent({
     }
 }
 .layout-bottom-all {
-    height: 330px;
+    height: 280px;
 }
 .layout-bottom-hidden {
     height: 40px;
@@ -125,7 +125,7 @@ export default defineComponent({
     max-width: 100;
 }
 .main-some {
-    max-width: calc(100% - 180px);
+    max-width: calc(100% - 160px);
 }
 .layout-bottom {
     display: flex;

+ 2 - 2
src/layout/components/main.vue

@@ -69,7 +69,7 @@ export default defineComponent({
             line-height: 34px;
             background: linear-gradient(0deg, @m-grey35 0%, @m-grey36 100%);
             margin-left: 3px;
-            font-size: 16px;
+            font-size: 14px;
             color: @m-grey38;
             border-radius: 5px 5px 0px 0px;
             cursor: pointer;
@@ -85,7 +85,7 @@ export default defineComponent({
         .ant-menu-item-selected {
             .noBorderBottom;
             color: @m-white0;
-            background: linear-gradient(0deg, @m-blue2 0%, @m-blue0 100%);
+            background: linear-gradient(0deg, @m-blue31 0%, @m-blue32 100%);
             &:hover {
                 color: @m-white0;
             }

+ 23 - 25
src/layout/components/menu.vue

@@ -1,28 +1,26 @@
 <template>
-  <a-menu theme="dark"
-          mode="inline"
-          :class="['left-menu', isBottom ? 'left-menu_bottom' : 'left-menu_no_bottom']"
-          v-model:selectedKeys="selectedKeys"
-          v-model:openKeys="openKeys"
-          @click="menuClick">
-    <a-sub-menu v-for="item in filterMenu()"
-                :key="item.code">
-      <template #title>
-        <span>
-          <svg class="icon svg-icon"
-               aria-hidden="true">
-            <use :xlink:href="fontIcon(item.code)"></use>
-          </svg>
-          <span class="menu-item_title"
-                v-show="!collapsed">{{ item.title }}</span>
-        </span>
-      </template>
-      <a-menu-item :key="subItem.code"
-                   v-for="subItem in item.children">
-        <span>{{ subItem.title }}</span>
-      </a-menu-item>
-    </a-sub-menu>
-  </a-menu>
+    <a-menu
+        theme="dark"
+        mode="inline"
+        :class="['left-menu', isBottom ? 'left-menu_bottom' : 'left-menu_no_bottom']"
+        v-model:selectedKeys="selectedKeys"
+        v-model:openKeys="openKeys"
+        @click="menuClick"
+    >
+        <a-sub-menu v-for="item in filterMenu()" :key="item.code">
+            <template #title>
+                <span>
+                    <svg class="icon svg-icon" aria-hidden="true">
+                        <use :xlink:href="fontIcon(item.code)" />
+                    </svg>
+                    <span class="menu-item_title" v-show="!collapsed">{{ item.title }}</span>
+                </span>
+            </template>
+            <a-menu-item :key="subItem.code" v-for="subItem in item.children">
+                <span>{{ subItem.title }}</span>
+            </a-menu-item>
+        </a-sub-menu>
+    </a-menu>
 </template>
 
 <script lang="ts">
@@ -130,6 +128,6 @@ export default defineComponent({
     height: calc(100vh - 86px) !important;
 }
 .left-menu_bottom {
-    height: calc(100vh - 376px) !important;
+    height: calc(100vh - 316px) !important;
 }
 </style>

+ 41 - 20
src/layout/components/top.vue

@@ -6,7 +6,7 @@
         <a-layout class="middleLayout">
             <a-layout-sider
                 class="m-layout-left"
-                width="180"
+                width="160"
                 v-model:collapsed="collapsed"
                 @collapse="collapse"
                 collapsible
@@ -131,8 +131,8 @@ export default defineComponent({
     flex-direction: column;
     .m-layout-header {
         width: 100%;
-        height: 40px;
-        line-height: 40px;
+        height: 32px;
+        line-height: 32px;
         background: @m-grey0;
         color: @m-grey32;
         padding: 0 20px;
@@ -171,7 +171,7 @@ export default defineComponent({
                 padding-left: 10px;
                 padding-right: 16px;
                 .ant-badge {
-                    margin-top: 7px;
+                    margin-top: 4px;
                     cursor: pointer;
                     > svg {
                         font-size: 24px;
@@ -191,8 +191,8 @@ export default defineComponent({
     .middleLayout {
         flex: 1;
         width: 100%;
-        height: calc(100% - 40px);
-        max-height: calc(100% - 40px);
+        height: calc(100% - 32px);
+        max-height: calc(100% - 32px);
         background: @m-grey18;
         .inlineflex;
         border-bottom: 1px solid @m-black2;
@@ -203,30 +203,29 @@ export default defineComponent({
             }
         }
         .m-layout-left {
-            min-height: calc(100vh - 376px);
+            min-height: calc(100vh - 316px);
             background: @m-black4;
             border-right: 1px solid @m-black32;
             overflow: hidden;
             .ant-layout-sider-children {
                 ul.ant-menu.ant-menu-inline.left-menu {
-                    height: calc(100vh - 376px);
+                    height: calc(100vh - 316px);
                     overflow-y: auto;
                     li.ant-menu-submenu {
                         padding-bottom: 0;
                         .ant-menu-submenu-title {
                             color: @m-grey33;
-                            font-size: 16px;
-                            height: 60px;
-                            line-height: 60px;
+                            font-size: 14px;
+                            height: 40px;
+                            line-height: 40px;
                             margin-top: 0;
                             margin-bottom: 0;
-                            padding: 5px 0;
                             .icon {
-                                font-size: 20px;
+                                font-size: 14px;
                             }
                             .menu-item_title {
                                 display: inline-block;
-                                font-size: 16px;
+                                font-size: 14px;
                                 margin-left: 15px;
                             }
                         }
@@ -235,6 +234,9 @@ export default defineComponent({
                                 padding-left: 60px !important;
                                 margin-top: 5px;
                                 margin-bottom: 5px;
+                                height: 30px;
+                                line-height: 30px;
+                                font-size: 13px;
                             }
                         }
                     }
@@ -261,24 +263,37 @@ export default defineComponent({
             }
             .ant-layout-sider-trigger {
                 width: 100%;
-                height: 40px;
-                line-height: 40px;
+                height: 30px;
+                line-height: 30px;
                 background: @m-black0;
                 position: absolute;
             }
         }
+        .ant-layout-sider-collapsed {
+            width: 60px !important;
+            min-width: 60px !important;
+            max-width: 60px !important;
+            .ant-layout-sider-children {
+                .ant-menu-inline-collapsed {
+                    width: 60px;
+                }
+            }
+            .ant-layout-sider-trigger {
+                width: 60px !important;
+            }
+        }
         .ant-layout-content {
             overflow: hidden;
             background: @m-black31 !important;
         }
         .ant-menu-vertical {
             .ant-menu-submenu-vertical {
-                height: 60px;
-                line-height: 60px;
+                height: 50px;
+                line-height: 50px;
                 padding: 5px 0;
                 .ant-menu-submenu-title {
-                    height: 50px;
-                    line-height: 50px;
+                    height: 40px;
+                    line-height: 40px;
                     .icon {
                         font-size: 20px;
                     }
@@ -300,5 +315,11 @@ export default defineComponent({
         height: @bottomHeight;
         .inlineflex;
     }
+    .ant-menu-inline-collapsed > .ant-menu-item,
+    .ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item,
+    .ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title,
+    .ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title {
+        padding: 0 20px !important;
+    }
 }
 </style>

+ 1 - 1
src/views/information/spot-contract/list/checkpending/index.vue

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

+ 73 - 70
src/views/information/spot-contract/list/finished/index.vue

@@ -1,79 +1,82 @@
 <template>
-  <!-- 现货合同: 已完成-->
-  <div class="spot-contract-done">
-    <filterCustomTable @search="updateColumn"
-                       :loading="loading">
-      <BtnList :btnList="firstBtn"
-               @click="openComponent" />
-    </filterCustomTable>
-    <a-table :columns="columns"
-             class="topTable"
-             :pagination="false"
-             :expandedRowKeys="expandedRowKeys"
-             :customRow="Rowclick"
-             rowKey="key"
-             :data-source="tableList"
-             :scroll="{ x: 'calc(100% - 180px)', y: 'calc(100vh - 163px)' }">
-      <!-- 额外的展开行 -->
-      <!-- 额外的展开行 -->
-      <template #expandedRowRender="{ record }">
-        <BtnList :btnList="secondBtn"
-                 class="btn-list-sticky"
-                 :record="record"
-                 @click="openComponent" />
-      </template>
-      <template #biztype="{ text }">
-        <a>{{ getBizTypeName(text) }}</a>
-      </template>
+    <!-- 现货合同: 已完成-->
+    <div class="spot-contract-done">
+        <filterCustomTable @search="updateColumn" :loading="loading">
+            <BtnList :btnList="firstBtn" @click="openComponent" />
+        </filterCustomTable>
+        <a-table
+            :columns="columns"
+            class="topTable"
+            :pagination="false"
+            :expandedRowKeys="expandedRowKeys"
+            :customRow="Rowclick"
+            rowKey="key"
+            :data-source="tableList"
+            :scroll="{ x: 'calc(100% - 160px)', y: 'calc(100vh - 163px)' }"
+        >
+            <!-- 额外的展开行 -->
+            <!-- 额外的展开行 -->
+            <template #expandedRowRender="{ record }">
+                <BtnList
+                    :btnList="secondBtn"
+                    class="btn-list-sticky"
+                    :record="record"
+                    @click="openComponent"
+                />
+            </template>
+            <template #biztype="{ text }">
+                <a>{{ getBizTypeName(text) }}</a>
+            </template>
 
-      <template #pricetype="{ text }">
-        <a>{{ getPriceTypeName(text) }}</a>
-      </template>
+            <template #pricetype="{ text }">
+                <a>{{ getPriceTypeName(text) }}</a>
+            </template>
 
-      <template #contracctstatus="{ text }">
-        <a>{{ getContractStatusName(text) }}</a>
-      </template>
+            <template #contracctstatus="{ text }">
+                <a>{{ getContractStatusName(text) }}</a>
+            </template>
 
-      <template #contracttype="{ text }">
-        <a>{{ getContractTypeName(text) }}</a>
-      </template>
-      <!-- 对手方 -->
-      <template #negative="{ record }">
-        <a>{{ record.contracttype === 1 ? record.sellusername : record.buyusername }}</a>
-      </template>
-      <template #startdate="{ record }">
-        <a>{{ formatValue(formatTime(record.startdate, "d") + '--' + formatTime(record.enddate, "d")) }}</a>
-      </template>
-      <!-- 交收期 -->
-      <template #deliverystartdate="{ record }">
-        <span>{{ formatValue(formatTime(record.deliverystartdate, "d") + '--' +
-                        formatTime(record.deliveryenddate, "d")) }}</span>
-      </template>
+            <template #contracttype="{ text }">
+                <a>{{ getContractTypeName(text) }}</a>
+            </template>
+            <!-- 对手方 -->
+            <template #negative="{ record }">
+                <a>{{ record.contracttype === 1 ? record.sellusername : record.buyusername }}</a>
+            </template>
+            <template #startdate="{ record }">
+                <a>{{ formatValue(formatTime(record.startdate, "d") + '--' + formatTime(record.enddate, "d")) }}</a>
+            </template>
+            <!-- 交收期 -->
+            <template #deliverystartdate="{ record }">
+                <span>
+                    {{ formatValue(formatTime(record.deliverystartdate, "d") + '--' +
+                    formatTime(record.deliveryenddate, "d")) }}
+                </span>
+            </template>
 
-      <!-- 业务员 -->
-      <template #saleuserid="{ record }">
-        <span>{{ findManagerName(record.saleuserid) }}</span>
-      </template>
+            <!-- 业务员 -->
+            <template #saleuserid="{ record }">
+                <span>{{ findManagerName(record.saleuserid) }}</span>
+            </template>
 
-      <!-- 跟单员 -->
-      <template #meruserid="{ record }">
-        <span>{{ findManagerName(record.meruserid) }}</span>
-      </template>
-      <!-- 合同量 -->
-      <template #qty="{ text, record }">
-        <span>{{ handleEnumdic(text, record) }}</span>
-      </template>
-    </a-table>
-    <!-- 右键 -->
-    <contextMenu :contextMenu="contextMenu"
-                 @cancel="closeContext"
-                 :list="secondBtn">
-    </contextMenu>
-    <component :is="componentId"
-               v-if="componentId"
-               :selectedRow="selectedRow"
-               @cancel="closeComponent"></component>
-  </div>
+            <!-- 跟单员 -->
+            <template #meruserid="{ record }">
+                <span>{{ findManagerName(record.meruserid) }}</span>
+            </template>
+            <!-- 合同量 -->
+            <template #qty="{ text, record }">
+                <span>{{ handleEnumdic(text, record) }}</span>
+            </template>
+        </a-table>
+        <!-- 右键 -->
+        <contextMenu :contextMenu="contextMenu" @cancel="closeContext" :list="secondBtn"></contextMenu>
+        <component
+            :is="componentId"
+            v-if="componentId"
+            :selectedRow="selectedRow"
+            @cancel="closeComponent"
+        ></component>
+    </div>
 </template>
 
 <script lang="ts">

+ 74 - 71
src/views/information/spot-contract/list/performance/index.vue

@@ -1,79 +1,82 @@
 <template>
-  <!-- 现货合同: 履约中-->
-  <div class="spot-contract-performance">
-    <filterCustomTable @search="updateColumn"
-                       :loading="loading">
-      <BtnList :btnList="firstBtn"
-               @click="openComponent" />
-    </filterCustomTable>
-    <a-table :columns="columns"
-             class="topTable"
-             :pagination="false"
-             :expandedRowKeys="expandedRowKeys"
-             :customRow="Rowclick"
-             rowKey="key"
-             :data-source="tableList"
-             :scroll="{ x: 'calc(100% - 180px)', y: 'calc(100vh - 163px)' }">
-      <!-- 额外的展开行 -->
-      <!-- 额外的展开行 -->
-      <template #expandedRowRender="{ record }">
-        <BtnList :btnList="secondBtn"
-                 class="btn-list-sticky"
-                 :record="record"
-                 @click="openComponent" />
-      </template>
-      <template #biztype="{ text }">
-        <a>{{ getBizTypeName(text) }}</a>
-      </template>
+    <!-- 现货合同: 履约中-->
+    <div class="spot-contract-performance">
+        <filterCustomTable @search="updateColumn" :loading="loading">
+            <BtnList :btnList="firstBtn" @click="openComponent" />
+        </filterCustomTable>
+        <a-table
+            :columns="columns"
+            class="topTable"
+            :pagination="false"
+            :expandedRowKeys="expandedRowKeys"
+            :customRow="Rowclick"
+            rowKey="key"
+            :data-source="tableList"
+            :scroll="{ x: 'calc(100% - 160px)', y: 'calc(100vh - 163px)' }"
+        >
+            <!-- 额外的展开行 -->
+            <!-- 额外的展开行 -->
+            <template #expandedRowRender="{ record }">
+                <BtnList
+                    :btnList="secondBtn"
+                    class="btn-list-sticky"
+                    :record="record"
+                    @click="openComponent"
+                />
+            </template>
+            <template #biztype="{ text }">
+                <a>{{ getBizTypeName(text) }}</a>
+            </template>
 
-      <template #pricetype="{ text }">
-        <a>{{ getPriceTypeName(text) }}</a>
-      </template>
+            <template #pricetype="{ text }">
+                <a>{{ getPriceTypeName(text) }}</a>
+            </template>
 
-      <template #contracctstatus="{ text }">
-        <a>{{ getContractStatusName(text) }}</a>
-      </template>
+            <template #contracctstatus="{ text }">
+                <a>{{ getContractStatusName(text) }}</a>
+            </template>
 
-      <template #contracttype="{ text }">
-        <a>{{ getContractTypeName(text) }}</a>
-      </template>
-      <!-- 对手方 -->
-      <template #negative="{ record }">
-        <a>{{ record.contracttype === 1 ? record.sellusername : record.buyusername }}</a>
-      </template>
-      <!-- 点假期 -->
-      <template #startdate="{ record }">
-        <span>{{ formatValue(formatTime(record.startdate, "d") + '--' + formatTime(record.enddate, "d")) }}</span>
-      </template>
-      <!-- 交收期 -->
-      <template #deliverystartdate="{ record }">
-        <span>{{ formatValue(formatTime(record.deliverystartdate, "d") + '--' +
-                        formatTime(record.deliveryenddate, "d")) }}</span>
-      </template>
-      <!-- 业务员 -->
-      <template #saleuserid="{ record }">
-        <span>{{ findManagerName(record.saleuserid) }}</span>
-      </template>
+            <template #contracttype="{ text }">
+                <a>{{ getContractTypeName(text) }}</a>
+            </template>
+            <!-- 对手方 -->
+            <template #negative="{ record }">
+                <a>{{ record.contracttype === 1 ? record.sellusername : record.buyusername }}</a>
+            </template>
+            <!-- 点假期 -->
+            <template #startdate="{ record }">
+                <span>{{ formatValue(formatTime(record.startdate, "d") + '--' + formatTime(record.enddate, "d")) }}</span>
+            </template>
+            <!-- 交收期 -->
+            <template #deliverystartdate="{ record }">
+                <span>
+                    {{ formatValue(formatTime(record.deliverystartdate, "d") + '--' +
+                    formatTime(record.deliveryenddate, "d")) }}
+                </span>
+            </template>
+            <!-- 业务员 -->
+            <template #saleuserid="{ record }">
+                <span>{{ findManagerName(record.saleuserid) }}</span>
+            </template>
 
-      <!-- 跟单员 -->
-      <template #meruserid="{ record }">
-        <span>{{ findManagerName(record.meruserid) }}</span>
-      </template>
-      <!-- 合同量 -->
-      <template #qty="{ text, record }">
-        <span>{{ handleEnumdic(text, record) }}</span>
-      </template>
-    </a-table>
-    <!-- 右键 -->
-    <contextMenu :contextMenu="contextMenu"
-                 @cancel="closeContext"
-                 :list="secondBtn">
-    </contextMenu>
-    <component :is="componentId"
-               v-if="componentId"
-               :selectedRow="selectedRow"
-               @cancel="closeComponent"></component>
-  </div>
+            <!-- 跟单员 -->
+            <template #meruserid="{ record }">
+                <span>{{ findManagerName(record.meruserid) }}</span>
+            </template>
+            <!-- 合同量 -->
+            <template #qty="{ text, record }">
+                <span>{{ handleEnumdic(text, record) }}</span>
+            </template>
+        </a-table>
+        <!-- 右键 -->
+        <contextMenu :contextMenu="contextMenu" @cancel="closeContext" :list="secondBtn"></contextMenu>
+        <component
+            :is="componentId"
+            v-if="componentId"
+            :selectedRow="selectedRow"
+            @cancel="closeComponent"
+        ></component>
+    </div>
 </template>
 
 <script lang="ts">

+ 39 - 32
src/views/market/spot_trade/components/buy-sell-market/components/buy/index.vue

@@ -1,35 +1,41 @@
 <template>
-  <!--  现货贸易 - 买卖大厅 - 卖报价牌 -->
-  <a-table :columns="handleColumn(columns)"
-           :class="['buyHallTable', isBottom ? '' : 'buyHallTableHigh', tableList.length ? '' : 'noDataTable']"
-           :scroll="{ x: '100%', y: isBottom ? 'calc(100vh- 470px)' : 'calc(100vh - 180px)' }"
-           :pagination="false"
-           :loading="loading"
-           :expandedRowKeys="expandedRowKeys"
-           :customRow="Rowclick"
-           :expandIcon="expandIcon"
-           :expandIconAsCell="false"
-           rowKey="key"
-           :data-source="tableList">
-    <!-- ,  -->
-    <!-- 额外的展开行 -->
-    <template #expandedRowRender="{ record }">
-      <BtnList :btnList="btnList"
-               :record="record"
-               class="btn-list-sticky"
-               @click="openComponent" />
-    </template>
-    <template #username="{text, record }">
-      <span>{{record.userid + " "}}{{text}}</span>
-    </template>
-  </a-table>
-  <component :is="componentId"
-             v-if="componentId"
-             :selectedRow="selectedRow"
-             :buyOrSell="BuyOrSell.buy"
-             :enumName="enumName"
-             :parantSelectedRow="parantSelectedRow"
-             @cancel="closeComponent"></component>
+    <!--  现货贸易 - 买卖大厅 - 卖报价牌 -->
+    <a-table
+        :columns="handleColumn(columns)"
+        :class="['buyHallTable', isBottom ? '' : 'buyHallTableHigh', tableList.length ? '' : 'noDataTable']"
+        :scroll="{ x: '100%', y: isBottom ? 'calc(100vh- 470px)' : 'calc(100vh - 145px)' }"
+        :pagination="false"
+        :loading="loading"
+        :expandedRowKeys="expandedRowKeys"
+        :customRow="Rowclick"
+        :expandIcon="expandIcon"
+        :expandIconAsCell="false"
+        rowKey="key"
+        :data-source="tableList"
+    >
+        <!-- ,  -->
+        <!-- 额外的展开行 -->
+        <template #expandedRowRender="{ record }">
+            <BtnList
+                :btnList="btnList"
+                :record="record"
+                class="btn-list-sticky"
+                @click="openComponent"
+            />
+        </template>
+        <template #username="{text, record }">
+            <span>{{record.userid + " "}}{{text}}</span>
+        </template>
+    </a-table>
+    <component
+        :is="componentId"
+        v-if="componentId"
+        :selectedRow="selectedRow"
+        :buyOrSell="BuyOrSell.buy"
+        :enumName="enumName"
+        :parantSelectedRow="parantSelectedRow"
+        @cancel="closeComponent"
+    ></component>
 </template>
 
 <script lang="ts">
@@ -128,7 +134,8 @@ export default defineComponent({
 <style lang="less">
 .buy-sell-market {
     .btnDeafault.ant-btn {
-        height: 30px;
+        height: 28px;
+        line-height: 28px;
     }
 }
 </style>

+ 33 - 30
src/views/market/spot_trade/components/buy-sell-market/components/sell/index.vue

@@ -1,33 +1,35 @@
 <template>
-  <!-- 现货贸易 - 买卖大厅 - 买报价牌 -->
-  <a-table :columns="handleColumn(columns)"
-           :class="['sellHallTable', isBottom ? '' : 'sellHallTableHigh', tableList.length ? '' : 'noDataTable']"
-           :scroll="{ x: '100%', y: isBottom ? 'calc(100vh- 470px)' : 'calc(100vh - 180px)' }"
-           :pagination="false"
-           :loading="loading"
-           :expandedRowKeys="expandedRowKeys"
-           :customRow="Rowclick"
-           :expandIcon="expandIcon"
-           :expandIconAsCell="false"
-           rowKey="key"
-           :data-source="tableList">
-    <!-- 额外的展开行 -->
-    <template #expandedRowRender="{ record }">
-      <BtnList :btnList="btnList"
-               :record="record"
-               @click="openComponent" />
-    </template>
-    <template #username="{text, record }">
-      <span>{{record.userid + " " }}{{text}}</span>
-    </template>
-  </a-table>
-  <component :is="componentId"
-             v-if="componentId"
-             :selectedRow="selectedRow"
-             :enumName="enumName"
-             :buyOrSell="BuyOrSell.sell"
-             :parantSelectedRow="parantSelectedRow"
-             @cancel="closeComponent"></component>
+    <!-- 现货贸易 - 买卖大厅 - 买报价牌 -->
+    <a-table
+        :columns="handleColumn(columns)"
+        :class="['sellHallTable', isBottom ? '' : 'sellHallTableHigh', tableList.length ? '' : 'noDataTable']"
+        :scroll="{ x: '100%', y: isBottom ? 'calc(100vh- 470px)' : 'calc(100vh - 145px)' }"
+        :pagination="false"
+        :loading="loading"
+        :expandedRowKeys="expandedRowKeys"
+        :customRow="Rowclick"
+        :expandIcon="expandIcon"
+        :expandIconAsCell="false"
+        rowKey="key"
+        :data-source="tableList"
+    >
+        <!-- 额外的展开行 -->
+        <template #expandedRowRender="{ record }">
+            <BtnList :btnList="btnList" :record="record" @click="openComponent" />
+        </template>
+        <template #username="{text, record }">
+            <span>{{record.userid + " " }}{{text}}</span>
+        </template>
+    </a-table>
+    <component
+        :is="componentId"
+        v-if="componentId"
+        :selectedRow="selectedRow"
+        :enumName="enumName"
+        :buyOrSell="BuyOrSell.sell"
+        :parantSelectedRow="parantSelectedRow"
+        @cancel="closeComponent"
+    ></component>
 </template>
 
 <script lang="ts">
@@ -129,7 +131,8 @@ export default defineComponent({
 <style lang="less">
 .buy-sell-market {
     .btnDeafault.ant-btn {
-        height: 30px;
+        height: 28px;
+        line-height: 28px;
     }
 }
 </style>

+ 3 - 3
src/views/market/spot_trade/components/buy-sell-market/index.vue

@@ -241,11 +241,11 @@ export default defineComponent({
 .priceBar {
     .flex;
     flex-direction: column;
-    height: 40px;
+    height: 32px;
     .greenBar,
     .redBar {
-        height: 20px;
-        line-height: 20px;
+        height: 16px;
+        line-height: 16px;
     }
 }
 </style>

+ 4 - 3
src/views/market/spot_trade/components/filter/index.vue

@@ -229,11 +229,11 @@ export default defineComponent({
     background: @m-grey9;
     border: none;
     border-radius: 3px 3px 3px 3px;
-    color: @m-grey10;
+    color: @m-grey45;
     .ant-input {
         width: 104px;
         &::placeholder {
-            color: @m-grey10;
+            color: @m-grey45;
             font-size: 14px;
         }
     }
@@ -242,7 +242,8 @@ export default defineComponent({
     margin-top: 0;
 }
 .btnDeafault.ant-btn {
-    height: 30px;
+    height: 28px;
+    line-height: 28px;
 }
 </style>;
 

+ 141 - 0
src/views/market/spot_trade/spot_trade_order_transaction/components/buy-sell-market/components/buy/index.vue

@@ -0,0 +1,141 @@
+<template>
+    <!--  现货贸易 - 买卖大厅 - 卖报价牌 -->
+    <a-table
+        :columns="handleColumn(columns)"
+        :class="['buyHallTable', isBottom ? '' : 'buyHallTableHigh', tableList.length ? '' : 'noDataTable']"
+        :scroll="{ x: '100%', y: isBottom ? 'calc(100vh- 470px)' : 'calc(100vh - 145px)' }"
+        :pagination="false"
+        :loading="loading"
+        :expandedRowKeys="expandedRowKeys"
+        :customRow="Rowclick"
+        :expandIcon="expandIcon"
+        :expandIconAsCell="false"
+        rowKey="key"
+        :data-source="tableList"
+    >
+        <!-- ,  -->
+        <!-- 额外的展开行 -->
+        <template #expandedRowRender="{ record }">
+            <BtnList
+                :btnList="btnList"
+                :record="record"
+                class="btn-list-sticky"
+                @click="openComponent"
+            />
+        </template>
+        <template #username="{text, record }">
+            <span>{{record.userid + " "}}{{text}}</span>
+        </template>
+    </a-table>
+    <component
+        :is="componentId"
+        v-if="componentId"
+        :selectedRow="selectedRow"
+        :buyOrSell="BuyOrSell.buy"
+        :enumName="enumName"
+        :parantSelectedRow="parantSelectedRow"
+        @cancel="closeComponent"
+    ></component>
+</template>
+
+<script lang="ts">
+import { EnumRouterName } from '@/common/constants/enumRouterName';
+import { ComposeTableParam, BtnList, defineComponent, handleComposeTable, queryTableList, ModalEnum } from '@/common/export/commonTable';
+import { _closeModal } from '@/common/setup/modal/modal';
+import { queryOrderQuoteDetail } from '@/services/go/wrtrade';
+import { QueryOrderQuoteDetailReq, WrOrderQuote, WrOrderQuoteDetail } from '@/services/go/wrtrade/interface';
+import { defineAsyncComponent, PropType } from 'vue';
+import { BtnList as btnListType } from '@/common/components/btnList/interface';
+import { getBuyMarketParam } from '../../setup';
+import { BuyOrSell } from '@/common/constants/enumCommon';
+import { expandIcon } from '@/common/setup/table/clolumn';
+import { ColumnType } from '@/common/methods/table/interface';
+import { Moment } from 'moment';
+import moment from 'moment';
+import { getShowBottomValue } from '@/common/config/constrolBottom';
+
+export default defineComponent({
+    emits: ['cancel', 'openComponent'],
+    name: 'warehouse_receipt_trade_price_delisting_buy',
+    props: {
+        enumName: {
+            default: '',
+            type: String as PropType<EnumRouterName>,
+        },
+        btnList: {
+            default: [],
+            type: Array as PropType<btnListType[]>,
+        },
+        parantSelectedRow: {
+            type: Object as PropType<WrOrderQuote>,
+            default: {},
+        },
+        time: {
+            type: Object as PropType<Moment>,
+            default: moment(),
+        },
+    },
+    components: {
+        BtnList,
+        [ModalEnum.spot_trade_warehouse_delisting]: defineAsyncComponent(() => import('../delisting/index.vue')),
+    },
+    setup(props, context) {
+        const isBottom = getShowBottomValue();
+        console.log(isBottom.value, 'isBottom');
+        // 表格列表数据
+        const { loading, tableList, queryTable } = queryTableList<WrOrderQuoteDetail>();
+        const { wrpricetype, haswr, tableKey } = getBuyMarketParam(props.enumName);
+        // 获取列表数据
+        const queryTableAction = () => {
+            const param: QueryOrderQuoteDetailReq = {
+                buyorsell: 0,
+                wrpricetype,
+                haswr,
+                wrfactortypeid: props.parantSelectedRow.wrfactortypeid,
+                goodsid: props.parantSelectedRow.goodsid,
+            };
+            if (!haswr) {
+                // 无仓单 需要交收月过滤数据
+                param.deliverymonth = moment(props.time).format('YYYY-MM');
+            }
+            queryTable(queryOrderQuoteDetail, param);
+        };
+        // 表格通用逻辑
+        const param: ComposeTableParam = {
+            queryFn: queryTableAction,
+            menuType: props.enumName,
+            tableName: tableKey,
+            tableFilterKey: [],
+            isDetail: false,
+        };
+        function handleColumn(columns: ColumnType[]) {
+            columns.forEach((item) => {
+                if (item.dataIndex == 'username') {
+                    delete item.width;
+                }
+            });
+            return columns;
+        }
+        function handleBtnList() {}
+        return {
+            isBottom,
+            ...handleComposeTable<WrOrderQuoteDetail>(param),
+            queryTableAction,
+            BuyOrSell,
+            loading,
+            tableList,
+            enumName: props.enumName,
+            expandIcon,
+            handleColumn,
+        };
+    },
+});
+</script>
+<style lang="less">
+.buy-sell-market {
+    .btnDeafault.ant-btn {
+        height: 28px;
+        line-height: 28px;
+    }
+}
+</style>

+ 35 - 32
src/views/market/spot_trade/spot_trade_order_transaction/components/sell-market/index.vue

@@ -1,35 +1,37 @@
 <template>
-  <!-- 现货贸易 - 买卖大厅 - 买报价牌 -->
-  <a-table :columns="handleColumn(columns)"
-           :class="['sellHallTable', isBottom ? '' : 'sellHallTableHigh', tableList.length ? '' : 'noDataTable']"
-           :scroll="{ x: '100%', y: isBottom ? 'calc(100vh- 470px)' : 'calc(100vh - 180px)' }"
-           :pagination="false"
-           :loading="loading"
-           :expandedRowKeys="expandedRowKeys"
-           :customRow="Rowclick"
-           :expandIcon="expandIcon"
-           :expandIconAsCell="false"
-           rowKey="key"
-           :data-source="tableList">
-    <!-- 额外的展开行 -->
-    <template #expandedRowRender="{ record }">
-      <BtnList :btnList="btnListData"
-               :record="record"
-               @click="openComponent" />
-    </template>
-    <template #username="{text, record }">
-      <span>{{record.userid + " " }}{{text}}</span>
-    </template>
-    <template #fixedprice="{record }">
-      <span>{{record.useorderpricerid }}</span>
-    </template>
-  </a-table>
-  <component :is="componentId"
-             v-if="componentId"
-             :selectedRow="selectedRow"
-             :buyOrSell="BuyOrSell.sell"
-             :parantSelectedRow="parantSelectedRow"
-             @cancel="closeComponent"></component>
+    <!-- 现货贸易 - 买卖大厅 - 买报价牌 -->
+    <a-table
+        :columns="handleColumn(columns)"
+        :class="['sellHallTable', isBottom ? '' : 'sellHallTableHigh', tableList.length ? '' : 'noDataTable']"
+        :scroll="{ x: '100%', y: isBottom ? 'calc(100vh- 470px)' : 'calc(100vh - 145px)' }"
+        :pagination="false"
+        :loading="loading"
+        :expandedRowKeys="expandedRowKeys"
+        :customRow="Rowclick"
+        :expandIcon="expandIcon"
+        :expandIconAsCell="false"
+        rowKey="key"
+        :data-source="tableList"
+    >
+        <!-- 额外的展开行 -->
+        <template #expandedRowRender="{ record }">
+            <BtnList :btnList="btnListData" :record="record" @click="openComponent" />
+        </template>
+        <template #username="{text, record }">
+            <span>{{record.userid + " " }}{{text}}</span>
+        </template>
+        <template #fixedprice="{record }">
+            <span>{{record.useorderpricerid }}</span>
+        </template>
+    </a-table>
+    <component
+        :is="componentId"
+        v-if="componentId"
+        :selectedRow="selectedRow"
+        :buyOrSell="BuyOrSell.sell"
+        :parantSelectedRow="parantSelectedRow"
+        @cancel="closeComponent"
+    ></component>
 </template>
 
 <script lang="ts">
@@ -112,7 +114,8 @@ export default defineComponent({
 <style lang="less">
 .buy-sell-market {
     .btnDeafault.ant-btn {
-        height: 30px;
+        height: 28px;
+        line-height: 28px;
     }
 }
 </style>

+ 33 - 38
src/views/order/commodity_contract/components/commodity_contract_summary/components/commodity_contract_summary_settlement/index.vue

@@ -1,42 +1,37 @@
 <template>
-  <!-- 交收-->
-  <Drawer :title="'交收'"
-          :placement="'bottom'"
-          :visible="visible"
-          @cancel="cancel">
-    <div class="listed">
-      <div class="formBar">
-        <a-form class="inlineForm dialogForm"
-                ref="formRef"
-                :model="formState"
-                :rules="rules">
-          <a-row :gutter="24">
-            <a-col :span="24">
-              <a-form-item label="交收数量"
-                           name="num">
-                <a-input-number class="commonInput"
-                                v-model:value="formState.num"
-                                style="width: 100%" />
-                <span class="input-enumdicname">{{selectedRow.enumdicname}}</span>
-              </a-form-item>
-            </a-col>
-          </a-row>
-          <a-row :gutter="24"
-                 type="flex"
-                 justify="center">
-            <a-col :span="24">
-              <a-form-item class="tc">
-                <a-button class="listedBtn"
-                          :loading="loading"
-                          :disabled="loading"
-                          @click="submit">提交</a-button>
-              </a-form-item>
-            </a-col>
-          </a-row>
-        </a-form>
-      </div>
-    </div>
-  </Drawer>
+    <!-- 交收-->
+    <Drawer :title="'交收'" :placement="'bottom'" :visible="visible" @cancel="cancel">
+        <div class="listed">
+            <a-form class="inlineForm dialogForm" ref="formRef" :model="formState" :rules="rules">
+                <div class="formBar">
+                    <a-row :gutter="24">
+                        <a-col :span="24">
+                            <a-form-item label="交收数量" name="num">
+                                <a-input-number
+                                    class="commonInput"
+                                    v-model:value="formState.num"
+                                    style="width: 100%"
+                                />
+                                <span class="input-enumdicname">{{selectedRow.enumdicname}}</span>
+                            </a-form-item>
+                        </a-col>
+                    </a-row>
+                </div>
+                <a-row :gutter="24">
+                    <a-col :span="24" class="fixedBtns">
+                        <a-form-item class="btnCenter">
+                            <a-button
+                                class="listedBtn"
+                                :loading="loading"
+                                :disabled="loading"
+                                @click="submit"
+                            >提交</a-button>
+                        </a-form-item>
+                    </a-col>
+                </a-row>
+            </a-form>
+        </div>
+    </Drawer>
 </template>
 
 <script lang="ts">

+ 42 - 46
src/views/order/commodity_contract/components/commodity_contract_summary/components/commodity_contract_summary_transfer/index.vue

@@ -1,50 +1,46 @@
 <template>
-  <!-- 转让-->
-  <Drawer :title="'转让'"
-          :placement="'bottom'"
-          :visible="visible"
-          @cancel="cancel">
-    <div class="listed">
-      <div class="formBar">
-        <a-form class="inlineForm dialogForm"
-                ref="formRef"
-                :model="formState"
-                :rules="rules">
-          <a-row :gutter="24">
-            <a-col :span="24">
-              <a-form-item label="挂牌价"
-                           name="price">
-                <a-input-number class="commonInput"
-                                v-model:value="formState.price"
-                                style="width: 100%" />
-              </a-form-item>
-            </a-col>
-            <a-col :span="24">
-              <a-form-item label="挂牌数量"
-                           name="num">
-                <a-input-number class="commonInput"
-                                v-model:value="formState.num"
-                                style="width: 100%" />
-                <span class="input-enumdicname">{{selectedRow.enumdicname}}</span>
-              </a-form-item>
-            </a-col>
-          </a-row>
-          <a-row :gutter="24"
-                 type="flex"
-                 justify="center">
-            <a-col :span="24">
-              <a-form-item class="tc">
-                <a-button class="listedBtn"
-                          :loading="loading"
-                          :disabled="loading"
-                          @click="submit">提交</a-button>
-              </a-form-item>
-            </a-col>
-          </a-row>
-        </a-form>
-      </div>
-    </div>
-  </Drawer>
+    <!-- 转让-->
+    <Drawer :title="'转让'" :placement="'bottom'" :visible="visible" @cancel="cancel">
+        <div class="listed">
+            <a-form class="inlineForm dialogForm" ref="formRef" :model="formState" :rules="rules">
+                <div class="formBar">
+                    <a-row :gutter="24">
+                        <a-col :span="24">
+                            <a-form-item label="挂牌价" name="price">
+                                <a-input-number
+                                    class="commonInput"
+                                    v-model:value="formState.price"
+                                    style="width: 100%"
+                                />
+                            </a-form-item>
+                        </a-col>
+                        <a-col :span="24">
+                            <a-form-item label="挂牌数量" name="num">
+                                <a-input-number
+                                    class="commonInput"
+                                    v-model:value="formState.num"
+                                    style="width: 100%"
+                                />
+                                <span class="input-enumdicname">{{selectedRow.enumdicname}}</span>
+                            </a-form-item>
+                        </a-col>
+                    </a-row>
+                </div>
+                <a-row :gutter="24">
+                    <a-col :span="24" class="fixedBtns">
+                        <a-form-item class="btnCenter">
+                            <a-button
+                                class="listedBtn"
+                                :loading="loading"
+                                :disabled="loading"
+                                @click="submit"
+                            >提交</a-button>
+                        </a-form-item>
+                    </a-col>
+                </a-row>
+            </a-form>
+        </div>
+    </Drawer>
 </template>
 
 <script lang="ts">

+ 65 - 70
src/views/order/performance_information/components/components/breach_contract/index.vue

@@ -1,74 +1,69 @@
 <template>
-  <!-- 违约-->
-  <Drawer :title="'违约'"
-          :placement="'bottom'"
-          :visible="visible"
-          @cancel="cancel">
-    <div class="listed">
-      <div class="formBar">
-        <a-form class="inlineForm dialogForm"
-                ref="formRef"
-                :model="formState"
-                :rules="rules">
-          <a-row :gutter="24">
-            <a-col :span="12">
-              <a-form-item label="品种">
-                <span class="white">{{selectedRow.deliverygoodsname}}</span>
-              </a-form-item>
-            </a-col>
-            <a-col :span="12">
-              <a-form-item label="仓库">
-                <span class="white">{{selectedRow.warehousename}}</span>
-              </a-form-item>
-            </a-col>
-            <a-col :span="24">
-              <a-form-item label="履约商品">
-                <span class="white">{{selectedRow.wrtypename}}</span>
-              </a-form-item>
-            </a-col>
-            <a-col :span="24">
-              <a-form-item label="当前步骤">
-                <span class="white">{{selectedRow.curstepname}}</span>
-              </a-form-item>
-            </a-col>
-            <a-col :span="24">
-              <a-form-item label="关联单号">
-                <span class="white">{{selectedRow.relatedorderid}}</span>
-              </a-form-item>
-            </a-col>
-            <!--            <a-col :span="24">-->
-            <!--              <a-form-item label="附件"-->
-            <!--                           name="url">-->
-            <!--                <UploadImg :visible="visible"-->
-            <!--                           :imgList="uploadImgList"-->
-            <!--                           @upload="uploadImgAction" />-->
-            <!--              </a-form-item>-->
-            <!--            </a-col>-->
-            <a-col :span="24">
-              <a-form-item label="备注"
-                           name="remark">
-                <a-input class="commonInput"
-                         v-model:value="formState.remark"
-                         style="width: 100%" />
-              </a-form-item>
-            </a-col>
-          </a-row>
-          <a-row :gutter="24"
-                 type="flex"
-                 justify="center">
-            <a-col :span="24">
-              <a-form-item class="tc">
-                <a-button class="listedBtn"
-                          :loading="loading"
-                          :disabled="loading"
-                          @click="submit">提交</a-button>
-              </a-form-item>
-            </a-col>
-          </a-row>
-        </a-form>
-      </div>
-    </div>
-  </Drawer>
+    <!-- 违约-->
+    <Drawer :title="'违约'" :placement="'bottom'" :visible="visible" @cancel="cancel">
+        <div class="listed">
+            <a-form class="inlineForm dialogForm" ref="formRef" :model="formState" :rules="rules">
+                <div class="formBar">
+                    <a-row :gutter="24">
+                        <a-col :span="12">
+                            <a-form-item label="品种">
+                                <span class="white">{{selectedRow.deliverygoodsname}}</span>
+                            </a-form-item>
+                        </a-col>
+                        <a-col :span="12">
+                            <a-form-item label="仓库">
+                                <span class="white">{{selectedRow.warehousename}}</span>
+                            </a-form-item>
+                        </a-col>
+                        <a-col :span="24">
+                            <a-form-item label="履约商品">
+                                <span class="white">{{selectedRow.wrtypename}}</span>
+                            </a-form-item>
+                        </a-col>
+                        <a-col :span="24">
+                            <a-form-item label="当前步骤">
+                                <span class="white">{{selectedRow.curstepname}}</span>
+                            </a-form-item>
+                        </a-col>
+                        <a-col :span="24">
+                            <a-form-item label="关联单号">
+                                <span class="white">{{selectedRow.relatedorderid}}</span>
+                            </a-form-item>
+                        </a-col>
+                        <!--            <a-col :span="24">-->
+                        <!--              <a-form-item label="附件"-->
+                        <!--                           name="url">-->
+                        <!--                <UploadImg :visible="visible"-->
+                        <!--                           :imgList="uploadImgList"-->
+                        <!--                           @upload="uploadImgAction" />-->
+                        <!--              </a-form-item>-->
+                        <!--            </a-col>-->
+                        <a-col :span="24">
+                            <a-form-item label="备注" name="remark">
+                                <a-input
+                                    class="commonInput"
+                                    v-model:value="formState.remark"
+                                    style="width: 100%"
+                                />
+                            </a-form-item>
+                        </a-col>
+                    </a-row>
+                </div>
+                <a-row :gutter="24">
+                    <a-col :span="24" class="fixedBtns">
+                        <a-form-item class="btnCenter">
+                            <a-button
+                                class="listedBtn"
+                                :loading="loading"
+                                :disabled="loading"
+                                @click="submit"
+                            >提交</a-button>
+                        </a-form-item>
+                    </a-col>
+                </a-row>
+            </a-form>
+        </div>
+    </Drawer>
 </template>
 
 <script lang="ts">

+ 0 - 3
src/views/order/pre_sale_warehouse_receipt/components/pre_sale_warehouse_receipt_order_summary/components/listed/index.vue

@@ -370,9 +370,6 @@ export default defineComponent({
             margin-left: 10px;
         }
     }
-    .formBar {
-        max-height: 100%;
-    }
 }
 .mt-20 {
     margin-top: -20px;

+ 0 - 3
src/views/order/spot_warran/components/spot_warrant_spot_details/components/listing/index.vue

@@ -373,9 +373,6 @@ export default defineComponent({
             margin-left: 10px;
         }
     }
-    .formBar {
-        max-height: 100%;
-    }
 }
 .mt-20 {
     margin-top: -20px;

+ 0 - 3
src/views/order/spot_warran/components/spot_warrant_spot_details/components/pick_up/index.vue

@@ -213,9 +213,6 @@ export default defineComponent({
             margin-left: 10px;
         }
     }
-    .formBar {
-        max-height: 100%;
-    }
 }
 
 ::v-deep.formProgress {