Commit 9a1eded0 authored by youjie's avatar youjie

no message

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