Parcourir la source

fix: 根据needProduce条件显示收款计划组件

liujt il y a 4 mois
Parent
commit
ed7d57396b
1 fichiers modifiés avec 10 ajouts et 9 suppressions
  1. 10 9
      src/views/bpm/handleTask/components/saleOrder/detailDialog.vue

+ 10 - 9
src/views/bpm/handleTask/components/saleOrder/detailDialog.vue

@@ -248,15 +248,16 @@
         type="view"
         type="view"
       ></typeList>
       ></typeList>
 
 
-      <headerTitle
-        title="收款计划"
-        style="margin-top: 30px"
-      ></headerTitle>
-      <PaymentCollectionPlan
-        ref="paymentCollectionPlanRef"
-        menu="sale"
-        type="view"
-      ></PaymentCollectionPlan>
+      <div v-if="form.needProduce != 2 && form.needProduce != 4" style="margin-top: 30px">
+        <headerTitle
+          title="收款计划"
+        ></headerTitle>
+        <PaymentCollectionPlan
+          ref="paymentCollectionPlanRef"
+          menu="sale"
+          type="view"
+        ></PaymentCollectionPlan>
+      </div>
     </div>
     </div>
     <div v-show="activeComp == '1'">
     <div v-show="activeComp == '1'">
       <bomList :tableList="orderBomList2"></bomList>
       <bomList :tableList="orderBomList2"></bomList>