|
|
|
@ -187,7 +187,7 @@
|
|
|
|
}).then(res => {
|
|
|
|
}).then(res => {
|
|
|
|
this.form = this.base.requestToForm(res, this.form)
|
|
|
|
this.form = this.base.requestToForm(res, this.form)
|
|
|
|
this.form.date = res.date?res.date:this.$moment().format('YYYY-MM-DD HH:mm:ss')
|
|
|
|
this.form.date = res.date?res.date:this.$moment().format('YYYY-MM-DD HH:mm:ss')
|
|
|
|
|
|
|
|
this.form.category_ids = res.category_ids?res.category_ids:[]
|
|
|
|
if (res.files_details && res.files_details.length > 0) {
|
|
|
|
if (res.files_details && res.files_details.length > 0) {
|
|
|
|
this.filesList = []
|
|
|
|
this.filesList = []
|
|
|
|
res.files_details.map(item => {
|
|
|
|
res.files_details.map(item => {
|
|
|
|
|