|
|
@ -34,7 +34,7 @@ |
|
|
<view class="apply-form-item"> |
|
|
<view class="apply-form-item"> |
|
|
<view class="label">备注说明</view> |
|
|
<view class="label">备注说明</view> |
|
|
<view class="flex-1" style="background-color: #F8F8F8;"> |
|
|
<view class="flex-1" style="background-color: #F8F8F8;"> |
|
|
<u-input v-model="content" type="textarea" placeholder="请描述具体原因,300字以内" :border="false" |
|
|
<u-input v-model="content" type="textarea" placeholder="请描述具体原因,300字以内" :border="false" |
|
|
:height="160" /> |
|
|
:height="160" /> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -115,6 +115,8 @@ |
|
|
} = await getComplainCategory() |
|
|
} = await getComplainCategory() |
|
|
if (code == 1) { |
|
|
if (code == 1) { |
|
|
this.shopCategory = data.lists |
|
|
this.shopCategory = data.lists |
|
|
|
|
|
this.form.cid = this.shopCategory[0].id |
|
|
|
|
|
this.form.clabel = this.shopCategory[0].name |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
// 提交表单 |
|
|
// 提交表单 |
|
|
@ -128,6 +130,18 @@ |
|
|
image: fileList[0], |
|
|
image: fileList[0], |
|
|
content:this.content |
|
|
content:this.content |
|
|
} |
|
|
} |
|
|
|
|
|
if (!this.content || this.content == ""){ |
|
|
|
|
|
return this.$toast({ |
|
|
|
|
|
title: '请输入投诉内容', |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
if (!this.fileList || this.fileList.length == 0){ |
|
|
|
|
|
return this.$toast({ |
|
|
|
|
|
title: '请输入投诉截图', |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
delete submitObj.clabel |
|
|
delete submitObj.clabel |
|
|
const { |
|
|
const { |
|
|
data, |
|
|
data, |
|
|
|