|
@@ -245,14 +245,14 @@ export default {
|
|
|
activityType: res.data.activityType || '',
|
|
|
leadersRule: res.data.leadersRule || '',
|
|
|
leadersMoney: res.data.leadersRule === 1 && typeof res.data.leadersMoney === 'number' ? res.data.leadersMoney * 100 : res.data.leadersMoney,
|
|
|
- leadersInMoney: res.data.leadersRule === 1 && typeof res.data.leadersInMoney === 'number' ? res.data.leadersInMoney * 100 : res.data.leadersInMoney,
|
|
|
+ leadersInMoney: res.data.leadersRule === 1 && typeof res.data.leadersInMoney === 'number' ? res.data.leadersInMoney * 100 || '0.0' : res.data.leadersInMoney || '0.0',
|
|
|
partnerRule: res.data.partnerRule || '',
|
|
|
- partnerMoney: res.data.partnerRule === 1 && typeof res.data.partnerMoney === 'number' ? res.data.partnerMoney * 100 : res.data.partnerMoney,
|
|
|
+ partnerMoney: res.data.partnerRule === 1 && typeof res.data.partnerMoney === 'number' ? res.data.partnerMoney * 100 || '0.0' : res.data.partnerMoney || '0.0',
|
|
|
partnerInMoney: res.data.partnerRule === 1 && typeof res.data.partnerInMoney === 'number' ? res.data.partnerInMoney * 100 : res.data.partnerInMoney,
|
|
|
franchiseeRule: res.data.franchiseeRule || '',
|
|
|
- franchiseeMoney: res.data.franchiseeRule === 1 && typeof res.data.franchiseeMoney === 'number' ? res.data.franchiseeMoney * 100 : res.data.franchiseeMoney,
|
|
|
+ franchiseeMoney: res.data.franchiseeRule === 1 && typeof res.data.franchiseeMoney === 'number' ? res.data.franchiseeMoney * 100 || '0.0' : res.data.franchiseeMoney || '0.0',
|
|
|
communityRule: res.data.communityRule || '',
|
|
|
- communityMoney: res.data.communityRule === 1 && typeof res.data.communityMoney === 'number' ? res.data.communityMoney * 100 : res.data.communityMoney,
|
|
|
+ communityMoney: res.data.communityRule === 1 && typeof res.data.communityMoney === 'number' ? res.data.communityMoney * 100 || '0.0' : res.data.communityMoney || '0.0',
|
|
|
sourceType: res.data.sourceType || ''
|
|
|
})
|
|
|
this.$nextTick(() => {
|