diff --git a/buyer/src/App.vue b/buyer/src/App.vue index c7719c7f..6bc9a7b7 100644 --- a/buyer/src/App.vue +++ b/buyer/src/App.vue @@ -10,10 +10,12 @@ import { getBaseSite } from "@/api/common.js"; export default { name: "App", mounted() { + this.init(); }, methods:{ init(){ + if(!storage.getItem("siteName")||!storage.getItem("logoImg")||!storage.getItem("sitelogo_expiration_time")) { this.getSite(); }else{ @@ -33,6 +35,7 @@ export default { } }, + getSite(){ //获取基本站点信息 getBaseSite().then((res) => { diff --git a/buyer/src/api/common.js b/buyer/src/api/common.js index 8c579162..5c2877de 100644 --- a/buyer/src/api/common.js +++ b/buyer/src/api/common.js @@ -10,6 +10,19 @@ export function getVerifyImg (verificationEnums) { needToken: false }); } + + +export function getImSetting(params) { + return request({ + url: `/buyer/other/setting/get/IM_SETTING`, + method: Method.GET, + needToken: true, + params, + }); +} + + + /** * 验证码校验 */ diff --git a/buyer/src/api/member.js b/buyer/src/api/member.js index eeb7de21..09dc8438 100644 --- a/buyer/src/api/member.js +++ b/buyer/src/api/member.js @@ -527,3 +527,44 @@ export function getGoodsDistribution (distributionId) { needToken: true }); } + +/** + * 获取会员发票抬头列表 + */ +export function getMemberReceiptList (params) { + return request({ + url: `/buyer/wallet/receipt`, + method: Method.GET, + needToken: true, + params + }); +} + +/** + * 保存会员发票抬头 + */ +export function setMemberReceiptList (params) { + return request({ + url: `/buyer/wallet/receipt`, + method: Method.POST, + needToken: true, + data:params + }); +} + + +/** + * 保存会员发票抬头 + */ +export function delMemberReceipt(id) { + return request({ + url: `/buyer/wallet/receipt/${id}`, + method: Method.DELETE, + needToken: true, + params:{id}, + headers: { + "Content-Type": "application/x-www-form-urlencoded", + } + }); +} + diff --git a/buyer/src/components/invoiceModal/index.vue b/buyer/src/components/invoiceModal/index.vue index 2b5c0588..2ff5b20d 100644 --- a/buyer/src/components/invoiceModal/index.vue +++ b/buyer/src/components/invoiceModal/index.vue @@ -6,11 +6,11 @@

@@ -45,11 +83,15 @@ \ No newline at end of file + diff --git a/manager/src/views/logistics/company.vue b/manager/src/views/logistics/company.vue index d0577dc8..a0155f3d 100644 --- a/manager/src/views/logistics/company.vue +++ b/manager/src/views/logistics/company.vue @@ -4,56 +4,72 @@ - +
- + - +
- + - + - + - + +

请输入详细信息

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