Handy_Cao 1 年之前
父節點
當前提交
a542dbfe2f

+ 6 - 6
src/packages/mobile/views/pricing/trade/v2/Index.vue

@@ -284,12 +284,12 @@ const formRules: { [key in keyof Proto.OrderReq]?: FieldRule[] } = {
     }],
 }
 
-const onPriceModeChanged = () => {
-    if (formData.PriceMode === PriceMode.Limit) {
-        const { ask = 0, bid = 0 } = quote.value ?? {}
-        formData.OrderPrice = formData.BuyOrSell === BuyOrSell.Buy ? ask : bid
-    }
-}
+// const onPriceModeChanged = () => {
+//     if (formData.PriceMode === PriceMode.Limit) {
+//         const { ask = 0, bid = 0 } = quote.value ?? {}
+//         formData.OrderPrice = formData.BuyOrSell === BuyOrSell.Buy ? ask : bid
+//     }
+// }
 
 const onBeforeSubmit = (buildType: BuildType) => {
     formData.BuildType = buildType

+ 1 - 1
src/packages/tss/views/product/list/components/waterfall-list/index.vue

@@ -9,7 +9,7 @@
                 <div class="goods-info">
                     <div class="goods-info__title">{{ item.goodscode }}</div>
                     <div class="goods-info__price">
-                        <span :class="['integer', item.askColor]">{{ handleNumberValue(formatDecimal(item.ask)) }}</span>
+                        <span :class="['integer', item.askColor]">{{ handleNumberValue(formatDecimal(item.ask), item.decimalplace) }}</span>
                     </div>
                 </div>
             </div>