@@ -72,6 +69,7 @@ export default {
this.getShopList();
},
methods: {
+ // 页面触底
handleReachBottom() {
setTimeout(() => {
if (this.params.pageNumber * this.params.pageSize <= this.total) {
@@ -80,6 +78,7 @@ export default {
}
}, 1500);
},
+ // 查询店铺列表
getShopList() {
getShopListData(this.params).then((res) => {
if (res.success) {
@@ -92,6 +91,7 @@ export default {
}
});
},
+ // 变更店铺
changeshop(val) {
this.selectedWay.storeId = this.storeId;
this.$emit("selected", this.selectedWay);
@@ -118,7 +118,7 @@ export default {
}
this.dates = dates.reverse();
},
-
+ // 改变已选店铺
changeSelect() {
console.log(this.month);
if (this.month) {
@@ -130,11 +130,10 @@ export default {
this.selectedWay.searchType = "";
this.$emit("selected", this.selectedWay);
- // console.log(this.$emit("selected", this.selectedWay));
} else {
}
},
-
+ // 变更时间
clickBreadcrumb(item) {
this.dateList.forEach((res) => {
res.selected = false;
@@ -148,7 +147,6 @@ export default {
}
this.selectedWay = item;
- // this.month = "";
this.selectedWay.year = new Date().getFullYear();
this.selectedWay.month = "";
diff --git a/manager/src/views/lili-components/region.vue b/manager/src/views/lili-components/region.vue
index e2859e8e..2f627739 100644
--- a/manager/src/views/lili-components/region.vue
+++ b/manager/src/views/lili-components/region.vue
@@ -27,6 +27,7 @@ export default {
props: ['addressId'],
methods: {
+ // 选择地区回调
change(val, selectedData) {
/**
* @returns [regionId,region]
@@ -44,6 +45,7 @@ export default {
handleChangeOnSelect(value) {
this.changeOnSelect = value;
},
+ // 加载地区数据
loadData(item, callback) {
item.loading = true;
API_Setup.getChildRegion(item.value).then((res) => {
@@ -83,6 +85,7 @@ export default {
}
});
},
+ // 初始化
init() {
API_Setup.getChildRegion(this.id).then((res) => {
let way = [];
@@ -105,7 +108,6 @@ export default {
}
way.push(data);
});
-
this.data = way;
});
},
diff --git a/manager/src/views/lili-dialog/coupon-dialog.vue b/manager/src/views/lili-dialog/coupon-dialog.vue
deleted file mode 100644
index fb7f0be3..00000000
--- a/manager/src/views/lili-dialog/coupon-dialog.vue
+++ /dev/null
@@ -1,246 +0,0 @@
-
-
-
-
-
-
搜索范围
-
{goodsData=[];goodsParams.pageNumber =1; getQueryGoodsList();}" icon="ios-search" clearable
- style="width: 150px" v-model="goodsParams.goodsName" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{ item.goodsName }}
-
{{ item.goodsUnit }}
-
-
¥{{ item.price | unitPrice }}
-
-
-
-
-
- 暂无商品信息
-
-
-
-
-
-
-
-
diff --git a/manager/src/views/lili-dialog/goods-dialog.vue b/manager/src/views/lili-dialog/goods-dialog.vue
index fb7f0be3..3231e46b 100644
--- a/manager/src/views/lili-dialog/goods-dialog.vue
+++ b/manager/src/views/lili-dialog/goods-dialog.vue
@@ -45,7 +45,7 @@ export default {
type: "multiple", //单选或者多选 single multiple
skuList: [], // 商品sku列表
- total: "", // 商品总数
+ total: 0, // 商品总数
goodsParams: { // 商品请求参数
pageNumber: 1,
pageSize: 18,
@@ -79,7 +79,6 @@ export default {
deep: true,
immediate: true
},
-
"goodsParams.categoryPath": {
handler: function () {
this.goodsData = [];
@@ -92,6 +91,7 @@ export default {
this.init();
},
methods: {
+ // 触底加载更多方法
handleReachBottom() {
setTimeout(() => {
if (
@@ -103,12 +103,13 @@ export default {
}
}, 1500);
},
+ // 获取商品列表
getQueryGoodsList() {
API_Goods.getGoodsSkuData(this.goodsParams).then((res) => {
this.initGoods(res);
});
},
-
+ // 获取列表方法
initGoods(res) {
if (res.result.records.length !=0) {
res.result.records.forEach((item) => {
diff --git a/manager/src/views/lili-dialog/index.vue b/manager/src/views/lili-dialog/index.vue
index bc5a47d8..8883c756 100644
--- a/manager/src/views/lili-dialog/index.vue
+++ b/manager/src/views/lili-dialog/index.vue
@@ -14,12 +14,10 @@
-
diff --git a/manager/src/views/lili-floor-renovation/floorList.vue b/manager/src/views/lili-floor-renovation/floorList.vue
index 29d8fd47..04928b15 100644
--- a/manager/src/views/lili-floor-renovation/floorList.vue
+++ b/manager/src/views/lili-floor-renovation/floorList.vue
@@ -175,7 +175,7 @@ export default {
}
});
},
-
+ // 删除模板
delTemplate(id) {
API_floor.removePageHome(id).then((res) => {
if (res.success) {
@@ -184,8 +184,7 @@ export default {
}
});
},
- },
- computed: {},
+ }
};
diff --git a/manager/src/views/lili-floor-renovation/modelForm.vue b/manager/src/views/lili-floor-renovation/modelForm.vue
index 4564094c..da0a8a80 100644
--- a/manager/src/views/lili-floor-renovation/modelForm.vue
+++ b/manager/src/views/lili-floor-renovation/modelForm.vue
@@ -25,13 +25,6 @@
-