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] =?UTF-8?q?=E7=94=B5=E5=AD=90=E9=9D=A2=E5=8D=95=E5=89=8D?= =?UTF-8?q?=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" > + +

是否需要电子面单

+ + + 需要 + + + 不需要 + + + +

请输入详细信息

+
+ + + + + + + + + + + + + + + + +
+ 使用说明 + 快递类型 +
+
+
+
+
+ +