分切
This commit is contained in:
@@ -5,39 +5,39 @@
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">区域</view>
|
||||
<view class="filter_label">{{$t('filter.area')}}</view>
|
||||
<view class="filter_input_wraper">
|
||||
<uni-data-select v-model="index2" :localdata="options2" @change="selectChange2"></uni-data-select>
|
||||
<uni-data-select v-model="index2" :placeholder="$t('uni.dataSelect.placeholder')" :localdata="options2" @change="selectChange2"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label_wraper">
|
||||
<span class="filter_label">设备</span>
|
||||
<span class="filter_label">{{$t('filter.device')}}</span>
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<uni-data-select v-model="index3" :localdata="options3" @change="selectChange3"></uni-data-select>
|
||||
<uni-data-select v-model="index3" :placeholder="$t('uni.dataSelect.placeholder')" :localdata="options3" @change="selectChange3"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">点位</view>
|
||||
<view class="filter_label">{{$t('filter.point')}}</view>
|
||||
<view class="filter_input_wraper">
|
||||
<uni-data-select v-model="index1" :localdata="options1" @change="selectChange1"></uni-data-select>
|
||||
<uni-data-select v-model="index1" :placeholder="$t('uni.dataSelect.placeholder')" :localdata="options1" @change="selectChange1"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">管芯左</view>
|
||||
<view class="filter_label">{{$t('filter.tubecore-l')}}</view>
|
||||
<view class="filter_input_wraper">
|
||||
<uni-data-select v-model="upL" :searchInput="true" :localdata="newaxis1" @handleChange="handleChange1" @showSelector="showSelector1"></uni-data-select>
|
||||
<uni-data-select v-model="upL" :searchInput="true" :placeholder="$t('uni.dataSelect.placeholder')" :localdata="newaxis1" @handleChange="handleChange1" @showSelector="showSelector1"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">管芯右</view>
|
||||
<view class="filter_label">{{$t('filter.tubecore-r')}}</view>
|
||||
<view class="filter_input_wraper">
|
||||
<uni-data-select v-model="upR" :searchInput="true" :localdata="newaxis2" @handleChange="handleChange2" @showSelector="showSelector2"></uni-data-select>
|
||||
<uni-data-select v-model="upR" :searchInput="true" :placeholder="$t('uni.dataSelect.placeholder')" :localdata="newaxis2" @handleChange="handleChange2" @showSelector="showSelector2"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">轴位置</view>
|
||||
<view class="filter_label">{{$t('filter.axisposition')}}</view>
|
||||
<view class="filter_input_wraper">
|
||||
<radio-group @change="radioChange">
|
||||
<label class="mgr20" v-for="(item, index) in options4" :key="item.value">
|
||||
@@ -50,8 +50,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submitbar">
|
||||
<button class="zd-col-6 btn-submit btn-default letter-30" @tap="clearUp">清空</button>
|
||||
<button class="zd-col-15 btn-submit btn-success letter-30" :class="{'btn-info': !index1 ||!index2 || !index3 || (!upL && !upR)}" :disabled="disabled" @tap="_downBait">确认下卷</button>
|
||||
<button class="zd-col-6 btn-submit btn-default letter-30" @tap="clearUp">{{$t('button.clear')}}</button>
|
||||
<button class="zd-col-15 btn-submit btn-success letter-30" :class="{'btn-info': !index1 ||!index2 || !index3 || (!upL && !upR)}" :disabled="disabled" @tap="_downBait">{{$t('button.surerolldown')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -81,7 +81,7 @@
|
||||
newaxis2: [],
|
||||
upL: '',
|
||||
upR: '',
|
||||
options4: [{value: '1', text: '上轴'}, {value: '2', text: '下轴'}],
|
||||
options4: [{value: '1', text: this.$t('select.uppershaft')}, {value: '2', text: this.$t('select.lowershaft')}],
|
||||
index4: '1',
|
||||
current: 0
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user