|
|
@@ -237,11 +237,15 @@ const enableqty = (item: Model.SBYJMyOrderRsp) => {
|
|
|
const qtyStepList = computed(() => {
|
|
|
// 任务 #6013
|
|
|
const param1009 = userStore.getSystemParamValue('1009') ?? 1
|
|
|
+
|
|
|
+ const { traderules = [], agreeunit = 0 } = quote.value ?? {}
|
|
|
+ const { ParamValue = 1 } = traderules.find((e) => e.RuleID === 103) ?? {}
|
|
|
+ const min = ParamValue * agreeunit // ParamValue 是数量
|
|
|
return [
|
|
|
- agreeunit.value * 1 * (+param1009),
|
|
|
- agreeunit.value * 5 * (+param1009),
|
|
|
- agreeunit.value * 10 * (+param1009),
|
|
|
- agreeunit.value * 50 * (+param1009)
|
|
|
+ agreeunit * 1 * (+param1009) * min,
|
|
|
+ agreeunit * 5 * (+param1009) * min,
|
|
|
+ agreeunit * 10 * (+param1009) * min,
|
|
|
+ agreeunit * 50 * (+param1009) * min
|
|
|
]
|
|
|
})
|
|
|
|
|
|
@@ -261,7 +265,6 @@ const canClose = computed(() => {
|
|
|
//1. 获取用户交易个性化设置(sbyj/QueryUserTradeSettings)
|
|
|
// 若有GoodsId对应配置,且goodstradetype in (1:可建可平, 3:不可建可平) 时则显示
|
|
|
const setting = settings.value.find(e => e.goodsid === goods?.goodsid)
|
|
|
- console.log(setting)
|
|
|
if (setting) {
|
|
|
const goodstradetype = setting.goodstradetype
|
|
|
return ['1', '3'].includes(goodstradetype)
|