Browse Source

成本测算类型

duy 2 years ago
parent
commit
d7ba64b95d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/views/home/task/components/cost-budget.vue
  2. 1 1
      src/views/project/cost/form.vue

+ 1 - 1
src/views/home/task/components/cost-budget.vue

@@ -239,7 +239,7 @@ const budgetTypeChange = async (val, index)=>{
         }
     })
     if (id.length > 0) {
-        const { error, code, data } = await costApi.getChlidList({ parentId:id, type:1 })
+        const { error, code, data } = await costApi.getChlidList({ parentId:id, type:5 })
         if (!error && code === 200) {
             taskDetailList.value[index] = getArrValue(data)
 

+ 1 - 1
src/views/project/cost/form.vue

@@ -246,7 +246,7 @@ const budgetTypeChange = async (val, index)=>{
         }
     })
     if (id.length > 0) {
-        const { error, code, data } = await costApi.getChlidList({ parentId:id, type:1 })
+        const { error, code, data } = await costApi.getChlidList({ parentId:id, type:5 })
         if (!error && code === 200) {
             taskDetailList.value[index] = getArrValue(data)