Commit 7e4c2f27f0192a25c5a4053e0636448eb94b3a10

Authored by zhongnanhuang
1 parent ffa3b33e

feat: update 销售只查看自己的订单

Showing 1 changed file with 1 additions and 1 deletions
src/pages/Order/index.tsx
@@ -2244,7 +2244,7 @@ const OrderPage = () => { @@ -2244,7 +2244,7 @@ const OrderPage = () => {
2244 ); 2244 );
2245 } 2245 }
2246 2246
2247 - if (roleCode === 'salesRepresentative') { 2247 + if (roleCode === 'salesRepresentative' || roleCode === 'salesManager') {
2248 toolBtns.push( 2248 toolBtns.push(
2249 <Checkbox onChange={changeSalesCreateProcessed}>只看我创建</Checkbox>, 2249 <Checkbox onChange={changeSalesCreateProcessed}>只看我创建</Checkbox>,
2250 ); 2250 );