[update] 缴费凭证

This commit is contained in:
zhaoxiao
2021-12-17 18:45:42 +08:00
parent c0c8f62621
commit 80c9de0ee6
2 changed files with 37 additions and 3 deletions
+5 -3
View File
@@ -66,7 +66,7 @@
</div>
<!-- 表格区域end-->
<!-- 添加阶段按钮-->
<a-button type="primary" icon="plus" class="add-stage-btn" @click="addStage" :disabled="editDisabled">添加阶段
<a-button type="primary" icon="plus" class="add-stage-btn" @click="addStage" :disabled="editDisabled || Number(receivableAmount) === 0">添加阶段
</a-button>
<!-- 审核记录-->
@@ -162,6 +162,7 @@ import { getAction, postAction } from '@api/manage'
import PreviewImgModal from '@views/MessagePage/modules/PreviewImgModal'
import ProofInfoModal from '@views/MessagePage/modules/ProofInfoModal'
import { getAuditProofRecords } from '@api/incomePaymentsApi'
import { convertToChinaNum } from '@/utils/util'
const columns = [
{
@@ -171,7 +172,7 @@ const columns = [
width: 120,
align: 'center',
customRender: function (t, r, index) {
return r.paymentStatus === 'completed' ? `${ parseInt(index) + 1 }阶段` : ''
return r.paymentStatus === 'completed' ? `${ convertToChinaNum(parseInt(index) + 1) }阶段` : ''
}
}, {
title: '缴费金额',
@@ -359,7 +360,8 @@ export default {
}).finally(() => {
this.proofLoading = false
})
}
},
}
}
</script>