添加注释,删除无用代码

This commit is contained in:
mabo
2021-05-13 18:09:36 +08:00
parent 967e673647
commit a2752a731d
122 changed files with 868 additions and 1185 deletions

View File

@@ -150,11 +150,6 @@ export default {
}
};
return {
maxHeight: "240px",
modalType: 0,
/** 当前状态/模式 默认发布商品0 编辑商品1 编辑草稿箱商品2 */
currentStatus: 0,
categoryId: 0,
form: {
/** 店铺承担比例 */
sellerCommission: 0,
@@ -171,8 +166,8 @@ export default {
getType: "FREE",
promotionGoodsList: [],
},
pointsGoodsList: [],
categoryList: [],
pointsGoodsList: [], // 积分商品列表
categoryList: [], // 分类列表
submitLoading: false, // 添加或编辑提交状态
selectedGoods: [], // 已选商品列表,便于删除
formRule: {

View File

@@ -118,11 +118,7 @@ export default {
name: "addCoupon",
data() {
return {
maxHeight: "240px",
modalType: 0,
/** 当前状态/模式 默认发布商品0 编辑商品1 编辑草稿箱商品2 */
currentStatus: 0,
categoryId: 0,
modalType: 0, // 添加、编辑标识
form: {
/** 活动名称 */
promotionName: "",
@@ -137,9 +133,8 @@ export default {
goodsSku: {},
promotionStatus: "NEW",
},
categoryList: [],
id: this.$route.query.id,
periodTime: 0,
categoryList: [], // 分类列表
id: this.$route.query.id, // 活动id
submitLoading: false, // 添加或编辑提交状态
formRule: {

View File

@@ -150,13 +150,13 @@ export default {
pageSize: 10, // 页面大小
order: "desc", // 默认排序方式
},
statusList: [
statusList: [ // 活动状态
{ label: "未开始", value: "NEW" },
{ label: "已开始", value: "START" },
{ label: "已结束", value: "END" },
{ label: "已关闭", value: "CLOSE" },
],
columns: [
columns: [ // 表头
{
title: "商品名称",
slot: "goodsName",