Handy_Cao 1 năm trước cách đây
mục cha
commit
ae1901bb19

+ 2 - 2
src/packages/mobile/views/order/position/components/pricing/detail2/components/transfer/Index.vue

@@ -29,7 +29,7 @@
                             <span :class="quote?.lastColor">{{ handleNumberValue(quote?.last) }}</span>
                         </template>
                     </Field>
-                    <Field :label="$t('quote.pricing.pricemode')">
+                    <!-- <Field :label="$t('quote.pricing.pricemode')">
                         <template #input>
                             <RadioGroup v-model="formData.PriceMode" direction="horizontal" @click="onPriceModeChanged">
                                 <Radio v-for="(item, index) in getPricemode2List()" :key="index" :name="item.value">{{
@@ -37,7 +37,7 @@
                                 }}</Radio>
                             </RadioGroup>
                         </template>
-                    </Field> 
+                    </Field>  -->
                     <!-- <Field name="MarketMaxSub" :rules="formRules.MarketMaxSub" :label="$t('quote.pricing.marketmaxsub1')" v-if="formData.PriceMode === PriceMode.Market">
                         <template #input>
                             <Stepper v-model="formData.MarketMaxSub" theme="round" button-size="22" :min="0" :max="999" :auto-fixed="false" />

+ 22 - 30
src/packages/tss/views/order/list/prepayment/Index.vue

@@ -20,46 +20,38 @@
                     <div class="right">
                         <ul>
                             <li>
-                                <span>订单重量:</span>
-                                <span>
-                                    {{ item.openqty * item.agreeunit }}
-                                    {{ getGoodsUnitName(item.goodunitid) }}
-                                </span>
+                                <span>{{ $t('position.goodscode') }}:</span>
+                                <span>{{ item.goodscode }}</span>
                             </li>
                             <li>
-                                <span>交收重量:</span>
-                                <span>{{ (item.deliveryqty * item.agreeunit) + getGoodsUnitName(item.goodunitid)
-                                    }}</span>
+                                <span>{{ $t('position.goods.holddetail.holderamount') }}:</span>
+                                <span>{{ formatDecimal(item.tradeamount, item.decimalplace) }}</span>
                             </li>
+                            <!-- <li>
+                                <span>{{ $t('position.goods.holddetail.usedMargin') }}:</span>
+                                <span>{{ formatDecimal(item.payeddeposit+item.refundabledeposit, item.decimalplace) }}</span>
+                            </li> -->
                             <li>
-                                <span>可用重量:</span>
-                                <span>
-                                    {{ enableqty(item) + getGoodsUnitName(item.goodunitid) }}
+                                <span>货值增减:</span>
+                                <span :class="handlePriceColor(item.floatpl)">
+                                    {{ formatDecimal(item.floatpl) }}
                                 </span>
                             </li>
                             <li>
-                                <span>订单价格:</span>
-                                <span>{{ formatDecimal(item.openprice, item.decimalplace) }}</span>
-                            </li>
-                            <li>
-                                <span>已付定金:</span>
-                                <span>{{ item.payeddeposit }}</span>
+                                <span>退订价:</span>
+                                <span>{{ formatDecimal(item.holderprice, item.decimalplace) }}</span>
                             </li>
-                            <li>
-                                <span>终止结余:</span>
-                                <span :class="handlePriceColor(item.closepl)">{{ item.closepl }}</span>
-                            </li>
-                            <li v-if="riskType === 1">
-                                <span>已补定金:</span>
-                                <span>{{ item.restockdeposit }}</span>
+                            <!-- <li>
+                                <span>{{ $t('position.goods.holddetail.freezeqty') }}:</span>
+                                <span>{{ item.freezeqty }}</span>
                             </li>
                             <li>
-                                <span>订单天数:</span>
-                                <span>{{ item.holddays + 1 }}天</span>
-                            </li>
+                                <span>{{ $t('position.goods.holddetail.holderqty') }}:</span>
+                                <span>{{ enableqty(item) + getGoodsUnitName(item.goodunitid) }}</span>
+                            </li> -->
                             <li>
-                                <span>滞纳金:</span>
-                                <span>{{ item.callatefee }}</span>
+                                <span>{{ $t('position.goods.holddetail.tradetime') }}:</span>
+                                <span>{{ formatDate(item.tradetime, "YYYY-MM-DD HH:mm:ss") }}</span>
                             </li>
                         </ul>
                     </div>
@@ -73,7 +65,7 @@
 import { shallowRef } from 'vue'
 import { Image } from 'vant'
 import { formatDecimal, handlePriceColor } from '@/filters'
-import { getFileUrl } from '@/filters'
+import { getFileUrl, formatDate } from '@/filters'
 import { getGoodsUnitName } from '@/constants/unit'
 import { getBuyOrSellName } from '@/constants/order'
 import { useRequest } from '@/hooks/request'