Browse Source

筛选

hella_online_20240829
wangyufei 5 months ago
parent
commit
0abf867a0d
  1. 12
      src/mycomponents/job/jobFilter.vue

12
src/mycomponents/job/jobFilter.vue

@ -1,8 +1,8 @@
<template> <template>
<uni-popup ref="popup"> <uni-popup ref="popup" >
<view class="maskbox" @tap="maskClick"></view> <view class="maskbox" @tap="maskClick"></view>
<view class="uni-flex uni-column center" <view class="uni-flex uni-column center"
style="background-color: white;width: 200px; height:auto;padding: 20rpx;z-index: 99;position: relative;"> style="background-color: white;width: 100%; height:auto;padding: 20rpx;z-index: 99;position: relative;">
<view class="uni-flex space-between u-col-center" style="width: 100%;"> <view class="uni-flex space-between u-col-center" style="width: 100%;">
<view class="" style="font-size: 32rpx;"> <view class="" style="font-size: 32rpx;">
只看当天 只看当天
@ -23,15 +23,15 @@
</view> </view>
<!-- <u-input style="margin-left: 20rpx;" v-model="productionLineCode" :border="true" <!-- <u-input style="margin-left: 20rpx;" v-model="productionLineCode" :border="true"
placeholder="请输入生产线" @confirm="productionLineCodeConfirm" /> --> placeholder="请输入生产线" @confirm="productionLineCodeConfirm" /> -->
<uni-data-select class="uni-data-select" style="margin-left: 20rpx;" placeholder="请输入生产线" v-model="productionLineCode" :clear="false" :localdata="productionline" @change="productionLineCodeConfirm"></uni-data-select> <uni-data-select class="uni-data-select" style="margin-left: 50rpx;" placeholder="请输入生产线" v-model="productionLineCode" :clear="false" :localdata="productionline" @change="productionLineCodeConfirm"></uni-data-select>
</view> </view>
<view v-if="isShowFromLocationCode" class="uni-flex space-between u-col-center" style="width: 100%;margin-top: 30rpx;"> <view v-if="isShowFromLocationCode" class="uni-flex space-between u-col-center" style="width: 100%;margin-top: 30rpx;">
<view class="" style="font-size: 32rpx;"> <view class="" style="font-size: 32rpx;">
来源库位 来源库位
</view> </view>
<u-input type="textarea" style="margin-left: 20rpx;" v-model="fromLocationCode" :border="true" <u-input style="margin-left: 20rpx;" v-model="fromLocationCode" :border="true"
placeholder="请输入来源库位" @confirm="fromLocationCodeConfirm" /> placeholder="请输入来源库位" @blur="fromLocationCodeConfirm" />
</view> </view>
<view class=""> <view class="">
@ -142,7 +142,7 @@
this.closeScanPopup(); this.closeScanPopup();
}, },
openFilter() { openFilter() {
this.$refs['popup'].open("right"); this.$refs['popup'].open("top");
}, },
closeScanPopup() { closeScanPopup() {
this.$refs.popup.close() this.$refs.popup.close()

Loading…
Cancel
Save