|
@@ -738,19 +738,19 @@ export default {
|
|
|
this.form.fProperties = this.form.fProperties.join(',');
|
|
|
this.form.fType = this.form.fType.join(',');
|
|
|
this.form.fGoodsType = this.form.fGoodsType.join(',');
|
|
|
- this.form.annexList = []
|
|
|
+ this.form.fPhotoUrl = []
|
|
|
for (let item in this.pictureEist) {
|
|
|
if (this.pictureEist[item].response) {
|
|
|
- this.form.annexList.push({
|
|
|
+ this.form.fPhotoUrl.push({
|
|
|
url: this.pictureEist[item].response.url
|
|
|
})
|
|
|
} else {
|
|
|
- this.form.annexList.push({
|
|
|
+ this.form.fPhotoUrl.push({
|
|
|
url: this.pictureEist[item].url
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
- this.form.annexList = JSON.stringify(this.form.annexList)
|
|
|
+ this.form.fPhotoUrl = JSON.stringify(this.form.fPhotoUrl)
|
|
|
updateDept(this.form).then(response => {
|
|
|
this.msgSuccess("修改成功");
|
|
|
this.open = false;
|