Explorar o código

feat:鸿森堂销售订单

caoliqin hai 2 semanas
pai
achega
1c07915d44
Modificáronse 1 ficheiros con 9 adicións e 3 borrados
  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;
     });