Browse Source

修改盘点库位筛选

hella_online_20240927
lijuncheng 2 months ago
parent
commit
c7e037d30a
  1. 9
      src/mycomponents/job/jobFilter.vue
  2. 4
      src/pages/count/job/countJob.vue

9
src/mycomponents/job/jobFilter.vue

@ -41,10 +41,11 @@
<view v-if="isShowFromLocationCode" class="uni-flex space-between u-col-center" <view v-if="isShowFromLocationCode" class="uni-flex space-between u-col-center"
style="width: 100%;margin-top: 30rpx;"> style="width: 100%;margin-top: 30rpx;">
<view class="" style="font-size: 32rpx;"> <view class="" style="font-size: 32rpx;">
来源库位 {{fromLoactionCodeName}}
</view> </view>
<u-input style="margin-left: 20rpx;" confirmType="search" v-model="fromLocationCode" :border="true" <u-input style="margin-left: 20rpx;" confirmType="search" v-model="fromLocationCode" :border="true"
placeholder="请输入来源库位" @confirm="fromLocationCodeConfirm" /> :placeholder="`请输入${fromLoactionCodeName}`"
@confirm="fromLocationCodeConfirm" />
</view> </view>
<view v-if="isShowToLocationCode" class="uni-flex space-between u-col-center" <view v-if="isShowToLocationCode" class="uni-flex space-between u-col-center"
style="width: 100%;margin-top: 30rpx;"> style="width: 100%;margin-top: 30rpx;">
@ -131,6 +132,10 @@
type: Boolean, type: Boolean,
default: true default: true
}, },
fromLoactionCodeName:{
type: String,
default: "来源库位"
},
isShowFromLocationCode: { isShowFromLocationCode: {
type: Boolean, type: Boolean,
default: false default: false

4
src/pages/count/job/countJob.vue

@ -1,7 +1,9 @@
<template> <template>
<view class=""> <view class="">
<com-empty-view v-if="jobList.length==0"></com-empty-view> <com-empty-view v-if="jobList.length==0"></com-empty-view>
<job-filter ref="filter" :isShowFromLocationCode="true" @onQuery="getListByFilter" :isShowQurery="true"> <job-filter ref="filter" :isShowFromLocationCode="true" @onQuery="getListByFilter"
fromLoactionCodeName="盘点库位"
:isShowQurery="true">
</job-filter> </job-filter>
<view v-if="jobList.length>0"> <view v-if="jobList.length>0">
<uni-swipe-action ref="swipeAction"> <uni-swipe-action ref="swipeAction">

Loading…
Cancel
Save