|
@@ -1224,20 +1224,13 @@
|
|
|
|
|
|
function buySetObj(buyset){
|
|
|
let nowset = JSON.parse(JSON.stringify(buyset));
|
|
|
- let newbuyset = {}
|
|
|
- let oldset = JSON.parse(JSON.stringify(oldBuyset))
|
|
|
- newbuyset.areacount = oldset.areacount;
|
|
|
- newbuyset.buyerclasscount = oldset.buyerclasscount;
|
|
|
- newbuyset.citys = oldset.citys;
|
|
|
if(sessionStorage.vipSubSelectAreaUpgrade!==undefined&&sessionStorage.vipSubSelectAreaUpgrade!==""){
|
|
|
let vip_area = JSON.parse(sessionStorage.vipSubSelectAreaUpgrade);
|
|
|
for(let province in nowset.citys){
|
|
|
if(nowset.citys[province] > 0){
|
|
|
if(checkObj(vip_area[province])){
|
|
|
- if(newbuyset.citys[province] < 1){
|
|
|
- let cityarr = nowset.citys
|
|
|
- delete cityarr[province]
|
|
|
- }
|
|
|
+ let cityarr = nowset.citys
|
|
|
+ delete cityarr[province]
|
|
|
}
|
|
|
}
|
|
|
}
|