Explorar el Código

对接费用类型

chenrui hace 4 años
padre
commit
c85e96f44a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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
       this.itemId = null
       if (row) { //  新增子级
       if (row) { //  新增子级
         const nowData = row
         const nowData = row
-        nowData.psn = nowData && nowData.productTypeSn ? nowData.productTypeSn : null
+        nowData.psn = nowData && nowData.costTypeSn ? nowData.costTypeSn : null
         this.nowData = nowData
         this.nowData = nowData
       } else { //  最高级
       } else { //  最高级
         this.nowData = null
         this.nowData = null
@@ -104,7 +104,7 @@ export default {
     handleEdit (row) {
     handleEdit (row) {
       this.itemId = row && row.id ? row.id : null
       this.itemId = row && row.id ? row.id : null
       const nowData = row
       const nowData = row
-      nowData.psn = nowData && nowData.productTypeSn ? nowData.productTypeSn : null
+      nowData.psn = nowData && nowData.costTypeSn ? nowData.costTypeSn : null
       this.nowData = nowData
       this.nowData = nowData
       this.openModal = true
       this.openModal = true
     },
     },