|
|
@@ -9,7 +9,7 @@
|
|
|
<h1 class="pricing-trade__header-title">{{ goods.goodsname }}</h1>
|
|
|
<div class="pricing-trade__header-price">
|
|
|
<dl v-if="quote.askColor">
|
|
|
- <dt>积分</dt>
|
|
|
+ <dt>销售价</dt>
|
|
|
<dd>
|
|
|
{{ currencyFormat(quote?.ask, quote?.currencyid, {
|
|
|
fractionDigits: quote?.decimalplace, noneValue: true
|
|
|
@@ -96,9 +96,19 @@ const active = shallowRef('images')
|
|
|
|
|
|
// 数量步长列表
|
|
|
const qtyStepList = computed(() => {
|
|
|
- const result = [1, 5, 10]
|
|
|
- const system_1009 = getSystemParamValue('1009') ?? '1'
|
|
|
- return result.map((value) => +system_1009 * value)
|
|
|
+ // 任务 #6640
|
|
|
+ const param1009 = getSystemParamValue('1009')
|
|
|
+
|
|
|
+ if (param1009) {
|
|
|
+ const values = param1009.split(',')
|
|
|
+ const { traderules = [], agreeunit = 0 } = quote.value ?? {}
|
|
|
+ const { ParamValue = 1 } = traderules.find((e) => e.RuleID === 103) ?? {}
|
|
|
+ const min = ParamValue * agreeunit // ParamValue 是数量
|
|
|
+
|
|
|
+ return values.map((value) => (+value) * min)
|
|
|
+ }
|
|
|
+
|
|
|
+ return []
|
|
|
})
|
|
|
const qtyStep = shallowRef(qtyStepList.value[0]) // 数量步长
|
|
|
const orderQty = shallowRef(qtyStepList.value[0]) // 默认数量
|