Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
84000d3c
提交
84000d3c
编写于
6月 15, 2021
作者:
vino
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
商品ID优化
上级
866321bb
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
15 行增加
和
37 行删除
+15
-37
index.js
src/utils/goods/index.js
+11
-1
freight-config.vue
src/views/freight/freight-config.vue
+4
-36
未找到文件。
src/utils/goods/index.js
浏览文件 @
84000d3c
...
...
@@ -112,4 +112,14 @@ export const getCheckPackageIdList = (storeId) => {
method
:
'post'
,
description
:
''
,
})
};
\ No newline at end of file
};
export
const
getGoodsIdList
=
(
params
)
=>
{
return
fetch
({
headers
,
url
:
getBaseUrl
(
`store/goods/query/v2`
),
method
:
'post'
,
data
:
params
,
description
:
'商品ID列表查询'
,
})
};
src/views/freight/freight-config.vue
浏览文件 @
84000d3c
...
...
@@ -242,7 +242,7 @@ let vm = null;
import
BreadCrumb
from
"@/components/breadcrumb.vue"
;
import
{
getExpressFee
,
createOrModifyExpressFee
,
getFreightConfig
,
saveFreightConfig
}
from
"@/utils/freight"
;
import
{
closeLoading
,
openLoading
}
from
"../../utils/utils"
;
import
{
getGoods
List
}
from
'@/utils/goods'
;
import
{
getGoods
IdList
}
from
'@/utils/goods'
;
export
default
{
components
:
{
BreadCrumb
...
...
@@ -343,7 +343,6 @@ export default {
this
.
storeId
=
this
.
$route
.
query
.
storeId
;
// this.getExpressFeeInfo();
this
.
getFreightConfig
();
this
.
tableData
=
[{
goodsIdList
:
[{
goodsId
:
119895
},{
goodsId
:
119894
}],
condition
:
"满3件包邮"
,
desc
:
"单品满3件包邮"
}];
},
methods
:
{
...
...
@@ -566,41 +565,10 @@ export default {
})
},
getLists
(){
openLoading
(
this
);
// searchForm: {
// goodsIdList:[],
// goodsName :'',
// goodsType :'',
// pageNo:1,
// pageSize: 10,
// storeId:0,
// commissionType: 0
// },
getGoodsList
(
this
.
searchForm
).
then
((
res
)
=>
{
if
(
res
.
code
!=
'000000'
){
return
this
.
$message
({
message
:
res
.
message
,
type
:
'error'
});
}
closeLoading
(
this
);
if
(
res
.
data
==
null
){
return
this
.
$message
({
message
:
'分页数据加载失败'
,
type
:
'error'
});
}
this
.
tableData
=
res
.
data
.
goodsList
;
this
.
totalRows
=
res
.
data
.
totalCount
;
this
.
isSSO
=
res
.
data
.
isSSO
;
})
},
remoteMethod
(
val
)
{
this
.
searchForm
=
{
goodsIdList
:[],
good
sName
:
val
,
goodsIdList
:[],
good
IdStr
:
val
,
goodsType
:
''
,
pageNo
:
1
,
pageSize
:
10
,
...
...
@@ -609,7 +577,7 @@ export default {
};
if
(
val
.
length
>=
2
)
{
// console.log('搜索',val)
getGoodsList
(
this
.
searchForm
)
getGoods
Id
List
(
this
.
searchForm
)
// this.GET(`/diagnose/commission/downDoctor/doctorInfoByNameLike?name=${val}`)
.
then
(
function
(
res
)
{
if
(
res
.
code
==
'000000'
)
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录