|
|
@@ -36,7 +36,7 @@
|
|
|
<span :class="quote?.lastColor">{{ quote?.last ?? 0.0 }}</span>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="估算价格" v-if="priceMove === 3">
|
|
|
- <span>{{ estimateprice.toFixed(goods?.decimalplace) }}</span>
|
|
|
+ <span :class="quote?.lastColor">{{ estimateprice.toFixed(goods?.decimalplace) }}</span>
|
|
|
</el-form-item>
|
|
|
<el-form-item :label="priceMove === 2 ? '挂牌金额' : '估算金额'">
|
|
|
<span>{{ amount.toFixed(2) }}</span>
|
|
|
@@ -87,8 +87,6 @@ const permargin = shallowRef(0.0)
|
|
|
const maxBasis = shallowRef(1000.0)
|
|
|
/// 最小基差范围下限
|
|
|
const minBasis = shallowRef(-1000.0)
|
|
|
-/// 估算价
|
|
|
-const estimateprice = shallowRef(0.0)
|
|
|
|
|
|
const { formData, formSubmit, loading } = useOrder()
|
|
|
const show = shallowRef(true)
|
|
|
@@ -97,9 +95,10 @@ const formRef = shallowRef<FormInstance>()
|
|
|
const qtyStepList = [1, 5, 10, 20, 30, 50] // 数量步长列表
|
|
|
const qtyStep = shallowRef(qtyStepList[0]) // 数量步长
|
|
|
|
|
|
-
|
|
|
// 商品盘面
|
|
|
const quote = futuresStore.getGoodsQuote(props.quoteGoods.refgoodsid) ?? {}
|
|
|
+/// 估算价
|
|
|
+const estimateprice = shallowRef(quote.value?.last ?? 0.0)
|
|
|
/// 保证金参数设置
|
|
|
const margin = shallowRef<Model.TjmdTodayAccountMarginRsp>()
|
|
|
/// 商品信息
|