瀏覽代碼

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