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

save

parent ab734fc0
......@@ -604,10 +604,10 @@ export default {
this.queryMsg.EnterID = Number(EnterID);
this.queryMsg.RB_Department_Id = Number(RB_Department_Id);
this.getCompanyList();
if (this.queryMsg.RB_Department_Id) {
if (this.queryMsg.RB_Branch_Id) {
this.getDepartment(false);
}
if (this.queryMsg.EnterID) {
if (this.queryMsg.RB_Department_Id) {
this.getEmployee(false);
}
this.Title = this.pagesTitle;
......
......@@ -156,7 +156,6 @@ Vue.component("table-operation", {
};
},
mounted() {
console.log("field", this.field);
if (this.field === "SumPreferPrice") {
this.content = this.rowData["SumPreferPrice"];
} else if (this.field === "income") {
......@@ -167,7 +166,6 @@ Vue.component("table-operation", {
},
methods: {
update(rowData, index) {
console.log("rowData", rowData);
this.$router.push({
path: "/salesVolumeRankEntryForm",
query: {
......@@ -236,6 +234,7 @@ export default {
},
created() {},
mounted() {
this.settStartDates()
this.GetAuth()
this.initColumns();
this.getCompanyMsg.RB_Group_Id = this.getLocalStorage().RB_Group_id;
......@@ -250,7 +249,6 @@ export default {
GetAuth() {
var actionCode = this.$AuthCode.S_CheckAllOrder;
this.CheckUserAuth(actionCode, res => {
console.log('GetAuth', res)
if (res.data.resultCode == 1 && res.data.data == 1) {
this.S_CheckAllOrder = true;
}
......@@ -526,7 +524,10 @@ export default {
);
},
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) {
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