Commit 9a1eded0 authored by youjie's avatar youjie

no message

parent 7529c0db
...@@ -751,11 +751,10 @@ ...@@ -751,11 +751,10 @@
} }
}, null) }, null)
}, },
getDetail: function (id) { // 获取详情 getDetail(id) { // 获取详情
let InvoiceApplyType = this.InvoiceApplyType ? this.InvoiceApplyType : 1
this.apipost('InvoiceApply_get_GetDetails', { this.apipost('InvoiceApply_get_GetDetails', {
ID: id, ID: id,
InvoiceApplyType: InvoiceApplyType InvoiceApplyType: this.InvoiceApplyType?this.InvoiceApplyType:1
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let detail = res.data.data let detail = res.data.data
...@@ -816,15 +815,16 @@ ...@@ -816,15 +815,16 @@
}) })
}, },
}, },
mounted() { created(){
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.EmployeeId = userInfo.EmployeeId; this.EmployeeId = userInfo.EmployeeId;
let id let id
if(this.$route.query.id){ if(this.$route.query.id){
id = this.$route.query.id id = this.$route.query.id
} }
if(this.$route.query.InvoiceApplyType){ if(this.$route.query.InvoiceApplyType){
this.InvoiceApplyType = this.InvoiceApplyType this.InvoiceApplyType = this.$route.query.InvoiceApplyType
} }
if(this.$route.query.crmOrderObj){ if(this.$route.query.crmOrderObj){
this.crmOrderObj = JSON.parse(this.$route.query.crmOrderObj) this.crmOrderObj = JSON.parse(this.$route.query.crmOrderObj)
...@@ -834,7 +834,9 @@ ...@@ -834,7 +834,9 @@
//是否显示审核按钮 //是否显示审核按钮
this.noDetail = this.$route.query.noDetail ? true : false this.noDetail = this.$route.query.noDetail ? true : false
this.msg.ID = id this.msg.ID = id
this.getDetail(id) },
mounted() {
this.getDetail(this.msg.ID)
this.GetSupperOrderEditAuth(); this.GetSupperOrderEditAuth();
} }
}; };
......
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