Procházet zdrojové kódy

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

xieyong před 3 týdny
rodič
revize
f3d2c2d815

+ 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;
         }