Files
contract-manager/src/main/resources/ui/company/vendor/vendor-tab-file.fxml
2025-08-22 19:55:19 +08:00

52 lines
2.9 KiB
XML

<?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="http://javafx.com/javafx/22"
xmlns:fx="http://javafx.com/fxml/1"
fx:controller="com.ecep.contract.manager.ds.vendor.controller.VendorTabSkinFile">
<children>
<HBox spacing="3.0">
<children>
<Button fx:id="fileTable_reBuildBtn" mnemonicParsing="false" text="重置"/>
<Button fx:id="fileTable_updateEvaluationFormBuildBtn" mnemonicParsing="false" text="更新评价表单"/>
<Button fx:id="fileTable_calcNextSignDateBtn" mnemonicParsing="false" text="计算下一个评价日期">
<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" layoutX="48.0" layoutY="26.0" prefHeight="487.0" prefWidth="900.0"
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
AnchorPane.topAnchor="42.0">
<columns>
<TableColumn fx:id="fileTable_idColumn" maxWidth="100.0" prefWidth="60.0" text="ID"/>
<TableColumn fx:id="fileTable_typeColumn" maxWidth="120.0" text="类型"/>
<TableColumn fx:id="fileTable_filePathColumn" prefWidth="300.0" text="文件"/>
<TableColumn fx:id="fileTable_editFilePathColumn" prefWidth="100.0" text="可编辑文件"/>
<TableColumn fx:id="fileTable_signDateColumn" prefWidth="150.0" text="生效日期"/>
<TableColumn fx:id="fileTable_validColumn" maxWidth="80.0" 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_del" mnemonicParsing="false" text="删除"/>
<MenuItem fx:id="fileTable_menu_move_to_company_path" mnemonicParsing="false"
text="移动到公司目录"/>
</items>
</ContextMenu>
</contextMenu>
<columnResizePolicy>
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
</columnResizePolicy>
</TableView>
</children>
</AnchorPane>