|
@@ -138,7 +138,7 @@
|
|
|
methods:{
|
|
|
getUseFindInvoice(){//获取发票信息
|
|
|
this.$api.getStorage().then((resolve) => {
|
|
|
- this.OrderService.GetFindInvoice({userId:resolve.userID}).then(response =>{
|
|
|
+ this.OrderService.GetFindInvoice({userId:resolve.userId}).then(response =>{
|
|
|
if(response.data == null){
|
|
|
this.invoiceData = Object.assign(this.invoiceData,'',{type:0})
|
|
|
}else{
|
|
@@ -149,8 +149,8 @@
|
|
|
},
|
|
|
updateInvoiceFn(){//保存发票信息
|
|
|
this.$api.getStorage().then((resolve) => {
|
|
|
- console.log(resolve.userID)
|
|
|
- this.OrderService.UpdateInvoice(Object.assign({userId:resolve.userID},this.invoiceData)).then(response =>{})
|
|
|
+ console.log(resolve.userId)
|
|
|
+ this.OrderService.UpdateInvoice(Object.assign({userId:resolve.userId},this.invoiceData)).then(response =>{})
|
|
|
})
|
|
|
},
|
|
|
choiceaInvoiceConfim(){
|