add:移库,拣选
This commit is contained in:
@@ -285,9 +285,14 @@ export default {
|
||||
data.material_code = row.material_code
|
||||
data.material_id = row.material_id
|
||||
data.material_spec = row.material_spec
|
||||
data.single_weight = row.single_weight
|
||||
data.form_data = {}
|
||||
this.dtlCols.forEach(a=>{
|
||||
this.$set(data.form_data,a.value,null)
|
||||
let item = ''
|
||||
if (a.value in data) {
|
||||
item = data[a.value];
|
||||
}
|
||||
this.$set(data.form_data,a.value,item)
|
||||
})
|
||||
this.tableData.splice(-1, 0, data)
|
||||
})
|
||||
@@ -322,8 +327,10 @@ export default {
|
||||
data.source_form_type = row.form_type
|
||||
data.source_form_id = row.id
|
||||
data.unit_id = row.unit_id
|
||||
data.single_weight = row.single_weight
|
||||
data.form_data = {}
|
||||
let row_form_data = row.form_data;
|
||||
let fowFormData = row.form_data;
|
||||
let row_form_data = {...fowFormData,...data};
|
||||
this.dtlCols.forEach(a=>{
|
||||
let item = ''
|
||||
if (a.value in row_form_data) {
|
||||
|
||||
Reference in New Issue
Block a user