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

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<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.customer.CustomerTabSkinFile">
    <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="检索"/>
                        <Separator/>
                        <Button fx:id="fileTable_reBuildBtn" text="重置(_R)"/>
                        <Button fx:id="fileTable_updateEvaluationFormBuildBtn" text="更新评估表单(_U)"/>
                        <Button fx:id="fileTable_calcNextSignDateBtn" text="计算下一个评价日期(_N)">
                            <tooltip>
                                <Tooltip text="依据已有的供应商评价表和登记采购的合同计算下一个评价日期"/>
                            </tooltip>
                        </Button>
                    </children>
                    <padding>
                        <Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
                    </padding>
                </HBox>
                <TableView fx:id="table" editable="true" minHeight="200.0" prefHeight="400.0" VBox.vgrow="ALWAYS">
                    <columns>
                        <TableColumn fx:id="fileTable_idColumn" prefWidth="75.0" text="ID"/>
                        <TableColumn fx:id="fileTable_typeColumn" text="类型"/>
                        <TableColumn fx:id="fileTable_filePathColumn" prefWidth="300.0" text="文件"/>
                        <TableColumn fx:id="fileTable_editFilePathColumn" prefWidth="70.0" text="可编辑文件"/>
                        <TableColumn fx:id="fileTable_signDateColumn" prefWidth="150.0" text="生效日期"/>
                        <TableColumn fx:id="fileTable_validColumn" prefWidth="50.0" text="有效"/>
                        <TableColumn fx:id="fileTable_descriptionColumn" prefWidth="200.0" text="备注"/>
                    </columns>
                    <contextMenu>
                        <ContextMenu>
                            <items>
                                <MenuItem fx:id="fileTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
                                <MenuItem fx:id="fileTable_menu_add" mnemonicParsing="false" text="删除"/>
                                <MenuItem fx:id="fileTable_menu_del" 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>
