|
@@ -221,7 +221,7 @@ export default {
|
|
.replace('{defectExciationAmount}', this.taskAmount.defectExciationAmount)
|
|
.replace('{defectExciationAmount}', this.taskAmount.defectExciationAmount)
|
|
.replace('{extraRewardAmount}', this.taskAmount.extraRewardAmount)).then((res) => {
|
|
.replace('{extraRewardAmount}', this.taskAmount.extraRewardAmount)).then((res) => {
|
|
this.taskAmount = res.data
|
|
this.taskAmount = res.data
|
|
- this.canSubmit = this.taskAmount.status === 3
|
|
|
|
|
|
+ this.canSubmit = this.taskAmount.status !== 4
|
|
}).catch((error) => {
|
|
}).catch((error) => {
|
|
console.error(error)
|
|
console.error(error)
|
|
notify('error', '获取任务金额数据失败:系统异常')
|
|
notify('error', '获取任务金额数据失败:系统异常')
|
|
@@ -251,6 +251,7 @@ export default {
|
|
Http.post(Api.TASKAMOUNT.CAL_AND_END, postData).then((res) => {
|
|
Http.post(Api.TASKAMOUNT.CAL_AND_END, postData).then((res) => {
|
|
if (res.code === 20000) {
|
|
if (res.code === 20000) {
|
|
notify('success', '提交成功')
|
|
notify('success', '提交成功')
|
|
|
|
+ this.canSubmit = false
|
|
} else {
|
|
} else {
|
|
notify('error', '提交失败')
|
|
notify('error', '提交失败')
|
|
}
|
|
}
|