+
diff --git a/src/views/app/business/logiticsCompany/addEdit.vue b/src/views/app/business/logiticsCompany/addEdit.vue
index f31760f..5fc6c68 100644
--- a/src/views/app/business/logiticsCompany/addEdit.vue
+++ b/src/views/app/business/logiticsCompany/addEdit.vue
@@ -6,10 +6,7 @@
-
-
-
-
+
@@ -72,7 +69,6 @@ export default {
defaultForm() {
return {
categoryName: "",
- categoryIcon: "",
regionId: JSON.parse(this.getStore("user")).departmentId,
sort: 0,
status: 1,
@@ -84,7 +80,11 @@ export default {
if (!valid) return;
this.submitLoading = true;
const request = this.type == "1" ? editSeckill : addSeckill;
- request(this.form).then((res) => {
+ const params = Object.assign({}, this.form, {
+ categoryName: this.form.categoryName ? this.form.categoryName.trim() : "",
+ categoryIcon: "",
+ });
+ request(params).then((res) => {
this.submitLoading = false;
if (res.success) {
this.$Message.success("操作成功");
@@ -100,12 +100,13 @@ export default {
if (value === this.visible) return;
this.maxHeight = Number(document.documentElement.clientHeight - 121) + "px";
this.title = this.type == "1" ? "编辑秒杀团分类" : this.type == "2" ? "新增秒杀团分类" : "秒杀团分类详情";
- this.form = this.type == "1" || this.type == "0"
+ const nextForm = this.type == "1" || this.type == "0"
? Object.assign(this.defaultForm(), JSON.parse(JSON.stringify(this.data || {})))
: this.defaultForm();
this.visible = value;
this.$nextTick(() => {
if (this.$refs.form) this.$refs.form.resetFields();
+ this.form = nextForm;
});
},
},
diff --git a/src/views/app/business/logiticsCompany/logiticsCompany.vue b/src/views/app/business/logiticsCompany/logiticsCompany.vue
index 67d5869..cd36067 100644
--- a/src/views/app/business/logiticsCompany/logiticsCompany.vue
+++ b/src/views/app/business/logiticsCompany/logiticsCompany.vue
@@ -75,23 +75,7 @@ export default {
fixed: "left",
},
{
- title: "分类图标",
- key: "categoryIcon",
- minWidth: 160,
- render: (h, params) => {
- if (!params.row.categoryIcon) return h("span", "-");
- return h("img", {
- attrs: { src: params.row.categoryIcon },
- style: {
- width: "60px",
- height: "40px",
- objectFit: "contain",
- },
- });
- },
- },
- {
- title: "排序",
+ title: "排名",
key: "sort",
minWidth: 100,
},
diff --git a/src/views/app/business/luckey/luckey.vue b/src/views/app/business/luckey/luckey.vue
index 914bc24..b3ee91d 100644
--- a/src/views/app/business/luckey/luckey.vue
+++ b/src/views/app/business/luckey/luckey.vue
@@ -21,13 +21,13 @@
-
+
@@ -62,6 +62,20 @@
@on-change="p => changePage('adventureSession', p)" size="small" show-total>
+
+
+ adventureParticipation.playDate = v">
+
+
+
+
+
+ changePage('adventureParticipation', p)" size="small" show-total>
+
+
@@ -28,9 +34,9 @@
-
+
@@ -143,14 +149,17 @@
contactPhone: "",
shopIcon: "1111",
shopAddress: "",
+ merchantType: "",
yearFee: "",
chargeTime: "",
startTime: "",
endTime: "",
pageNumber: 1,
pageSize: 10,
- sort: "createTime",
+ sort: "shoprank",
order: "desc",
+ sortOrder: 'shoprank',
+ orderOrder: 'desc',
startDate: "",
endDate: "",
regionId:JSON.parse(this.getStore("userInfo")).departmentId,
@@ -186,6 +195,18 @@
key: "shopTypeTitle",
minWidth: 120,
},
+ {
+ title: "商家类型",
+ key: "merchantType",
+ minWidth: 110,
+ render: (h, params) => {
+ const typeMap = {
+ 1: "外卖商家",
+ 2: "团购商家",
+ };
+ return h("span", typeMap[params.row.merchantType] || "-");
+ },
+ },
{
title: "联系方式",
key: "contactPhone",
@@ -404,7 +425,9 @@
this.searchForm.pageSize = 10;
this.searchForm.startDate = "";
this.searchForm.endDate = "";
- this.$refs.dep.clearSelect();
+ if (this.$refs.dep) {
+ this.$refs.dep.clearSelect();
+ }
this.searchForm.departmentId = "";
// 重新加载数据
this.getDataList();
diff --git a/src/views/sys/order-manage/orderManage.vue b/src/views/sys/order-manage/orderManage.vue
index c0fd7c4..4bc2c27 100644
--- a/src/views/sys/order-manage/orderManage.vue
+++ b/src/views/sys/order-manage/orderManage.vue
@@ -94,12 +94,12 @@