|
|
@@ -1,34 +1,40 @@
|
|
|
<template>
|
|
|
- <!-- 现货仓单 议价 议价单 -->
|
|
|
- <Drawer :title="'议价单'"
|
|
|
- :placement="'bottom'"
|
|
|
- :visible="visible"
|
|
|
- @cancel="cancel"
|
|
|
- width="566px"
|
|
|
- height="405px">
|
|
|
- <a-table :columns="columns"
|
|
|
- class="expandLeftTable"
|
|
|
- :pagination="false"
|
|
|
- :expandIcon="expandIcon"
|
|
|
- :loading="loading"
|
|
|
- :expandIconAsCell="false"
|
|
|
- rowKey="applyprice"
|
|
|
- :data-source="tableList">
|
|
|
- </a-table>
|
|
|
- <div>
|
|
|
-
|
|
|
- <a-button class="ml10 cancelBtn"
|
|
|
- v-if="isMy()"
|
|
|
- @click="cancelAction">撤销</a-button>
|
|
|
- <template v-else>
|
|
|
- <a-button class="listedBtn"
|
|
|
- @click="submit">确认</a-button>
|
|
|
- <a-button class="ml10 cancelBtn"
|
|
|
- @click="refuse">拒绝</a-button>
|
|
|
- </template>
|
|
|
-
|
|
|
- </div>
|
|
|
- </Drawer>
|
|
|
+ <!-- 现货仓单 议价 议价单 -->
|
|
|
+ <Drawer
|
|
|
+ :title="'议价单'"
|
|
|
+ :placement="'right'"
|
|
|
+ class="delistingBottom"
|
|
|
+ :visible="visible"
|
|
|
+ @cancel="cancel"
|
|
|
+ >
|
|
|
+ <div class="listed">
|
|
|
+ <a-form class="inlineForm dialogForm">
|
|
|
+ <div class="formBar">
|
|
|
+ <a-table
|
|
|
+ :columns="columns"
|
|
|
+ class="dialogTable dialogTable2"
|
|
|
+ :pagination="false"
|
|
|
+ :expandIcon="expandIcon"
|
|
|
+ :loading="loading"
|
|
|
+ :expandIconAsCell="false"
|
|
|
+ rowKey="applyprice"
|
|
|
+ :data-source="tableList"
|
|
|
+ ></a-table>
|
|
|
+ </div>
|
|
|
+ <a-row :gutter="24" type="flex" justify="center">
|
|
|
+ <a-col :span="24" class="fixedBtns">
|
|
|
+ <a-form-item class="btnCenter">
|
|
|
+ <a-button class="cancelBtn" v-if="isMy()" @click="cancelAction">撤销</a-button>
|
|
|
+ <template v-else>
|
|
|
+ <a-button class="listedBtn ml10" @click="submit">确认</a-button>
|
|
|
+ <a-button class="ml10 cancelBtn" @click="refuse">拒绝</a-button>
|
|
|
+ </template>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ </a-form>
|
|
|
+ </div>
|
|
|
+ </Drawer>
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
@@ -124,6 +130,12 @@ export default defineComponent({
|
|
|
.flex;
|
|
|
flex-direction: column;
|
|
|
overflow: hidden;
|
|
|
+ .ant-form {
|
|
|
+ height: 100%;
|
|
|
+ .formBar {
|
|
|
+ height: calc(100% - 70px);
|
|
|
+ }
|
|
|
+ }
|
|
|
.condition {
|
|
|
width: 100%;
|
|
|
height: 48px;
|
|
|
@@ -151,61 +163,4 @@ export default defineComponent({
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-::v-deep.formProgress {
|
|
|
- width: 140px;
|
|
|
- // height: 3px;
|
|
|
- // .rounded-corners(2px);
|
|
|
- margin-left: 70px;
|
|
|
- .ant-progress-outer {
|
|
|
- margin-right: 0;
|
|
|
- padding-right: 0;
|
|
|
- .ant-progress-inner {
|
|
|
- background: @m-grey14;
|
|
|
- .rounded-corners(2px);
|
|
|
- .ant-progress-bg {
|
|
|
- height: 3px !important;
|
|
|
- border-radius: 2px !important;
|
|
|
- background-color: @m-blue0;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- .ant-progress-text {
|
|
|
- display: none;
|
|
|
- }
|
|
|
-}
|
|
|
-.unit {
|
|
|
- margin-left: 80px;
|
|
|
- .flex;
|
|
|
- justify-content: space-between;
|
|
|
- font-size: 14px;
|
|
|
- color: @m-grey41;
|
|
|
- height: 14px;
|
|
|
- line-height: 14px;
|
|
|
-}
|
|
|
-.listedBtn {
|
|
|
- width: 120px;
|
|
|
- height: 30px;
|
|
|
- line-height: 30px;
|
|
|
- background: linear-gradient(0deg, @m-blue2 0%, @m-blue0 100%);
|
|
|
- border-radius: 3px;
|
|
|
- color: @m-white0;
|
|
|
- font-size: 14px;
|
|
|
- text-align: center;
|
|
|
- border: 0;
|
|
|
- &:hover {
|
|
|
- background: linear-gradient(0deg, @m-blue0-hover 0%, @m-blue2-hover 100%);
|
|
|
- color: @m-white0-hover;
|
|
|
- }
|
|
|
-}
|
|
|
-.cancelBtn:extend(.listedBtn) {
|
|
|
- background: linear-gradient(0deg, @m-grey12 0%, @m-grey13 100%);
|
|
|
- &:hover {
|
|
|
- background: linear-gradient(0deg, @m-grey12-hover 0%, @m-grey13-hover 100%);
|
|
|
- color: @m-white0-hover;
|
|
|
- }
|
|
|
-}
|
|
|
-.ml10 {
|
|
|
- margin-left: 10px;
|
|
|
-}
|
|
|
</style>;
|