This commit is contained in:
2025-07-17 20:02:06 +08:00
parent d89e9a2087
commit 4d9fc3b83d
8 changed files with 401 additions and 367 deletions

View File

@@ -18,28 +18,16 @@
<table>
<thead>
<tr>
<th>物料编码</th>
<th>物料名称</th>
<th>物料规格</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" :class="{'checked': e.material_id === pkId}" @tap="toCheck(e)">
<td>{{e.material_code}}</td>
<td>{{e.material_name}}</td>
<td>{{e.material_spec}}</td>
<td>{{e.unit_id}}</td>
<td>{{e.single_weight}}</td>
<td>{{e.pcsn}}</td>
<td>{{e.qty}}</td>
<td>{{e.vehicle_code}}</td>
<td>{{e.stor_code}}</td>
<td>{{e.material_code}}</td>
</tr>
</tbody>
</table>
@@ -93,7 +81,7 @@
this._getMaterialList()
},
async _getMaterialList () {
let res = await getMaterialList( this.val1, this.pageNum + '', this.pageSize + '')
let res = await getMaterialList( this.val1, this.pageNum + '', this.pageSize + '', this.$route.query.code)
// this.dataList = res.data
this.totalCount = res.totalElements
if (res.totalElements > 0) {