瀏覽代碼

修改挂牌数量

li.shaoyi 3 年之前
父節點
當前提交
397ea21da5

+ 1 - 1
src/views/market/spot_trade/spot_trade_order_transaction/spot_trade_order_transaction_swap/components/post_buying/index.vue

@@ -78,7 +78,7 @@
                     </a-col>
                     <a-col :span="24">
                       <a-form-item label="参考价">
-                        <span :class="handleQuotePriceColor_out(selectedRow.refgoodscode, 'last')">{{ getQuoteValue_out(selectedRow.refgoodscode, 'last') }}</span>
+                        <span :class="handleQuotePriceColor_out(selectedRow.refgoodscode, 'last') || 'white'">{{ getQuoteValue_out(selectedRow.refgoodscode, 'last') }}</span>
                       </a-form-item>
                     </a-col>
                     <a-col :span="24" v-if="!isFloat()">

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

@@ -55,7 +55,7 @@
           <a-row :gutter="24">
             <a-col :span="12">
               <a-form-item ref="OrderQty" label="挂牌数量" name="OrderQty">
-                <a-input-number class="dialogInput" style="width: 140px !important" :min="0" v-model:value="formState.OrderQty" />
+                <a-input-number class="dialogInput" style="width: 140px !important" :min="0" :max="selectedRow.creditenableqty" v-model:value="formState.OrderQty" />
                 <span class="input-enumdicname">{{selectedRow.enumdicname}}</span>
                 <a-checkbox class="commonCheckbox" v-if="isBlocs()" v-model:checked="numCheck">整单</a-checkbox>
               </a-form-item>
@@ -74,10 +74,10 @@
           <a-row :gutter="24" v-if="Number.isInteger(formState.OrderQty)">
             <a-col :span="12" class="mt-20">
               <a-form-item>
-                <a-slider v-model:value="formState.OrderQty" :min="0" :max="selectedRow.enalbeqty" class="formSlider" style="width: 140px;" @afterChange="() => $refs.OrderQty.onFieldBlur()" />
+                <a-slider v-model:value="formState.OrderQty" :min="0" :max="selectedRow.creditenableqty" class="formSlider" style="width: 140px;" @afterChange="() => $refs.OrderQty.onFieldBlur()" />
                 <div class="unit">
                   <span>0</span>
-                  <span>{{selectedRow.enalbeqty}}{{selectedRow.enumdicname}}</span>
+                  <span>{{selectedRow.creditenableqty}}{{selectedRow.enumdicname}}</span>
                 </div>
               </a-form-item>
             </a-col>
@@ -516,7 +516,7 @@ export default defineComponent({
     margin-top: -20px;
 }
 ::v-deep.ant-slider.formSlider {
-    width: 140px;
+    width: 140px !important;
     // height: 3px;
     // .rounded-corners(2px);
     margin-left: 70px;

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

@@ -52,7 +52,7 @@
           <a-row :gutter="24">
             <a-col :span="12">
               <a-form-item ref="OrderQty" label="挂牌数量" class="inputIconBox" name="OrderQty">
-                <a-input-number class="dialogInput" style="width: 140px !important" :min="0" v-model:value="formState.OrderQty" />
+                <a-input-number class="dialogInput" style="width: 140px !important" :min="0" :max="selectedRow.enableqty" v-model:value="formState.OrderQty" />
                 <span class="input-enumdicname">{{ selectedRow.enumdicname }}</span>
                 <a-checkbox class="commonCheckbox" v-if="isBlocs()" v-model:checked="numCheck">整单</a-checkbox>
               </a-form-item>