This commit is contained in:
2025-05-16 15:19:03 +08:00
parent f70461c2ae
commit ca5f2ebe60
2 changed files with 26 additions and 31 deletions

View File

@@ -8,7 +8,7 @@
<span class="filter_label">区域</span>
</view>
<view class="zd-col-17 filter_select">
<uni-data-select v-model="index1" :localdata="options1"></uni-data-select>
<view class="filter_input">缓存货架区域</view>
</view>
</view>
<view class="zd-row border-bottom">
@@ -40,8 +40,6 @@
data() {
return {
title: '',
options1: [{value: 1, text: '缓存货架区域', point: []}],
index1: '',
options2: this.generateArray('CRYHCHJ', '出入窑缓存货架'),
index2: '',
disabled: false
@@ -55,14 +53,13 @@
const array = []
for (let i = 1; i <= 136; i++) {
array.push({
value: `${prefix}${String(i).padStart(2, '0')}`,
text: `${suffix}${String(i).padStart(2, '0')}`
value: `${prefix}${String(i).padStart(3, '0')}`,
text: `${suffix}${String(i).padStart(3, '0')}`
})
}
return array
},
clearUp () {
this.index1 = ''
this.index2 = ''
this.disabled = false
},