|
@@ -465,9 +465,6 @@ export default {
|
|
|
this.loading = false
|
|
this.loading = false
|
|
|
})
|
|
})
|
|
|
} else {
|
|
} else {
|
|
|
- if (method === 'add') {
|
|
|
|
|
- this.inputForm.wareHouseDate = new Date()
|
|
|
|
|
- }
|
|
|
|
|
this.$refs.uploadComponent.newUpload(method, this.inputForm.files, 'psi')
|
|
this.$refs.uploadComponent.newUpload(method, this.inputForm.files, 'psi')
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
@@ -568,6 +565,9 @@ export default {
|
|
|
this.inputForm.wareHouse[this.indexRow].wareHouseTypeId = rows.id
|
|
this.inputForm.wareHouse[this.indexRow].wareHouseTypeId = rows.id
|
|
|
this.inputForm.wareHouse[this.indexRow].wareHouseType = rows.name
|
|
this.inputForm.wareHouse[this.indexRow].wareHouseType = rows.name
|
|
|
this.inputForm.wareHouse[this.indexRow].tradeName = rows.name
|
|
this.inputForm.wareHouse[this.indexRow].tradeName = rows.name
|
|
|
|
|
+ this.inputForm.wareHouse[this.indexRow].brand = rows.brand
|
|
|
|
|
+ this.inputForm.wareHouse[this.indexRow].specification = rows.specification || rows.spec
|
|
|
|
|
+ this.inputForm.wareHouse[this.indexRow].company = rows.company
|
|
|
// this.inputForm.detailInfos[this.indexRow].procurementType = rows.name
|
|
// this.inputForm.detailInfos[this.indexRow].procurementType = rows.name
|
|
|
this.indexRow = ''
|
|
this.indexRow = ''
|
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|