生产管理
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
<td><input type="number" class="sin_input" v-model="e.qty" @blur="handleBlur(e)"></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>
|
||||
@@ -132,6 +132,9 @@
|
||||
let res = await getGroupInfo(this.val1)
|
||||
if (res && res.data.length > 0) {
|
||||
this.dataList = [...res.data]
|
||||
this.dataList.forEach(e => {
|
||||
e.initialQty = e.qty
|
||||
})
|
||||
this.num = this.dataList.reduce((sum, item) => sum + Number(item.qty), 0)
|
||||
if(!res.data.length) {
|
||||
this.flag = true
|
||||
|
||||
Reference in New Issue
Block a user