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>
<view class="shop-name">{{ shopName }}</view>
</view>
<view>
<view style="z-index:999">
<u-cell-group>
<u-cell icon="setting-fill" url="/pages/index/checkShop" title="切换当前店铺" clickable isLink
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="list-name" style="width:150rpx;">{{radioType == '1'? '快递员' :'拉包工'}}</view>
<view class="list-val">
<input type="text" placeholder="请选择" disabled
:value="radioType == '0'? lbgName.workerName : kdyName.workerName"
<input type="text" placeholder="请选择" disabled
:value="radioType == '1'? kdyName.workerName : lbgName.workerName"
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"
style="margin-left: 80rpx;line-height: 80rpx;"></uni-icons>
</view>
@ -317,8 +317,7 @@
},
onShow() {
let that = this;
this.khName = JSON.parse(JSON.stringify(this.khName)) || ''
console.log(this.khName)
this.khName = JSON.parse(JSON.stringify(this.khName)) || ''
this.gysName = JSON.parse(JSON.stringify(this.gysName)) || ''
this.wlName = JSON.parse(JSON.stringify(this.wlName)) || ''
this.kdyName = JSON.parse(JSON.stringify(this.kdyName)) || ''
@ -509,7 +508,7 @@
})
return
}
let companyType = this.radioType == 0 ? this.wlName.id : ''
let companyType = this.radioType == 1 ? this.wlName.id : ''
console.log(companyType)
uni.navigateTo({
url: '/pages/index/peopleList?popleType=' + popleType + '&companyType=' + companyType
@ -836,7 +835,8 @@
display: flex;
background: #fff;
border-top: 1px solid #eee;
height: 110rpx;
height: 110rpx;
z-index: 999;
}
.bottom-left {

Loading…
Cancel
Save