Commit 60ec6896 authored by 沈良进's avatar 沈良进

save

parent f209068a
...@@ -286,6 +286,15 @@ ...@@ -286,6 +286,15 @@
type="date"></el-date-picker> type="date"></el-date-picker>
</span> </span>
</li> </li>
<li>
<span style="margin: 0 0 0 24px"><em>未维护OP</em>
<el-select class="w150" v-model="msg.SelectOP" filterable placeholder="未维护OP">
<el-option label="不限" :value="0"></el-option>
<el-option v-if="!isVisa" label="主团" :value="1"></el-option>
<el-option label="签证" :value="2"></el-option>
</el-select>
</span>
</li>
<li> <li>
<div style="margin: 8px 0 0 24px"> <div style="margin: 8px 0 0 24px">
<span><em>只查询有签证的团</em> <span><em>只查询有签证的团</em>
......
...@@ -557,7 +557,12 @@ export default { ...@@ -557,7 +557,12 @@ export default {
); );
}, },
getSummaryData() { getSummaryData() {
if(this.msg.pageIndex != 1) {
return
}
let param = this.getParams(); let param = this.getParams();
delete param.pageIndex
delete param.pageSize
this.apipost( this.apipost(
"sellorder_get_GetSalesVolumeRankDetailStatistics", "sellorder_get_GetSalesVolumeRankDetailStatistics",
param, param,
...@@ -598,11 +603,13 @@ export default { ...@@ -598,11 +603,13 @@ export default {
this.getCompanyMsg.RB_Group_Id = this.getLocalStorage().RB_Group_id; this.getCompanyMsg.RB_Group_Id = this.getLocalStorage().RB_Group_id;
this.getDepartmentMsg.RB_Group_Id = this.getLocalStorage().RB_Group_id; this.getDepartmentMsg.RB_Group_Id = this.getLocalStorage().RB_Group_id;
this.employeeMsg.employeeMsg = this.getLocalStorage().RB_Group_id; this.employeeMsg.employeeMsg = this.getLocalStorage().RB_Group_id;
const { BranchId = 0, EnterID = 0, RB_Department_Id = 0 } = this.$route.query; const { BranchId = 0, EnterID = 0, RB_Department_Id = 0, tStartDates = [],qStartDates=[] } = this.$route.query;
console.log("this.$route.query.", this.$route); console.log("this.$route.query.", this.$route);
this.queryMsg.RB_Branch_Id = Number(BranchId); this.queryMsg.RB_Branch_Id = Number(BranchId);
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.queryMsg.tStartDates = tStartDates;
this.queryMsg.qStartDates = qStartDates;
this.getCompanyList(); this.getCompanyList();
if (this.queryMsg.RB_Branch_Id >= 0) { if (this.queryMsg.RB_Branch_Id >= 0) {
this.getDepartment(false); this.getDepartment(false);
......
...@@ -127,6 +127,7 @@ ...@@ -127,6 +127,7 @@
:is-loading="loading" :is-loading="loading"
sort-always sort-always
@sort-change="sortChange" @sort-change="sortChange"
@on-custom-comp="customCompFunc"
></v-table> ></v-table>
</div> </div>
</template> </template>
...@@ -166,15 +167,7 @@ Vue.component("table-operation", { ...@@ -166,15 +167,7 @@ Vue.component("table-operation", {
}, },
methods: { methods: {
update(rowData, index) { update(rowData, index) {
this.$router.push({ this.$emit('on-custom-comp',rowData);
path: "/salesVolumeRankEntryForm",
query: {
BranchId: rowData.BranchId,
EnterID: rowData.EnterID,
RB_Department_Id: rowData.RB_Department_Id,
blank: "y",
},
});
}, },
}, },
}); });
...@@ -246,6 +239,18 @@ export default { ...@@ -246,6 +239,18 @@ export default {
//this.pageSize = this.calcPageSize(40); 此页不需要分页 //this.pageSize = this.calcPageSize(40); 此页不需要分页
}, },
methods: { methods: {
customCompFunc(rowData) {
this.$router.push({
path: "/salesVolumeRankEntryForm",
query: {
BranchId: rowData.BranchId,
EnterID: rowData.EnterID,
RB_Department_Id: rowData.RB_Department_Id,
blank: "y",
tStartDates: this.msg.tStartDates,
qStartDates: this.msg.qStartDates,
},
});},
GetAuth() { GetAuth() {
var actionCode = this.$AuthCode.S_CheckAllOrder; var actionCode = this.$AuthCode.S_CheckAllOrder;
this.CheckUserAuth(actionCode, res => { this.CheckUserAuth(actionCode, res => {
......
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