/*
 *    Copyright (c) 2018-2025, cyweb All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 *
 */
const STATUS=[
  {label:'待审核',value:'0'},
  {label:'通过',value:'100'},
  {label:'驳回',value:'-100'}
]

export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  dic: [],
  dialogHeight:700,
  column: [
    {
      label: '开票流水号',
      prop: 'serialNo',
      search:true,
      editDisabled:true
    },
	  {
      label: '企业税号',
      prop: 'buyerTaxNo',
      search:true,
      editDisabled:true

    },
	  {
      label: '公司名称',
      prop: 'buyerName',
      editDisabled:true

    },
	  {
      label: '地址及电话',
      prop: 'buyerAddressPhone',
      editDisabled:true

    },
	  {
      label: '开户行及账号',
      prop: 'buyerBankAccount',
      editDisabled:true

    },
	  {
      label: '开票人',
      prop: 'drawer',
      hide:true,
      editDisabled:true

    },
	  {
      label: '发票种类编码',
      prop: 'invoiceTypeCode',
      hide:true,
      editDisabled:true


    },
	  {
      label: '开票点编码',
      prop: 'invoiceTerminalCode',
      editDisabled:true

    },
	  {
      label: '合计金额',
      prop: 'invoiceTotalPrice',
      type:'number',
      precision:2
    },
	  {
      label: '合计税额',
      prop: 'invoiceTotalTax',
      type:'number',
      precision:2
    },
	  {
      label: '价税合计',
      prop: 'invoiceTotalPriceTax',
      type:'number',
      precision:2
    },
	  {
      label: '备注',
      prop: 'remark',
      type:'textarea'
    },
    {
      label: '状态',
      prop: 'status',
      search:true,
      type:'select',
      dicData:STATUS,
      props:{
        label:'label',
        value:'value'
      },
      editDisabled:true

    }
  ]
}
