|
|
@@ -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;
|