diff --git a/seller/public/config.js b/seller/public/config.js
index 77fabef0..4c4bde61 100644
--- a/seller/public/config.js
+++ b/seller/public/config.js
@@ -7,10 +7,10 @@ var BASE = {
// buyer: "http://localhost:8888",
// seller: "http://localhost:8889",
// manager: "http://localhost:8887"
- common:"http://192.168.0.113:8890",
+ common:"http://127.0.0.1:8890",
buyer:"http://192.168.0.113:8888",
manager:"http://192.168.0.113:8887",
- seller:"http://192.168.0.113:8889"
+ seller:"http://127.0.0.1:8889"
},
API_PROD: {
common: "https://common-api.pickmall.cn",
diff --git a/seller/src/api/logistics.js b/seller/src/api/logistics.js
index 1d4d7ebf..a74a861a 100644
--- a/seller/src/api/logistics.js
+++ b/seller/src/api/logistics.js
@@ -31,4 +31,8 @@ export const updateLogistics = (id,params) => {
return putRequest(`/other/logistics/${id}`,params);
};
+export const getCheckedOn = params =>{
+ return getRequest(`/other/logistics/getCheckedFaceSheet`,params);
+}
+
diff --git a/seller/src/api/order.js b/seller/src/api/order.js
index 9c22489e..ff709b67 100644
--- a/seller/src/api/order.js
+++ b/seller/src/api/order.js
@@ -17,6 +17,10 @@ export const queryExportOrder = params => {
return getRequest(`/order/order/queryExportOrder`, params);
};
+//获取电子面单
+export const getOrderFaceSheet= (orderSn,params) =>{
+ return postRequest(`/order/order/${orderSn}/createElectronicsFaceSheet`,params)
+}
// 上传待发货的订单列表
export const uploadDeliverExcel = params => {
diff --git a/seller/src/api/shops.js b/seller/src/api/shops.js
index e23c75e3..f7f4f412 100644
--- a/seller/src/api/shops.js
+++ b/seller/src/api/shops.js
@@ -48,7 +48,17 @@ export const getIsCheck =(logisticsId) =>{
// 开启物流公司
export const logisticsChecked = (id, params) => {
- return postRequest(`/other/logistics/${id}`, params)
+ return postRequest(`/other/logistics/${id}`, params, {
+ "Content-type": "application/json"
+ })
+}
+//获取发货地址
+export const getDeliverAddress = () =>{
+ return getRequest(`/settings/storeSettings/storeDeliverGoodsAddress`)
+}
+//修改发货地址
+export const editDeliverAddress = (params) =>{
+ return putRequest(`/settings/storeSettings/storeDeliverGoodsAddress`,params)
}
// 关闭开启物流公司
diff --git a/seller/src/views/goods/goods-seller/goods.vue b/seller/src/views/goods/goods-seller/goods.vue
index d9227f3a..f9d819d2 100644
--- a/seller/src/views/goods/goods-seller/goods.vue
+++ b/seller/src/views/goods/goods-seller/goods.vue
@@ -56,6 +56,7 @@