Browse Source

优化

master
ltlzx 4 years ago
parent
commit
54b5efec62
  1. 4
      src/components/dateSelect/order.vue
  2. 7
      src/components/page/afterService/invoice.vue

4
src/components/dateSelect/order.vue

@ -350,6 +350,10 @@
if(res.code==200){ if(res.code==200){
if(res.data.length!=0){ if(res.data.length!=0){
this.orderDate=res.data this.orderDate=res.data
let state=res.data[0].goods.status
if(state==1|| state==5){
this.columns.pop()
}
// this.userinfo=res.data.userinfo // this.userinfo=res.data.userinfo
// console.info(this.userinfo) // console.info(this.userinfo)
// this=res.data // this=res.data

7
src/components/page/afterService/invoice.vue

@ -126,6 +126,7 @@ export default {
{ {
title: '生成时间', title: '生成时间',
dataIndex: 'tickettime', dataIndex: 'tickettime',
width:'160px'
// align:'center' // align:'center'
}, },
{ {
@ -136,6 +137,7 @@ export default {
{ {
title: '销方纳税人名称', title: '销方纳税人名称',
dataIndex: 'seller_name', dataIndex: 'seller_name',
width:'135px'
// align:'center', // align:'center',
}, },
{ {
@ -152,6 +154,7 @@ export default {
{ {
title: '购方纳税人名称', title: '购方纳税人名称',
dataIndex: 'name', dataIndex: 'name',
width:'135px'
// align:'center' // align:'center'
}, },
// { // {
@ -189,7 +192,9 @@ export default {
}, },
methods:{ methods:{
downloadPdfUrl(id){ 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 // query
resetQurey(){ resetQurey(){

Loading…
Cancel
Save