diff --git a/package2/login/login.vue b/package2/login/login.vue index 83fd025..1aa64b8 100644 --- a/package2/login/login.vue +++ b/package2/login/login.vue @@ -332,6 +332,13 @@ if (res.code == 200) { let printMethod = JSON.parse(res.result.logiticsCompany.printMethod) uni.setStorageSync('remark',res.result.logiticsCompany.remark) + uni.setStorageSync('companyTel',res.result.logiticsCompany.companyTel) + if(res.result.logisticsUser == null || res.result.logisticsUser == undefined){ + uni.setStorageSync('wluserType',0) + }else{ + uni.setStorageSync('wluserType',res.result.logisticsUser.userRole) + } + if(printMethod == null){ uni.setStorageSync('wlNum',1) }else{ diff --git a/package2/other/logisticsSystemSet.vue b/package2/other/logisticsSystemSet.vue index 5dd97d2..46bcf5c 100644 --- a/package2/other/logisticsSystemSet.vue +++ b/package2/other/logisticsSystemSet.vue @@ -38,6 +38,12 @@ + + + 联系方式: + + + 修改 @@ -73,6 +79,7 @@ current: 0, wlNum:uni.getStorageSync('wlNum')?uni.getStorageSync('wlNum'):1, remark:uni.getStorageSync('remark')?uni.getStorageSync('remark'):"", + companyTel:uni.getStorageSync('companyTel')?uni.getStorageSync('companyTel'):"" } }, onLoad(){ @@ -129,11 +136,13 @@ } } uni.setStorageSync('remark',this.remark) + uni.setStorageSync('companyTel',this.companyTel) uni.request({ url: this.tui.interfaceUrl() + '/app/logitics/updateLogiticsCompany', data: { id:uni.getStorageSync('transCompany'), printMethod:JSON.stringify(printMethod), + companyTel:this.companyTel, remark:this.remark }, header: { diff --git a/package2/other/newLogisticsIndex.vue b/package2/other/newLogisticsIndex.vue index 1a25a10..7905b9a 100644 --- a/package2/other/newLogisticsIndex.vue +++ b/package2/other/newLogisticsIndex.vue @@ -4,7 +4,11 @@ - 开单 + 开单 + + + 今日营收详情 @@ -71,10 +75,10 @@ 接站人:{{item.receivingUserName}} - + 修改订单 - + 删除订单 @@ -137,6 +141,10 @@