Pārlūkot izejas kodu

成本测算类型

duy 2 gadi atpakaļ
vecāks
revīzija
d7ba64b95d

+ 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)