Commit 1ac01a52 by iambtr

修改文字描述

parent f11dce55
...@@ -54,7 +54,7 @@ Page({ ...@@ -54,7 +54,7 @@ Page({
api.get('site/getByCompanyId', { companyId }) api.get('site/getByCompanyId', { companyId })
.then(({ items }) => { .then(({ items }) => {
if(items.length==0){ if(items.length==0){
alertTip('该一级网点下不存在二级网点,请联系管理员') alertTip('该租赁商下不存在站点,请联系管理员')
} }
that.setData({ that.setData({
pointArray: items pointArray: items
...@@ -69,7 +69,7 @@ Page({ ...@@ -69,7 +69,7 @@ Page({
if (point && point.companyName){ if (point && point.companyName){
wx.showModal({ wx.showModal({
title: '提示', title: '提示',
content: `确认您的二级网点是${point.companyName}`, content: `确认您的点是${point.companyName}`,
success: function (res) { success: function (res) {
if (res.confirm) { if (res.confirm) {
wx.setStorageSync('siteId', point.id) wx.setStorageSync('siteId', point.id)
...@@ -83,6 +83,6 @@ Page({ ...@@ -83,6 +83,6 @@ Page({
}) })
return return
} }
alertTip('二级网点异常,请联系管理员') alertTip('点异常,请联系管理员')
} }
}) })
\ No newline at end of file
{ {
"navigationBarTitleText": "选择点" "navigationBarTitleText": "选择点"
} }
\ No newline at end of file
<view class='phone list'> <view class='phone list'>
<text>一级网点:</text> <text>租赁商:</text>
<picker class='input-text point' bindchange="companyChange" value="{{companyIndex}}" range-key="companyName" range="{{companyArray}}"> <picker class='input-text point' bindchange="companyChange" value="{{companyIndex}}" range-key="companyName" range="{{companyArray}}">
<view>{{companyArray[companyIndex].companyName}}</view> <view>{{companyArray[companyIndex].companyName}}</view>
</picker> </picker>
<text class='fresh-car' catchtap='getCompany'>刷新租赁商</text> <text class='fresh-car' catchtap='getCompany'>刷新租赁商</text>
</view> </view>
<view class='phone list'> <view class='phone list'>
<text>二级网点:</text> <text>点:</text>
<picker class='input-text point' bindchange="pointChange" value="{{pointIndex}}" range-key="companyName" range="{{pointArray}}"> <picker class='input-text point' bindchange="pointChange" value="{{pointIndex}}" range-key="companyName" range="{{pointArray}}">
<view>{{pointArray[pointIndex].companyName}}</view> <view>{{pointArray[pointIndex].companyName}}</view>
</picker> </picker>
......
...@@ -88,7 +88,7 @@ Page({ ...@@ -88,7 +88,7 @@ Page({
}) })
wx.setNavigationBarTitle({ wx.setNavigationBarTitle({
title: `${role==1?"录车":"交车"}操作员:${user.userName}` title: `${role==1?"录车":"交车"}操作员:${user.name}`
}) })
}, },
onUnload() { onUnload() {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
"newFeature": true "newFeature": true
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "1.6.4", "libVersion": "2.0.9",
"appid": "wx6fb8bdbf51d38e78", "appid": "wx6fb8bdbf51d38e78",
"projectname": "%E6%99%BA%E7%AE%A1%E5%AE%B6", "projectname": "%E6%99%BA%E7%AE%A1%E5%AE%B6",
"condition": { "condition": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment