diff --git a/api/order.js b/api/order.js index 7e04004..b8dcf97 100644 --- a/api/order.js +++ b/api/order.js @@ -9,6 +9,10 @@ export const createOrderApi = (data) => { export const orderListApi = (data) => { return request.get('/order/order/order_list', data); } +//门店订单列表 +export const storeOrderListApi = (data) => { + return request.get('/order/order/store_order_list', data); +} //订单详情 export const orderDetailApi = (data) => { diff --git a/config/app.js b/config/app.js index 971d6b2..f1f7802 100644 --- a/config/app.js +++ b/config/app.js @@ -3,9 +3,9 @@ let WSS_URL import store from "@/store/user.js" // 环境 // let env = "dev" -// let env = "prod" +let env = "prod" // let env = "release"; -let env = "local"; +// let env = "local"; switch (env) { case 'dev': @@ -17,7 +17,7 @@ switch (env) { WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull' break; case 'local': - BASE_URL = 'http://192.168.1.231:8545'; + BASE_URL = 'http://192.168.1.22:8545'; WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull' break; default: diff --git a/pages.json b/pages.json index e30cb07..5c4b519 100644 --- a/pages.json +++ b/pages.json @@ -202,7 +202,7 @@ "path" : "delivery/index", "style" : { - "navigationBarTitleText" : "配送员订单" + "navigationBarTitleText" : "门店订单" } } ] diff --git a/pages/my/my.vue b/pages/my/my.vue index 6fbab3d..16cc26c 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -123,7 +123,7 @@ - + diff --git a/pages/product/product.vue b/pages/product/product.vue index 2163cc4..e44bdbf 100644 --- a/pages/product/product.vue +++ b/pages/product/product.vue @@ -55,7 +55,7 @@ const frequentlyList = ref([]); let text = '没有商品' let status = ref('loadmore') - let list1 = ['零售', '商户', '会员'] + let list1 = ['零售', '商户', '供货价'] let keyword = ref(''); let enable_flex=ref(true) const where = ref({ diff --git a/pagesOrder/delivery/component/goods.vue b/pagesOrder/delivery/component/goods.vue new file mode 100644 index 0000000..29d7c4c --- /dev/null +++ b/pagesOrder/delivery/component/goods.vue @@ -0,0 +1,220 @@ + + + + + \ No newline at end of file diff --git a/pagesOrder/delivery/index.vue b/pagesOrder/delivery/index.vue index 39dbecb..fcfad0e 100644 --- a/pagesOrder/delivery/index.vue +++ b/pagesOrder/delivery/index.vue @@ -1,10 +1,6 @@