|
@@ -252,7 +252,7 @@ export function useWrListingCancelOrder() {
|
|
|
OperatorID: loginStore.loginId,
|
|
OperatorID: loginStore.loginId,
|
|
|
OrderSrc: OrderSrc.ORDERSRC_CLIENT,
|
|
OrderSrc: OrderSrc.ORDERSRC_CLIENT,
|
|
|
OldWRTradeOrderID: Long.fromString(id),
|
|
OldWRTradeOrderID: Long.fromString(id),
|
|
|
- ClientOrderTime: formatDate(new Date().toString(), 'YYYY-MM-DD HH:mm:ss'),
|
|
|
|
|
|
|
+ ClientOrderTime: formatDate(new Date().toISOString()),
|
|
|
ClientSerialNo: v4(),
|
|
ClientSerialNo: v4(),
|
|
|
ClientType: ClientType.Web,
|
|
ClientType: ClientType.Web,
|
|
|
BuyOrSell: buyorsell,
|
|
BuyOrSell: buyorsell,
|
|
@@ -485,18 +485,17 @@ export function useCancelOrder() {
|
|
|
OperatorID: loginStore.loginId,
|
|
OperatorID: loginStore.loginId,
|
|
|
OrderSrc: OrderSrc.ORDERSRC_CLIENT,
|
|
OrderSrc: OrderSrc.ORDERSRC_CLIENT,
|
|
|
AccountID: accountStore.accountId,
|
|
AccountID: accountStore.accountId,
|
|
|
- ClientSerialNo: v4(),
|
|
|
|
|
- ClientOrderTime: formatDate(new Date().toString(), 'YYYY-MM-DD HH:mm:ss'),
|
|
|
|
|
ClientType: ClientType.Web,
|
|
ClientType: ClientType.Web,
|
|
|
OperateType: EOperateType.OPERATETYPE_ORDERCANCEL,
|
|
OperateType: EOperateType.OPERATETYPE_ORDERCANCEL,
|
|
|
})
|
|
})
|
|
|
- const cancelSubmit = async (orderid: string) => {
|
|
|
|
|
|
|
+ const cancelSubmit = async () => {
|
|
|
try {
|
|
try {
|
|
|
loading.value = true
|
|
loading.value = true
|
|
|
return await cancelOrder({
|
|
return await cancelOrder({
|
|
|
data: {
|
|
data: {
|
|
|
...formData,
|
|
...formData,
|
|
|
- OldOrderId: orderid
|
|
|
|
|
|
|
+ ClientSerialNo: v4(),
|
|
|
|
|
+ ClientOrderTime: formatDate(new Date().toISOString()),
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
} finally {
|
|
} finally {
|
|
@@ -518,7 +517,7 @@ export function useHolderClose() {
|
|
|
/// 参数信息
|
|
/// 参数信息
|
|
|
const formData = reactive<Partial<Proto.HolderCloseReq>>({
|
|
const formData = reactive<Partial<Proto.HolderCloseReq>>({
|
|
|
ClientSerialNo: v4(),
|
|
ClientSerialNo: v4(),
|
|
|
- ClientOrderTime: formatDate(new Date().toString(), 'YYYY-MM-DD HH:mm:ss'),
|
|
|
|
|
|
|
+ ClientOrderTime: formatDate(new Date().toISOString()),
|
|
|
ClientType: ClientType.Web,
|
|
ClientType: ClientType.Web,
|
|
|
LoginID: loginStore.loginId,
|
|
LoginID: loginStore.loginId,
|
|
|
AccountID: accountStore.accountId,
|
|
AccountID: accountStore.accountId,
|