Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
774daeff
提交
774daeff
编写于
6月 02, 2021
作者:
vino
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改新建和导入商品后,缺失分佣方式和商品分佣的展示的问题
上级
389f35a9
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
7 行增加
和
4 行删除
+7
-4
create-good.vue
src/views/goods/create-good.vue
+5
-2
goods-manage.vue
src/views/goods/goods-manage.vue
+2
-2
未找到文件。
src/views/goods/create-good.vue
浏览文件 @
774daeff
...
...
@@ -812,6 +812,7 @@
goodsId
:
0
,
// 新增时传0,更新时必需>0
goodsType
:
''
,
storeId
:
''
,
commissionFlag
:
2
,
// 不同类型服务的表单通用字段
// 不同类型服务的表单通用字段
// 不同类型服务的表单通用字段
...
...
@@ -842,10 +843,11 @@
},
created
()
{
vm
=
this
;
const
{
id
,
storeId
,
goodsType
,
inputType
}
=
this
.
$route
.
query
;
const
{
id
,
storeId
,
goodsType
,
inputType
,
commissionFlag
}
=
this
.
$route
.
query
;
this
.
goodsType
=
goodsType
;
this
.
storeId
=
storeId
;
this
.
inputType
=
inputType
||
''
;
this
.
commissionFlag
=
commissionFlag
;
// this.formData = originForm;
// this.formData1 = originForm1;
// this.formData2 = originForm2;
...
...
@@ -854,7 +856,7 @@
this
.
rules2
=
originRules2
;
// this.rules2.barCode = originRules.barCode;
this
.
jumPathThird
=
'/goods-manage?storeId='
+
storeId
this
.
jumPathThird
=
'/goods-manage?storeId='
+
storeId
+
'&commissionFlag='
+
this
.
commissionFlag
;
//this.jumPathThird = '/create-good?id=add&storeId=46'
this
.
title
=
id
==
'add'
?
'新增商品'
:
'编辑商品'
;
this
.
isEdit
=
id
!=
'add'
;
...
...
@@ -1295,6 +1297,7 @@
path
:
'/goods-manage'
,
query
:
{
storeId
:
this
.
formData
.
storeId
,
commissionFlag
:
this
.
commissionFlag
}
})
})
...
...
src/views/goods/goods-manage.vue
浏览文件 @
774daeff
...
...
@@ -547,9 +547,9 @@
const
{
goodsType
}
=
row
;
let
url
=
''
if
(
row
==
'add'
){
url
=
`/create-good?id=add&storeId=
${
this
.
searchForm
.
storeId
}
&inputType=1`
url
=
`/create-good?id=add&storeId=
${
this
.
searchForm
.
storeId
}
&inputType=1
&commissionFlag=
${
this
.
commissionFlag
}
`
}
else
{
url
=
`/create-good?id=
${
row
.
goodsId
}
&storeId=
${
this
.
searchForm
.
storeId
}
&goodsType=
${
goodsType
}
`
url
=
`/create-good?id=
${
row
.
goodsId
}
&storeId=
${
this
.
searchForm
.
storeId
}
&goodsType=
${
goodsType
}
&commissionFlag=
${
this
.
commissionFlag
}
`
}
// this.$store.dispatch('goodsManage/changeGoodsInfo', {...row});
this
.
$router
.
push
({
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录