扫码下卷修改
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
"name" : "海亮铜箔",
|
"name" : "海亮铜箔",
|
||||||
"appid" : "__UNI__3A002CD",
|
"appid" : "__UNI__3A002CD",
|
||||||
"description" : "海亮铜箔二期手持系统",
|
"description" : "海亮铜箔二期手持系统",
|
||||||
"versionName" : "1.2.4",
|
"versionName" : "1.2.5",
|
||||||
"versionCode" : 124,
|
"versionCode" : 125,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
|||||||
@@ -24,17 +24,22 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="zd_wrapper">
|
<view class="zd_wrapper">
|
||||||
<view class="filter_item">
|
<view class="zd-row">
|
||||||
<view class="filter_label_wraper">
|
<view class="zd-col-19">
|
||||||
<span class="filter_label">子卷号</span>
|
<view class="filter_item">
|
||||||
|
<view class="filter_label">子卷号</view>
|
||||||
|
<view class="filter_input_wraper">
|
||||||
|
<search-box
|
||||||
|
v-model="val1"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="filter_input_wraper">
|
<view class="zd-col-4">
|
||||||
<search-box
|
<button class="mini-btn" size="mini" style="display: block;" type="primary" @tap="handleAdd">添加</button>
|
||||||
v-model="val1"
|
|
||||||
/>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="zd-row">
|
<!-- <view class="zd-row">
|
||||||
<view class="zd-col-19">
|
<view class="zd-col-19">
|
||||||
<view class="filter_item">
|
<view class="filter_item">
|
||||||
<view class="filter_label">轴位置</view>
|
<view class="filter_label">轴位置</view>
|
||||||
@@ -51,22 +56,21 @@
|
|||||||
<view class="zd-col-4">
|
<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">添加</button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="zd_wrapper grid-wraper">
|
<view class="zd_wrapper grid-wraper">
|
||||||
<view class="slide_new slide">
|
<view class="slide_new slide">
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th width="60%">子卷号</th>
|
<th width="70%">子卷号</th>
|
||||||
<th width="20%">轴位置</th>
|
<!-- <th width="20%">轴位置</th> -->
|
||||||
<th width="20%">操作</th>
|
<th width="30%">操作</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="(e, i) in dataList" :key="i">
|
<tr v-for="(e, i) in dataList" :key="i">
|
||||||
<td>{{e.container_name}}</td>
|
<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)">删除</button></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@@ -159,7 +163,7 @@
|
|||||||
if (index !== -1) {
|
if (index !== -1) {
|
||||||
this.dataList.splice(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 = ''
|
this.val1 = ''
|
||||||
},
|
},
|
||||||
handleDelete (index) {
|
handleDelete (index) {
|
||||||
|
|||||||
Reference in New Issue
Block a user