@@ -81,9 +70,11 @@ import { organizations } from "@/api/storeManage.js";
export default {
data() {
return {
+ disabled:false,
+ headOffice: sessionStorage.getItem("headOffice") * 1,
storeId:[],
options:[],
- days: [],
+ date: new Date(),
tDate: [],
options: [],
queryForm: {},
@@ -108,43 +99,16 @@ export default {
}
}
}
- // pickerOptions: {
- // // onPick: ({ maxDate, minDate }) => {
- // // this.choiceDate = minDate.getTime();
- // // if (maxDate) {
- // // this.choiceDate = "";
- // // }
- // // },
- // // disabledDate: (time) => {
- // // const self = this;
- // // if (!!self.choiceDate) {
- // // const startDay =
- // // (new Date(self.choiceDate).getDate() - 1) * 24 * 3600 * 1000;
- // // const endDay =
- // // (new Date(
- // // new Date(self.choiceDate).getFullYear(),
- // // new Date(self.choiceDate).getMonth() + 1,
- // // 0
- // // ).getDate() -
- // // new Date(self.choiceDate).getDate()) *
- // // 24 *
- // // 3600 *
- // // 1000;
- // // let minTime = self.choiceDate - startDay;
- // // let maxTime = self.choiceDate + endDay;
- // // return time.getTime() < minTime || time.getTime() > maxTime;
- // // }
- // // },
- // },
};
},
methods: {
init(){
let params = {
storeId:this.storeId,
- date:this.days
}
- this.cardR
+ if(this.date){
+ params.date = [this.date,this.date]
+ }
this.cardRanking(Object.assign(params,{type:1}))
this.serveRanking(Object.assign(params,{type:2}))
this.balanceRanking(Object.assign(params,{type:3}))
@@ -200,8 +164,8 @@ export default {
}
});
},
- changeMonth(res) {
- if(!res)this.days = []
+ changeMonth() {
+ // if(!res)this.date = []
this.init()
},
//获取数据
diff --git a/src/pages/statistics/scalpProject/index.vue b/src/pages/statistics/scalpProject/index.vue
new file mode 100644
index 0000000..d38c11b
--- /dev/null
+++ b/src/pages/statistics/scalpProject/index.vue
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/statistics/staffBrokerage/staffBrokerage.vue b/src/pages/statistics/staffBrokerage/staffBrokerage.vue
index 4ccfd06..1d8f9a7 100644
--- a/src/pages/statistics/staffBrokerage/staffBrokerage.vue
+++ b/src/pages/statistics/staffBrokerage/staffBrokerage.vue
@@ -8,16 +8,20 @@
删除
+
+
+
+
选择日
- 查询
+ 查询
导出
导出单据明细
-