|
@@ -430,6 +430,12 @@ export default {
|
|
|
this.$refs.formRef.validate(async (value) => {
|
|
this.$refs.formRef.validate(async (value) => {
|
|
|
if (value) {
|
|
if (value) {
|
|
|
let params = Object.assign(this.formData);
|
|
let params = Object.assign(this.formData);
|
|
|
|
|
+ let user = this.userList.find((item) => {
|
|
|
|
|
+ return item.id == params.ownerId;
|
|
|
|
|
+ });
|
|
|
|
|
+ console.log(user);
|
|
|
|
|
+
|
|
|
|
|
+ params.ownerName = user.name;
|
|
|
params.inventoryType = params.inventoryType.join(',');
|
|
params.inventoryType = params.inventoryType.join(',');
|
|
|
params.inventoryName = params.inventoryName.join(',');
|
|
params.inventoryName = params.inventoryName.join(',');
|
|
|
|
|
|