Commit 10ff810f authored by dragondean@qq.com's avatar dragondean@qq.com

修复渠道禁用后空运价格列表渠道显示不出来

parent babb6a92
...@@ -58,6 +58,15 @@ export function getChannelList(query) { ...@@ -58,6 +58,15 @@ export function getChannelList(query) {
}) })
} }
// 获取全部渠道(含被禁用的数据)
export function getAllChannelList(query) {
return request({
url: '/ecw/channel/all/select',
method: 'get',
params: query
})
}
// 导出渠道管理 Excel // 导出渠道管理 Excel
export function exportChannelExcel(query) { export function exportChannelExcel(query) {
return request({ return request({
......
...@@ -358,7 +358,7 @@ import { getDictDatas, DICT_TYPE } from '@/utils/dict' ...@@ -358,7 +358,7 @@ import { getDictDatas, DICT_TYPE } from '@/utils/dict'
import { getCurrencyList } from '@/api/ecw/currency'; import { getCurrencyList } from '@/api/ecw/currency';
import { getUnitList } from '@/api/ecw/unit'; import { getUnitList } from '@/api/ecw/unit';
import { AuditStatusEnum} from '@/utils/constants' import { AuditStatusEnum} from '@/utils/constants'
import { getChannelList } from '@/api/ecw/channel'; import { getAllChannelList, getChannelList } from '@/api/ecw/channel'
import DictTag from '@/components/DictTag' import DictTag from '@/components/DictTag'
import {arrryToKeyedObjectBy} from '@/utils/index' import {arrryToKeyedObjectBy} from '@/utils/index'
import { getProduct } from '@/api/ecw/product'; import { getProduct } from '@/api/ecw/product';
...@@ -678,7 +678,7 @@ export default { ...@@ -678,7 +678,7 @@ export default {
methods: { methods: {
getChannelList(){ getChannelList(){
getChannelList().then(res => this.channelList = res.data) getAllChannelList().then(res => this.channelList = res.data)
}, },
/** 获取产品属性列表 */ /** 获取产品属性列表 */
getAttrList() { getAttrList() {
......
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