Handy_Cao 2 years ago
parent
commit
14f10dff46

+ 1 - 1
src/packages/mobile/views/swap/detail/components/delisting/Index.vue

@@ -76,7 +76,7 @@
             </Field>
         </Form>
         <template #footer>
-            <Button type="danger" block round @click="formRef?.submit">摘牌</Button>
+            <Button type="danger" block round @click="formRef?.submit">{{ selectedRow.buyorsell === 0 ? '卖出' : '买入' }}</Button>
         </template>
     </app-popup>
 </template>

+ 1 - 1
src/packages/pc/views/market/trade/swap/detail/order/delisting/index.vue

@@ -57,7 +57,7 @@
         <template #footer>
             <el-button type="info" @click="onCancel(false)">取消</el-button>
             <el-button type="danger" :disabled="!formData.OrderQty || formData.OrderQty > selectedRow.orderqty"
-                        @click="onSubmit(EBuildType.BUILDTYPE_OPEN)">摘牌</el-button>
+                        @click="onSubmit(EBuildType.BUILDTYPE_OPEN)">{{ selectedRow.buyorsell === 0 ? '卖出' : '买入' }}</el-button>
         </template>
     </app-drawer>
 </template>