scorpio 2 years ago
parent
commit
ede6128521
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/home/component/params/params1.vue

+ 1 - 1
src/views/home/component/params/params1.vue

@@ -490,6 +490,7 @@ export default {
       this.form.projectId = this.detail.id
       this.form.total_amount = Number.parseFloat(this.detail.total_amount)
       delete this.detail._id
+      delete this.form.dict_value
       this.$api.project.proUpdate(this.form).then(res => {
         if (res.code === 200) {
           this.$message.success(res.msg)
@@ -519,7 +520,6 @@ export default {
     changeIndustry(res) {
       const tmp = this.industryList.find(ele => ele.dictKey === res)
       this.form.dict_key = Number.parseInt(tmp.dictKey)
-      delete this.form.dict_value
     }
   }
 }