Explorar el Código

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

xieyong hace 3 semanas
padre
commit
f3d2c2d815
Se han modificado 1 ficheros con 8 adiciones y 0 borrados
  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;
         }