<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.layout.VBox?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.TableView?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.ContextMenu?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.control.Label?>
<AnchorPane xmlns:fx="http://javafx.com/fxml/1"
            fx:controller="com.ecep.contract.controller.project.ProjectTabSkinContract">
    <children>
        <VBox AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="5.0">
            <children>
                <HBox spacing="3.0">
                    <children>
                        <TextField fx:id="searchKeyField" promptText="检索关键字" />
                        <Button fx:id="searchBtn" mnemonicParsing="false" text="检索" />
                    </children>
                    <padding>
                        <Insets bottom="10.0" left="7.0" right="10.0" top="10.0" />
                    </padding>
                </HBox>
                <TableView fx:id="table" prefHeight="300.0" VBox.vgrow="ALWAYS">
                    <columns>
                        <TableColumn fx:id="idColumn" prefWidth="75.0" text="ID" />
                        <TableColumn fx:id="codeColumn" prefWidth="120" text="合同编号" />
                        <TableColumn fx:id="nameColumn" prefWidth="300" text="合同名称" />
                        <TableColumn fx:id="setupDateColumn" prefWidth="75.0" sortType="DESCENDING" text="提交日期" />
                        <TableColumn fx:id="inureDateColumn" prefWidth="75.0" text="生效日期" />
                        <TableColumn fx:id="orderDateColumn" prefWidth="75.0" text="签订日期" />
                        <TableColumn fx:id="varyDateColumn" prefWidth="75.0" text="修改日期" />
                    </columns>
                    <contextMenu>
                        <ContextMenu>
                            <items>
                                <MenuItem fx:id="contractTable_menu_refresh" mnemonicParsing="false" text="刷新" />
                            </items>
                        </ContextMenu>
                    </contextMenu>
                </TableView>
                <Pane prefHeight="50.0">
                    <children>
                        <Label layoutX="14.0" layoutY="7.0" text="在合同管理中关联项目后，这里就可以检索出关联的合同" />
                    </children>
                </Pane>
            </children>
        </VBox>
    </children>
</AnchorPane>