From 54b5efec623139189bd104fd77b37b7336179cd1 Mon Sep 17 00:00:00 2001 From: ltlzx <942659938@qq.com> Date: Fri, 29 Apr 2022 20:58:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/dateSelect/order.vue | 4 ++++ src/components/page/afterService/invoice.vue | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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(){