This commit is contained in:
2026-01-16 10:43:21 +08:00
parent c538711e41
commit a828e0cfad
3 changed files with 137 additions and 71 deletions

View File

@@ -11,6 +11,7 @@
<view class="zd-col-24 filter_select">
<search-box
v-model="val1"
@handleChange="handleChange"
/>
</view>
</view>
@@ -57,7 +58,6 @@
<th>类别</th>
<th>规格</th>
<th>型号</th>
<th>点位</th>
<th>载具</th>
</tr>
</thead>
@@ -71,10 +71,9 @@
<td>{{e.qty}}</td>
<td>{{e.qty_unit_name}}</td>
<td>{{e.supp_name}}</td>
<td>{{e.material_type_id}}</td>
<td>{{e.class_name}}</td>
<td>{{e.material_spec}}</td>
<td>{{e.material_model}}</td>
<td>{{e.struct_code}}</td>
<td>{{e.vehicle_code}}</td>
</tr>
</tbody>
@@ -101,20 +100,12 @@
data() {
return {
title: '',
// options: [],
// options: [{text:'原粉区', value: '1'}, {text:'批料室', value: '1'}, {text:'粉碎室1', value: 'f1'}, {text:'粉碎室2', value: 'f2'}],
// options: [{text:'原粉区', value: '1', aaa:'n1'}, {text:'批料室', value: '1', aaa:'n1'}],
options: [{
forder_seg: 4,
updateid: 1,
text:"AGy对接区",
updatename:"管理员",
update_time: "2026-01-07 10:28:48",
value:"AGVDTO1",
workshop_code:"1"
}
],
options: [],
options: [
{text: '物料室原料区', value: 'WYL01'},
{text: '批料室主存区', value: 'PZC01'},
{text: '粉碎室1区', value: 'FSSQ01'},
{text: '粉碎室2区', value: 'FSSQ02'}
],
index: '',
val1: '',
val2: '',
@@ -151,6 +142,11 @@
selectChange (e) {
this.index = e
},
handleChange (e) {
if (e) {
this._getGroupInfo()
}
},
async _getGroupInfo () {
try {
let res = await getGroupInfo(this.val1)