Handy_Cao 2 năm trước cách đây
mục cha
commit
46b88d6d09

+ 1 - 1
src/business/trade/index.ts

@@ -251,7 +251,6 @@ export function useWrListingCancelOrder() {
         OperatorID: loginStore.loginId,
         OrderSrc: OrderSrc.ORDERSRC_CLIENT,
         ClientOrderTime: formatDate(new Date().toISOString()),
-        ClientSerialNo: v4(),
         ClientType: ClientType.Web,
     })
 
@@ -260,6 +259,7 @@ export function useWrListingCancelOrder() {
             loading.value = true
             return await wrListingCancelOrder({
                 data: {
+                    ClientSerialNo: v4(),
                     ...formData,
                 }
             })

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

@@ -60,7 +60,6 @@ import { formatDate, formatDecimal } from '@/filters'
 import { useWrListingCancelOrder } from '@/business/trade'
 import { dialog } from '@/utils/vant'
 import { fullloading } from '@/utils/vant'
-
 import AppPullRefresh from '../../../../../../components/base/pull-refresh/index.vue'
 
 const componentMap = new Map<string, unknown>([
@@ -104,7 +103,6 @@ const onCancelSumit = (item: Model.WrOrderDetailRsp) => {
         formData.Header = { MarketID: 17201 }
         formData.OldWRTradeOrderID = item.wrtradeorderid
         formData.BuyOrSell = item.buyorsell
-
         /// loding....
         fullloading((hideLoading) => {
             cancelSubmit().then(() => {