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

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<AnchorPane xmlns:fx="http://javafx.com/fxml/1"
            fx:controller="com.ecep.contract.controller.project.ProjectTabSkinCost">
    <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="versionColumn" prefWidth="70" text="版本号" style="-fx-alignment: center;"/>
                        <TableColumn editable="false" text="出项（销售）">
                            <columns>
                                <TableColumn fx:id="inTaxAmountColumn" prefWidth="100.0" text="含税金额"
                                             style="-fx-alignment:center-right;"/>
                                <TableColumn fx:id="inExclusiveTaxAmountColumn" prefWidth="100.0"
                                             text="不含税金额"
                                             style="-fx-alignment: center-right;"/>
                            </columns>
                        </TableColumn>
                        <TableColumn editable="false" text="进项（采购）">
                            <columns>
                                <TableColumn fx:id="outTaxAmountColumn" prefWidth="100.0" text="含税金额"
                                             style="-fx-alignment: center-right;"/>
                                <TableColumn fx:id="outExclusiveTaxAmountColumn" prefWidth="100.0"
                                             text="不含税金额"
                                             style="-fx-alignment: center-right;"/>
                            </columns>
                        </TableColumn>

                        <TableColumn fx:id="grossProfitMarginColumn" prefWidth="75.0" text="毛利率%"
                                     style="-fx-alignment: center-right;"/>
                        <TableColumn fx:id="applicantColumn" prefWidth="75.0" text="申请人"/>
                        <TableColumn fx:id="applyTimeColumn" prefWidth="130.0" text="申请时间"/>
                        <TableColumn fx:id="authorizerColumn" prefWidth="75.0" text="审核人"/>
                        <TableColumn fx:id="authorizationTimeColumn" prefWidth="130.0" text="审核时间"/>
                        <TableColumn fx:id="descriptionColumn" prefWidth="180" text="说明"/>
                    </columns>
                </TableView>
                <Pane prefHeight="50.0">
                    <children>
                        <Label layoutX="14.0" layoutY="7.0" text="成本表以最新的版本号为准"/>
                    </children>
                </Pane>
            </children>
        </VBox>
    </children>
</AnchorPane>