Commit 83ba084c authored by zhengke's avatar zhengke

修改

parent c324dcd2
...@@ -329,8 +329,9 @@ import { ...@@ -329,8 +329,9 @@ import {
let userinfo = this.getLocalStorage(); let userinfo = this.getLocalStorage();
this.OpenNewUrl('/financial/returnPassbook/returnpassbookStatistics', { this.OpenNewUrl('/financial/returnPassbook/returnpassbookStatistics', {
CommissionType: 1, CommissionType: 1,
OrderSourceType: 1, OrderSourceType: -1,
OrderSourceId:userinfo.Id OrderSourceId:userinfo.Id,
iSFromDash:1
}); });
}, },
//跳转到待返佣 //跳转到待返佣
...@@ -339,8 +340,9 @@ import { ...@@ -339,8 +340,9 @@ import {
this.OpenNewUrl('/financial/returnPassbook/returnpassbookStatistics', { this.OpenNewUrl('/financial/returnPassbook/returnpassbookStatistics', {
Status: 0, Status: 0,
CommissionType: 1, CommissionType: 1,
OrderSourceType: 1, OrderSourceType: -1,
OrderSourceId:userinfo.Id OrderSourceId:userinfo.Id,
iSFromDash:1
}); });
} }
} }
......
...@@ -154,6 +154,7 @@ ...@@ -154,6 +154,7 @@
option-label="Name" option-label="Name"
v-model="msg.OrderSourceType" v-model="msg.OrderSourceType"
:options="customFromList" :options="customFromList"
:disable="isEdit"
label="来源" label="来源"
dense dense
emit-value emit-value
...@@ -164,6 +165,7 @@ ...@@ -164,6 +165,7 @@
filled filled
clearable clearable
stack-label stack-label
:disable="isEdit"
v-model="msg.OrderSourceId" v-model="msg.OrderSourceId"
dense dense
:options="myEmployeeList" :options="myEmployeeList"
...@@ -421,7 +423,8 @@ export default { ...@@ -421,7 +423,8 @@ export default {
isNormal: false, isNormal: false,
employeeList:[], employeeList:[],
myEmployeeList:[] myEmployeeList:[],
isEdit:false
} }
}, },
...@@ -447,16 +450,22 @@ export default { ...@@ -447,16 +450,22 @@ export default {
this.msg.UnionCashOutId = this.$route.query.UnionCashOutId this.msg.UnionCashOutId = this.$route.query.UnionCashOutId
} }
if (this.$route.query && this.$route.query.OrderSourceType) {//来源 if (this.$route.query && this.$route.query.OrderSourceType) {//来源
this.msg.OrderSourceType = parseInt(this.$route.query.OrderSourceType) this.msg.OrderSourceType = this.$route.query.OrderSourceType
} }
if (this.$route.query && this.$route.query.OrderSourceId) {//人员ID if (this.$route.query && this.$route.query.OrderSourceId) {//人员ID
this.msg.OrderSourceId = parseInt(this.$route.query.OrderSourceId) this.msg.OrderSourceId = parseInt(this.$route.query.OrderSourceId)
} }
if (this.$route.query && this.$route.query.OrderSourceId && this.$route.query.OrderSourceId>0){
this.isShow=false;
}
if (this.$route.query && this.$route.query.CommissionType) { if (this.$route.query && this.$route.query.CommissionType) {
this.msg.CommissionType = this.$route.query.CommissionType; this.msg.CommissionType = this.$route.query.CommissionType;
this.msg.Q_SelectNormal = 2 this.msg.Q_SelectNormal = 2
this.isNormal = true this.isNormal = true
} }
if (this.$route.query && this.$route.query.iSFromDash==1){
this.isEdit=true;
}
if (this.$route.query && this.$route.query.Status) { if (this.$route.query && this.$route.query.Status) {
this.msg.Status = this.$route.query.Status; this.msg.Status = this.$route.query.Status;
this.isNormal = false; this.isNormal = false;
......
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