# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'mainwindow.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(759, 498)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8("image/main_logo.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        self.centralWidget = QtGui.QWidget(MainWindow)
        self.centralWidget.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu)
        self.centralWidget.setInputMethodHints(QtCore.Qt.ImhNone)
        self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.centralWidget)
        self.verticalLayout_2.setMargin(6)
        self.verticalLayout_2.setSpacing(6)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.tabWidget = QtGui.QTabWidget(self.centralWidget)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.verticalLayout_11 = QtGui.QVBoxLayout(self.tab)
        self.verticalLayout_11.setMargin(0)
        self.verticalLayout_11.setSpacing(0)
        self.verticalLayout_11.setObjectName(_fromUtf8("verticalLayout_11"))
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setMargin(11)
        self.verticalLayout_3.setSpacing(6)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setMargin(6)
        self.gridLayout_3.setSpacing(6)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.label_6 = QtGui.QLabel(self.tab)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_3.addWidget(self.label_6, 2, 0, 1, 1)
        self.label_3 = QtGui.QLabel(self.tab)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_3.addWidget(self.label_3, 0, 0, 1, 1)
        self.home_page_current_section_lable = QtGui.QLabel(self.tab)
        self.home_page_current_section_lable.setText(_fromUtf8(""))
        self.home_page_current_section_lable.setObjectName(_fromUtf8("home_page_current_section_lable"))
        self.gridLayout_3.addWidget(self.home_page_current_section_lable, 0, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.tab)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_3.addWidget(self.label_5, 0, 2, 1, 1)
        self.home_page_next_num_lable = QtGui.QLabel(self.tab)
        self.home_page_next_num_lable.setText(_fromUtf8(""))
        self.home_page_next_num_lable.setObjectName(_fromUtf8("home_page_next_num_lable"))
        self.gridLayout_3.addWidget(self.home_page_next_num_lable, 0, 3, 1, 1)
        self.home_page_last_count_lable = QtGui.QLabel(self.tab)
        self.home_page_last_count_lable.setText(_fromUtf8(""))
        self.home_page_last_count_lable.setObjectName(_fromUtf8("home_page_last_count_lable"))
        self.gridLayout_3.addWidget(self.home_page_last_count_lable, 2, 3, 1, 1)
        self.home_page_used_count_lable = QtGui.QLabel(self.tab)
        self.home_page_used_count_lable.setText(_fromUtf8(""))
        self.home_page_used_count_lable.setObjectName(_fromUtf8("home_page_used_count_lable"))
        self.gridLayout_3.addWidget(self.home_page_used_count_lable, 2, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.tab)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout_3.addWidget(self.label_7, 2, 2, 1, 1)
        self.verticalLayout_3.addLayout(self.gridLayout_3)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem)
        self.verticalLayout_11.addLayout(self.verticalLayout_3)
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_1 = QtGui.QWidget()
        self.tab_1.setObjectName(_fromUtf8("tab_1"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.tab_1)
        self.verticalLayout_4.setMargin(0)
        self.verticalLayout_4.setSpacing(0)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setMargin(3)
        self.horizontalLayout_3.setSpacing(1)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.invoice_filter_btn = QtGui.QPushButton(self.tab_1)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8("image/032.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.invoice_filter_btn.setIcon(icon1)
        self.invoice_filter_btn.setObjectName(_fromUtf8("invoice_filter_btn"))
        self.horizontalLayout_3.addWidget(self.invoice_filter_btn)
        self.invoice_add_btn = QtGui.QPushButton(self.tab_1)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8("image/007.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.invoice_add_btn.setIcon(icon2)
        self.invoice_add_btn.setObjectName(_fromUtf8("invoice_add_btn"))
        self.horizontalLayout_3.addWidget(self.invoice_add_btn)
        self.invoine_update_btn = QtGui.QPushButton(self.tab_1)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8("image/014.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.invoine_update_btn.setIcon(icon3)
        self.invoine_update_btn.setObjectName(_fromUtf8("invoine_update_btn"))
        self.horizontalLayout_3.addWidget(self.invoine_update_btn)
        self.invoice_delete_btn = QtGui.QPushButton(self.tab_1)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(_fromUtf8("image/delete.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.invoice_delete_btn.setIcon(icon4)
        self.invoice_delete_btn.setObjectName(_fromUtf8("invoice_delete_btn"))
        self.horizontalLayout_3.addWidget(self.invoice_delete_btn)
        self.invoice_print_btn = QtGui.QPushButton(self.tab_1)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(_fromUtf8("image/026.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.invoice_print_btn.setIcon(icon5)
        self.invoice_print_btn.setObjectName(_fromUtf8("invoice_print_btn"))
        self.horizontalLayout_3.addWidget(self.invoice_print_btn)
        self.invoice_import_xml_btn = QtGui.QPushButton(self.tab_1)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(_fromUtf8("image/005.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.invoice_import_xml_btn.setIcon(icon6)
        self.invoice_import_xml_btn.setObjectName(_fromUtf8("invoice_import_xml_btn"))
        self.horizontalLayout_3.addWidget(self.invoice_import_xml_btn)
        self.invoice_merge_btn = QtGui.QPushButton(self.tab_1)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(_fromUtf8("image/008.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.invoice_merge_btn.setIcon(icon7)
        self.invoice_merge_btn.setObjectName(_fromUtf8("invoice_merge_btn"))
        self.horizontalLayout_3.addWidget(self.invoice_merge_btn)
        self.invoice_merge_product_btn = QtGui.QPushButton(self.tab_1)
        self.invoice_merge_product_btn.setIcon(icon7)
        self.invoice_merge_product_btn.setObjectName(_fromUtf8("invoice_merge_product_btn"))
        self.horizontalLayout_3.addWidget(self.invoice_merge_product_btn)
        self.invoice_chaifeng_btn = QtGui.QPushButton(self.tab_1)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(_fromUtf8("image/012.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.invoice_chaifeng_btn.setIcon(icon8)
        self.invoice_chaifeng_btn.setObjectName(_fromUtf8("invoice_chaifeng_btn"))
        self.horizontalLayout_3.addWidget(self.invoice_chaifeng_btn)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.verticalLayout_4.addLayout(self.horizontalLayout_3)
        self.splitter = QtGui.QSplitter(self.tab_1)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.invoice_table = QtGui.QTableWidget(self.splitter)
        self.invoice_table.setRowCount(0)
        self.invoice_table.setColumnCount(16)
        self.invoice_table.setObjectName(_fromUtf8("invoice_table"))
        item = QtGui.QTableWidgetItem()
        self.invoice_table.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_table.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_table.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_table.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_table.setHorizontalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_table.setHorizontalHeaderItem(5, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_table.setHorizontalHeaderItem(6, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_table.setHorizontalHeaderItem(7, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_table.setHorizontalHeaderItem(8, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_table.setHorizontalHeaderItem(9, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_table.setHorizontalHeaderItem(10, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_table.setHorizontalHeaderItem(11, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_table.setHorizontalHeaderItem(12, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_table.setHorizontalHeaderItem(13, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_table.setHorizontalHeaderItem(14, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_table.setHorizontalHeaderItem(15, item)
        self.invoice_detail_table = QtGui.QTableWidget(self.splitter)
        self.invoice_detail_table.setRowCount(0)
        self.invoice_detail_table.setColumnCount(12)
        self.invoice_detail_table.setObjectName(_fromUtf8("invoice_detail_table"))
        item = QtGui.QTableWidgetItem()
        self.invoice_detail_table.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_detail_table.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_detail_table.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_detail_table.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_detail_table.setHorizontalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_detail_table.setHorizontalHeaderItem(5, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_detail_table.setHorizontalHeaderItem(6, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_detail_table.setHorizontalHeaderItem(7, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_detail_table.setHorizontalHeaderItem(8, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_detail_table.setHorizontalHeaderItem(9, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_detail_table.setHorizontalHeaderItem(10, item)
        item = QtGui.QTableWidgetItem()
        self.invoice_detail_table.setHorizontalHeaderItem(11, item)
        self.verticalLayout_4.addWidget(self.splitter)
        self.tabWidget.addTab(self.tab_1, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.verticalLayout_8 = QtGui.QVBoxLayout(self.tab_2)
        self.verticalLayout_8.setMargin(0)
        self.verticalLayout_8.setSpacing(0)
        self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setContentsMargins(11, 0, 11, 0)
        self.gridLayout_2.setSpacing(6)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setContentsMargins(11, 0, 11, 0)
        self.horizontalLayout_8.setSpacing(6)
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.label_2 = QtGui.QLabel(self.tab_2)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout_8.addWidget(self.label_2)
        self.ok_invoice_start_num_edit = QtGui.QLineEdit(self.tab_2)
        self.ok_invoice_start_num_edit.setToolTip(_fromUtf8(""))
        self.ok_invoice_start_num_edit.setObjectName(_fromUtf8("ok_invoice_start_num_edit"))
        self.horizontalLayout_8.addWidget(self.ok_invoice_start_num_edit)
        self.label_8 = QtGui.QLabel(self.tab_2)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.horizontalLayout_8.addWidget(self.label_8)
        self.ok_invoice_end_num_edit = QtGui.QLineEdit(self.tab_2)
        self.ok_invoice_end_num_edit.setBaseSize(QtCore.QSize(0, 0))
        self.ok_invoice_end_num_edit.setObjectName(_fromUtf8("ok_invoice_end_num_edit"))
        self.horizontalLayout_8.addWidget(self.ok_invoice_end_num_edit)
        self.gridLayout_2.addLayout(self.horizontalLayout_8, 0, 0, 1, 1)
        self.horizontalLayout_9 = QtGui.QHBoxLayout()
        self.horizontalLayout_9.setContentsMargins(11, 0, 0, 0)
        self.horizontalLayout_9.setSpacing(6)
        self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))
        self.label_4 = QtGui.QLabel(self.tab_2)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.horizontalLayout_9.addWidget(self.label_4)
        self.ok_invoice_start_time_edit = QtGui.QDateEdit(self.tab_2)
        self.ok_invoice_start_time_edit.setObjectName(_fromUtf8("ok_invoice_start_time_edit"))
        self.horizontalLayout_9.addWidget(self.ok_invoice_start_time_edit)
        self.label_9 = QtGui.QLabel(self.tab_2)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.horizontalLayout_9.addWidget(self.label_9)
        self.ok_invoice_end_time_edit = QtGui.QDateEdit(self.tab_2)
        self.ok_invoice_end_time_edit.setObjectName(_fromUtf8("ok_invoice_end_time_edit"))
        self.horizontalLayout_9.addWidget(self.ok_invoice_end_time_edit)
        self.gridLayout_2.addLayout(self.horizontalLayout_9, 0, 1, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem2, 0, 2, 1, 1)
        self.verticalLayout_8.addLayout(self.gridLayout_2)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setMargin(0)
        self.horizontalLayout_5.setSpacing(1)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.ok_invoice_filter_btn = QtGui.QPushButton(self.tab_2)
        self.ok_invoice_filter_btn.setIcon(icon1)
        self.ok_invoice_filter_btn.setObjectName(_fromUtf8("ok_invoice_filter_btn"))
        self.horizontalLayout_5.addWidget(self.ok_invoice_filter_btn)
        self.ok_invoice_export_btn = QtGui.QPushButton(self.tab_2)
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap(_fromUtf8("image/034.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.ok_invoice_export_btn.setIcon(icon9)
        self.ok_invoice_export_btn.setObjectName(_fromUtf8("ok_invoice_export_btn"))
        self.horizontalLayout_5.addWidget(self.ok_invoice_export_btn)
        self.ok_invoice_print_btn = QtGui.QPushButton(self.tab_2)
        self.ok_invoice_print_btn.setIcon(icon5)
        self.ok_invoice_print_btn.setObjectName(_fromUtf8("ok_invoice_print_btn"))
        self.horizontalLayout_5.addWidget(self.ok_invoice_print_btn)
        self.ok_invoice_delete_btn = QtGui.QPushButton(self.tab_2)
        self.ok_invoice_delete_btn.setIcon(icon4)
        self.ok_invoice_delete_btn.setObjectName(_fromUtf8("ok_invoice_delete_btn"))
        self.horizontalLayout_5.addWidget(self.ok_invoice_delete_btn)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem3)
        self.verticalLayout_8.addLayout(self.horizontalLayout_5)
        self.splitter1 = QtGui.QSplitter(self.tab_2)
        self.splitter1.setOrientation(QtCore.Qt.Vertical)
        self.splitter1.setObjectName(_fromUtf8("splitter1"))
        self.ok_invoice_table = QtGui.QTableWidget(self.splitter1)
        self.ok_invoice_table.setAutoScrollMargin(15)
        self.ok_invoice_table.setRowCount(0)
        self.ok_invoice_table.setColumnCount(17)
        self.ok_invoice_table.setObjectName(_fromUtf8("ok_invoice_table"))
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(5, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(6, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(7, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(8, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(9, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(10, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(11, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(12, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(13, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(14, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(15, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_table.setHorizontalHeaderItem(16, item)
        self.ok_invoice_detail_table = QtGui.QTableWidget(self.splitter1)
        self.ok_invoice_detail_table.setRowCount(0)
        self.ok_invoice_detail_table.setColumnCount(12)
        self.ok_invoice_detail_table.setObjectName(_fromUtf8("ok_invoice_detail_table"))
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_detail_table.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_detail_table.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_detail_table.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_detail_table.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_detail_table.setHorizontalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_detail_table.setHorizontalHeaderItem(5, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_detail_table.setHorizontalHeaderItem(6, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_detail_table.setHorizontalHeaderItem(7, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_detail_table.setHorizontalHeaderItem(8, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_detail_table.setHorizontalHeaderItem(9, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_detail_table.setHorizontalHeaderItem(10, item)
        item = QtGui.QTableWidgetItem()
        self.ok_invoice_detail_table.setHorizontalHeaderItem(11, item)
        self.verticalLayout_8.addWidget(self.splitter1)
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName(_fromUtf8("tab_3"))
        self.verticalLayout_111 = QtGui.QVBoxLayout(self.tab_3)
        self.verticalLayout_111.setMargin(0)
        self.verticalLayout_111.setSpacing(0)
        self.verticalLayout_111.setObjectName(_fromUtf8("verticalLayout_111"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setMargin(3)
        self.horizontalLayout_6.setSpacing(6)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.product_query_btn = QtGui.QPushButton(self.tab_3)
        self.product_query_btn.setIcon(icon1)
        self.product_query_btn.setObjectName(_fromUtf8("product_query_btn"))
        self.horizontalLayout_6.addWidget(self.product_query_btn)
        self.product_add_btn = QtGui.QPushButton(self.tab_3)
        self.product_add_btn.setIcon(icon2)
        self.product_add_btn.setObjectName(_fromUtf8("product_add_btn"))
        self.horizontalLayout_6.addWidget(self.product_add_btn)
        self.product_update_btn = QtGui.QPushButton(self.tab_3)
        self.product_update_btn.setIcon(icon3)
        self.product_update_btn.setObjectName(_fromUtf8("product_update_btn"))
        self.horizontalLayout_6.addWidget(self.product_update_btn)
        self.product_delete_btn = QtGui.QPushButton(self.tab_3)
        self.product_delete_btn.setIcon(icon4)
        self.product_delete_btn.setObjectName(_fromUtf8("product_delete_btn"))
        self.horizontalLayout_6.addWidget(self.product_delete_btn)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem4)
        self.verticalLayout_111.addLayout(self.horizontalLayout_6)
        self.product_table = QtGui.QTableWidget(self.tab_3)
        self.product_table.setObjectName(_fromUtf8("product_table"))
        self.product_table.setColumnCount(11)
        self.product_table.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.product_table.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.product_table.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.product_table.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.product_table.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.product_table.setHorizontalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        self.product_table.setHorizontalHeaderItem(5, item)
        item = QtGui.QTableWidgetItem()
        self.product_table.setHorizontalHeaderItem(6, item)
        item = QtGui.QTableWidgetItem()
        self.product_table.setHorizontalHeaderItem(7, item)
        item = QtGui.QTableWidgetItem()
        self.product_table.setHorizontalHeaderItem(8, item)
        item = QtGui.QTableWidgetItem()
        self.product_table.setHorizontalHeaderItem(9, item)
        item = QtGui.QTableWidgetItem()
        self.product_table.setHorizontalHeaderItem(10, item)
        self.verticalLayout_111.addWidget(self.product_table)
        self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
        self.tab_4 = QtGui.QWidget()
        self.tab_4.setObjectName(_fromUtf8("tab_4"))
        self.verticalLayout_9 = QtGui.QVBoxLayout(self.tab_4)
        self.verticalLayout_9.setMargin(0)
        self.verticalLayout_9.setSpacing(0)
        self.verticalLayout_9.setObjectName(_fromUtf8("verticalLayout_9"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setMargin(3)
        self.horizontalLayout_4.setSpacing(6)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.custom_query_btn = QtGui.QPushButton(self.tab_4)
        self.custom_query_btn.setIcon(icon1)
        self.custom_query_btn.setObjectName(_fromUtf8("custom_query_btn"))
        self.horizontalLayout_4.addWidget(self.custom_query_btn)
        self.custom_add_btn = QtGui.QPushButton(self.tab_4)
        self.custom_add_btn.setIcon(icon2)
        self.custom_add_btn.setObjectName(_fromUtf8("custom_add_btn"))
        self.horizontalLayout_4.addWidget(self.custom_add_btn)
        self.custom_update_btn = QtGui.QPushButton(self.tab_4)
        self.custom_update_btn.setIcon(icon3)
        self.custom_update_btn.setObjectName(_fromUtf8("custom_update_btn"))
        self.horizontalLayout_4.addWidget(self.custom_update_btn)
        self.custom_delete_btn = QtGui.QPushButton(self.tab_4)
        self.custom_delete_btn.setIcon(icon4)
        self.custom_delete_btn.setObjectName(_fromUtf8("custom_delete_btn"))
        self.horizontalLayout_4.addWidget(self.custom_delete_btn)
        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem5)
        self.verticalLayout_9.addLayout(self.horizontalLayout_4)
        self.custom_table = QtGui.QTableWidget(self.tab_4)
        self.custom_table.setLineWidth(2)
        self.custom_table.setRowCount(0)
        self.custom_table.setColumnCount(10)
        self.custom_table.setObjectName(_fromUtf8("custom_table"))
        item = QtGui.QTableWidgetItem()
        self.custom_table.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.custom_table.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.custom_table.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.custom_table.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.custom_table.setHorizontalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        self.custom_table.setHorizontalHeaderItem(5, item)
        item = QtGui.QTableWidgetItem()
        self.custom_table.setHorizontalHeaderItem(6, item)
        item = QtGui.QTableWidgetItem()
        self.custom_table.setHorizontalHeaderItem(7, item)
        item = QtGui.QTableWidgetItem()
        self.custom_table.setHorizontalHeaderItem(8, item)
        item = QtGui.QTableWidgetItem()
        self.custom_table.setHorizontalHeaderItem(9, item)
        self.verticalLayout_9.addWidget(self.custom_table)
        self.tabWidget.addTab(self.tab_4, _fromUtf8(""))
        self.tab_5 = QtGui.QWidget()
        self.tab_5.setObjectName(_fromUtf8("tab_5"))
        self.verticalLayout_112 = QtGui.QVBoxLayout(self.tab_5)
        self.verticalLayout_112.setMargin(0)
        self.verticalLayout_112.setSpacing(0)
        self.verticalLayout_112.setObjectName(_fromUtf8("verticalLayout_112"))
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setMargin(3)
        self.horizontalLayout_7.setSpacing(6)
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.section_query_btn = QtGui.QPushButton(self.tab_5)
        self.section_query_btn.setIcon(icon1)
        self.section_query_btn.setObjectName(_fromUtf8("section_query_btn"))
        self.horizontalLayout_7.addWidget(self.section_query_btn)
        self.section_add_btn = QtGui.QPushButton(self.tab_5)
        self.section_add_btn.setIcon(icon2)
        self.section_add_btn.setObjectName(_fromUtf8("section_add_btn"))
        self.horizontalLayout_7.addWidget(self.section_add_btn)
        self.section_update_btn = QtGui.QPushButton(self.tab_5)
        self.section_update_btn.setIcon(icon3)
        self.section_update_btn.setObjectName(_fromUtf8("section_update_btn"))
        self.horizontalLayout_7.addWidget(self.section_update_btn)
        self.section_delete_btn = QtGui.QPushButton(self.tab_5)
        self.section_delete_btn.setIcon(icon4)
        self.section_delete_btn.setObjectName(_fromUtf8("section_delete_btn"))
        self.horizontalLayout_7.addWidget(self.section_delete_btn)
        spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem6)
        self.verticalLayout_112.addLayout(self.horizontalLayout_7)
        self.section_table = QtGui.QTableWidget(self.tab_5)
        self.section_table.setLineWidth(2)
        self.section_table.setRowCount(0)
        self.section_table.setColumnCount(6)
        self.section_table.setObjectName(_fromUtf8("section_table"))
        item = QtGui.QTableWidgetItem()
        self.section_table.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.section_table.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.section_table.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.section_table.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.section_table.setHorizontalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        self.section_table.setHorizontalHeaderItem(5, item)
        self.verticalLayout_112.addWidget(self.section_table)
        self.horizontalLayout_10 = QtGui.QHBoxLayout()
        self.horizontalLayout_10.setMargin(15)
        self.horizontalLayout_10.setSpacing(6)
        self.horizontalLayout_10.setObjectName(_fromUtf8("horizontalLayout_10"))
        self.section_use_status_label = QtGui.QLabel(self.tab_5)
        self.section_use_status_label.setObjectName(_fromUtf8("section_use_status_label"))
        self.horizontalLayout_10.addWidget(self.section_use_status_label)
        self.verticalLayout_112.addLayout(self.horizontalLayout_10)
        self.tabWidget.addTab(self.tab_5, _fromUtf8(""))
        self.tab_6 = QtGui.QWidget()
        self.tab_6.setObjectName(_fromUtf8("tab_6"))
        self.verticalLayout = QtGui.QVBoxLayout(self.tab_6)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_11 = QtGui.QHBoxLayout()
        self.horizontalLayout_11.setMargin(3)
        self.horizontalLayout_11.setSpacing(6)
        self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11"))
        self.user_query_btn = QtGui.QPushButton(self.tab_6)
        self.user_query_btn.setIcon(icon1)
        self.user_query_btn.setObjectName(_fromUtf8("user_query_btn"))
        self.horizontalLayout_11.addWidget(self.user_query_btn)
        self.user_add_btn = QtGui.QPushButton(self.tab_6)
        self.user_add_btn.setIcon(icon2)
        self.user_add_btn.setObjectName(_fromUtf8("user_add_btn"))
        self.horizontalLayout_11.addWidget(self.user_add_btn)
        self.user_update_btn = QtGui.QPushButton(self.tab_6)
        self.user_update_btn.setIcon(icon3)
        self.user_update_btn.setObjectName(_fromUtf8("user_update_btn"))
        self.horizontalLayout_11.addWidget(self.user_update_btn)
        self.user_delete_btn = QtGui.QPushButton(self.tab_6)
        self.user_delete_btn.setIcon(icon4)
        self.user_delete_btn.setObjectName(_fromUtf8("user_delete_btn"))
        self.horizontalLayout_11.addWidget(self.user_delete_btn)
        spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_11.addItem(spacerItem7)
        self.verticalLayout.addLayout(self.horizontalLayout_11)
        self.user_table = QtGui.QTableWidget(self.tab_6)
        self.user_table.setObjectName(_fromUtf8("user_table"))
        self.user_table.setColumnCount(4)
        self.user_table.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.user_table.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.user_table.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.user_table.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.user_table.setHorizontalHeaderItem(3, item)
        self.verticalLayout.addWidget(self.user_table)
        self.tabWidget.addTab(self.tab_6, _fromUtf8(""))
        self.tab_0 = QtGui.QWidget()
        self.tab_0.setStyleSheet(_fromUtf8(""))
        self.tab_0.setObjectName(_fromUtf8("tab_0"))
        self.verticalLayout1 = QtGui.QVBoxLayout(self.tab_0)
        self.verticalLayout1.setSizeConstraint(QtGui.QLayout.SetMaximumSize)
        self.verticalLayout1.setMargin(0)
        self.verticalLayout1.setSpacing(0)
        self.verticalLayout1.setObjectName(_fromUtf8("verticalLayout1"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setMargin(3)
        self.horizontalLayout.setSpacing(1)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.excel_gen_invoice_btn = QtGui.QPushButton(self.tab_0)
        icon10 = QtGui.QIcon()
        icon10.addPixmap(QtGui.QPixmap(_fromUtf8("image/op_gen_invoince.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.excel_gen_invoice_btn.setIcon(icon10)
        self.excel_gen_invoice_btn.setObjectName(_fromUtf8("excel_gen_invoice_btn"))
        self.horizontalLayout.addWidget(self.excel_gen_invoice_btn)
        spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem8)
        self.verticalLayout1.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setMargin(3)
        self.horizontalLayout_2.setSpacing(1)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.label = QtGui.QLabel(self.tab_0)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout_2.addWidget(self.label)
        self.excel_SelectFilePathEdit = QtGui.QLineEdit(self.tab_0)
        self.excel_SelectFilePathEdit.setObjectName(_fromUtf8("excel_SelectFilePathEdit"))
        self.horizontalLayout_2.addWidget(self.excel_SelectFilePathEdit)
        self.excel_selectl_file_btn = QtGui.QPushButton(self.tab_0)
        icon11 = QtGui.QIcon()
        icon11.addPixmap(QtGui.QPixmap(_fromUtf8("image/excel.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.excel_selectl_file_btn.setIcon(icon11)
        self.excel_selectl_file_btn.setObjectName(_fromUtf8("excel_selectl_file_btn"))
        self.horizontalLayout_2.addWidget(self.excel_selectl_file_btn)
        spacerItem9 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem9)
        self.verticalLayout1.addLayout(self.horizontalLayout_2)
        self.excel_table = QtGui.QTableWidget(self.tab_0)
        self.excel_table.setRowCount(0)
        self.excel_table.setColumnCount(0)
        self.excel_table.setObjectName(_fromUtf8("excel_table"))
        self.verticalLayout1.addWidget(self.excel_table)
        icon12 = QtGui.QIcon()
        icon12.addPixmap(QtGui.QPixmap(_fromUtf8("C:/Users/Administrator/.designer/backup/image/tab_import.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabWidget.addTab(self.tab_0, icon12, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.tabWidget)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setContentsMargins(0, 2, 2, 2)
        self.gridLayout.setSpacing(2)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.left_status_label = QtGui.QLabel(self.centralWidget)
        self.left_status_label.setText(_fromUtf8(""))
        self.left_status_label.setObjectName(_fromUtf8("left_status_label"))
        self.gridLayout.addWidget(self.left_status_label, 0, 0, 1, 1)
        self.right_status_label = QtGui.QLabel(self.centralWidget)
        font = QtGui.QFont()
        font.setBold(True)
        font.setUnderline(False)
        font.setWeight(75)
        self.right_status_label.setFont(font)
        self.right_status_label.setStyleSheet(_fromUtf8("QLabel { color : red; font-weight: bold}"))
        self.right_status_label.setText(_fromUtf8(""))
        self.right_status_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.right_status_label.setObjectName(_fromUtf8("right_status_label"))
        self.gridLayout.addWidget(self.right_status_label, 0, 1, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout)
        MainWindow.setCentralWidget(self.centralWidget)
        self.menuBar = QtGui.QMenuBar(MainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 759, 23))
        self.menuBar.setObjectName(_fromUtf8("menuBar"))
        self.menu_file = QtGui.QMenu(self.menuBar)
        self.menu_file.setObjectName(_fromUtf8("menu_file"))
        self.menu_config = QtGui.QMenu(self.menuBar)
        self.menu_config.setObjectName(_fromUtf8("menu_config"))
        self.menu_help = QtGui.QMenu(self.menuBar)
        self.menu_help.setObjectName(_fromUtf8("menu_help"))
        MainWindow.setMenuBar(self.menuBar)
        self.actionOpen = QtGui.QAction(MainWindow)
        self.actionOpen.setObjectName(_fromUtf8("actionOpen"))
        self.actionClose = QtGui.QAction(MainWindow)
        self.actionClose.setObjectName(_fromUtf8("actionClose"))
        self.actionAbout = QtGui.QAction(MainWindow)
        self.actionAbout.setObjectName(_fromUtf8("actionAbout"))
        self.actionCheckUpdate = QtGui.QAction(MainWindow)
        self.actionCheckUpdate.setObjectName(_fromUtf8("actionCheckUpdate"))
        self.actionRegist = QtGui.QAction(MainWindow)
        self.actionRegist.setObjectName(_fromUtf8("actionRegist"))
        self.actionHelp = QtGui.QAction(MainWindow)
        self.actionHelp.setObjectName(_fromUtf8("actionHelp"))
        self.actionConfig = QtGui.QAction(MainWindow)
        self.actionConfig.setObjectName(_fromUtf8("actionConfig"))
        self.menu_file.addAction(self.actionOpen)
        self.menu_file.addAction(self.actionClose)
        self.menu_config.addAction(self.actionConfig)
        self.menu_help.addAction(self.actionHelp)
        self.menu_help.addSeparator()
        self.menu_help.addAction(self.actionCheckUpdate)
        self.menu_help.addAction(self.actionRegist)
        self.menu_help.addAction(self.actionAbout)
        self.menuBar.addAction(self.menu_file.menuAction())
        self.menuBar.addAction(self.menu_config.menuAction())
        self.menuBar.addAction(self.menu_help.menuAction())

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(2)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "发票开具系统", None))
        self.label_6.setText(_translate("MainWindow", "已开发票数量：", None))
        self.label_3.setText(_translate("MainWindow", "当前票段：", None))
        self.label_5.setText(_translate("MainWindow", "下一张发票号：", None))
        self.label_7.setText(_translate("MainWindow", "未开发票数量：", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "首页", None))
        self.invoice_filter_btn.setText(_translate("MainWindow", "查询", None))
        self.invoice_add_btn.setText(_translate("MainWindow", "录入", None))
        self.invoine_update_btn.setText(_translate("MainWindow", "修改", None))
        self.invoice_delete_btn.setText(_translate("MainWindow", "作废", None))
        self.invoice_print_btn.setText(_translate("MainWindow", "打印", None))
        self.invoice_import_xml_btn.setText(_translate("MainWindow", "增票", None))
        self.invoice_merge_btn.setText(_translate("MainWindow", "合并选中项", None))
        self.invoice_merge_product_btn.setText(_translate("MainWindow", "合并相同产品", None))
        self.invoice_chaifeng_btn.setText(_translate("MainWindow", "拆分选中项", None))
        self.invoice_table.setSortingEnabled(True)
        item = self.invoice_table.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "ID", None))
        item = self.invoice_table.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "发票号码", None))
        item = self.invoice_table.horizontalHeaderItem(2)
        item.setText(_translate("MainWindow", "发票代码", None))
        item = self.invoice_table.horizontalHeaderItem(3)
        item.setText(_translate("MainWindow", "客户名称", None))
        item = self.invoice_table.horizontalHeaderItem(4)
        item.setText(_translate("MainWindow", "价税合计", None))
        item = self.invoice_table.horizontalHeaderItem(5)
        item.setText(_translate("MainWindow", "开票人", None))
        item = self.invoice_table.horizontalHeaderItem(6)
        item.setText(_translate("MainWindow", "收款人", None))
        item = self.invoice_table.horizontalHeaderItem(7)
        item.setText(_translate("MainWindow", "复核人", None))
        item = self.invoice_table.horizontalHeaderItem(8)
        item.setText(_translate("MainWindow", "总税额", None))
        item = self.invoice_table.horizontalHeaderItem(9)
        item.setText(_translate("MainWindow", "总不含税金额", None))
        item = self.invoice_table.horizontalHeaderItem(10)
        item.setText(_translate("MainWindow", "备注", None))
        item = self.invoice_table.horizontalHeaderItem(11)
        item.setText(_translate("MainWindow", "客户代码", None))
        item = self.invoice_table.horizontalHeaderItem(12)
        item.setText(_translate("MainWindow", "客户税号", None))
        item = self.invoice_table.horizontalHeaderItem(13)
        item.setText(_translate("MainWindow", "客户地址", None))
        item = self.invoice_table.horizontalHeaderItem(14)
        item.setText(_translate("MainWindow", "客户开户行账号", None))
        item = self.invoice_table.horizontalHeaderItem(15)
        item.setText(_translate("MainWindow", "系统流水号", None))
        self.invoice_detail_table.setSortingEnabled(True)
        item = self.invoice_detail_table.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "ID", None))
        item = self.invoice_detail_table.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "产品代码", None))
        item = self.invoice_detail_table.horizontalHeaderItem(2)
        item.setText(_translate("MainWindow", "产品名称", None))
        item = self.invoice_detail_table.horizontalHeaderItem(3)
        item.setText(_translate("MainWindow", "产品单价", None))
        item = self.invoice_detail_table.horizontalHeaderItem(4)
        item.setText(_translate("MainWindow", "产品数量", None))
        item = self.invoice_detail_table.horizontalHeaderItem(5)
        item.setText(_translate("MainWindow", "含税金额", None))
        item = self.invoice_detail_table.horizontalHeaderItem(6)
        item.setText(_translate("MainWindow", "产品型号", None))
        item = self.invoice_detail_table.horizontalHeaderItem(7)
        item.setText(_translate("MainWindow", "产品单位", None))
        item = self.invoice_detail_table.horizontalHeaderItem(8)
        item.setText(_translate("MainWindow", "含税单价", None))
        item = self.invoice_detail_table.horizontalHeaderItem(9)
        item.setText(_translate("MainWindow", "不含税金额", None))
        item = self.invoice_detail_table.horizontalHeaderItem(10)
        item.setText(_translate("MainWindow", "税率", None))
        item = self.invoice_detail_table.horizontalHeaderItem(11)
        item.setText(_translate("MainWindow", "税额", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_1), _translate("MainWindow", "开具发票", None))
        self.label_2.setText(_translate("MainWindow", "号段：", None))
        self.label_8.setText(_translate("MainWindow", "到", None))
        self.label_4.setText(_translate("MainWindow", "开票时间：", None))
        self.label_9.setText(_translate("MainWindow", "到", None))
        self.ok_invoice_filter_btn.setText(_translate("MainWindow", "查询", None))
        self.ok_invoice_export_btn.setText(_translate("MainWindow", "导出", None))
        self.ok_invoice_print_btn.setText(_translate("MainWindow", "打印", None))
        self.ok_invoice_delete_btn.setText(_translate("MainWindow", "作废", None))
        self.ok_invoice_table.setSortingEnabled(True)
        item = self.ok_invoice_table.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "ID", None))
        item = self.ok_invoice_table.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "发票号码", None))
        item = self.ok_invoice_table.horizontalHeaderItem(2)
        item.setText(_translate("MainWindow", "发票代码", None))
        item = self.ok_invoice_table.horizontalHeaderItem(3)
        item.setText(_translate("MainWindow", "客户名称", None))
        item = self.ok_invoice_table.horizontalHeaderItem(4)
        item.setText(_translate("MainWindow", "价税合计", None))
        item = self.ok_invoice_table.horizontalHeaderItem(5)
        item.setText(_translate("MainWindow", "开票人", None))
        item = self.ok_invoice_table.horizontalHeaderItem(6)
        item.setText(_translate("MainWindow", "收款人", None))
        item = self.ok_invoice_table.horizontalHeaderItem(7)
        item.setText(_translate("MainWindow", "复核人", None))
        item = self.ok_invoice_table.horizontalHeaderItem(8)
        item.setText(_translate("MainWindow", "开票时间", None))
        item = self.ok_invoice_table.horizontalHeaderItem(9)
        item.setText(_translate("MainWindow", "总税额", None))
        item = self.ok_invoice_table.horizontalHeaderItem(10)
        item.setText(_translate("MainWindow", "总不含税金额", None))
        item = self.ok_invoice_table.horizontalHeaderItem(11)
        item.setText(_translate("MainWindow", "备注", None))
        item = self.ok_invoice_table.horizontalHeaderItem(12)
        item.setText(_translate("MainWindow", "客户代码", None))
        item = self.ok_invoice_table.horizontalHeaderItem(13)
        item.setText(_translate("MainWindow", "客户税号", None))
        item = self.ok_invoice_table.horizontalHeaderItem(14)
        item.setText(_translate("MainWindow", "客户地址", None))
        item = self.ok_invoice_table.horizontalHeaderItem(15)
        item.setText(_translate("MainWindow", "客户开户行账号", None))
        item = self.ok_invoice_table.horizontalHeaderItem(16)
        item.setText(_translate("MainWindow", "系统流水号", None))
        self.ok_invoice_detail_table.setSortingEnabled(True)
        item = self.ok_invoice_detail_table.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "ID", None))
        item = self.ok_invoice_detail_table.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "产品代码", None))
        item = self.ok_invoice_detail_table.horizontalHeaderItem(2)
        item.setText(_translate("MainWindow", "产品名称", None))
        item = self.ok_invoice_detail_table.horizontalHeaderItem(3)
        item.setText(_translate("MainWindow", "产品单价", None))
        item = self.ok_invoice_detail_table.horizontalHeaderItem(4)
        item.setText(_translate("MainWindow", "产品数量", None))
        item = self.ok_invoice_detail_table.horizontalHeaderItem(5)
        item.setText(_translate("MainWindow", "含税金额", None))
        item = self.ok_invoice_detail_table.horizontalHeaderItem(6)
        item.setText(_translate("MainWindow", "产品型号", None))
        item = self.ok_invoice_detail_table.horizontalHeaderItem(7)
        item.setText(_translate("MainWindow", "产品单位", None))
        item = self.ok_invoice_detail_table.horizontalHeaderItem(8)
        item.setText(_translate("MainWindow", "含税单价", None))
        item = self.ok_invoice_detail_table.horizontalHeaderItem(9)
        item.setText(_translate("MainWindow", "不含税金额", None))
        item = self.ok_invoice_detail_table.horizontalHeaderItem(10)
        item.setText(_translate("MainWindow", "税率", None))
        item = self.ok_invoice_detail_table.horizontalHeaderItem(11)
        item.setText(_translate("MainWindow", "税额", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "已开发票", None))
        self.product_query_btn.setText(_translate("MainWindow", "查询", None))
        self.product_add_btn.setText(_translate("MainWindow", "新增", None))
        self.product_update_btn.setText(_translate("MainWindow", "修改", None))
        self.product_delete_btn.setText(_translate("MainWindow", "删除", None))
        self.product_table.setSortingEnabled(True)
        item = self.product_table.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "ID", None))
        item = self.product_table.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "产品代码", None))
        item = self.product_table.horizontalHeaderItem(2)
        item.setText(_translate("MainWindow", "产品名称", None))
        item = self.product_table.horizontalHeaderItem(3)
        item.setText(_translate("MainWindow", "产品型号", None))
        item = self.product_table.horizontalHeaderItem(4)
        item.setText(_translate("MainWindow", "产品单位", None))
        item = self.product_table.horizontalHeaderItem(5)
        item.setText(_translate("MainWindow", "产品单价", None))
        item = self.product_table.horizontalHeaderItem(6)
        item.setText(_translate("MainWindow", "含税单价", None))
        item = self.product_table.horizontalHeaderItem(7)
        item.setText(_translate("MainWindow", "税率", None))
        item = self.product_table.horizontalHeaderItem(8)
        item.setText(_translate("MainWindow", "企业税号", None))
        item = self.product_table.horizontalHeaderItem(9)
        item.setText(_translate("MainWindow", "ERA对照值", None))
        item = self.product_table.horizontalHeaderItem(10)
        item.setText(_translate("MainWindow", "父ID", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "商品管理", None))
        self.custom_query_btn.setText(_translate("MainWindow", "查询", None))
        self.custom_add_btn.setText(_translate("MainWindow", "新增", None))
        self.custom_update_btn.setText(_translate("MainWindow", "修改", None))
        self.custom_delete_btn.setText(_translate("MainWindow", "删除", None))
        self.custom_table.setSortingEnabled(True)
        item = self.custom_table.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "ID", None))
        item = self.custom_table.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "客户代码", None))
        item = self.custom_table.horizontalHeaderItem(2)
        item.setText(_translate("MainWindow", "客户名称", None))
        item = self.custom_table.horizontalHeaderItem(3)
        item.setText(_translate("MainWindow", "客户税号", None))
        item = self.custom_table.horizontalHeaderItem(4)
        item.setText(_translate("MainWindow", "开户银行账号", None))
        item = self.custom_table.horizontalHeaderItem(5)
        item.setText(_translate("MainWindow", "客户地址", None))
        item = self.custom_table.horizontalHeaderItem(6)
        item.setText(_translate("MainWindow", "企业税号", None))
        item = self.custom_table.horizontalHeaderItem(7)
        item.setText(_translate("MainWindow", "ERP对照值", None))
        item = self.custom_table.horizontalHeaderItem(8)
        item.setText(_translate("MainWindow", "开票汇总名称", None))
        item = self.custom_table.horizontalHeaderItem(9)
        item.setText(_translate("MainWindow", "备注", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("MainWindow", "客户管理", None))
        self.section_query_btn.setText(_translate("MainWindow", "查询", None))
        self.section_add_btn.setText(_translate("MainWindow", "新增", None))
        self.section_update_btn.setText(_translate("MainWindow", "修改", None))
        self.section_delete_btn.setText(_translate("MainWindow", "删除", None))
        self.section_table.setSortingEnabled(True)
        item = self.section_table.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "ID", None))
        item = self.section_table.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "号段起始值", None))
        item = self.section_table.horizontalHeaderItem(2)
        item.setText(_translate("MainWindow", "号段结束值", None))
        item = self.section_table.horizontalHeaderItem(3)
        item.setText(_translate("MainWindow", "使用人姓名", None))
        item = self.section_table.horizontalHeaderItem(4)
        item.setText(_translate("MainWindow", "录入时间", None))
        item = self.section_table.horizontalHeaderItem(5)
        item.setText(_translate("MainWindow", "状态", None))
        self.section_use_status_label.setText(_translate("MainWindow", "使用情况统计：", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("MainWindow", "库存管理", None))
        self.user_query_btn.setText(_translate("MainWindow", "查询", None))
        self.user_add_btn.setText(_translate("MainWindow", "增加", None))
        self.user_update_btn.setText(_translate("MainWindow", "修改", None))
        self.user_delete_btn.setText(_translate("MainWindow", "删除", None))
        item = self.user_table.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "ID", None))
        item = self.user_table.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "姓名", None))
        item = self.user_table.horizontalHeaderItem(2)
        item.setText(_translate("MainWindow", "登录名", None))
        item = self.user_table.horizontalHeaderItem(3)
        item.setText(_translate("MainWindow", "用户角色", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_6), _translate("MainWindow", "用户管理", None))
        self.excel_gen_invoice_btn.setText(_translate("MainWindow", "保存到临时数据区", None))
        self.label.setText(_translate("MainWindow", "文件", None))
        self.excel_selectl_file_btn.setText(_translate("MainWindow", "选择", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_0), _translate("MainWindow", "增票数据导入", None))
        self.menu_file.setTitle(_translate("MainWindow", "文件", None))
        self.menu_config.setTitle(_translate("MainWindow", "配置", None))
        self.menu_help.setTitle(_translate("MainWindow", "帮助", None))
        self.actionOpen.setText(_translate("MainWindow", "打开", None))
        self.actionClose.setText(_translate("MainWindow", "关闭", None))
        self.actionAbout.setText(_translate("MainWindow", "关于", None))
        self.actionCheckUpdate.setText(_translate("MainWindow", "检查更新", None))
        self.actionRegist.setText(_translate("MainWindow", "注册", None))
        self.actionHelp.setText(_translate("MainWindow", "帮助", None))
        self.actionConfig.setText(_translate("MainWindow", "系统设置", None))

