grid
This commit is contained in:
@@ -32,24 +32,20 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>木箱码</th>
|
||||
<th>子卷号</th>
|
||||
<th>物料编码</th>
|
||||
<th>物料名称</th>
|
||||
<th>重量kg</th>
|
||||
<th>更换外包</th>
|
||||
<th>更换内包</th>
|
||||
<th>单据编号</th>
|
||||
<th>单据类型</th>
|
||||
<th>源单号</th>
|
||||
<th>日期</th>
|
||||
<th>人员</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="(e, i) in dataList" :key="i" @click="toCheck(e)" :class="{'checked': e.package_box_SN === pkId, 'bgyellow': e.colro_flag === '1'}">
|
||||
<td>{{e.package_box_SN}}</td>
|
||||
<td>{{e.container_name}}</td>
|
||||
<td>{{e.product_name}}</td>
|
||||
<td>{{e.product_description}}</td>
|
||||
<td>{{e.net_weight}}</td>
|
||||
<td>{{e.change_out}}</td>
|
||||
<td>{{e.change_in}}</td>
|
||||
<tr v-for="(e, i) in dataList" :key="i" @click="toCheck(e)" :class="{'checked': e.bill_code === pkId, 'bgyellow': e.colro_flag === '1'}">
|
||||
<td>{{e.bill_code}}</td>
|
||||
<td>{{e.bill_type_name}}</td>
|
||||
<td>{{e.source_bill_code}}</td>
|
||||
<td>{{e.biz_date}}</td>
|
||||
<td>{{e.person_name}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -113,8 +109,8 @@
|
||||
}
|
||||
},
|
||||
toCheck (e) {
|
||||
this.pkId = this.pkId === e.package_box_SN ? '' : e.package_box_SN
|
||||
this.pkObj = this.pkId === e.package_box_SN ? e : {}
|
||||
this.pkId = this.pkId === e.bill_code ? '' : e.bill_code
|
||||
this.pkObj = this.pkId === e.bill_code ? e : {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user