update 退库入库库位优化

This commit is contained in:
18110972313 2025-04-24 13:51:17 +08:00
parent 2b818848eb
commit a15b37645b
2 changed files with 12 additions and 5 deletions

View File

@ -17,11 +17,16 @@
<zxzUniDataSelect filterable v-model="LOCATIONNAME" :localdata="items_Location"-->
<!-- :disabled="Locatiaon_state"></zxzUniDataSelect> -->
<u-form-item :border-bottom="false">
<label>选择库位:</label>&nbsp;&nbsp;&nbsp;&nbsp;
<zxzUniDataSelect filterable v-model="LOCATIONNAME" :localdata="items_Location"
@inputChange="getitems_LocationAll"></zxzUniDataSelect>
</u-form-item>
<!-- <u-form-item :border-bottom="false">
<label>选择库位: </label>
<downSelect class="downSelect-col" ref='selectRef' showKey="storageName" mode='single' :dataList="items_Location" @resultBack="resultBack">
<u-input :border="true" v-model="LOCATIONNAME" placeholder="请输入" @input="handleInput"/>
</downSelect>
</u-form-item>
</u-form-item> -->
<!-- <u-form-item :border-bottom="false">
<label>选择库位</label>
<downSelect ref='selectRef' showKey="storageName" mode='single' :dataList="items_Location" @resultBack="resultBack">
@ -883,11 +888,12 @@
var arr = this.items_LocationAll.filter(item => {
return (item.text.includes(query)) || (item.value.includes(query))
})
if (arr.length > 50) {
this.items_Location = arr.slice(0, arr.length)
/* if (arr.length > 50) {
this.items_Location = arr.slice(0, 50)
} else {
this.items_Location = arr
}
} */
console.log(this.items_Location)
},
}

View File

@ -446,11 +446,12 @@
var arr = this.items_LocationAll.filter(item => {
return (item.text.includes(query)) || (item.value.includes(query))
})
if (arr.length > 50) {
this.items_Location = arr.slice(0, arr.length)
/* if (arr.length > 50) {
this.items_Location = arr.slice(0, 50)
} else {
this.items_Location = arr
}
} */
console.log(this.items_Location)
},
//