前端
This commit is contained in:
parent
060236f6ce
commit
87b369c62b
@ -44,6 +44,7 @@
|
|||||||
<!-- 底部 -->
|
<!-- 底部 -->
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="bottom-box">
|
<view class="bottom-box">
|
||||||
<view class="anniu" @click="addValueCarRecords()">
|
<view class="anniu" @click="addValueCarRecords()">
|
||||||
<text>立即充值</text>
|
<text>立即充值</text>
|
||||||
@ -84,6 +85,8 @@
|
|||||||
{{index+1}}.{{item || "" }}
|
{{index+1}}.{{item || "" }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
<view class="box-gang">
|
<view class="box-gang">
|
||||||
<view class="">推荐员工</view>
|
<view class="">推荐员工</view>
|
||||||
<view class=""></view>
|
<view class=""></view>
|
||||||
@ -92,6 +95,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
<!-- 底部 -->
|
<!-- 底部 -->
|
||||||
<view class="bottom-box">
|
<view class="bottom-box">
|
||||||
<view class="anniu" @click="addFuleCarRecords()">
|
<view class="anniu" @click="addFuleCarRecords()">
|
||||||
@ -136,7 +140,17 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<u-picker :show="show" :columns="columns" keyName="realName" @confirm="confirm" @cancel="cancel"></u-picker>
|
<!-- <u-picker :show="show" :columns="columns" keyName="realName" @confirm="confirm" @cancel="cancel"></u-picker> -->
|
||||||
|
<u-popup :show="show" :round="10" mode="bottom" @close="close" @open="open">
|
||||||
|
<view class="bottom-bb">
|
||||||
|
<view class="" v-for="(item,index) in columns" :key="index" style="margin-bottom: 10px;">
|
||||||
|
<u-button @click="confirm(item)" type="primary" :plain="true" :text="item.realName"></u-button>
|
||||||
|
</view>
|
||||||
|
<!-- <view class="" v-for="(item,index) in columns" :key="index">
|
||||||
|
{{item.realName}}
|
||||||
|
</view> -->
|
||||||
|
</view>
|
||||||
|
</u-popup>
|
||||||
<u-modal :show="shows" :title="message" :content='money' @confirm="confirms()"></u-modal>
|
<u-modal :show="shows" :title="message" :content='money' @confirm="confirms()"></u-modal>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -224,6 +238,12 @@
|
|||||||
this.getStaffList()
|
this.getStaffList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
open() {
|
||||||
|
console.log();
|
||||||
|
},
|
||||||
|
close() {
|
||||||
|
this.show = false
|
||||||
|
},
|
||||||
//囤油卡充值
|
//囤油卡充值
|
||||||
addFuleCarRecords() {
|
addFuleCarRecords() {
|
||||||
if (this.staffId == '') {
|
if (this.staffId == '') {
|
||||||
@ -369,8 +389,8 @@
|
|||||||
},
|
},
|
||||||
confirm(e) {
|
confirm(e) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
this.staffId = e.value[0].id
|
this.staffId = e.id
|
||||||
this.yname = e.value[0].realName
|
this.yname = e.realName
|
||||||
this.show = false
|
this.show = false
|
||||||
},
|
},
|
||||||
cancel() {
|
cancel() {
|
||||||
@ -506,7 +526,8 @@
|
|||||||
storeId: uni.getStorageSync("storeId")
|
storeId: uni.getStorageSync("storeId")
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.columns.push(res.data.records)
|
this.columns = res.data.records
|
||||||
|
// this.columns.push(res.data.records)
|
||||||
console.log("columns", this.columns);
|
console.log("columns", this.columns);
|
||||||
|
|
||||||
})
|
})
|
||||||
@ -696,4 +717,13 @@
|
|||||||
width: 20%;
|
width: 20%;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bottom-bb {
|
||||||
|
width: 100%;
|
||||||
|
height: 200px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 10px;
|
||||||
|
background: white;
|
||||||
|
overflow: scroll;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
Loading…
Reference in New Issue
Block a user