Browse Source

小问题

hbchen 1 năm trước cách đây
mục cha
commit
3e0d2bf33b

+ 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