hbchen 1 سال پیش
والد
کامیت
3e0d2bf33b
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      src/views/financialManagement/contractProgress-component/InvoiceAndPayment.vue

+ 3 - 1
src/views/financialManagement/contractProgress-component/InvoiceAndPayment.vue

@@ -419,7 +419,7 @@
 
     // if(amoutList.length>0){
     amountForm.amountData=[]
-    amoutList.map(item=>{
+    amoutList.map((item,index)=>{
       if(item.service_product_id==1){
         // FICC
         IandP.moneyData.haveMoneyFICC+=item.origin_amount
@@ -437,6 +437,8 @@
         remark:item.remark,
         seller_id:item.seller_id,
         seller_name:item.seller_name,
+        // 到款有对应的销售需要禁用
+        hasRelativeSeller:!!amountForm.submittedAmountData[index]?.seller_id,
         amountDomType:'text',
         remarkDomType:'text',
         isEdit:false