Commit 7fc59f4a94bb2f5e675dc8305ea439e163517848
1 parent
48e94c3e
Exists in
master
and in
1 other branch
fix: 货源管理
Showing
1 changed file
with
1 additions
and
4 deletions
Show diff stats
pages/goodSource/index.vue
| ... | ... | @@ -134,9 +134,6 @@ export default { |
| 134 | 134 | }, |
| 135 | 135 | }, |
| 136 | 136 | methods: { |
| 137 | - getAllowDriverSeeFreightAmount() { | |
| 138 | - return uni.$u.api.freightOrder.currentFreight({}); | |
| 139 | - }, | |
| 140 | 137 | onTabChange({ index }) { |
| 141 | 138 | if (this.loading) { |
| 142 | 139 | return; |
| ... | ... | @@ -260,7 +257,7 @@ export default { |
| 260 | 257 | }); |
| 261 | 258 | }, |
| 262 | 259 | toAddPage() { |
| 263 | - this.getAllowDriverSeeFreightAmount().then(res => { | |
| 260 | + uni.$u.api.freightOrder.currentFreight({}).then(res => { | |
| 264 | 261 | if (res.result && res.result.goodsSourcePermissionFlag) { |
| 265 | 262 | this.jump2Add(''); |
| 266 | 263 | } else { | ... | ... |