소스 검색

feat:鸿森堂销售订单

caoliqin 2 주 전
부모
커밋
1c07915d44
1개의 변경된 파일9개의 추가작업 그리고 3개의 파일을 삭제
  1. 9 3
      src/views/hisStore/storeOrder/index.vue

+ 9 - 3
src/views/hisStore/storeOrder/index.vue

@@ -1290,9 +1290,15 @@ export default {
           this.getTreeselect();
         }
     });
-    this.getDicts("crm_customer_source").then((response) => {
-      this.orderMediumOptions = response.data;
-    });
+    if(process.env.NODE_ENV === "prod-hst"){
+      this.getDicts("store_order_medium").then((response) => {
+        this.orderMediumOptions = response.data;
+      });
+    } else {
+      this.getDicts("crm_customer_source").then((response) => {
+        this.orderMediumOptions = response.data;
+      });
+    }
     this.getDicts("store_order_type").then((response) => {
       this.orderTypeOptions = response.data;
     });