mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-11-04 12:18:43 +08:00 
			
		
		
		
	@@ -245,9 +245,9 @@ const { params } = useRoute() // 查询参数
 | 
				
			|||||||
const getDetail = async () => {
 | 
					const getDetail = async () => {
 | 
				
			||||||
  const id = params.orderId as unknown as number
 | 
					  const id = params.orderId as unknown as number
 | 
				
			||||||
  if (id) {
 | 
					  if (id) {
 | 
				
			||||||
    const res = (await TradeOrderApi.getOrder(66666)) as TradeOrderApi.OrderVO
 | 
					    const res = (await TradeOrderApi.getOrder(id)) as TradeOrderApi.OrderVO
 | 
				
			||||||
    // 没有表单信息则关闭页面返回
 | 
					    // 没有表单信息则关闭页面返回
 | 
				
			||||||
    if (res == null) {
 | 
					    if (res === null) {
 | 
				
			||||||
      message.error('交易订单不存在')
 | 
					      message.error('交易订单不存在')
 | 
				
			||||||
      close()
 | 
					      close()
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user