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

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<VBox prefHeight="400.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/22"
      xmlns:fx="http://javafx.com/fxml/1"
      fx:controller="com.ecep.contract.controller.vendor.group.VendorGroupManagerWindowController">
    <children>
        <MenuBar VBox.vgrow="NEVER">
            <menus>
                <Menu text="文件(_F)" disable="true">
                    <items>
                        <MenuItem text="新建…(_N)" disable="true"/>
                        <MenuItem text="重置…(_R)" disable="true"/>
                        <SeparatorMenuItem mnemonicParsing="false"/>
                        <MenuItem text="首选项…(_P)" disable="true"/>
                    </items>
                </Menu>
                <Menu text="设置(_S)" disable="true">

                </Menu>
                <Menu text="帮助(_H)">
                    <items>
                        <MenuItem mnemonicParsing="false" text="About MyHelloApp"/>
                    </items>
                </Menu>
            </menus>
        </MenuBar>
        <ToolBar prefHeight="40.0" prefWidth="200.0">
            <items>
                <TextField fx:id="searchKeyField" promptText="检索关键字"/>
                <Button fx:id="searchBtn" mnemonicParsing="false" text="检索"/>
            </items>
        </ToolBar>
        <AnchorPane prefHeight="248.0" prefWidth="2239.0" VBox.vgrow="ALWAYS">
            <children>
                <TableView fx:id="table" layoutX="52.0" layoutY="14.0" prefHeight="200.0" prefWidth="200.0"
                           AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
                           AnchorPane.topAnchor="0.0">
                    <columns>
                        <TableColumn fx:id="idColumn" prefWidth="50.0" text="ID" sortType="DESCENDING"/>
                        <TableColumn fx:id="codeColumn" prefWidth="50.0" text="编号"/>
                        <TableColumn fx:id="nameColumn" prefWidth="150.0" text="名称"/>
                        <TableColumn fx:id="descriptionColumn" prefWidth="420" text="备注"/>
                    </columns>
                </TableView>
            </children>
        </AnchorPane>
        <Pane>
            <children>
                <Label text="注：1. 双击单元格进入编辑模式，按Enter保存。" wrapText="true"/>
            </children>
            <VBox.margin>
                <Insets bottom="8.0" left="8.0" right="8.0" top="8.0"/>
            </VBox.margin>
        </Pane>
        <fx:include source="../../part-footer.fxml" fx:id="footer"/>
    </children>
</VBox>
