Commit fa3bc92e authored by zhengke's avatar zhengke

修改

parent dbddc692
...@@ -495,7 +495,6 @@ ...@@ -495,7 +495,6 @@
this.getRolelist() this.getRolelist()
this.getRemarkList() this.getRemarkList()
this.OrderLogList() this.OrderLogList()
this.getfinanciaALLPageList(1) //财务单据
}, },
methods: { methods: {
Financial_post_GetFinancLogList: function (id) { // 获取单据日志 Financial_post_GetFinancLogList: function (id) { // 获取单据日志
...@@ -519,7 +518,8 @@ ...@@ -519,7 +518,8 @@
getClassOrderForDetail({ getClassOrderForDetail({
OrderId: this.saveObj.OrderId OrderId: this.saveObj.OrderId
}).then(res => { }).then(res => {
this.Detail = res.Data this.Detail = res.Data;
this.getfinanciaALLPageList(1,this.Detail.ClassId,this.Detail.OrderId) //财务单据
console.log(res, '数据来了'); console.log(res, '数据来了');
}).catch(() => { }).catch(() => {
...@@ -583,17 +583,17 @@ ...@@ -583,17 +583,17 @@
}) })
}, },
getfinanciaALLPageList(Type) { getfinanciaALLPageList(Type,TCID,OrderID) {
this.floading = true this.floading = true
this.financiaMsg.TCID = this.Detail.ClassId this.financiaMsg.TCID = TCID
this.financiaMsg.OrderID = this.Detail.OrderId this.financiaMsg.OrderID = OrderID
this.financiaMsg.Type = Type this.financiaMsg.Type = Type
this.apipost('Financial_post_GetALLPageList', this.financiaMsg, res => { this.apipost('Financial_post_GetALLPageList', this.financiaMsg, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
let data = res.data.data.pageData.list; let data = res.data.data.pageData.list;
if (Type === 1) { if (Type === 1) {
this.dataList = data; this.dataList = data;
this.getfinanciaALLPageList(2) this.getfinanciaALLPageList(2,TCID,OrderID)
} else { } else {
this.dataListP = data; this.dataListP = data;
this.floading = false this.floading = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment