Commit e9721b36 by xuyl

积分提现更正

1 parent 3a34f3b4
......@@ -167,7 +167,7 @@ export default {
return
}
this.choiceData.forEach(item => {
if (item.isWithdrawal == '2' || item.exchangeStatus == '1') {
if (item.isWithdrawal == '1' || item.exchangeStatus == '1') {
console.log(item)
this.verificationWriteOff = false
} else {
......
......@@ -61,7 +61,7 @@ export default {
if (item.id == key) {
item.value = newVal[key]
if (item.id == 'withdrawalFlag') {
item.value = '1' ? '员工发起提现' : item.value = '2' ? '运营从后台核销' : ''
item.value = item.value == '1' ? '员工发起提现' : item.value == '2' ? '运营从后台核销' : ''
}
}
})
......
......@@ -62,8 +62,8 @@ export default {
await taskManagementApi.findMissionDeail({ id }).then(res => {
let copeWithRes = res.data && res.data.platformMerchantMissionDateResponseList
let copeWithResList = copeWithRes[0].platformMerchantMissionResponseList
let { businessSceneName, merchantName, activityName, crowdName, channelName } = res.data
this.taskInfo = { businessSceneName, merchantName, activityName, crowdName, channelName }
let { businessSceneName, merchantName, activityName, crowdName, channelName,withdrawalFlag } = res.data
this.taskInfo = { businessSceneName, merchantName, activityName, crowdName, channelName,withdrawalFlag }
this.hastaskInfo = Object.values(this.taskInfo).length > 0 ? 'true' : 'false'
this.taskSelect = copeWithRes
this.taskSelect.forEach(item => {
......
......@@ -39,7 +39,7 @@ export default {
if (item.id == key) {
item.infoVal = newVal[key]
if (item.id == 'withdrawalFlag') {
item.infoVal = '1' ? '员工发起提现' : item.infoVal = '2' ? '运营从后台核销' : ''
item.infoVal = item.infoVal == '1' ? '员工发起提现' : item.infoVal == '2' ? '运营从后台核销' : ''
}
}
......
......@@ -40,8 +40,8 @@ export default {
},
primaryInfo(id) {
taskManagementApi.findMissionDeail({ id }).then(res => {
let { businessSceneName, merchantName, activityName, crowdName, channelName, remark } = res.data
this.basicInfo = { businessSceneName, merchantName, activityName, crowdName, channelName, remark }
let { businessSceneName, merchantName, activityName, crowdName, channelName, remark,withdrawalFlag} = res.data
this.basicInfo = { businessSceneName, merchantName, activityName, crowdName, channelName, remark,withdrawalFlag }
this.hasbasicInfo = Object.values(this.basicInfo).length > 0 ? 'true' : 'false'
this.taskPlanList = res.data.platformMerchantMissionDateResponseList
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!