Kaynağa Gözat

fix(财务支付计划): 修正支付条件判断逻辑

liujt 4 ay önce
ebeveyn
işleme
bef732ac30

+ 2 - 2
src/views/financialManage/paymentPlan/index.vue

@@ -540,9 +540,9 @@ export default {
         const isCashOnDelivery = row.settlementMode == 3;
         const isCashOnDelivery = row.settlementMode == 3;
         const isPrepayment = row.paymentType == 1;
         const isPrepayment = row.paymentType == 1;
         const isDelivered = row.deliveryStatus != 0;
         const isDelivered = row.deliveryStatus != 0;
-        const deliveryCondition = !isCashOnDelivery || (isPrepayment || isDelivered);
+        const deliveryCondition = isCashOnDelivery && (isPrepayment || (!isPrepayment && isDelivered));
         
         
-        return isNotFullInvoiced && paymentCondition && deliveryCondition;
+        return isNotFullInvoiced && (paymentCondition || deliveryCondition);
       };
       };
     }
     }
   },
   },