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