Commit 145b78d4 authored by youjie's avatar youjie

no message

parent 6494797e
......@@ -126,6 +126,22 @@
}
};
},
watch:{
newObj:{
handler(val, oldVal) {
if(val.EmpList.length>15){
val.EmpList.forEach((item,x)=>{
if(x<15){
this.numList.push(item)
}
})
}else{
this.moreShow = true
}
},
deep: true,
}
},
mounted() {
this.GetConfigCuleAdmin()
let $this = this
......
......@@ -144,6 +144,22 @@
}
};
},
watch:{
newObj:{
handler(val, oldVal) {
if(val.EmpList.length>15){
val.EmpList.forEach((item,x)=>{
if(x<15){
this.numList.push(item)
}
})
}else{
this.moreShow = true
}
},
deep: true,
}
},
mounted() {
this.GetCustomerAllotRule()
let $this = this
......
......@@ -158,6 +158,34 @@
}
};
},
watch:{
chooseObj:{
handler(val, oldVal) {
if(val.chooseType==1){
if(val.EmpList.length>15){
val.EmpList.forEach((item,x)=>{
if(x<15){
this.FlowList.push(item)
}
})
}else{
this.moreSalesShow = true
}
}else{
if(val.EmpList.length>15){
val.EmpList.forEach((item,x)=>{
if(x<15){
this.SaleList.push(item)
}
})
}else{
this.moreDrainageShow = true
}
}
},
deep: true,
}
},
mounted() {
this.GetRankRule()
let $this = this
......
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