jufubao-admin-library 1.1.187 → 1.1.188
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -220,6 +220,31 @@ export default {
|
|
|
220
220
|
this.tableKey = Date.now()
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
+
},
|
|
224
|
+
storeType:{
|
|
225
|
+
handler(n,o){
|
|
226
|
+
if(n&&n!==o){
|
|
227
|
+
getOptions({
|
|
228
|
+
server: "supplier-partner",
|
|
229
|
+
fn: "select-shop-channel",
|
|
230
|
+
path: "p3",
|
|
231
|
+
params:{
|
|
232
|
+
type:'market',
|
|
233
|
+
consume_mode:n,
|
|
234
|
+
from:1,
|
|
235
|
+
}
|
|
236
|
+
}).then((res) => {
|
|
237
|
+
this.channelTabList = res.data.channel_data
|
|
238
|
+
this.channelActive = res.data.channel_data[0]['value']
|
|
239
|
+
this.getSearchOptions()
|
|
240
|
+
})
|
|
241
|
+
.catch(err=>{
|
|
242
|
+
|
|
243
|
+
})
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
immediate:true,
|
|
247
|
+
deep:true,
|
|
223
248
|
}
|
|
224
249
|
},
|
|
225
250
|
computed:{
|
|
@@ -277,23 +302,6 @@ export default {
|
|
|
277
302
|
async created(){
|
|
278
303
|
let cityData = await this.getAllCityList()
|
|
279
304
|
this.cityData = cityData.data.list
|
|
280
|
-
getOptions({
|
|
281
|
-
server: "supplier-partner",
|
|
282
|
-
fn: "select-shop-channel",
|
|
283
|
-
path: "p3",
|
|
284
|
-
params:{
|
|
285
|
-
type:'market',
|
|
286
|
-
consume_mode:this.storeType,
|
|
287
|
-
from:1,
|
|
288
|
-
}
|
|
289
|
-
}).then((res) => {
|
|
290
|
-
this.channelTabList = res.data.channel_data
|
|
291
|
-
this.channelActive = res.data.channel_data[0]['value']
|
|
292
|
-
this.getSearchOptions()
|
|
293
|
-
})
|
|
294
|
-
.catch(err=>{
|
|
295
|
-
|
|
296
|
-
})
|
|
297
305
|
},
|
|
298
306
|
|
|
299
307
|
methods: {
|
|
@@ -381,27 +381,36 @@ export default {
|
|
|
381
381
|
this.tableKey = Date.now()
|
|
382
382
|
this.initSearchForm(this.searchOptions,n)
|
|
383
383
|
}
|
|
384
|
+
},
|
|
385
|
+
storeType:{
|
|
386
|
+
handler(n,o){
|
|
387
|
+
if(n&&n!==o){
|
|
388
|
+
getOptions({
|
|
389
|
+
server: "supplier-partner",
|
|
390
|
+
fn: "select-shop-channel",
|
|
391
|
+
path: "p3",
|
|
392
|
+
params:{
|
|
393
|
+
type:'select',
|
|
394
|
+
from:1,
|
|
395
|
+
consume_mode:n
|
|
396
|
+
}
|
|
397
|
+
}).then((res) => {
|
|
398
|
+
this.channelTabList = res.data.channel_data
|
|
399
|
+
this.channelActive = res.data.channel_data[0]['value']
|
|
400
|
+
this.getSearchOptions()
|
|
401
|
+
})
|
|
402
|
+
.catch(err=>{
|
|
403
|
+
|
|
404
|
+
})
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
immediate:true,
|
|
408
|
+
deep:true,
|
|
384
409
|
}
|
|
385
410
|
},
|
|
386
411
|
async created(){
|
|
387
412
|
let cityData = await this.getAllCityList()
|
|
388
413
|
this.cityData = cityData.data.list
|
|
389
|
-
getOptions({
|
|
390
|
-
server: "supplier-partner",
|
|
391
|
-
fn: "select-shop-channel",
|
|
392
|
-
path: "p3",
|
|
393
|
-
params:{
|
|
394
|
-
type:'select',
|
|
395
|
-
from:1,
|
|
396
|
-
}
|
|
397
|
-
}).then((res) => {
|
|
398
|
-
this.channelTabList = res.data.channel_data
|
|
399
|
-
this.channelActive = res.data.channel_data[0]['value']
|
|
400
|
-
this.getSearchOptions()
|
|
401
|
-
})
|
|
402
|
-
.catch(err=>{
|
|
403
|
-
|
|
404
|
-
})
|
|
405
414
|
},
|
|
406
415
|
mounted () {
|
|
407
416
|
|