|
@@ -48,6 +48,16 @@ export default {
|
|
|
if (val) {
|
|
|
this.filter.salePerson = ''// 发起人
|
|
|
this.filter.orderCode = ''// 订单编号
|
|
|
+ if(this.initsaleCodeModel){
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.saleCodeModel = [this.initsaleCodeModel]
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.saleCodeModel = []
|
|
|
+ })
|
|
|
+ }
|
|
|
+ this.filter.saleDep = ''
|
|
|
if(this.initequity){
|
|
|
this.filter.auditStatus = this.initequity
|
|
|
}else{
|
|
@@ -108,6 +118,7 @@ export default {
|
|
|
}
|
|
|
if(res.data.userDep && Object.keys(res.data.userDep).length>0){ // 有部门限制
|
|
|
this.saleDis = true
|
|
|
+ this.initsaleCodeModel = res.data.userDep.value
|
|
|
this.$nextTick(()=>{
|
|
|
this.saleCodeModel = [res.data.userDep.value]
|
|
|
})
|
|
@@ -175,6 +186,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ initsaleCodeModel: '',
|
|
|
initequity:'',
|
|
|
saleDis: false,
|
|
|
saleCodeModel: [],
|