[update] 到账开票来款标协会员项目只能来款一次的限制去掉,开票按钮的限制去掉

This commit is contained in:
lideqin
2024-03-08 13:58:43 +08:00
parent 0f95b52c0d
commit 426dbf6717
2 changed files with 5 additions and 2 deletions
@@ -167,7 +167,8 @@
<a @click="incomePayment(record)"
v-has="'incomePaymentAndInvoiving:incomePayment'"
:disabled="record.projectType === 3 && record.registerCheckResult === '0'">来款</a>
<a @click="invoicing(record)" :disabled="record.needInvoice === 0"
<!-- 2024年2月变更 :disabled="record.needInvoice === 0" -->
<a @click="invoicing(record)"
v-has="'incomePaymentAndInvoiving:invoicing'">开票</a>
<!-- 确认收入项目--- 普通项目工作组项目资料网员 项目 可以确认收入 报名状态是 待审核的时候 不能确认收入-->
<a v-has="'incomePaymentAndInvoiving:confirmPayment'" @click="confirmPayment(record)">确认收入</a>
@@ -130,7 +130,9 @@ export default {
computed: {
canAddStageFlag() {
// 标协会员项目和证书项目 需要判断 当前的阶段是否有值,这两类项目只能来款一次
if(Number(this.projectType) === ProjectTypeEnums.STANDARD_CERTIFICATE_PRO.value || Number(this.projectType) === ProjectTypeEnums.STANDARD_MEMBER_PRO.value) {
// if(Number(this.projectType) === ProjectTypeEnums.STANDARD_CERTIFICATE_PRO.value || Number(this.projectType) === ProjectTypeEnums.STANDARD_MEMBER_PRO.value) {
// 2024年2月变更,标协会员项目取消只能来款一次
if(Number(this.projectType) === ProjectTypeEnums.STANDARD_CERTIFICATE_PRO.value) {
return this.stageList.length === 0 && this.canAddStage
} else {
return this.canAddStage