marymelisa 4 vuotta sitten
vanhempi
commit
9c69b0fe1f

+ 36 - 30
src/views/order/pre_sale_warehouse_receipt/components/pre_sale_warehouse_receipt_bargain/components/bargain_detail/index.vue

@@ -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"
+                        :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">

+ 36 - 30
src/views/order/spot_warran/components/spot_warrant_bargain/components/bargain_detail/index.vue

@@ -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"
+                        :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">