From 9ce3a5e916ccdaf985b660d97db733eb3bc3010d Mon Sep 17 00:00:00 2001
From: chc <1501738723@qq.com>
Date: Wed, 31 Aug 2022 17:27:09 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E7=94=B5=E5=AD=90=E9=9D=A2=E5=8D=95?=
=?UTF-8?q?=E5=89=8D=E7=AB=AF=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../setting-manage/setting/KUAIDI_SETTING.vue | 5 +-
seller/src/api/shops.js | 9 +
seller/src/views/shop/ship/logistics.vue | 442 +++++++++++++-----
3 files changed, 326 insertions(+), 130 deletions(-)
diff --git a/manager/src/views/sys/setting-manage/setting/KUAIDI_SETTING.vue b/manager/src/views/sys/setting-manage/setting/KUAIDI_SETTING.vue
index 0855cf25..97da693d 100644
--- a/manager/src/views/sys/setting-manage/setting/KUAIDI_SETTING.vue
+++ b/manager/src/views/sys/setting-manage/setting/KUAIDI_SETTING.vue
@@ -10,6 +10,9 @@
+
+
+
@@ -24,7 +27,7 @@ export default {
data() {
return {
ruleValidate: {}, // 验证规则
- formValidate: { ebusinessID: "", reqURL: "", appKey: "" }, // 表单数据
+ formValidate: { ebusinessID: "", reqURL: "", appKey: "" ,sheetReqURL: "" ,}, // 表单数据
};
},
props: ["res",'type'],
diff --git a/seller/src/api/shops.js b/seller/src/api/shops.js
index 32b7a8ec..e23c75e3 100644
--- a/seller/src/api/shops.js
+++ b/seller/src/api/shops.js
@@ -41,6 +41,10 @@ export const getBillDetail = (id, params) => {
export const getLogistics = (id, params) => {
return getRequest(`/other/logistics`, params)
}
+//返回信息
+export const getIsCheck =(logisticsId) =>{
+ return getRequest(`other/logistics/${logisticsId}/getStoreLogistics`)
+}
// 开启物流公司
export const logisticsChecked = (id, params) => {
@@ -117,4 +121,9 @@ export const editShipTemplate = (id, params, headers) => {
return putRequest(`/setting/freightTemplate/${id}`, params, headers)
}
+//修改电子面单等信息
+export const editChecked = (logisticsId,params) => {
+ return putRequest(`/other/logistics/${logisticsId}/updateStoreLogistics`,params)
+}
+
diff --git a/seller/src/views/shop/ship/logistics.vue b/seller/src/views/shop/ship/logistics.vue
index 8d80103d..682381bb 100644
--- a/seller/src/views/shop/ship/logistics.vue
+++ b/seller/src/views/shop/ship/logistics.vue
@@ -9,154 +9,338 @@
ref="table"
>
+
+ 是否需要电子面单
+
+
+ 需要
+
+
+ 不需要
+
+
+
+ 请输入详细信息
+
+
+
+
+
+
From 2aceffc1124f841d4ec41afa42edae7816de2129 Mon Sep 17 00:00:00 2001
From: chc <1501738723@qq.com>
Date: Thu, 1 Sep 2022 18:52:11 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E7=94=B5=E5=AD=90=E9=9D=A2=E5=8D=95?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2,=E5=AF=BC=E5=85=A5=E5=95=86=E5=93=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
seller/public/config.js | 4 +-
seller/src/api/logistics.js | 4 +
seller/src/api/order.js | 4 +
seller/src/api/shops.js | 12 +-
seller/src/views/goods/goods-seller/goods.vue | 32 ++++-
seller/src/views/order/order/orderDetail.vue | 90 ++++++++++--
seller/src/views/shop/ship/logistics.vue | 17 ++-
seller/src/views/shop/shopSetting.vue | 136 ++++++++++++++++++
8 files changed, 271 insertions(+), 28 deletions(-)
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 @@