소스 검색

fix: 根据菜单类型更新付款方式标签为“预收款”

xieyong 3 주 전
부모
커밋
f3d2c2d815
1개의 변경된 파일과 8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      src/BIZComponents/paymentCollectionPlan/Index.vue

+ 8 - 0
src/BIZComponents/paymentCollectionPlan/Index.vue

@@ -418,6 +418,14 @@
           });
         }
 
+        if (this.menu === 'sale') {
+          paymentTypeOp.forEach((item) => {
+            if (item.value == 1) {
+              item.label = '预收款';
+            }
+          });
+        }
+
         if (isStage) {
           return paymentTypeOp;
         }