总价格
@@ -691,12 +736,20 @@ export default {
};
},
methods: {
+ typeChange(row){
+ if(row.typeInfo == '1'){
+ row.useEndDate = null
+ }else{
+ row.validTime = null
+ }
+ },
//打开项目单选弹窗
editPro() {
this.$refs.project.show(0);
},
//项目单选返回
projectData(form) {
+ form = {...form,typeInfo:"1"}
form.projectId = form.id;
form.times = form.minumumTimes;
form.projectTotalMoney =
@@ -836,6 +889,9 @@ export default {
promotionName: this.packingForm.promotionName,
standardTimes: item.standardTimes,
type: 0,
+ typeInfo:item.typeInfo,
+ validTime:item.validTime,
+ useEndDate:item.useEndDate
};
promotionProjectLists.push(items);
});
@@ -901,6 +957,9 @@ export default {
detail() {
this.titles = "明细";
promotionProList({ id: this.radioRowValueList.id }).then((res) => {
+ res.rows.forEach(item=>{
+ item.typeInfo += ''
+ })
this.packingForm = { promotionProjectLists: [] };
this.packingForm = { ...this.radioRowValueList };
this.packingForm.promotionProjectLists = res.rows;
@@ -911,9 +970,11 @@ export default {
},
//修改
editForm() {
- this.titles = "";
this.titles = "修改";
promotionProList({ id: this.radioRowValueList.id }).then((res) => {
+ res.rows.forEach(item=>{
+ item.typeInfo += ''
+ })
this.packingForm = { promotionProjectLists: [] };
this.packingForm = { ...this.radioRowValueList };
this.packingForm.promotionProjectLists = res.rows;
@@ -938,6 +999,9 @@ export default {
projectTotalMoney: item.projectTotalMoney,
promotionName: this.packingForm.promotionName,
type: 0,
+ typeInfo:item.typeInfo,
+ validTime:item.validTime,
+ useEndDate:item.useEndDate
};
if (item.projectId != undefined) {
items.projectId = item.projectId;
@@ -1089,6 +1153,7 @@ export default {
copyForm() {
this.titles = "复制";
promotionProList({ id: this.radioRowValueList.id }).then((res) => {
+ res.rows.forEach(item=>item.typeInfo += '')
this.packingForm = { promotionProjectLists: [] };
this.packingForm = { ...this.radioRowValueList };
this.packingForm.promotionProjectLists = res.rows;
@@ -1111,6 +1176,9 @@ export default {
projectTotalMoney: item.projectTotalMoney,
promotionName: this.packingForm.promotionName,
type: 0,
+ typeInfo:item.typeInfo,
+ validTime:item.validTime,
+ useEndDate:item.useEndDate
};
if (item.projectId != undefined) {
items.projectId = item.projectId;
@@ -1131,7 +1199,7 @@ export default {
this.packingForm.cardSalesCommission = 0;
}
this.packingForm.type = 0;
- addPromotion(this.packingForm).then((res) => {
+ addPromotion(Object.assign(this.packingForm,{pushCount:null,pushState:null})).then((res) => {
//console.log(res);
if (res.code == "000000") {
this.$message.success({ message: res.message });
diff --git a/src/pages/statistics/negativeCard/negativeCard.vue b/src/pages/statistics/negativeCard/negativeCard.vue
index 1ff3c67..3995fd7 100644
--- a/src/pages/statistics/negativeCard/negativeCard.vue
+++ b/src/pages/statistics/negativeCard/negativeCard.vue
@@ -1,7 +1,7 @@
-
+
@@ -93,6 +93,7 @@ import { dayStatisticRecharge, dayStatisticTreatment } from "../../../api/statis
export default {
data() {
return {
+ isTrue:sessionStorage.getItem("headOffice") * 1,
tableDate: [],
tableDate1: [],
storeIds:[],
diff --git a/src/pages/statistics/projectRanking/projectRanking.vue b/src/pages/statistics/projectRanking/projectRanking.vue
index 02cf8f6..e2ff879 100644
--- a/src/pages/statistics/projectRanking/projectRanking.vue
+++ b/src/pages/statistics/projectRanking/projectRanking.vue
@@ -1,23 +1,18 @@
-
选择日
-
+
+
+
+
+
+
-
+
项目购卡金额排行
-
-
-
-
+
+
+
+
+
- {{scope.row.ratio}}
+ {{scope.row.avgMoney}}
@@ -46,12 +42,13 @@
项目服务金额排行
-
-
-
-
+
+
+
+
+
- {{scope.row.ratio}}
+ {{scope.row.avgMoney}}
@@ -59,33 +56,33 @@
项目结存金额排行
-
-
-
-
+
+
+
+
+
- {{scope.row.ratio}}
+ {{scope.row.avgMoney}}
-
-
-
-
-
diff --git a/src/pages/storeManage/baseStaff/components/deactivate.vue b/src/pages/storeManage/baseStaff/components/deactivate.vue
index 440e604..b9bdb54 100644
--- a/src/pages/storeManage/baseStaff/components/deactivate.vue
+++ b/src/pages/storeManage/baseStaff/components/deactivate.vue
@@ -39,6 +39,7 @@
+
启用
diff --git a/src/pages/storeManage/baseStaff/components/dimission.vue b/src/pages/storeManage/baseStaff/components/dimission.vue
index a63ed0b..8a042b0 100644
--- a/src/pages/storeManage/baseStaff/components/dimission.vue
+++ b/src/pages/storeManage/baseStaff/components/dimission.vue
@@ -41,6 +41,7 @@
+
查看
diff --git a/src/pages/storeManage/baseStaff/components/edit.vue b/src/pages/storeManage/baseStaff/components/edit.vue
index 2d59167..87d5b75 100644
--- a/src/pages/storeManage/baseStaff/components/edit.vue
+++ b/src/pages/storeManage/baseStaff/components/edit.vue
@@ -130,6 +130,7 @@
+
diff --git a/src/pages/storeManage/baseStaff/components/onJob.vue b/src/pages/storeManage/baseStaff/components/onJob.vue
index 2c924c3..29e8d89 100644
--- a/src/pages/storeManage/baseStaff/components/onJob.vue
+++ b/src/pages/storeManage/baseStaff/components/onJob.vue
@@ -47,6 +47,8 @@
{{scope.row.deptName==0?"美发部":scope.row.deptName==1?"美容部":scope.row.deptName==2?"其他部":"无"}}
+
+
查看
diff --git a/src/pages/storeManage/baseStaff/components/tostore/index.vue b/src/pages/storeManage/baseStaff/components/tostore/index.vue
index b4cfba5..fdbed1e 100644
--- a/src/pages/storeManage/baseStaff/components/tostore/index.vue
+++ b/src/pages/storeManage/baseStaff/components/tostore/index.vue
@@ -49,6 +49,7 @@
{{scope.row.deptName==0?"美发部":scope.row.deptName==1?"美容部":scope.row.deptName==2?"其他部":"无"}}
+
确认