en
This commit is contained in:
@@ -5,22 +5,27 @@
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">区域</view>
|
||||
<view class="filter_label_wraper">
|
||||
<span class="filter_label">{{$t('filter.area')}}</span>
|
||||
</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">设备</view>
|
||||
<!-- <view class="filter_label">设备</view> -->
|
||||
<view class="filter_label_wraper">
|
||||
<span class="filter_label">{{$t('filter.device')}}</span>
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
|
||||
<uni-data-select v-model="index" :placeholder="$t('uni.dataSelect.placeholder')" :localdata="options" @change="selectChange"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd_wrapper">
|
||||
<view class="filter_item">
|
||||
<view class="filter_label_wraper">
|
||||
<span class="filter_label">子卷号</span>
|
||||
<span class="filter_label">{{$t('grid.sub-roll-number')}}</span>
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<search-box
|
||||
@@ -31,7 +36,7 @@
|
||||
<view class="zd-row">
|
||||
<view class="zd-col-19">
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">轴位置</view>
|
||||
<view class="filter_label">{{$t('grid.axisposition')}}</view>
|
||||
<view class="filter_input_wraper">
|
||||
<radio-group @change="radioChange">
|
||||
<label class="mgr20" v-for="(item, index) in options1" :key="item.value">
|
||||
@@ -43,7 +48,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-col-4">
|
||||
<button class="mini-btn" size="mini" style="display: block;" type="primary" @tap="handleAdd">添加</button>
|
||||
<button class="mini-btn" size="mini" style="display: block;" type="primary" @tap="handleAdd">{{$t('button.add')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -52,16 +57,16 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="60%">子卷号</th>
|
||||
<th width="20%">轴位置</th>
|
||||
<th width="20%">操作</th>
|
||||
<th width="60%">{{$t('grid.sub-roll-number')}}</th>
|
||||
<th width="20%">{{$t('grid.axisposition')}}</th>
|
||||
<th width="20%">{{$t('grid.operate')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="(e, i) in dataList" :key="i">
|
||||
<td>{{e.container_name}}</td>
|
||||
<td>{{ options1 | findByValue(e.site)}}</td>
|
||||
<td><button class="mini-btn" size="mini" type="primary" @tap="handleDelete(i)">删除</button></td>
|
||||
<td><button class="mini-btn" size="mini" type="primary" @tap="handleDelete(i)">{{$t('button.delete')}}</button></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -69,8 +74,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submitbar">
|
||||
<button class="zd-col-6 btn-submit btn-default" @tap="clearUp">清空</button>
|
||||
<button class="zd-col-15 btn-submit btn-success" :class="{'btn-info': !index || !dataList.length}" :disabled="disabled" @tap="_downRolls2">确认</button>
|
||||
<button class="zd-col-6 btn-submit btn-default" @tap="clearUp">{{$t('button.clear')}}</button>
|
||||
<button class="zd-col-15 btn-submit btn-success" :class="{'btn-info': !index || !dataList.length}" :disabled="disabled" @tap="_downRolls2">{{$t('button.confirm')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -92,7 +97,7 @@
|
||||
index: '',
|
||||
options2: [],
|
||||
index2: '',
|
||||
options1: [{value: '1', text: '上轴'}, {value: '2', text: '下轴'}],
|
||||
options1: [{value: '1', text: this.$t('select.uppershaft')}, {value: '2', text: this.$t('select.lowershaft')}],
|
||||
index1: '1',
|
||||
current: 0,
|
||||
val1: '',
|
||||
|
||||
Reference in New Issue
Block a user