Commit fa3bc92e authored by zhengke's avatar zhengke

修改

parent dbddc692
......@@ -495,7 +495,6 @@
this.getRolelist()
this.getRemarkList()
this.OrderLogList()
this.getfinanciaALLPageList(1) //财务单据
},
methods: {
Financial_post_GetFinancLogList: function (id) { // 获取单据日志
......@@ -519,7 +518,8 @@
getClassOrderForDetail({
OrderId: this.saveObj.OrderId
}).then(res => {
this.Detail = res.Data
this.Detail = res.Data;
this.getfinanciaALLPageList(1,this.Detail.ClassId,this.Detail.OrderId) //财务单据
console.log(res, '数据来了');
}).catch(() => {
......@@ -583,17 +583,17 @@
})
},
getfinanciaALLPageList(Type) {
getfinanciaALLPageList(Type,TCID,OrderID) {
this.floading = true
this.financiaMsg.TCID = this.Detail.ClassId
this.financiaMsg.OrderID = this.Detail.OrderId
this.financiaMsg.TCID = TCID
this.financiaMsg.OrderID = OrderID
this.financiaMsg.Type = Type
this.apipost('Financial_post_GetALLPageList', this.financiaMsg, res => {
if (res.data.resultCode === 1) {
let data = res.data.data.pageData.list;
if (Type === 1) {
this.dataList = data;
this.getfinanciaALLPageList(2)
this.getfinanciaALLPageList(2,TCID,OrderID)
} else {
this.dataListP = data;
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