|
|
@@ -83,10 +83,12 @@ export default {
|
|
|
this.queryParams.pageNum = 1;
|
|
|
this.getList();
|
|
|
},
|
|
|
- getDetails(erpType,isGift){
|
|
|
- this.queryParams.erpType=erpType;
|
|
|
- if(isGift){
|
|
|
- this.queryParams.isGift=isGift;
|
|
|
+ getDetails(erpType, isGift) {
|
|
|
+ this.queryParams.erpType = erpType;
|
|
|
+ if (isGift !== undefined && isGift !== null) {
|
|
|
+ this.queryParams.isGift = isGift;
|
|
|
+ } else {
|
|
|
+ delete this.queryParams.isGift;
|
|
|
}
|
|
|
this.getList();
|
|
|
},
|