| @@ -305,7 +305,8 @@ Page({ | |||||
| /* 获取账套*/ | /* 获取账套*/ | ||||
| getBookList:function(){ | getBookList:function(){ | ||||
| let d = { | let d = { | ||||
| loginDeptID : this.data.userInfoObj.loginDeptId | |||||
| loginDeptID : this.data.userInfoObj.loginDeptId, | |||||
| method:'GET' | |||||
| } | } | ||||
| UTIL.httpRequest(API.URL_GET_BOOKLISTBYDEPTID,d, { | UTIL.httpRequest(API.URL_GET_BOOKLISTBYDEPTID,d, { | ||||
| success: (res) => { | success: (res) => { | ||||
| @@ -331,7 +332,8 @@ Page({ | |||||
| bookName:this.data.bookList[e.detail.value].bookName | bookName:this.data.bookList[e.detail.value].bookName | ||||
| }) | }) | ||||
| let data={ | let data={ | ||||
| loginBookId:this.data.bookList[e.detail.value].id | |||||
| loginBookId:this.data.bookList[e.detail.value].id, | |||||
| method:'GET' | |||||
| } | } | ||||
| let _this = this | let _this = this | ||||
| UTIL.httpRequest(API.URL_GET_CHANGEBOOK,data, { | UTIL.httpRequest(API.URL_GET_CHANGEBOOK,data, { | ||||
| @@ -453,7 +455,8 @@ Page({ | |||||
| bookId:"" | bookId:"" | ||||
| }, () => { | }, () => { | ||||
| let data={ | let data={ | ||||
| loginDeptID : this.getRegionId('areas') | |||||
| loginDeptID : this.getRegionId('areas'), | |||||
| method:'GET' | |||||
| } | } | ||||
| let _this = this | let _this = this | ||||
| UTIL.httpRequest(API.URL_GET_CHANGEDEPT,data, { | UTIL.httpRequest(API.URL_GET_CHANGEDEPT,data, { | ||||