Commit 036a0c11 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix:查询品牌详情参数id变更为审核品牌后的返回最新id

parent a6fd8a0b
......@@ -86,6 +86,10 @@ export function render(oldRender:Function) {
* @param {*} { routes, matchedRoutes, location, action }
*/
export function onRouteChange({ routes, matchedRoutes, location, action }) {
console.log('onRouteChange')
// 路由切换时, 自动回到顶部
document.body.scrollTop = document.documentElement.scrollTop = 0;
if (isDev) {
console.log('dev')
return;
......
......@@ -586,6 +586,7 @@ export const PurchaseOrderOutWorkStateTexts = {
export const PurchaseOrderInsideWorkStateTexts = {
"-1": '取消订单',
0: '订单完成',
1: '新增采购订单',
2: '一级审核订单',
3: '二级审核订单',
......@@ -605,6 +606,7 @@ export const PurchaseOrderInsideWorkStateTexts = {
// 销售订单内部显示文案
export const SaleOrderInsideWorkStateTexts = {
0: '订单完成',
1: '待审核订单',
2: '一级审核订单',
3: '二级审核订单',
......
......@@ -166,7 +166,7 @@ const CheckBrand: React.FC<{}> = () => {
if(res.code=1000){
handleCancel()
setDisableCheck(true)
loadPageData(brandInfo.id)
loadPageData(res.data)
}
})
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment