扫码下卷修改

This commit is contained in:
2025-04-15 13:38:20 +08:00
parent b684a9befd
commit e1ef803199
2 changed files with 20 additions and 16 deletions

View File

@@ -24,17 +24,22 @@
</view>
</view>
<view class="zd_wrapper">
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">子卷号</span>
<view class="zd-row">
<view class="zd-col-19">
<view class="filter_item">
<view class="filter_label">子卷号</view>
<view class="filter_input_wraper">
<search-box
v-model="val1"
/>
</view>
</view>
</view>
<view class="filter_input_wraper">
<search-box
v-model="val1"
/>
<view class="zd-col-4">
<button class="mini-btn" size="mini" style="display: block;" type="primary" @tap="handleAdd">添加</button>
</view>
</view>
<view class="zd-row">
<!-- <view class="zd-row">
<view class="zd-col-19">
<view class="filter_item">
<view class="filter_label">轴位置</view>
@@ -51,22 +56,21 @@
<view class="zd-col-4">
<button class="mini-btn" size="mini" style="display: block;" type="primary" @tap="handleAdd">添加</button>
</view>
</view>
</view> -->
</view>
<view class="zd_wrapper grid-wraper">
<view class="slide_new slide">
<table>
<thead>
<tr>
<th width="60%">子卷号</th>
<th width="20%">轴位置</th>
<th width="20%">操作</th>
<th width="70%">子卷号</th>
<!-- <th width="20%">轴位置</th> -->
<th width="30%">操作</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>
</tr>
</tbody>
@@ -159,7 +163,7 @@
if (index !== -1) {
this.dataList.splice(index, 1)
}
this.dataList.push({container_name: this.val1, site: this.index1})
this.dataList.push({container_name: this.val1})
this.val1 = ''
},
handleDelete (index) {