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