浏览代码

fiexed: #537,#536

huangbin 4 年之前
父节点
当前提交
43a868b05f

+ 2 - 2
src/views/market/spot_trade/warehouse_pre_sale/warehouse_pre_sale_blocs/components/delisting/index.vue

@@ -56,7 +56,7 @@
             </a-form-item>
           </a-col>
           <a-col :span="24"
-                 v-if="!isBuy()">
+                 v-if="isBuy()">
             <a-form-item label="现货仓单"
                          name="LadingBillId">
               <a-select class="inlineFormSelect"
@@ -302,7 +302,7 @@ export default defineComponent({
                     };
                     // 摘买方向
                     if (isBuy()) {
-                      param.BuyOrSell = BuyOrSell.sell;
+                        param.BuyOrSell = BuyOrSell.sell;
                     } else {
                         param.BuyOrSell = BuyOrSell.buy;
                         param.LadingBillId = res.LadingBillId;

+ 1 - 1
src/views/market/spot_trade/warehouse_receipt_trade/warehouse_receipt_trade_blocs/components/delisting/index.vue

@@ -56,7 +56,7 @@
             </a-form-item>
           </a-col>
           <a-col :span="24"
-                 v-if="!isBuy()">
+                 v-if="isBuy()">
             <a-form-item label="现货仓单"
                          name="LadingBillId">
               <a-select class="inlineFormSelect"