手持机功能修改

This commit is contained in:
liuhanqing
2026-01-08 10:29:44 +08:00
parent 6f873fe6b0
commit a7ea6324ca
8 changed files with 89 additions and 86 deletions

View File

@@ -90,8 +90,8 @@ export default {
isConfirming: false,
selectedEntrance: '',
warehouseOptions:[
{ value: '01', text: '仓库1' },
{ value: '02', text: '仓库2' }
{ value: '01', text: '三联' },
{ value: '02', text: '二联' }
],
selectedWarehouseId:""
}

View File

@@ -1,5 +1,15 @@
<template>
<view class="container">
<view class="input-group">
<text class="input-label">仓库</text>
<uni-data-select
v-model="formData.warehouseId"
:localdata="warehouseList"
:clear="false"
placeholder="请选择仓库"
/>
</view>
<view class="input-group">
<text class="input-label">托盘条码:</text>
<uni-easyinput
@@ -16,16 +26,7 @@
</template>
</uni-easyinput>
</view>
<!-- <view class="input-group">
<text class="input-label">仓库</text>
<uni-data-select
v-model="formData.warehouseId"
:localdata="warehouseList"
:clear="false"
placeholder="请选择仓库"
/>
</view> -->
<view class="button-group">
<button class="submit-button" @click="handleSubmit">空托盘入库</button>
</view>
@@ -57,7 +58,7 @@ import { getBasWarehouList,getCargoSpaceList } from '@/api/bas/bas.js'
}, 100)
// 获取仓库列表
// this.getWarehouseList()
this.getWarehouseList()
},
methods: {
// 获取仓库列表
@@ -65,7 +66,8 @@ import { getBasWarehouList,getCargoSpaceList } from '@/api/bas/bas.js'
try {
const response = await getBasWarehouList({
pageNum:1,
pageSize:100
pageSize:100,
warehouseType:1
})
if (response.code === 200) {