Commit 7fc59f4a94bb2f5e675dc8305ea439e163517848

Authored by lxf
1 parent 48e94c3e

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,9 +134,6 @@ export default {
134 }, 134 },
135 }, 135 },
136 methods: { 136 methods: {
137 - getAllowDriverSeeFreightAmount() {  
138 - return uni.$u.api.freightOrder.currentFreight({});  
139 - },  
140 onTabChange({ index }) { 137 onTabChange({ index }) {
141 if (this.loading) { 138 if (this.loading) {
142 return; 139 return;
@@ -260,7 +257,7 @@ export default { @@ -260,7 +257,7 @@ export default {
260 }); 257 });
261 }, 258 },
262 toAddPage() { 259 toAddPage() {
263 - this.getAllowDriverSeeFreightAmount().then(res => { 260 + uni.$u.api.freightOrder.currentFreight({}).then(res => {
264 if (res.result && res.result.goodsSourcePermissionFlag) { 261 if (res.result && res.result.goodsSourcePermissionFlag) {
265 this.jump2Add(''); 262 this.jump2Add('');
266 } else { 263 } else {