工令
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>发货日期</th>
|
<th>发货日期</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-for="e in dataList" :key="e.material_code" @click="toCheck(e)" :class="{'checked': e.material_code === pkId}">
|
<tr v-for="e in dataList" :key="e.workorder_code" @click="toCheck(e)" :class="{'checked': e.workorder_code === pkId}">
|
||||||
<td>{{e.send_date}}</td>
|
<td>{{e.send_date}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
<th>所属组织</th>
|
<th>所属组织</th>
|
||||||
<th>工令号</th>
|
<th>工令号</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-for="e in dataList" :key="e.material_code" @click="toCheck(e)" :class="{'checked': e.material_code === pkId}">
|
<tr v-for="e in dataList" :key="e.workorder_code" @click="toCheck(e)" :class="{'checked': e.workorder_code === pkId}">
|
||||||
<td>{{e.material_code}}</td>
|
<td>{{e.material_code}}</td>
|
||||||
<td>{{e.material_name}}</td>
|
<td>{{e.material_name}}</td>
|
||||||
<td>{{e.pcsn}}</td>
|
<td>{{e.pcsn}}</td>
|
||||||
@@ -67,8 +67,8 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
toCheck (e) {
|
toCheck (e) {
|
||||||
this.pkId = this.pkId === e.material_code ? '' : e.material_code
|
this.pkId = this.pkId === e.workorder_code ? '' : e.workorder_code
|
||||||
this.pkObj = this.pkId === e.material_code ? e : {}
|
this.pkObj = this.pkId === e.workorder_code ? e : {}
|
||||||
},
|
},
|
||||||
toSure () {
|
toSure () {
|
||||||
if (this.pkId !== '') {
|
if (this.pkId !== '') {
|
||||||
|
|||||||
Reference in New Issue
Block a user