修改bug

This commit is contained in:
宋伟佳
2021-11-19 14:22:18 +08:00
parent 6df1fdcef2
commit 06475d9885
2 changed files with 6 additions and 2 deletions
@@ -727,6 +727,7 @@ export default {
uploadBackSuccess (res, file, fileList) {
if (res.ok) {
this.fileInfoList.push(res.data)
this.listForm.fileName = this.fileInfoList
this.$message.success('上传成功')
} else {
this.$message.error(res.message)
@@ -784,7 +785,6 @@ export default {
* @description: 动态表单读取
*/
getFormFieldList (item) {
console.log(item.commentText);
this.$nextTick(() => {
this.listForm = JSON.parse(JSON.stringify(item))
if(item.form === undefined){
@@ -869,7 +869,11 @@ export default {
}, {
_this: this
}, res => {
this.listForm.breakdownList = res.data;
let breakdown = res.data
breakdown.forEach(item => {
delete item.termsConditions
})
this.listForm.breakdownList = breakdown;
this.ListModel = false;
}, e => {
this.$message.error("添加失败");