|
|
@@ -1,4 +1,3 @@
|
|
|
-import { isOemByEnum, OemType } from '@/common/config/projectName';
|
|
|
import { TradeMode } from '@/common/constants/enumCommon';
|
|
|
import APP from '@/services';
|
|
|
import { isAllEnum } from '@/services/bus/allEnum';
|
|
|
@@ -31,10 +30,7 @@ export const login = async (logidCode: string, password: string, byteArr: Uint8A
|
|
|
await Promise.all([GetErmcpGoods(), GetPCMenus(), QueryTableDefine(), getServerTime(), LoginQuery(), QueryDeliveryGoodsDetail(), getTaAccount(), queryMarketRun()])
|
|
|
const marketInfo = getMarketByTradeMode(TradeMode.WarehouseReceiptTrade);
|
|
|
if (marketInfo) {
|
|
|
- if (isOemByEnum(OemType.wrspot)) {
|
|
|
- // 仓单贸易交易规则
|
|
|
- await queryWrMarketTradeConfig({ marketid: marketInfo.marketid })
|
|
|
- }
|
|
|
+ await queryWrMarketTradeConfig({ marketid: marketInfo.marketid })
|
|
|
}
|
|
|
|
|
|
// await GetPCMenus();
|