Handy_Cao 2 lat temu
rodzic
commit
083117da54

+ 1 - 1
src/packages/mobile/components/modules/quote/price/index.vue

@@ -6,7 +6,7 @@
                     <span :class="quote.lastColor">{{ handleNumberValue(quote.last) }}</span>
                 </div>
                 <div class="bottom-content">
-                    <span :class="quote.lastColor">{{ handleNumberValue(quote.rise.toFixed(quote.decimalplace)) }}</span>
+                    <span :class="quote.lastColor">{{ quote.rise.toFixed(quote.decimalplace) }}</span>
                     <span :class="quote.lastColor">{{ parsePercent(quote.change) }}</span>
                 </div>
             </div>

+ 1 - 1
src/packages/mobile/views/order/list/components/transferorder/list/Index.vue

@@ -34,7 +34,7 @@
                 </div>
                 <div class="g-order-list__btnbar">
                     <Button size="small" @click="showComponent('detail', item)" round>详情</Button>
-                    <Button size="small" @click="cancel(item)" round>撤销</Button>
+                    <Button size="small" @click="cancel(item)" v-if="[3, 7].includes(item.orderstatus)" round>撤销</Button>
                 </div>
             </div>
         </div>

+ 2 - 2
src/packages/mobile/views/order/performance/Index.vue

@@ -59,8 +59,8 @@
                         </ul>
                     </div>
                     <div class="g-order-list__btnbar">
-                        <Button size="small" @click="showComponent('breach', item)" round>违约</Button>
-                        <Button size="small" @click="showComponent('modify', item)" round>修改</Button>
+                        <Button size="small" v-if="![6, 7].includes(item.performancestatus)" @click="showComponent('breach', item)" round>违约</Button>
+                        <Button size="small" v-if="![6, 7].includes(item.performancestatus)" @click="showComponent('modify', item)" round>修改</Button>
                         <Button size="small" @click="showComponent('detail', item)" round>详情</Button>
                     </div>
                 </div>

+ 1 - 1
src/packages/mobile/views/order/position/components/goods/delivery/Index.vue

@@ -9,7 +9,7 @@
                 <CellGroup title="持仓信息">
                     <Cell title="商品代码/名称" :value="selectedRow.goodscode + '/' + selectedRow.goodsname" />
                     <Cell title="持仓方向" :value="getBuyOrSellName(selectedRow.buyorsell)" />
-                    <Cell title="持仓金额" :value="formatDecimal(selectedRow.holderamount)" />
+                    <Cell title="持仓金额" :value="formatDecimal(selectedRow.marketamount)" />
                     <Cell title="持仓数量" :value="formatDecimal(selectedRow.curpositionqty)" />
                     <Cell title="冻结数量" :value="formatDecimal(selectedRow.frozenqty)" />
                     <Cell title="可用数量" :value="formatDecimal(selectedRow.enableqty)" />