<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Separator?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.ContextMenu?>
<?import javafx.scene.control.MenuItem?>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" xmlns:fx="http://javafx.com/fxml/1"
            fx:controller="com.ecep.contract.controller.tab.CompanyTabSkinContract">
    <children>
        <HBox spacing="3.0">
            <children>
                <ComboBox fx:id="contractGroupSelector" editable="true" prefWidth="100.0" promptText="分组选择" />
                <TextField fx:id="contractSearchKeyField" promptText="检索关键字" />
                <Button fx:id="contractSearchBtn" mnemonicParsing="false" text="检索" />
                <Separator orientation="VERTICAL" />
                <Button fx:id="contractTabToolBtn1" mnemonicParsing="false" text="计算主合同编号" />
            </children>
            <padding>
                <Insets bottom="10.0" left="7.0" right="10.0" top="10.0" />
            </padding>
        </HBox>
        <TableView fx:id="table" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="42.0">
            <columns>
                <TableColumn fx:id="contractTable_idColumn" minWidth="50.0" prefWidth="60.0" text="ID" />
                <TableColumn fx:id="contractTable_codeColumn" prefWidth="85.0" text="合同编码" />
                <TableColumn fx:id="contractTable_nameColumn" maxWidth="1.7976931348623157E308" minWidth="80.0" prefWidth="200.0" text="名称" />
                <TableColumn fx:id="contractTable_stateColumn" minWidth="30.0" prefWidth="45.0" text="状态" visible="false" />
                <TableColumn fx:id="contractTable_groupColumn" prefWidth="75.0" text="分组" />
                <TableColumn fx:id="contractTable_typeColumn" prefWidth="110.0" text="类型" />
                <TableColumn fx:id="contractTable_kindColumn" prefWidth="100.0" text="性质" />
                <TableColumn fx:id="contractTable_parentCodeColumn" prefWidth="90.0" text="主合同号" visible="false" />
                <TableColumn fx:id="contractTable_setupDateColumn" prefWidth="75.0" sortType="DESCENDING" text="提交日期" />
                <TableColumn fx:id="contractTable_inureDateColumn" prefWidth="75.0" text="生效日期" />
                <TableColumn fx:id="contractTable_orderDateColumn" prefWidth="75.0" text="签订日期" />
                <TableColumn fx:id="contractTable_varyDateColumn" prefWidth="75.0" text="修改日期" />
                <TableColumn fx:id="contractTable_startDateColumn" prefWidth="75.0" text="开始日期" />
                <TableColumn fx:id="contractTable_endDateColumn" prefWidth="75.0" text="结束日期" />

                <TableColumn fx:id="contractTable_setupPersonColumn" prefWidth="70.0" text="提交人" />
                <TableColumn fx:id="contractTable_inurePersonColumn" prefWidth="70.0" text="生效人" />
                <TableColumn fx:id="contractTable_varyPersonColumn" prefWidth="70.0" text="修改人" />

                <TableColumn fx:id="contractTable_createdColumn" prefWidth="180.0" text="日期" />
            </columns>
            <contextMenu>
                <ContextMenu>
                    <items>
                        <MenuItem fx:id="contractTable_menu_refresh" mnemonicParsing="false" text="刷新" />
                        <MenuItem fx:id="contractTable_menu_add" mnemonicParsing="false" text="新建" disable="true" />
                        <MenuItem fx:id="contractTable_menu_open_in_explorer" mnemonicParsing="false" text="打开目录" />
                        <MenuItem fx:id="contractTable_menu_update" mnemonicParsing="false" text="更新" />
                        <MenuItem fx:id="contractTable_menu_del" mnemonicParsing="false" text="删除" />
                    </items>
                </ContextMenu>
            </contextMenu>
        </TableView>
    </children>
</AnchorPane>