This commit is contained in:
2022-11-17 14:23:07 +08:00
parent 12e025ab10
commit c4d11a1537
3 changed files with 12 additions and 12 deletions

View File

@@ -36,8 +36,8 @@
</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>
<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>
@@ -124,8 +124,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.package_box_sn ? '' : e.package_box_sn
this.pkObj = this.pkId === e.package_box_sn ? e : {}
}
}
}

View File

@@ -53,8 +53,8 @@
</tr>
</thead>
<tbody>
<tr v-for="(e, i) in dataList" :key="i" @click="toCheck(e)" :class="{'checked': e.package_box_SN === pkId}">
<td>{{e.package_box_SN}}</td>
<tr v-for="(e, i) in dataList" :key="i" @click="toCheck(e)" :class="{'checked': e.package_box_sn === pkId}">
<td>{{e.package_box_sn}}</td>
<td>{{e.container_name}}</td>
<td>{{e.product_name}}</td>
<td>{{e.product_description}}</td>
@@ -128,8 +128,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.package_box_sn ? '' : e.package_box_sn
this.pkObj = this.pkId === e.package_box_sn ? e : {}
}
}
}

View File

@@ -47,8 +47,8 @@
</tr>
</thead>
<tbody>
<tr v-for="(e, i) in dataList" :key="i" @click="toCheck(e)" :class="{'checked': e.package_box_SN === pkId}">
<td>{{e.package_box_SN}}</td>
<tr v-for="(e, i) in dataList" :key="i" @click="toCheck(e)" :class="{'checked': e.package_box_sn === pkId}">
<td>{{e.package_box_sn}}</td>
<td>{{e.container_name}}</td>
<td>{{e.product_name}}</td>
<td>{{e.product_description}}</td>
@@ -121,8 +121,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.package_box_sn ? '' : e.package_box_sn
this.pkObj = this.pkId === e.package_box_sn ? e : {}
}
}
}