Handy_Cao há 2 anos atrás
pai
commit
f68b4ded09

+ 3 - 3
src/packages/pc/views/footer/goods/position/components/delivery/index.vue

@@ -28,14 +28,14 @@
             </el-form-item>
             <el-form-item label="参考损益">
                 <template #value>
-                    <span :class="closepl ? 'g-price-up' : 'g-price-down'">{{ formatDecimal(closepl) }}</span>
+                    <span :class="closepl ? 'g-price-up' : 'g-price-down'">{{ handleNumberValue(closepl) }}</span>
                 </template>
             </el-form-item>
             <el-form-item prop="DeliveryLot" label="交收数量">
                 <el-input-number placeholder="请输入数量" v-model="formData.DeliveryLot" :max="selectedRow.enableqty" :min="0" />
             </el-form-item>
             <el-form-item prop="DeliveryInfo" label="交收信息">
-                <el-input placeholder="请输入交收信息" v-model="formData.DeliveryInfo" />
+                <el-input type="textarea" placeholder="请输入交收信息" v-model="formData.DeliveryInfo" />
             </el-form-item>
         </el-form>
         <template #footer>
@@ -51,7 +51,7 @@ import { ElMessage, FormInstance, FormRules } from 'element-plus'
 import { useOfflineDelivery } from '@/business/trade'
 import { useFuturesStore } from '@/stores'
 import { getBuyOrSellName, BuyOrSell } from '@/constants/order'
-import { formatDecimal } from '@/filters'
+import { formatDecimal, handleNumberValue } from '@/filters'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
 
 const props = defineProps({

+ 0 - 1
src/packages/pc/views/market/trade/goods/index.vue

@@ -61,7 +61,6 @@ const tableList = computed(() => {
     return quoteGoodsList.value.map((item) => {
         const quote = futuresStore.getQuoteInfo(item.goodscode)
         const { bid, bidColor, bidvolume, ask, askColor, askvolume, limitdown, limitup, lastColor, openedColor, lowestColor, highestColor, last, presettle, rise, change, amplitude, highest, lowest, opened, decimalplace } = quote.value ?? {}
-        // console.log(item.goodscode, last)
         return {
             ...item,
             lastColor,