html
<van-cell-group>
<van-cell title-class="hwms-cell-title" title-width="225rpx" value-class="hwms-cell-content" title="仓库-库位" value="{
{warehouseContent}}" bind:click="warehouse" />
</van-cell-group>
<van-popup show="{
{show}}" position="bottom" bind:close="hideBottom">
<van-picker bind:change="onChange3" columns="{
{ columns }}" confirm-button-text="确认" cancel-button-text="取消" show-toolbar="true" bind:confirm="selectWarehouse" bind:cancel="cancelSelect" />
</van-popup>
js
const app = getApp();
Page({
/**
* 页面的初始数据
*/
data: {
show: false,
warehouseContent: '点击选择', //输入框显示的内容
columns: [], //对象数组,配置每一列显示的数据
},
/*