Commit 63f7abd8 authored by 沈良进's avatar 沈良进

save

parent ab734fc0
...@@ -604,10 +604,10 @@ export default { ...@@ -604,10 +604,10 @@ export default {
this.queryMsg.EnterID = Number(EnterID); this.queryMsg.EnterID = Number(EnterID);
this.queryMsg.RB_Department_Id = Number(RB_Department_Id); this.queryMsg.RB_Department_Id = Number(RB_Department_Id);
this.getCompanyList(); this.getCompanyList();
if (this.queryMsg.RB_Department_Id) { if (this.queryMsg.RB_Branch_Id) {
this.getDepartment(false); this.getDepartment(false);
} }
if (this.queryMsg.EnterID) { if (this.queryMsg.RB_Department_Id) {
this.getEmployee(false); this.getEmployee(false);
} }
this.Title = this.pagesTitle; this.Title = this.pagesTitle;
......
...@@ -156,7 +156,6 @@ Vue.component("table-operation", { ...@@ -156,7 +156,6 @@ Vue.component("table-operation", {
}; };
}, },
mounted() { mounted() {
console.log("field", this.field);
if (this.field === "SumPreferPrice") { if (this.field === "SumPreferPrice") {
this.content = this.rowData["SumPreferPrice"]; this.content = this.rowData["SumPreferPrice"];
} else if (this.field === "income") { } else if (this.field === "income") {
...@@ -167,7 +166,6 @@ Vue.component("table-operation", { ...@@ -167,7 +166,6 @@ Vue.component("table-operation", {
}, },
methods: { methods: {
update(rowData, index) { update(rowData, index) {
console.log("rowData", rowData);
this.$router.push({ this.$router.push({
path: "/salesVolumeRankEntryForm", path: "/salesVolumeRankEntryForm",
query: { query: {
...@@ -236,6 +234,7 @@ export default { ...@@ -236,6 +234,7 @@ export default {
}, },
created() {}, created() {},
mounted() { mounted() {
this.settStartDates()
this.GetAuth() this.GetAuth()
this.initColumns(); this.initColumns();
this.getCompanyMsg.RB_Group_Id = this.getLocalStorage().RB_Group_id; this.getCompanyMsg.RB_Group_Id = this.getLocalStorage().RB_Group_id;
...@@ -250,7 +249,6 @@ export default { ...@@ -250,7 +249,6 @@ export default {
GetAuth() { GetAuth() {
var actionCode = this.$AuthCode.S_CheckAllOrder; var actionCode = this.$AuthCode.S_CheckAllOrder;
this.CheckUserAuth(actionCode, res => { this.CheckUserAuth(actionCode, res => {
console.log('GetAuth', res)
if (res.data.resultCode == 1 && res.data.data == 1) { if (res.data.resultCode == 1 && res.data.data == 1) {
this.S_CheckAllOrder = true; this.S_CheckAllOrder = true;
} }
...@@ -526,7 +524,10 @@ export default { ...@@ -526,7 +524,10 @@ export default {
); );
}, },
settStartDates() { settStartDates() {
this.msg.tStartDates = [] let date = moment().format('yyyy-MM-DD')
let start = moment().subtract(1, 'months').format('yyyy-MM-DD')
this.msg.tStartDates = [start, date]
console.log('settStartDates',date,start)
}, },
handleClick(tab, event) { handleClick(tab, event) {
this.msg.EnterID = 0; this.msg.EnterID = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment