Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
6ad987e2
提交
6ad987e2
编写于
12月 03, 2021
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
save
上级
7ab3f9c6
变更
2
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
225 行增加
和
179 行删除
+225
-179
create-shop.vue
src/views/shop/create-shop.vue
+192
-170
shop-list.vue
src/views/shop/shop-list.vue
+33
-9
未找到文件。
src/views/shop/create-shop.vue
浏览文件 @
6ad987e2
此差异已折叠。
点击以展开。
src/views/shop/shop-list.vue
浏览文件 @
6ad987e2
...
@@ -162,16 +162,40 @@
...
@@ -162,16 +162,40 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
min-width=
"230"
align=
"center"
fixed=
"right"
>
<el-table-column
label=
"操作"
min-width=
"230"
align=
"center"
fixed=
"right"
>
<!-- <template slot-scope="scope">-->
<!-- <div>-->
<!-- <el-button v-if="scope.row.tradeStore.storeType == 1 && scope.row.tradeStore.certifyStatus == 3" @click="setPrice(scope.row, false)" type="text" size="small">设置分佣</el-button>-->
<!-- <el-button @click="editShop(scope.row, 'true')" type="text" size="small">查看</el-button>-->
<!-- <el-button v-if="scope.row.tradeStore.storeType == 1 && scope.row.tradeStore.certifyStatus > 2" @click="editShop(scope.row, 'false')" type="text" size="small">编辑</el-button>-->
<!-- <el-button v-if="checkIsEdit(scope.row)" @click="shopManage(scope.row)" type="text" size="small">商品管理</el-button>-->
<!-- <el-button v-if="checkIsEdit(scope.row)" @click="orderManage(scope.row)" type="text" size="small">订单管理</el-button>-->
<!-- <el-button v-if="scope.row.tradeStore.storeType == 1 && scope.row.tradeStore.certifyStatus == 3"@click="setFreight(scope.row)" type="text" size="small">运费配置</el-button>-->
<!-- <el-button v-if="scope.row.tradeStore.storeType == 3" @click="closeShopAction(scope.row)" type="text" size="small">关闭店铺</el-button>-->
<!-- </div>-->
<!-- </template>-->
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div>
<div>
<el-button
v-if=
"scope.row.tradeStore.commissionFlag == 2"
@
click=
"setPrice(scope.row, false)"
type=
"text"
size=
"small"
>
设置分佣
</el-button>
<el-button
@
click=
"setPrice(scope.row, false)"
type=
"text"
size=
"small"
>
设置分佣
</el-button>
<el-button
v-if=
"scope.row.tradeStore.storeStatus
<
=
2
"
@
click=
"editShop(scope.row, 'true')"
type=
"text"
size=
"small"
>
{{
scope
.
row
.
tradeStore
.
storeStatus
<=
2
?
'查看'
:
''
}}
</el-button>
<el-button
@
click=
"editShop(scope.row, 'true')"
type=
"text"
size=
"small"
>
查看
</el-button>
<el-button
@
click=
"editShop(scope.row, 'false')"
type=
"text"
size=
"small"
>
编辑
</el-button>
<el-button
@
click=
"shopManage(scope.row)"
type=
"text"
size=
"small"
>
商品管理
</el-button>
<el-button
v-if=
"checkIsEdit(scope.row)"
@
click=
"editShop(scope.row, 'false')"
type=
"text"
size=
"small"
>
编辑
</el-button>
<el-button
@
click=
"shopManage(scope.row)"
type=
"text"
size=
"small"
>
商品管理
</el-button>
<el-button
@
click=
"orderManage(scope.row)"
type=
"text"
size=
"small"
>
订单管理
</el-button>
<el-button
@
click=
"orderManage(scope.row)"
type=
"text"
size=
"small"
>
订单管理
</el-button>
<el-button
v-if=
"scope.row.tradeStore.commissionFlag == 2"
@
click=
"setFreight(scope.row)"
type=
"text"
size=
"small"
>
运费配置
</el-button>
<el-button
v-if=
"storageIdType == 1 && (scope.row.tradeStore.storeType == 3 && scope.row.tradeStore.storeStatus == 1)"
@
click=
"closeShopAction(scope.row)"
type=
"text"
size=
"small"
>
关闭店铺
</el-button>
<el-button
@
click=
"setFreight(scope.row)"
type=
"text"
size=
"small"
>
运费配置
</el-button>
<el-button
@
click=
"closeShopAction(scope.row)"
type=
"text"
size=
"small"
>
关闭店铺
</el-button>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -669,11 +693,11 @@
...
@@ -669,11 +693,11 @@
},
},
checkIsEdit
(
row
){
checkIsEdit
(
row
){
const
{
storeType
,
certifyStatus
}
=
row
.
tradeStore
;
const
{
storeType
,
certifyStatus
}
=
row
.
tradeStore
;
if
(
storeType
==
3
&&
certifyStatus
==
1
){
if
(
storeType
==
1
&&
certifyStatus
==
3
){
return
true
return
true
}
else
if
(
storeType
!=
3
&&
certifyStatus
>
2
){
}
else
if
(
storeType
==
2
&&
(
certifyStatus
==
1
||
certifyStatus
==
3
)
){
return
true
return
true
}
else
{
}
else
if
(
storeType
==
3
&&
certifyStatus
>
2
)
{
return
false
;
return
false
;
}
}
}
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录