修改提交
This commit is contained in:
@ -140,7 +140,7 @@
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="名称11"
|
||||
label="名称"
|
||||
:prop="`itemList.${index}.name`"
|
||||
:rules="[{ required: true, message: '名称不能为空', trigger: 'blur' }]"
|
||||
>
|
||||
@ -374,6 +374,7 @@ const getNameChange = (value, index, item) => {
|
||||
console.log(data);
|
||||
|
||||
form.value.itemList[index].name = data.materialsName;
|
||||
form.value.itemList[index].materialsId = data.id;
|
||||
form.value.itemList[index].specification = data.typeSpecificationName;
|
||||
form.value.itemList[index].unit = data.weightId;
|
||||
form.value.itemList[index].stockQuantity = data.inventoryNumber;
|
||||
|
Reference in New Issue
Block a user