duy 2 лет назад
Родитель
Сommit
d7ba64b95d
2 измененных файлов с 2 добавлено и 2 удалено
  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)