diff --git a/src/components/dateSelect/order.vue b/src/components/dateSelect/order.vue index 862e9fc..108805d 100644 --- a/src/components/dateSelect/order.vue +++ b/src/components/dateSelect/order.vue @@ -350,6 +350,10 @@ if(res.code==200){ if(res.data.length!=0){ this.orderDate=res.data + let state=res.data[0].goods.status + if(state==1|| state==5){ + this.columns.pop() + } // this.userinfo=res.data.userinfo // console.info(this.userinfo) // this=res.data diff --git a/src/components/page/afterService/invoice.vue b/src/components/page/afterService/invoice.vue index b9b34d8..d7fdc82 100644 --- a/src/components/page/afterService/invoice.vue +++ b/src/components/page/afterService/invoice.vue @@ -126,6 +126,7 @@ export default { { title: '生成时间', dataIndex: 'tickettime', + width:'160px' // align:'center' }, { @@ -136,6 +137,7 @@ export default { { title: '销方纳税人名称', dataIndex: 'seller_name', + width:'135px' // align:'center', }, { @@ -152,6 +154,7 @@ export default { { title: '购方纳税人名称', dataIndex: 'name', + width:'135px' // align:'center' }, // { @@ -189,7 +192,9 @@ export default { }, methods:{ downloadPdfUrl(id){ - location.href=this.host+'/admin/order.InvoiceManagement/downloadInvoice?id='+id + // console.info(this.$host) + // return + location.href=this.$host+'/admin/order.InvoiceManagement/downloadInvoice?id='+id }, // 重置query resetQurey(){