瀏覽代碼

成本测算类型

duy 2 年之前
父節點
當前提交
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)