|
|
@@ -20,7 +20,7 @@
|
|
|
@change="calculateListingAmount" />
|
|
|
</el-form-item>
|
|
|
<el-form-item v-if="priceMove === 3" prop="MarketMaxSub" label="点差">
|
|
|
- <el-input-number placeholder="请输入" :min="minspread" :maxBasis="maxspread" :precision="2"
|
|
|
+ <el-input-number placeholder="请输入" :min="minspread" :max="maxspread" :precision="2"
|
|
|
v-model="formData.MarketMaxSub" @change="calculateListingAmount" />
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="OrderQty" label="挂牌数量">
|
|
|
@@ -92,7 +92,9 @@ const refresh = shallowRef(false)
|
|
|
const formRef = shallowRef<FormInstance>()
|
|
|
const qtyStepList = [1, 5, 10, 20, 30, 50] // 数量步长列表
|
|
|
const qtyStep = shallowRef(qtyStepList[0]) // 数量步长
|
|
|
-const { maxspread = 1000, minspread = -1000, marketid, goodsid } = futuresStore.getGoods(props.quoteGoods.goodsid) ?? {}
|
|
|
+const { maxspread, minspread, marketid, goodsid } = futuresStore.getGoods(props.quoteGoods.goodsid) ?? {}
|
|
|
+
|
|
|
+console.log(maxspread, minspread)
|
|
|
|
|
|
// 商品盘面
|
|
|
const quote = futuresStore.getGoodsQuote(props.quoteGoods.refgoodsid) ?? {}
|