|
|
@ -1,10 +1,10 @@ |
|
|
|
<template> |
|
|
|
<!-- 选择设备或模具 --> |
|
|
|
<u-popup v-model="props.isShowSelectDevice" mode="center" border-radius="14"> |
|
|
|
<view class="popup-title">选择{{ deviceType }}</view> |
|
|
|
<view class="popup-title">选择{{ deviceType === 'DEVICE' ? '设备' : '模具' }}</view> |
|
|
|
<view class="popup"> |
|
|
|
<u-search placeholder="搜索" v-model="form1.searchName" @change="searchDevice"></u-search> |
|
|
|
<view class="list"> |
|
|
|
<scroll-view class="list" scroll-y="true" style="max-height: 800rpx"> |
|
|
|
<view class="device" v-for="(device, index) in singleColumnList" :key="index" @click="chooseDevice(device)"> |
|
|
|
<u-checkbox v-model="device.checked" shape="circle" style="margin-top: 8rpx;"></u-checkbox> |
|
|
|
<view class="right"> |
|
|
@ -19,7 +19,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</scroll-view> |
|
|
|
</view> |
|
|
|
<view class="popup-footer"> |
|
|
|
<view @click="chooseDevice1(0)">取消</view> |
|
|
|