소스 검색

对接费用类型

chenrui 4 년 전
부모
커밋
c85e96f44a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/basicData/expenseType/list.vue

+ 2 - 2
src/views/basicData/expenseType/list.vue

@@ -93,7 +93,7 @@ export default {
       this.itemId = null
       if (row) { //  新增子级
         const nowData = row
-        nowData.psn = nowData && nowData.productTypeSn ? nowData.productTypeSn : null
+        nowData.psn = nowData && nowData.costTypeSn ? nowData.costTypeSn : null
         this.nowData = nowData
       } else { //  最高级
         this.nowData = null
@@ -104,7 +104,7 @@ export default {
     handleEdit (row) {
       this.itemId = row && row.id ? row.id : null
       const nowData = row
-      nowData.psn = nowData && nowData.productTypeSn ? nowData.productTypeSn : null
+      nowData.psn = nowData && nowData.costTypeSn ? nowData.costTypeSn : null
       this.nowData = nowData
       this.openModal = true
     },