|
@@ -280,7 +280,11 @@
|
|
|
}
|
|
|
axios.post(this.ajaxUrl + 'salesDetail/queryList', req_data).then((res) => {
|
|
|
this.saleDetailList = res.data.data;
|
|
|
- this.saleList[i].isShow = !this.saleList[i].isShow ;
|
|
|
+ if(type==1){
|
|
|
+ this.saleList[i].isShow =!this.saleList[i].isShow;
|
|
|
+ }else{
|
|
|
+ this.saleList[i].isShow = true
|
|
|
+ }
|
|
|
}).catch((error) => {
|
|
|
console.log(error);
|
|
|
});
|
|
@@ -312,11 +316,11 @@
|
|
|
if (r != null) return unescape(r[2]);
|
|
|
return null; //返回参数值
|
|
|
},
|
|
|
- openAll(){
|
|
|
- this.saleList.forEach(item=>{
|
|
|
- item.isShow = true;
|
|
|
- })
|
|
|
- }
|
|
|
+ openAll(){
|
|
|
+ this.saleList.forEach((item,i)=>{
|
|
|
+ this.handleShow(item,i,0);
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
</script>
|