Handy_Cao 2 yıl önce
ebeveyn
işleme
53f99797af

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

@@ -10,7 +10,7 @@
                     <Cell title="商品代码/名称" :value="selectedRow.goodscode + '/' + selectedRow.goodsname" />
                     <Cell title="方向" :value="getBuyOrSellName(selectedRow.buyorsell)" />
                     <Cell title="类型" :value="getBuildTypeName(selectedRow.buildtype)" />
-                    <Cell title="成交数量" :value="formatDecimal(selectedRow.tradeqty)" />
+                    <Cell title="成交数量" :value="selectedRow.tradeqty" />
                     <Cell title="成交价格" :value="formatDecimal(selectedRow.tradeprice)" />
                     <Cell title="手续费" :value="formatDecimal(selectedRow.charge)" />
                     <Cell title="平仓损益" :value="formatDecimal(selectedRow.closepl)" />

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

@@ -32,7 +32,7 @@
                         </li>
                         <li>
                             <span>成交数量</span>
-                            <span>{{ formatDecimal(item.tradeqty) }}</span>
+                            <span>{{ item.tradeqty }}</span>
                         </li>
                         <li>
                             <span>平仓盈亏</span>

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

@@ -20,7 +20,7 @@
                     <Cell title="委托单号" :value="selectedRow.wrtradeorderid" />
                 </CellGroup>
             </div>
-            <template #footer v-if="selectedRow.wrtradeorderstatus === 3 || selectedRow.wrtradeorderstatus === 7">
+            <template #footer v-if="[3, 7].includes(selectedRow.wrtradeorderstatus)">
                 <Button type="primary" block round @click="onCancelSumit">撤销</Button>
             </template>
         </app-view>

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

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

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

@@ -46,7 +46,7 @@
                             </li>
                             <li>
                                 <span>当前步骤</span>
-                                <span>{{ item.curstepname }}</span>
+                                <span>{{ handleNoneValue(item.curstepname) }}</span>
                             </li>
                             <li>
                                 <span>卖方已收</span>
@@ -77,7 +77,7 @@ import { Tab, Tabs, Button } from 'vant'
 import { useComponent } from '@/hooks/component'
 import { useRequest } from '@/hooks/request'
 import { queryPerformancePlan } from '@/services/api/performance'
-import { formatDate } from '@/filters'
+import { formatDate, handleNoneValue } from '@/filters'
 import { getPerformanceStatusName, getPerformanceTypeName } from '@/constants/order'
 
 import AppPullRefresh from '@mobile/components/base/pull-refresh/index.vue'

+ 1 - 1
src/packages/mobile/views/order/performance/components/breach/Index.vue

@@ -9,7 +9,7 @@
                 <CellGroup title="履约信息">
                     <Cell title="履约单号" :value="selectedRow.performanceplanid" />
                     <Cell title="当前步骤" :value="selectedRow.curstepname" />
-                    <Field name="ApplyRemark" label="备注" v-model="formData.ApplyRemark" placeholder="请输入备注"
+                    <Field name="ApplyRemark" label="备注" v-model="formData.ApplyRemark" maxlength="50" type="textarea" rows="2" autosize show-word-limit placeholder="请输入备注"
                         :rules="formRules.ApplyRemark" />
                     <Field name="Attachment" label="附件" :rules="formRules.Attachment" is-link>
                         <template #input>