Browse Source

开单

master
tianyi@bogon 3 years ago
parent
commit
db4878cd28
  1. 2
      pages/index/index.vue
  2. 14
      pages/inventory/goodsList1.vue

2
pages/index/index.vue

@ -96,7 +96,7 @@
<u-avatar :src="avatar"></u-avatar> <u-avatar :src="avatar"></u-avatar>
<view class="shop-name">{{ shopName }}</view> <view class="shop-name">{{ shopName }}</view>
</view> </view>
<view> <view style="z-index:999">
<u-cell-group> <u-cell-group>
<u-cell icon="setting-fill" url="/pages/index/checkShop" title="切换当前店铺" clickable isLink <u-cell icon="setting-fill" url="/pages/index/checkShop" title="切换当前店铺" clickable isLink
arrow-direction="left"></u-cell> arrow-direction="left"></u-cell>

14
pages/inventory/goodsList1.vue

@ -192,10 +192,10 @@
<view class="content-list" v-if="radioType != '2' && radioType !=''"> <view class="content-list" v-if="radioType != '2' && radioType !=''">
<view class="list-name" style="width:150rpx;">{{radioType == '1'? '快递员' :'拉包工'}}</view> <view class="list-name" style="width:150rpx;">{{radioType == '1'? '快递员' :'拉包工'}}</view>
<view class="list-val"> <view class="list-val">
<input type="text" placeholder="请选择" disabled <input type="text" placeholder="请选择" disabled
:value="radioType == '0'? lbgName.workerName : kdyName.workerName" :value="radioType == '1'? kdyName.workerName : lbgName.workerName"
style="border-bottom: 1px solid #fff;text-align: center;" style="border-bottom: 1px solid #fff;text-align: center;"
@tap="goPopleList(radioType == '0'? 'lbgName' :'kdyName')"> @tap="goPopleList(radioType == '1'? 'kdyName' :'lbgName')">
<uni-icons type="right" size="16" <uni-icons type="right" size="16"
style="margin-left: 80rpx;line-height: 80rpx;"></uni-icons> style="margin-left: 80rpx;line-height: 80rpx;"></uni-icons>
</view> </view>
@ -317,8 +317,7 @@
}, },
onShow() { onShow() {
let that = this; let that = this;
this.khName = JSON.parse(JSON.stringify(this.khName)) || '' this.khName = JSON.parse(JSON.stringify(this.khName)) || ''
console.log(this.khName)
this.gysName = JSON.parse(JSON.stringify(this.gysName)) || '' this.gysName = JSON.parse(JSON.stringify(this.gysName)) || ''
this.wlName = JSON.parse(JSON.stringify(this.wlName)) || '' this.wlName = JSON.parse(JSON.stringify(this.wlName)) || ''
this.kdyName = JSON.parse(JSON.stringify(this.kdyName)) || '' this.kdyName = JSON.parse(JSON.stringify(this.kdyName)) || ''
@ -509,7 +508,7 @@
}) })
return return
} }
let companyType = this.radioType == 0 ? this.wlName.id : '' let companyType = this.radioType == 1 ? this.wlName.id : ''
console.log(companyType) console.log(companyType)
uni.navigateTo({ uni.navigateTo({
url: '/pages/index/peopleList?popleType=' + popleType + '&companyType=' + companyType url: '/pages/index/peopleList?popleType=' + popleType + '&companyType=' + companyType
@ -836,7 +835,8 @@
display: flex; display: flex;
background: #fff; background: #fff;
border-top: 1px solid #eee; border-top: 1px solid #eee;
height: 110rpx; height: 110rpx;
z-index: 999;
} }
.bottom-left { .bottom-left {

Loading…
Cancel
Save