重新初始化项目
46
src/main/resources/ui/bank-manager.fxml
Normal file
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<VBox prefHeight="700.0" prefWidth="1000.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.ecep.contract.manager.ds.other.controller.bank.BankManagerWindowController">
|
||||
<children>
|
||||
<MenuBar VBox.vgrow="NEVER">
|
||||
<menus>
|
||||
<Menu text="文件(_F)">
|
||||
<items>
|
||||
<MenuItem onAction="#onCreateNewAction" text="新建…(_N)" />
|
||||
<MenuItem onAction="#onReBuildFilesAction" text="同步…(_R)" disable="true" />
|
||||
<SeparatorMenuItem mnemonicParsing="false" />
|
||||
<MenuItem mnemonicParsing="false" text="Preferences…" />
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu text="帮助(_H)">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="关于…" />
|
||||
</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="1000.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"/>
|
||||
<TableColumn fx:id="nameColumn" prefWidth="150" text="名称 *"/>
|
||||
<TableColumn fx:id="codeColumn" prefWidth="150" text="编号"/>
|
||||
</columns>
|
||||
<columnResizePolicy>
|
||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
|
||||
</columnResizePolicy>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<fx:include source="part-footer.fxml" fx:id="footer"/>
|
||||
</children>
|
||||
</VBox>
|
||||
72
src/main/resources/ui/cloud/rk_manager.fxml
Normal file
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<VBox prefHeight="400.0" prefWidth="640.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.cloud.rk.CloudRkManagerWindowController">
|
||||
<children>
|
||||
<MenuBar VBox.vgrow="NEVER">
|
||||
<menus>
|
||||
<Menu mnemonicParsing="false" text="File">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="New"/>
|
||||
<MenuItem mnemonicParsing="false" text="Open…"/>
|
||||
<Menu mnemonicParsing="false" text="Open Recent"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Close"/>
|
||||
<MenuItem mnemonicParsing="false" text="Save"/>
|
||||
<MenuItem mnemonicParsing="false" text="Save As…"/>
|
||||
<MenuItem mnemonicParsing="false" text="Revert"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Preferences…"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Quit"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="同步">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="同步" onAction="#onSyncAction"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Cut"/>
|
||||
<MenuItem mnemonicParsing="false" text="Copy"/>
|
||||
<MenuItem mnemonicParsing="false" text="Paste"/>
|
||||
<MenuItem mnemonicParsing="false" text="Delete"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Select All"/>
|
||||
<MenuItem mnemonicParsing="false" text="Unselect All"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="Help">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="数据修复" onAction="#onDataRepairAction"/>
|
||||
<MenuItem mnemonicParsing="false" text="数据迁移" onAction="#onDateTransferAction"/>
|
||||
<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>
|
||||
<TableView fx:id="table" prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="companyColumn" prefWidth="200.0" text="公司"/>
|
||||
<TableColumn fx:id="latestUpdateColumn" prefWidth="160.0" text="更新日期"/>
|
||||
<TableColumn fx:id="cloudIdColumn" prefWidth="150.0" text="平台编号"/>
|
||||
<TableColumn fx:id="cloudLatestColumn" prefWidth="160.0"
|
||||
text="平台更新日期"/>
|
||||
<TableColumn fx:id="cloudBlackListUpdatedColumn" prefWidth="160.0"
|
||||
text="黑名单更新日期"/>
|
||||
<TableColumn fx:id="cloudEntUpdateColumn" prefWidth="160.0"
|
||||
text="工商信息更新日期"/>
|
||||
<TableColumn fx:id="autoUpdateColumn" prefWidth="60.0" text="自动更新"/>
|
||||
<TableColumn fx:id="descriptionColumn" prefWidth="150.0" text="Description"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
<fx:include source="../part-footer.fxml" fx:id="footer"/>
|
||||
</children>
|
||||
</VBox>
|
||||
67
src/main/resources/ui/cloud/tyc_manager.fxml
Normal file
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<VBox prefHeight="400.0" prefWidth="640.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.cloud.tyc.CloudTycManagerWindowController">
|
||||
<children>
|
||||
<MenuBar VBox.vgrow="NEVER">
|
||||
<menus>
|
||||
<Menu mnemonicParsing="false" text="File">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="New"/>
|
||||
<MenuItem mnemonicParsing="false" text="Open…"/>
|
||||
<Menu mnemonicParsing="false" text="Open Recent"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Close"/>
|
||||
<MenuItem mnemonicParsing="false" text="Save"/>
|
||||
<MenuItem mnemonicParsing="false" text="Save As…"/>
|
||||
<MenuItem mnemonicParsing="false" text="Revert"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Preferences…"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Quit"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="Edit">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="Undo"/>
|
||||
<MenuItem mnemonicParsing="false" text="Redo"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Cut"/>
|
||||
<MenuItem mnemonicParsing="false" text="Copy"/>
|
||||
<MenuItem mnemonicParsing="false" text="Paste"/>
|
||||
<MenuItem mnemonicParsing="false" text="Delete"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Select All"/>
|
||||
<MenuItem mnemonicParsing="false" text="Unselect All"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="Help">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" onAction="#onDateTransferAction" text="数据迁移"/>
|
||||
<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>
|
||||
<TableView fx:id="table" prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="companyColumn" prefWidth="200.0" text="公司"/>
|
||||
<TableColumn fx:id="latestUpdateColumn" prefWidth="160.0" text="更新日期"/>
|
||||
<TableColumn fx:id="cloudIdColumn" prefWidth="150.0" text="平台编号"/>
|
||||
<TableColumn fx:id="cloudLatestColumn" prefWidth="160.0"
|
||||
text="平台更新日期"/>
|
||||
<TableColumn fx:id="scoreColumn" prefWidth="160.0" text="天眼查评分"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
<fx:include source="../part-footer.fxml" fx:id="footer"/>
|
||||
</children>
|
||||
</VBox>
|
||||
73
src/main/resources/ui/cloud/u8_manager.fxml
Normal file
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<VBox prefHeight="400.0" prefWidth="640.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.cloud.u8.YongYouU8ManagerWindowController">
|
||||
<children>
|
||||
<MenuBar VBox.vgrow="NEVER">
|
||||
<menus>
|
||||
<Menu mnemonicParsing="false" text="File">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="New"/>
|
||||
<MenuItem mnemonicParsing="false" text="Open…"/>
|
||||
<Menu mnemonicParsing="false" text="Open Recent"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Close"/>
|
||||
<MenuItem mnemonicParsing="false" text="Save"/>
|
||||
<MenuItem mnemonicParsing="false" text="Save As…"/>
|
||||
<MenuItem mnemonicParsing="false" text="Revert"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Preferences…"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Quit"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="同步">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="员工信息同步" onAction="#onPersonSyncAction"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="合同数据增量同步" onAction="#onContractSyncAction"/>
|
||||
<MenuItem mnemonicParsing="false" text="合同数据全量同步" onAction="#onContractAllSyncAction"/>
|
||||
<MenuItem mnemonicParsing="false" text="合同分组数据同步"
|
||||
onAction="#onContractGroupSyncAction"/>
|
||||
<MenuItem mnemonicParsing="false" text="合同分类数据同步" onAction="#onContractTypeSyncAction"/>
|
||||
<MenuItem mnemonicParsing="false" text="合同类型数据同步" onAction="#onContractKindSyncAction"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="供应商数据同步" onAction="#onVendorSyncAction"/>
|
||||
<MenuItem mnemonicParsing="false" text="供应商分类数据同步"
|
||||
onAction="#onVendorClassSyncAction"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="客户数据同步" onAction="#onCustomerSyncAction"/>
|
||||
<MenuItem mnemonicParsing="false" text="客户分类数据同步"
|
||||
onAction="#onCustomerClassSyncAction"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="Help">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" onAction="#onDateTransferAction" text="数据迁移"/>
|
||||
<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>
|
||||
<TableView fx:id="table" prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="companyColumn" prefWidth="200.0" text="公司"/>
|
||||
<TableColumn fx:id="latestUpdateColumn" prefWidth="160.0" text="更新日期"/>
|
||||
<TableColumn fx:id="cloudIdColumn" prefWidth="150.0" text="平台编号"/>
|
||||
<TableColumn fx:id="cloudLatestColumn" prefWidth="160.0"
|
||||
text="平台更新日期"/>
|
||||
<TableColumn fx:id="descriptionColumn" text="Description"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
<fx:include source="../part-footer.fxml" fx:id="footer"/>
|
||||
</children>
|
||||
</VBox>
|
||||
195
src/main/resources/ui/company/bank-account.fxml
Normal file
@@ -0,0 +1,195 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<BorderPane fx:id="root" maxHeight="900" maxWidth="1024" minHeight="300" minWidth="200" prefHeight="600.0"
|
||||
prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.company.controller.bank_account.BankAccountWindowController">
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="150.0"
|
||||
tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToHeight="true" fitToWidth="true" maxHeight="1.7976931348623157E308"
|
||||
maxWidth="1.7976931348623157E308" minWidth="150.0" pannable="true">
|
||||
<content>
|
||||
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
|
||||
minHeight="600.0" minWidth="150.0">
|
||||
<children>
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
|
||||
minWidth="150.0" VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="80.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="42.0" vgrow="NEVER"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="公司"/>
|
||||
<HBox GridPane.columnIndex="1">
|
||||
<children>
|
||||
<TextField fx:id="companyField" HBox.hgrow="ALWAYS"/>
|
||||
<Button fx:id="relativeCompanyBtn" mnemonicParsing="false"
|
||||
text="打开"/>
|
||||
</children>
|
||||
</HBox>
|
||||
|
||||
<Label text="银行" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="bankField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="1"/>
|
||||
|
||||
|
||||
<Label text="开户行" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="openingBankField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="2">
|
||||
<GridPane.margin>
|
||||
<Insets/>
|
||||
</GridPane.margin>
|
||||
</TextField>
|
||||
|
||||
<Label text="账号" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="bankAccountField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="3"/>
|
||||
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注" GridPane.rowIndex="4"/>
|
||||
<TextArea fx:id="descriptionField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="4"/>
|
||||
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="6">
|
||||
<children>
|
||||
|
||||
</children>
|
||||
</HBox>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="6"/>
|
||||
|
||||
|
||||
<Label text="创建日期" GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="createdField" promptText="yyyy-MM-dd"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="5"/>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0"/>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="entityTab" text="往来记录" disable="true">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
|
||||
<children>
|
||||
<VBox AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0"
|
||||
AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="5.0">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="重置"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="entityTable" editable="true" minHeight="200.0"
|
||||
prefHeight="400.0" VBox.vgrow="ALWAYS">
|
||||
<columns>
|
||||
<TableColumn fx:id="entityTable_idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="entityTable_catalogColumn" text="客户分组"/>
|
||||
<TableColumn fx:id="entityTable_nameColumn" prefWidth="280.0"
|
||||
text="客户名称"/>
|
||||
<TableColumn fx:id="entityTable_abbNameColumn" prefWidth="180.0"
|
||||
text="客户别名"/>
|
||||
<TableColumn fx:id="entityTable_codeColumn" prefWidth="100.0"
|
||||
text="系统编号"/>
|
||||
<TableColumn fx:id="entityTable_developDateColumn" prefWidth="90.0"
|
||||
text="发展日期"/>
|
||||
<TableColumn fx:id="entityTable_creatorColumn" prefWidth="100.0"
|
||||
text="创建人"/>
|
||||
<TableColumn fx:id="entityTable_modifyDateColumn" prefWidth="90.0"
|
||||
text="修改日期"/>
|
||||
<TableColumn fx:id="entityTable_modifierColumn" prefWidth="100.0"
|
||||
text="修改人"/>
|
||||
<TableColumn fx:id="entityTable_updatedDateColumn" prefWidth="100.0"
|
||||
text="同步日期"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="entityTable_menu_refresh"
|
||||
mnemonicParsing="false" text="刷新"/>
|
||||
<MenuItem fx:id="entityTable_menu_del" mnemonicParsing="false"
|
||||
text="删除"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
<Pane prefHeight="50.0">
|
||||
<children>
|
||||
<Label layoutX="14.0" layoutY="7.0" text="关联U8系统中的客户定义"/>
|
||||
</children>
|
||||
</Pane>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</content>
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
<Button fx:id="saveBtn" disable="true" text="保存(_S)"/>
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status"
|
||||
HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3"/>
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4"/>
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
57
src/main/resources/ui/company/company-manager.fxml
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<VBox prefHeight="468.0" prefWidth="737.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.company.controller.CompanyManagerWindowController">
|
||||
<children>
|
||||
<MenuBar VBox.vgrow="NEVER">
|
||||
<menus>
|
||||
<Menu text="文件(_F)">
|
||||
<items>
|
||||
<MenuItem text="新建公司…(_N)" onAction="#onCompanyCreateNewAction"/>
|
||||
<MenuItem text="公司文件重置…(_R)" onAction="#onReBuildFilesAction"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem text="首选项…(_P)" disable="true"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu text="合规(_V)">
|
||||
<items>
|
||||
<MenuItem text="合规验证(_V)" onAction="#onVerifyAction"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="帮助">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="关于…"/>
|
||||
</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" maxWidth="100.0" prefWidth="60.0" text="ID"/>
|
||||
<TableColumn fx:id="nameColumn" maxWidth="1000.0" minWidth="50.0" prefWidth="200.0"
|
||||
text="名称"/>
|
||||
<TableColumn fx:id="uniscidColumn" maxWidth="200.0" minWidth="50.0" prefWidth="150.0"
|
||||
text="社会统一信用号码"/>
|
||||
<TableColumn fx:id="entStatusColumn" maxWidth="100.0" minWidth="50.0" text="登记状态"/>
|
||||
<TableColumn fx:id="createdColumn" maxWidth="150.0" minWidth="50.0" prefWidth="100.0"
|
||||
sortType="DESCENDING" text="创建日期"/>
|
||||
<TableColumn fx:id="memoColumn" maxWidth="150.0" minWidth="50.0" prefWidth="100.0" text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<fx:include source="../part-footer.fxml" fx:id="footer"/>
|
||||
</children>
|
||||
</VBox>
|
||||
35
src/main/resources/ui/company/company-tab-bank-account.fxml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?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.manager.ds.company.controller.CompanyTabSkinBankAccount">
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<TextField fx:id="bankAccountSearchKeyField" promptText="检索关键字"/>
|
||||
<Button fx:id="bankAccountSearchBtn" mnemonicParsing="false" text="检索"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" 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="bankAccountTable_idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="bankAccountTable_bankColumn" text="银行"/>
|
||||
<TableColumn fx:id="bankAccountTable_openingBankColumn" prefWidth="300" text="开户行"/>
|
||||
<TableColumn fx:id="bankAccountTable_accountColumn" prefWidth="300.0" text="账号"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="bankAccountTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
<MenuItem fx:id="bankAccountTable_menu_add" mnemonicParsing="false" text="新建"/>
|
||||
<MenuItem fx:id="bankAccountTable_menu_del" mnemonicParsing="false" text="删除"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</AnchorPane>
|
||||
45
src/main/resources/ui/company/company-tab-black-list.fxml
Normal file
@@ -0,0 +1,45 @@
|
||||
<?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.manager.ds.company.controller.CompanyTabSkinBlackReason">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<TextField fx:id="blackListSearchKeyField" promptText="检索关键字"/>
|
||||
<Button fx:id="blackListSearchBtn" mnemonicParsing="false" text="检索"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" layoutX="138.0" layoutY="81.0" prefHeight="200.0" prefWidth="200.0"
|
||||
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="blackReasonTable_idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="blackReasonTable_typeColumn" prefWidth="75.0" text="类型"/>
|
||||
<TableColumn fx:id="blackReasonTable_applyNameColumn" prefWidth="75.0" text="来源"/>
|
||||
<TableColumn fx:id="blackReasonTable_blackReasonColumn" minWidth="50.0" prefWidth="120.0" text="原因"/>
|
||||
<TableColumn fx:id="blackReasonTable_descriptionColumn" minWidth="50.0" prefWidth="200.0" text="内容"/>
|
||||
<TableColumn fx:id="blackReasonTable_applyDateColumn" minWidth="60.0" prefWidth="75.0" text="生效日期"/>
|
||||
<TableColumn fx:id="blackReasonTable_updateTimeColumn" minWidth="60.0" prefWidth="75.0"
|
||||
text="更新日期"/>
|
||||
<TableColumn fx:id="blackReasonTable_createTimeColumn" minWidth="60.0" prefWidth="75.0"
|
||||
text="创建日期"/>
|
||||
<TableColumn fx:id="blackReasonTable_includeDateColumn" minWidth="60.0" prefWidth="75.0"
|
||||
text="导入日期"/>
|
||||
<TableColumn fx:id="blackReasonTable_keyColumn" prefWidth="75.0" text="关键字"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="blackReasonTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
<MenuItem fx:id="blackReasonTable_menu_update" mnemonicParsing="false" text="更新"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
39
src/main/resources/ui/company/company-tab-contact.fxml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?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.manager.ds.company.controller.CompanyTabSkinContact">
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<TextField fx:id="contactSearchKeyField" promptText="检索关键字"/>
|
||||
<Button fx:id="contactSearchBtn" mnemonicParsing="false" text="检索"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" 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="contactTable_idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="contactTable_nameColumn" text="姓名"/>
|
||||
<TableColumn fx:id="contactTable_positionColumn" text="职位"/>
|
||||
<TableColumn fx:id="contactTable_phoneColumn" prefWidth="120.0" text="电话"/>
|
||||
<TableColumn fx:id="contactTable_emailColumn" prefWidth="230.0" text="邮箱"/>
|
||||
<TableColumn fx:id="contactTable_addressColumn" prefWidth="200.0" text="地址"/>
|
||||
<TableColumn fx:id="contactTable_u8CodeColumn" prefWidth="75.0" text="用友代码"/>
|
||||
<TableColumn fx:id="contactTable_createdColumn" prefWidth="75.0" text="创建日期"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="contactTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
<MenuItem fx:id="contactTable_menu_add" mnemonicParsing="false" text="新建"/>
|
||||
<MenuItem fx:id="contactTable_menu_del" mnemonicParsing="false" text="删除"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</AnchorPane>
|
||||
64
src/main/resources/ui/company/company-tab-contract.fxml
Normal file
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.control.ComboBox?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Separator?>
|
||||
<?import javafx.scene.control.TableColumn?>
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.TableView?>
|
||||
<?import javafx.scene.control.ContextMenu?>
|
||||
<?import javafx.scene.control.MenuItem?>
|
||||
<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.manager.ds.company.controller.CompanyTabSkinContract">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<ComboBox fx:id="contractGroupSelector" editable="true" prefWidth="100.0" promptText="分组选择" />
|
||||
<TextField fx:id="contractSearchKeyField" promptText="检索关键字" />
|
||||
<Button fx:id="contractSearchBtn" mnemonicParsing="false" text="检索" />
|
||||
<Separator orientation="VERTICAL" />
|
||||
<Button fx:id="contractTabToolBtn1" mnemonicParsing="false" text="计算主合同编号" />
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="contractTable_idColumn" minWidth="50.0" prefWidth="60.0" text="ID" />
|
||||
<TableColumn fx:id="contractTable_codeColumn" prefWidth="85.0" text="合同编码" />
|
||||
<TableColumn fx:id="contractTable_nameColumn" maxWidth="1.7976931348623157E308" minWidth="80.0" prefWidth="200.0" text="名称" />
|
||||
<TableColumn fx:id="contractTable_stateColumn" minWidth="30.0" prefWidth="45.0" text="状态" visible="false" />
|
||||
<TableColumn fx:id="contractTable_groupColumn" prefWidth="75.0" text="分组" />
|
||||
<TableColumn fx:id="contractTable_typeColumn" prefWidth="110.0" text="类型" />
|
||||
<TableColumn fx:id="contractTable_kindColumn" prefWidth="100.0" text="性质" />
|
||||
<TableColumn fx:id="contractTable_parentCodeColumn" prefWidth="90.0" text="主合同号" visible="false" />
|
||||
<TableColumn fx:id="contractTable_setupDateColumn" prefWidth="75.0" sortType="DESCENDING" text="提交日期" />
|
||||
<TableColumn fx:id="contractTable_inureDateColumn" prefWidth="75.0" text="生效日期" />
|
||||
<TableColumn fx:id="contractTable_orderDateColumn" prefWidth="75.0" text="签订日期" />
|
||||
<TableColumn fx:id="contractTable_varyDateColumn" prefWidth="75.0" text="修改日期" />
|
||||
<TableColumn fx:id="contractTable_startDateColumn" prefWidth="75.0" text="开始日期" />
|
||||
<TableColumn fx:id="contractTable_endDateColumn" prefWidth="75.0" text="结束日期" />
|
||||
|
||||
<TableColumn fx:id="contractTable_setupPersonColumn" prefWidth="70.0" text="提交人" />
|
||||
<TableColumn fx:id="contractTable_inurePersonColumn" prefWidth="70.0" text="生效人" />
|
||||
<TableColumn fx:id="contractTable_varyPersonColumn" prefWidth="70.0" text="修改人" />
|
||||
|
||||
<TableColumn fx:id="contractTable_createdColumn" prefWidth="180.0" text="日期" />
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="contractTable_menu_refresh" mnemonicParsing="false" text="刷新" />
|
||||
<MenuItem fx:id="contractTable_menu_add" mnemonicParsing="false" text="新建" disable="true" />
|
||||
<MenuItem fx:id="contractTable_menu_open_in_explorer" mnemonicParsing="false" text="打开目录" />
|
||||
<MenuItem fx:id="contractTable_menu_update" mnemonicParsing="false" text="更新" />
|
||||
<MenuItem fx:id="contractTable_menu_del" mnemonicParsing="false" text="删除" />
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
50
src/main/resources/ui/company/company-tab-file.fxml
Normal file
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.TableView?>
|
||||
<?import javafx.scene.control.TableColumn?>
|
||||
<?import javafx.scene.control.ContextMenu?>
|
||||
<?import javafx.scene.control.MenuItem?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.control.Separator?>
|
||||
<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.manager.ds.company.controller.CompanyTabSkinFile">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<TextField fx:id="searchKeyField" promptText="检索关键字"/>
|
||||
<Button fx:id="searchBtn" mnemonicParsing="false" text="检索"/>
|
||||
<Separator orientation="VERTICAL"/>
|
||||
<Button fx:id="fileTable_file_move_btn" mnemonicParsing="false" text="迁移文件" />
|
||||
<Button fx:id="fileTable_file_retrieve_from_download_dir_btn" mnemonicParsing="false" text="从下载目录中获取资质文件" />
|
||||
<Button fx:id="fileTable_file_reset_btn" mnemonicParsing="false" text="重置" />
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" 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="idColumn" maxWidth="90.0" minWidth="50.0" text="ID" />
|
||||
<TableColumn fx:id="typeColumn" maxWidth="100.0" minWidth="70.0" text="类型" />
|
||||
<TableColumn fx:id="filePathColumn" minWidth="50.0" prefWidth="480.0" text="文件" />
|
||||
<TableColumn fx:id="applyDateColumn" maxWidth="100.0" minWidth="80.0" prefWidth="100.0" text="生效日期" />
|
||||
<TableColumn fx:id="expiringDateColumn" maxWidth="100.0" minWidth="80.0" prefWidth="100.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_copy_as_matched_by_contract" mnemonicParsing="false" text="复制配合合同" />
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
<columnResizePolicy>
|
||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
|
||||
</columnResizePolicy>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
27
src/main/resources/ui/company/company-tab-invoice.fxml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?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.manager.ds.company.controller.CompanyTabSkinInvoice">
|
||||
<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" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0"
|
||||
AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" minWidth="50.0" prefWidth="60.0" text="ID"/>
|
||||
<TableColumn fx:id="codeColumn" prefWidth="150.0" text="发票号"/>
|
||||
<TableColumn fx:id="dateColumn" prefWidth="130.0" text="发票日期"/>
|
||||
<TableColumn fx:id="descriptionColumn" prefWidth="180.0" text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
42
src/main/resources/ui/company/company-tab-oldname.fxml
Normal file
@@ -0,0 +1,42 @@
|
||||
<?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.manager.ds.company.controller.CompanyTabSkinOldName">
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<TextField fx:id="oldNameSearchKeyField" promptText="检索关键字"/>
|
||||
<Button fx:id="oldNameSearchBtn" mnemonicParsing="false" text="检索"/>
|
||||
<Separator orientation="VERTICAL"/>
|
||||
<Button fx:id="oldNameTable_create_btn" mnemonicParsing="false" text="新建"/>
|
||||
<Button fx:id="oldNameTable_merge_btn" 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="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="oldNameTable_idColumn" editable="false" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="oldNameTable_nameColumn" editable="false" minWidth="80.0" prefWidth="250.0"
|
||||
text="名称"/>
|
||||
<TableColumn fx:id="oldNameTable_beginDateColumn" minWidth="50.0" prefWidth="75.0" text="起始日期"/>
|
||||
<TableColumn fx:id="oldNameTable_endDateColumn" minWidth="50.0" prefWidth="75.0" text="截至日期"/>
|
||||
<TableColumn fx:id="oldNameTable_ambiguityColumn" prefWidth="75.0" text="歧义"/>
|
||||
<TableColumn fx:id="oldNameTable_pathColumn" editable="false" minWidth="100.0" prefWidth="120.0"
|
||||
text="路径"/>
|
||||
<TableColumn fx:id="oldNameTable_memoColumn" editable="false" minWidth="100.0" prefWidth="150.0"
|
||||
text="备注"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="oldNameTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
<MenuItem fx:id="oldNameTable_menu_del" mnemonicParsing="false" text="删除"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</AnchorPane>
|
||||
208
src/main/resources/ui/company/company-tab-other.fxml
Normal file
@@ -0,0 +1,208 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<ScrollPane fitToWidth="true" minHeight="300.0" minWidth="400.0" xmlns="http://javafx.com/javafx/22"
|
||||
xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.company.controller.CompanyTabSkinOther">
|
||||
<content>
|
||||
<VBox spacing="5.0">
|
||||
<children>
|
||||
<TitledPane fx:id="rkCloudPane" animated="false" collapsible="false" text="集团相关方平台"
|
||||
VBox.vgrow="NEVER">
|
||||
<content>
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="100.0"
|
||||
prefWidth="220.0"/>
|
||||
<ColumnConstraints halignment="CENTER" maxWidth="200.0" minWidth="80.0"
|
||||
prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="100.0"
|
||||
prefWidth="220.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="记录编号"/>
|
||||
<TextField fx:id="cloudRkIdField" editable="false" text="-" GridPane.columnIndex="1"/>
|
||||
<Label text="平台编号" GridPane.columnIndex="2"/>
|
||||
<TextField fx:id="cloudRkCloudIdField" layoutX="255.0" layoutY="14.0" text="-"
|
||||
GridPane.columnIndex="3"/>
|
||||
<Label text="更新日期" GridPane.columnIndex="2" GridPane.rowIndex="7"/>
|
||||
<TextField fx:id="cloudRkLatestField" editable="false" layoutX="255.0" layoutY="44.0"
|
||||
text="-" GridPane.columnIndex="3" GridPane.rowIndex="7"/>
|
||||
<Label text="客户评级" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="cloudRkCustomerGradeField" editable="false" text="-"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="2"/>
|
||||
<Label text="客户得分" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="cloudRkCustomerScoreField" editable="false" text="-"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="3"/>
|
||||
<Label text="企业资信评级" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="cloudRkCreditRankField" editable="false" text="-"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="1"/>
|
||||
<Label layoutX="44.0" layoutY="58.0" text="企业资信评级说明" GridPane.columnIndex="2"
|
||||
GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="cloudRkCreditRankDescriptionField" editable="false" layoutX="140.0"
|
||||
layoutY="54.0" text="-" GridPane.columnIndex="3" GridPane.rowIndex="1"/>
|
||||
<Label text="平台更新日期" GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="cloudRkCloudLatestField" editable="false" text="-"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="5"/>
|
||||
<Label text="黑名单更新日期" GridPane.rowIndex="7"/>
|
||||
<TextField fx:id="cloudRkBlackListUpdatedField" editable="false" text="-"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="7"/>
|
||||
<Label text="供方评级" GridPane.columnIndex="2" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="cloudRkVendorGradeField" editable="false" text="-"
|
||||
GridPane.columnIndex="3" GridPane.rowIndex="2"/>
|
||||
<Label text="供方得分" GridPane.columnIndex="2" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="cloudRkVendorScoreField" editable="false" text="-"
|
||||
GridPane.columnIndex="3" GridPane.rowIndex="3"/>
|
||||
<Label text="工商信息更新日期" wrapText="true" GridPane.rowIndex="6"/>
|
||||
<TextField fx:id="cloudRkEntUpdateField" editable="false" text="-"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="6"/>
|
||||
<Label fx:id="cloudRkVersionLabel" text="\@Version" GridPane.rowIndex="8"/>
|
||||
<Button mnemonicParsing="false" onAction="#onCloudRkUpdateButtonClickedAction"
|
||||
text="从平台更新" GridPane.columnIndex="3" GridPane.halignment="RIGHT"
|
||||
GridPane.rowIndex="8"/>
|
||||
<CheckBox fx:id="cloudRkAutoUpdateField" mnemonicParsing="false" text="自动更新"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="8"/>
|
||||
<Label text="客户评级说明" GridPane.rowIndex="4"/>
|
||||
<Label text="供方评级说明" GridPane.columnIndex="2" GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="cloudRkCustomerDescriptionField" editable="false" text="-"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="cloudRkVendorDescriptionField" editable="false" text="-"
|
||||
GridPane.columnIndex="3" GridPane.rowIndex="4"/>
|
||||
</children>
|
||||
</GridPane>
|
||||
</content>
|
||||
</TitledPane>
|
||||
<TitledPane fx:id="tycCloudPane" animated="false" collapsible="false" text="天眼查">
|
||||
<content>
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="100.0"
|
||||
prefWidth="220.0"/>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="100.0"
|
||||
prefWidth="220.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="记录编号"/>
|
||||
<Label text="平台编号" GridPane.columnIndex="2"/>
|
||||
<Label text="天眼评分" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="cloudTycIdField" editable="false" text="-" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="cloudTycCloudIdField" text="-" GridPane.columnIndex="3"/>
|
||||
<TextField fx:id="cloudTycLatestField" editable="false" layoutX="255.0" layoutY="44.0"
|
||||
text="-" GridPane.columnIndex="3" GridPane.rowIndex="2"/>
|
||||
<Label text="更新日期" GridPane.columnIndex="2" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="tycCloudPaneCloudScore" text="-" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="1"/>
|
||||
<Hyperlink onAction="#onTycCloudPaneHyperLinkClickedAction" text="浏览器打开"
|
||||
GridPane.columnIndex="3" GridPane.halignment="RIGHT"/>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="3">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" onAction="#onCloudTycUpdateButtonClickedAction"
|
||||
text="更新"/>
|
||||
<Button fx:id="tycCloudPaneSaveButton" mnemonicParsing="false" text="保存"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label fx:id="cloudTycVersionLabel" text="\@Version" GridPane.rowIndex="3"/>
|
||||
</children>
|
||||
</GridPane>
|
||||
</content>
|
||||
</TitledPane>
|
||||
<TitledPane fx:id="yuCloudPane" animated="false" collapsible="false" text="用友U8">
|
||||
<content>
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="100.0"
|
||||
prefWidth="220.0"/>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="100.0"
|
||||
prefWidth="220.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="记录编号"/>
|
||||
<TextField fx:id="cloudYuIdField" editable="false" text="-" GridPane.columnIndex="1"/>
|
||||
<Label text="U8编号" GridPane.columnIndex="2"/>
|
||||
<TextField fx:id="cloudYuCloudIdField" text="-" GridPane.columnIndex="3"/>
|
||||
<Label text="客户编号" GridPane.rowIndex="1"/>
|
||||
<Label text="更新日期" GridPane.columnIndex="2" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="cloudYuLatestField" editable="false" text="-" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="2"/>
|
||||
<Button fx:id="yuCloudPaneSaveButton" mnemonicParsing="false" text="更新"
|
||||
GridPane.columnIndex="3" GridPane.halignment="RIGHT" GridPane.rowIndex="3"/>
|
||||
<Label fx:id="cloudYuVersionLabel" text="\@Version" GridPane.rowIndex="3"/>
|
||||
</children>
|
||||
</GridPane>
|
||||
</content>
|
||||
</TitledPane>
|
||||
<TitledPane fx:id="extendInfoPane" animated="false" collapsible="false" text="扩展信息">
|
||||
<content>
|
||||
<GridPane>
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="100.0"
|
||||
prefWidth="220.0"/>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="100.0"
|
||||
prefWidth="220.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="记录编号"/>
|
||||
<TextField fx:id="extendInfoIdField" editable="false" text="-"
|
||||
GridPane.columnIndex="1"/>
|
||||
<Button fx:id="extendInfoPaneSaveButton" mnemonicParsing="false" text="更新"
|
||||
GridPane.columnIndex="3" GridPane.halignment="RIGHT" GridPane.rowIndex="2"/>
|
||||
<Label fx:id="extendInfoVersionLabel" text="\@Version" GridPane.rowIndex="2"/>
|
||||
<CheckBox fx:id="extendInfoDisableVerifyField" mnemonicParsing="false"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="1"/>
|
||||
<Label text="禁用核验" GridPane.rowIndex="1"/>
|
||||
</children>
|
||||
</GridPane>
|
||||
</content>
|
||||
</TitledPane>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
<padding>
|
||||
<Insets bottom="8.0" left="8.0" right="8.0" top="8.0"/>
|
||||
</padding>
|
||||
</ScrollPane>
|
||||
@@ -0,0 +1,46 @@
|
||||
<?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.manager.ds.company.controller.CompanyTabSkinPurchaseBillVoucher">
|
||||
<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" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0"
|
||||
AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="contractTable_idColumn" minWidth="50.0" prefWidth="60.0" text="ID"/>
|
||||
<TableColumn fx:id="contractTable_refIdColumn" text="PBVID" visible="false"/>
|
||||
<TableColumn fx:id="contractTable_codeColumn" prefWidth="85.0" text="编码"/>
|
||||
<TableColumn fx:id="invoiceColumn" prefWidth="110.0" text="发票"/>
|
||||
<TableColumn fx:id="employeeColumn" prefWidth="100.0" text="业务员"/>
|
||||
<TableColumn fx:id="makerColumn" prefWidth="90.0" text="制单人" />
|
||||
<TableColumn fx:id="makerDateColumn" prefWidth="130.0" text="制单日期"/>
|
||||
<TableColumn fx:id="modifyDateColumn" prefWidth="130.0" text="修改日期"/>
|
||||
|
||||
<TableColumn fx:id="verifierColumn" prefWidth="70.0" text="审核人"/>
|
||||
<TableColumn fx:id="verifierDateColumn" prefWidth="130.0" text="审核日期"/>
|
||||
|
||||
|
||||
<TableColumn fx:id="descriptionColumn" prefWidth="180.0" text="备注"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="contractTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
<MenuItem fx:id="contractTable_menu_add" mnemonicParsing="false" text="新建" disable="true"/>
|
||||
<MenuItem fx:id="contractTable_menu_del" mnemonicParsing="false" text="删除"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
253
src/main/resources/ui/company/company.fxml
Normal file
@@ -0,0 +1,253 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<BorderPane fx:id="root" prefHeight="600.0" prefWidth="900.0" xmlns="http://javafx.com/javafx/22"
|
||||
xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.company.controller.CompanyWindowController">
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
<Button onAction="#onCompanyOpenInExplorerAction" text="打开目录(_F)"/>
|
||||
<Button onAction="#onCompanyCompositeUpdateAction" text="合并更新(_U)"/>
|
||||
<Button fx:id="saveBtn" disable="true" text="保存(_S)"/>
|
||||
<Button onAction="#onCompanyVerifyAction" text="合规检测(_V)"/>
|
||||
<!-- tooltip="从集团相关方平台和用友系统中导入" -->
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" closable="false" text="工商信息">
|
||||
<content>
|
||||
<ScrollPane fitToWidth="true">
|
||||
<content>
|
||||
<GridPane minHeight="-Infinity" minWidth="0.0">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="100.0" prefWidth="200.0"/>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="100.0" prefWidth="200.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" maxHeight="30.0" minHeight="30.0"
|
||||
prefHeight="30.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="30.0" minHeight="30.0"
|
||||
prefHeight="30.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="30.0" minHeight="30.0"
|
||||
prefHeight="30.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="30.0" minHeight="30.0"
|
||||
prefHeight="30.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="30.0" minHeight="30.0"
|
||||
prefHeight="30.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="30.0" minHeight="30.0"
|
||||
prefHeight="30.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="30.0" minHeight="30.0"
|
||||
prefHeight="30.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="30.0" minHeight="30.0"
|
||||
prefHeight="30.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="30.0" minHeight="30.0"
|
||||
prefHeight="30.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="30.0" minHeight="30.0"
|
||||
prefHeight="30.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="30.0" minHeight="30.0"
|
||||
prefHeight="30.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="30.0" minHeight="30.0"
|
||||
prefHeight="30.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="60.0" minHeight="60.0"
|
||||
prefHeight="60.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="30.0" vgrow="NEVER"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="企业名称"/>
|
||||
<Label text="统一社会信用代码" GridPane.columnIndex="2" GridPane.rowIndex="2"/>
|
||||
<Label text="经营状态" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="uidField" GridPane.columnIndex="3" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="entStatusField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="nameField" GridPane.columnIndex="1" GridPane.columnSpan="3"/>
|
||||
<Label layoutX="20.0" layoutY="28.0" text="简称" GridPane.rowIndex="2"/>
|
||||
<Label layoutX="20.0" layoutY="58.0" text="成立日期" GridPane.columnIndex="2"
|
||||
GridPane.rowIndex="8"/>
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注" GridPane.rowIndex="12"/>
|
||||
<DatePicker fx:id="setupDateField" layoutX="202.0" layoutY="114.0"
|
||||
promptText="yyyy-MM-dd" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="8"/>
|
||||
<TextField fx:id="shortNameField" layoutX="202.0" layoutY="24.0"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="2"/>
|
||||
<Label layoutX="56.0" layoutY="118.0" text="类型" GridPane.columnIndex="2"
|
||||
GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="entTypeField" layoutX="140.0" layoutY="114.0"
|
||||
GridPane.columnIndex="3" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="industryField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="4"/>
|
||||
<Label text="所属行业" GridPane.rowIndex="4"/>
|
||||
<Label text="登记电话" GridPane.rowIndex="5"/>
|
||||
<Label text="存储目录" GridPane.rowIndex="9"/>
|
||||
<TextField fx:id="pathField" GridPane.columnIndex="1" GridPane.columnSpan="3"
|
||||
GridPane.rowIndex="9">
|
||||
<GridPane.margin>
|
||||
<Insets left="24.0"/>
|
||||
</GridPane.margin>
|
||||
</TextField>
|
||||
<CheckBox fx:id="pathExistField" mnemonicParsing="false"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="9"/>
|
||||
<Label text="创建日期" GridPane.rowIndex="11"/>
|
||||
<DatePicker fx:id="createdDateField" promptText="yyyy-MM-dd"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="11"/>
|
||||
<Label text="登记地址" GridPane.rowIndex="6"/>
|
||||
<Label text="通讯地址" GridPane.columnIndex="2" GridPane.rowIndex="6"/>
|
||||
<TextField fx:id="telephoneField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="regAddressField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="6"/>
|
||||
<TextField fx:id="addressField" GridPane.columnIndex="3" GridPane.rowIndex="6"/>
|
||||
<Label text="注册资本" GridPane.columnIndex="2" GridPane.rowIndex="7"/>
|
||||
<HBox GridPane.columnIndex="3" GridPane.rowIndex="7">
|
||||
<children>
|
||||
<TextField fx:id="registeredCapitalField" HBox.hgrow="ALWAYS"/>
|
||||
<TextField fx:id="registeredCapitalCurrencyField"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="法定代表人" GridPane.rowIndex="7"/>
|
||||
<TextField fx:id="legalRepresentativeField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="7"/>
|
||||
<Label text="营业期限" GridPane.rowIndex="8"/>
|
||||
<HBox GridPane.columnIndex="1" GridPane.rowIndex="8">
|
||||
<children>
|
||||
<DatePicker fx:id="operationPeriodBeginField" promptText="yyyy-MM-dd"
|
||||
HBox.hgrow="ALWAYS"/>
|
||||
<Label minWidth="-Infinity" text="至">
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" top="4.0"/>
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
<DatePicker fx:id="operationPeriodEndField" promptText="yyyy-MM-dd"
|
||||
HBox.hgrow="ALWAYS"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<TextArea fx:id="memoField" prefHeight="200.0" prefWidth="200.0" wrapText="true"
|
||||
GridPane.columnIndex="1" GridPane.columnSpan="3"
|
||||
GridPane.rowIndex="12"/>
|
||||
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="13"/>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="10">
|
||||
<children>
|
||||
<Button fx:id="companyPathCreateBtn" mnemonicParsing="false"
|
||||
text="创建目录"/>
|
||||
<Button fx:id="companyPathChangeBtn" mnemonicParsing="false"
|
||||
text="变更目录"/>
|
||||
<Button fx:id="companyPathSameAsNameBtn" mnemonicParsing="false"
|
||||
text="与企业名称同名"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Button fx:id="companyRenameBtn" mnemonicParsing="false" text="企业更名"
|
||||
GridPane.columnIndex="3" GridPane.halignment="RIGHT"
|
||||
GridPane.rowIndex="1"/>
|
||||
<Label text="区域" GridPane.columnIndex="2" GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="districtField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="5"/>
|
||||
</children>
|
||||
</GridPane>
|
||||
</content>
|
||||
<padding>
|
||||
<Insets bottom="8.0" left="8.0" right="8.0" top="8.0"/>
|
||||
</padding>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="oldNameTab" text="曾用名/别名">
|
||||
</Tab>
|
||||
<Tab fx:id="contactTab" text="联系人">
|
||||
</Tab>
|
||||
<Tab fx:id="blackReasonTab" text="黑名单">
|
||||
</Tab>
|
||||
<Tab fx:id="bankAccountTab" text="银行账户">
|
||||
</Tab>
|
||||
<Tab fx:id="customerTab" text="客户">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Pane fx:id="customerTab_pane1" layoutX="21.0" layoutY="21.0" prefHeight="150.0"
|
||||
prefWidth="400.0" AnchorPane.topAnchor="21.0">
|
||||
<children>
|
||||
<Label layoutX="32.0" layoutY="32.0" text="已关联"/>
|
||||
<Button fx:id="customerTab_openBtn" layoutX="250.0" layoutY="58.0"
|
||||
mnemonicParsing="false" prefWidth="80.0" text="打开"/>
|
||||
</children>
|
||||
</Pane>
|
||||
<Pane fx:id="customerTab_pane2" layoutX="21.0" layoutY="164.0" prefHeight="150.0"
|
||||
prefWidth="400.0" visible="false" AnchorPane.topAnchor="21.0">
|
||||
<children>
|
||||
<Label layoutX="32.0" layoutY="32.0" text="未关联"/>
|
||||
<Button fx:id="customerTab_createBtn" layoutX="250.0" layoutY="58.0"
|
||||
mnemonicParsing="false" prefWidth="80.0" text="创建"/>
|
||||
</children>
|
||||
</Pane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="vendorTab" text="供应商">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Pane fx:id="vendorTab_pane1" layoutX="21.0" layoutY="21.0" prefHeight="150.0"
|
||||
prefWidth="400.0" AnchorPane.topAnchor="21.0">
|
||||
<children>
|
||||
<Label layoutX="32.0" layoutY="32.0" text="已关联"/>
|
||||
<Button fx:id="vendorTab_openBtn" layoutX="250.0" layoutY="58.0"
|
||||
mnemonicParsing="false" prefWidth="80.0" text="打开"/>
|
||||
</children>
|
||||
</Pane>
|
||||
<Pane fx:id="vendorTab_pane2" layoutX="21.0" layoutY="164.0" prefHeight="150.0"
|
||||
prefWidth="400.0" visible="false" AnchorPane.topAnchor="21.0">
|
||||
<children>
|
||||
<Label layoutX="32.0" layoutY="32.0" text="未关联"/>
|
||||
<Button fx:id="vendorTab_createBtn" layoutX="250.0" layoutY="58.0"
|
||||
mnemonicParsing="false" prefWidth="80.0" text="创建"/>
|
||||
</children>
|
||||
</Pane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="contractTab" text="合同"/>
|
||||
<Tab fx:id="fileTab" text="文件"/>
|
||||
<Tab fx:id="invoiceTab" text="发票"/>
|
||||
<Tab fx:id="purchaseBillVoucherTab" text="采购账单"/>
|
||||
<Tab fx:id="otherTab" text="其他"/>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status"
|
||||
HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3"/>
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4"/>
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
138
src/main/resources/ui/company/company_old_name.fxml
Normal file
@@ -0,0 +1,138 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.CheckBox?>
|
||||
<?import javafx.scene.control.DatePicker?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.ScrollPane?>
|
||||
<?import javafx.scene.control.Tab?>
|
||||
<?import javafx.scene.control.TabPane?>
|
||||
<?import javafx.scene.control.TextArea?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.control.TitledPane?>
|
||||
<?import javafx.scene.control.ToolBar?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.BorderPane?>
|
||||
<?import javafx.scene.layout.ColumnConstraints?>
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<?import javafx.scene.control.TableView?>
|
||||
<BorderPane fx:id="root" maxHeight="900" maxWidth="1024" minHeight="300" minWidth="200" prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.ecep.contract.manager.ds.company.controller.old_name.CompanyOldNameWindowController">
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="150.0" tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToHeight="true" fitToWidth="true" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="150.0" pannable="true">
|
||||
<content>
|
||||
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="600.0" minWidth="150.0">
|
||||
<children>
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="150.0" VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="80.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="42.0" vgrow="NEVER" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="曾用名" />
|
||||
<Label text="是否歧义" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="nameField" GridPane.columnIndex="1" GridPane.columnSpan="3" />
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注" GridPane.rowIndex="4" />
|
||||
<Label text="起始日期" GridPane.rowIndex="2" />
|
||||
<Label text="存储文件夹" GridPane.rowIndex="3" />
|
||||
<TextField fx:id="pathField" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="3">
|
||||
<GridPane.margin>
|
||||
<Insets />
|
||||
</GridPane.margin>
|
||||
</TextField>
|
||||
<Label text="截至日期" GridPane.columnIndex="2" GridPane.rowIndex="2" />
|
||||
<DatePicker fx:id="startDateField" promptText="yyyy-MM-dd" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
||||
<DatePicker fx:id="endDateField" promptText="yyyy-MM-dd" GridPane.columnIndex="3" GridPane.rowIndex="2" />
|
||||
<TextArea fx:id="descriptionField" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="4" />
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="5">
|
||||
<children>
|
||||
<Button fx:id="saveBtn2" mnemonicParsing="false" text="更改存储文件夹" />
|
||||
<Button fx:id="saveBtn" disable="true" mnemonicParsing="false" text="保存" />
|
||||
</children>
|
||||
</HBox>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="5" />
|
||||
<CheckBox fx:id="ambiguityField" mnemonicParsing="false" text="歧义" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0" />
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab text="文件" fx:id="fileTab">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
|
||||
<TableView fx:id="fileTable" 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">
|
||||
</TableView>
|
||||
</AnchorPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab text="杂项">
|
||||
<content>
|
||||
<VBox>
|
||||
<children>
|
||||
<TitledPane animated="false" text="曾用名">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" />
|
||||
</content>
|
||||
</TitledPane>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
<Button layoutX="10.0" layoutY="14.0" mnemonicParsing="false" onAction="#onOldCompanyOpenInExplorerAction" text="打开目录" />
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" maxWidth="-1.0" text="Left status" HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3" />
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4" />
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane prefHeight="-1.0" prefWidth="-1.0" HBox.hgrow="ALWAYS" />
|
||||
<Label fx:id="rightStatusLabel" font="$x3" maxWidth="-1.0" text="Right status" textFill="$x4" HBox.hgrow="NEVER" />
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
BIN
src/main/resources/ui/company/customer/customer-icon.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,52 @@
|
||||
<?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.manager.ds.customer.controller.CustomerTabSkinEntity">
|
||||
<children>
|
||||
<VBox AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="5.0">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="重置"/>
|
||||
</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="entityTable_idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="entityTable_catalogColumn" text="客户分组"/>
|
||||
<TableColumn fx:id="entityTable_nameColumn" prefWidth="280.0" text="客户名称"/>
|
||||
<TableColumn fx:id="entityTable_abbNameColumn" prefWidth="180.0" text="客户别名"/>
|
||||
<TableColumn fx:id="entityTable_codeColumn" prefWidth="100.0" text="系统编号"/>
|
||||
<TableColumn fx:id="entityTable_developDateColumn" prefWidth="90.0" text="发展日期"/>
|
||||
<TableColumn fx:id="entityTable_creatorColumn" prefWidth="100.0" text="创建人"/>
|
||||
<TableColumn fx:id="entityTable_modifyDateColumn" prefWidth="90.0" text="修改日期"/>
|
||||
<TableColumn fx:id="entityTable_modifierColumn" prefWidth="100.0" text="修改人"/>
|
||||
<TableColumn fx:id="entityTable_updatedDateColumn" prefWidth="100.0" text="更新日期"/>
|
||||
<TableColumn fx:id="fetchedTimeColumn" prefWidth="130.0" text="同步时间"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="entityTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
<MenuItem fx:id="entityTable_menu_del" mnemonicParsing="false" text="删除"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
<Pane prefHeight="50.0">
|
||||
<children>
|
||||
<Label layoutX="14.0" layoutY="7.0" text="相关项是U8系统中的客户,更新日期表示数据从U8系统中获取数据有变化时记录的日期,同步时间表示发生从U8系统中获取时的时间戳。"/>
|
||||
</children>
|
||||
</Pane>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?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.manager.ds.customer.controller.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>
|
||||
@@ -0,0 +1,50 @@
|
||||
<?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.manager.ds.customer.controller.CustomerTabSkinSatisfactionSurvey">
|
||||
<children>
|
||||
<VBox AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="5.0">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="重置"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" minHeight="200.0" prefHeight="400.0" VBox.vgrow="ALWAYS">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="projectColumn" prefWidth="230.0" text="项目"/>
|
||||
<TableColumn fx:id="codeColumn" prefWidth="100.0" text="编号"
|
||||
style="-fx-alignment: center-right;"/>
|
||||
<TableColumn fx:id="dateColumn" prefWidth="85.0" text="日期"/>
|
||||
<TableColumn fx:id="totalScoreColumn" prefWidth="70.0" text="总分"/>
|
||||
<TableColumn fx:id="applicantColumn" prefWidth="75.0" text="申请人"/>
|
||||
<TableColumn fx:id="applyTimeColumn" prefWidth="130.0" text="申请时间"/>
|
||||
<TableColumn fx:id="descriptionColumn" prefWidth="180" text="备注"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="entityTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
<MenuItem fx:id="entityTable_menu_del" mnemonicParsing="false" text="删除"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
<Pane prefHeight="50.0">
|
||||
<children>
|
||||
<Label layoutX="14.0" layoutY="7.0" text="相关项是U8系统中的客户,更新日期表示数据从U8系统中获取数据有变化时记录的日期,同步时间表示发生从U8系统中获取时的时间戳。"/>
|
||||
</children>
|
||||
</Pane>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
146
src/main/resources/ui/company/customer/customer.fxml
Normal file
@@ -0,0 +1,146 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<BorderPane fx:id="root" prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/22"
|
||||
xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.customer.controller.CompanyCustomerWindowController">
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
<Button fx:id="OpenCustomerPathInExplorerBtn" text="打开目录(_F)"/>
|
||||
<Button fx:id="saveBtn" disable="true" text="保存(_S)"/>
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToHeight="true" fitToWidth="true" maxHeight="1.7976931348623157E308"
|
||||
maxWidth="1.7976931348623157E308" minWidth="150.0" pannable="true">
|
||||
<content>
|
||||
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
|
||||
minHeight="600.0" minWidth="150.0">
|
||||
<children>
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
|
||||
minWidth="150.0" VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="80.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="42.0" vgrow="NEVER"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="发展日期 *" GridPane.columnIndex="2"/>
|
||||
<DatePicker fx:id="developDateField" promptText="yyyy-MM-dd"
|
||||
GridPane.columnIndex="3"/>
|
||||
<Label text="存储文件夹" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="pathField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="2">
|
||||
<GridPane.margin>
|
||||
<Insets/>
|
||||
</GridPane.margin>
|
||||
</TextField>
|
||||
<Label text="创建日期" GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="createdField" promptText="yyyy-MM-dd"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="5"/>
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注" GridPane.rowIndex="4"/>
|
||||
<TextArea fx:id="descriptionField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="4"/>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="6">
|
||||
<children>
|
||||
|
||||
</children>
|
||||
</HBox>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="6"/>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="3">
|
||||
<children>
|
||||
<Button fx:id="createPathBtn" mnemonicParsing="false"
|
||||
text="创建目录"/>
|
||||
<Button fx:id="changePathBtn" mnemonicParsing="false"
|
||||
text="变更目录"/>
|
||||
<Button fx:id="pathAsNameBtn" mnemonicParsing="false"
|
||||
text="与合同名称同名"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="联系人" GridPane.rowIndex="1"/>
|
||||
<Label text="公司"/>
|
||||
<HBox GridPane.columnIndex="1">
|
||||
<children>
|
||||
<TextField fx:id="companyField" HBox.hgrow="ALWAYS"/>
|
||||
<Button fx:id="relativeCompanyBtn" mnemonicParsing="false"
|
||||
text="打开"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<TextField fx:id="contactField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="1"/>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0"/>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="fileTab" text="文件">
|
||||
</Tab>
|
||||
<Tab fx:id="entityTab" text="关联项">
|
||||
</Tab>
|
||||
<Tab fx:id="satisfactionTab" text="满意度调查">
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status"
|
||||
HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3"/>
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4"/>
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
@@ -0,0 +1,220 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.CheckBox?>
|
||||
<?import javafx.scene.control.DatePicker?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.Menu?>
|
||||
<?import javafx.scene.control.MenuBar?>
|
||||
<?import javafx.scene.control.MenuItem?>
|
||||
<?import javafx.scene.control.RadioButton?>
|
||||
<?import javafx.scene.control.ScrollPane?>
|
||||
<?import javafx.scene.control.SplitPane?>
|
||||
<?import javafx.scene.control.TextArea?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.control.ToggleGroup?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.ColumnConstraints?>
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
|
||||
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="800.0" prefWidth="1280.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.ecep.contract.manager.ds.customer.controller.CompanyCustomerEvaluationFormFileWindowController">
|
||||
<children>
|
||||
<MenuBar>
|
||||
<menus>
|
||||
<Menu mnemonicParsing="false" text="File">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="Close" />
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="Edit">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="Delete" />
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="Help">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="About" />
|
||||
</items>
|
||||
</Menu>
|
||||
</menus>
|
||||
</MenuBar>
|
||||
<SplitPane fx:id="splitPane" dividerPositions="0.5" prefHeight="160.0" prefWidth="200.0" VBox.vgrow="ALWAYS">
|
||||
<items>
|
||||
<ScrollPane fx:id="leftPane" fitToHeight="true" fitToWidth="true" pannable="true">
|
||||
<ImageView fx:id="imageView" fitHeight="600.0" fitWidth="500.0" pickOnBounds="true" preserveRatio="true" AnchorPane.bottomAnchor="3.0" AnchorPane.leftAnchor="3.0" AnchorPane.rightAnchor="6.0" AnchorPane.topAnchor="3.0">
|
||||
</ImageView>
|
||||
</ScrollPane>
|
||||
<GridPane hgap="5.0" vgap="3.0">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="RIGHT" hgrow="SOMETIMES" minWidth="10.0" prefWidth="80.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" minWidth="10.0" prefWidth="100.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="28.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="28.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="28.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="28.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="28.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="28.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="28.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="248.0" prefHeight="250.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="63.0" prefHeight="65.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints maxHeight="100.0" minHeight="98.0" prefHeight="100.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints maxHeight="30.0" minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints maxHeight="1.7976931348623157E308" minHeight="10.0" prefHeight="10.0" vgrow="ALWAYS" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="文件" GridPane.rowIndex="1" />
|
||||
<Label text="ID" />
|
||||
<Label fx:id="idField" text="10000" GridPane.columnIndex="1" />
|
||||
<TextField fx:id="filePathField" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
||||
<Label text="可编辑文件" GridPane.rowIndex="2" />
|
||||
<Label text="生效日期" GridPane.rowIndex="3" />
|
||||
<Label text="有效" GridPane.rowIndex="4" />
|
||||
<Label text="备注" GridPane.rowIndex="9" />
|
||||
<CheckBox fx:id="validField" mnemonicParsing="false" GridPane.columnIndex="1" GridPane.rowIndex="4" />
|
||||
<TextField fx:id="editFilePathField" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
||||
<DatePicker fx:id="signDateField" GridPane.columnIndex="1" GridPane.rowIndex="3" />
|
||||
<TextArea prefHeight="46.0" prefWidth="341.0" GridPane.columnIndex="1" GridPane.rowIndex="9" />
|
||||
<Label text="经济指标" GridPane.rowIndex="5" />
|
||||
<Label text="综合指标" GridPane.rowIndex="6" />
|
||||
<Label text="资信指标" GridPane.rowIndex="7" />
|
||||
<HBox alignment="CENTER_LEFT" spacing="6.0" GridPane.columnIndex="1" GridPane.rowIndex="5">
|
||||
<children>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" selected="true" text="VIP客户" userData="VIP">
|
||||
<toggleGroup>
|
||||
<ToggleGroup fx:id="catalog" />
|
||||
</toggleGroup>
|
||||
</RadioButton>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="A类客户" toggleGroup="$catalog" userData="A" />
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="B类客户" toggleGroup="$catalog" userData="B" />
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="C类客户" toggleGroup="$catalog" userData="C" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER_LEFT" layoutX="115.0" layoutY="175.0" spacing="6.0" GridPane.columnIndex="1" GridPane.rowIndex="6">
|
||||
<children>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" selected="true" text="较好" userData="较好">
|
||||
<toggleGroup>
|
||||
<ToggleGroup fx:id="level" />
|
||||
</toggleGroup>
|
||||
</RadioButton>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="好" toggleGroup="$level" userData="好" />
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="一般" toggleGroup="$level" userData="一般" />
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="差" toggleGroup="$level" userData="差" />
|
||||
</children>
|
||||
</HBox>
|
||||
<VBox spacing="5.0" GridPane.columnIndex="1" GridPane.rowIndex="7">
|
||||
<children>
|
||||
<Label text="1. 在行业内的资信口碑" />
|
||||
<HBox alignment="CENTER_LEFT" spacing="6.0">
|
||||
<children>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" selected="true" text="(50)好" userData="50">
|
||||
<toggleGroup>
|
||||
<ToggleGroup fx:id="score1" />
|
||||
</toggleGroup>
|
||||
</RadioButton>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="(30)教好" toggleGroup="$score1" userData="30" />
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="(20)一般" toggleGroup="$score1" userData="20" />
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="(10)差" toggleGroup="$score1" userData="10" />
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="2. 自身的支付实力">
|
||||
<VBox.margin>
|
||||
<Insets top="12.0" />
|
||||
</VBox.margin></Label>
|
||||
<HBox alignment="CENTER_LEFT" layoutX="10.0" layoutY="30.0" spacing="6.0">
|
||||
<children>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" selected="true" text="(50)好" userData="50">
|
||||
<toggleGroup>
|
||||
<ToggleGroup fx:id="score2" />
|
||||
</toggleGroup>
|
||||
</RadioButton>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="(30)教好" toggleGroup="$score2" userData="30" />
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="(20)一般" toggleGroup="$score2" userData="20" />
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="(10)差" toggleGroup="$score2" userData="10" />
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="3. 每笔贷款是否按时到账">
|
||||
<VBox.margin>
|
||||
<Insets top="12.0" />
|
||||
</VBox.margin></Label>
|
||||
<HBox alignment="CENTER_LEFT" layoutX="10.0" layoutY="71.0" spacing="6.0">
|
||||
<children>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" selected="true" text="(50)是" userData="50">
|
||||
<toggleGroup>
|
||||
<ToggleGroup fx:id="score3" />
|
||||
</toggleGroup>
|
||||
</RadioButton>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="(30)否" toggleGroup="$score3" userData="30" />
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="(20)不稳定" toggleGroup="$score3" userData="20" />
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="4. 合同付款方式">
|
||||
<VBox.margin>
|
||||
<Insets top="12.0" />
|
||||
</VBox.margin></Label>
|
||||
<HBox alignment="CENTER_LEFT" layoutX="10.0" layoutY="112.0" spacing="6.0">
|
||||
<children>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" selected="true" text="(50)电汇" userData="50">
|
||||
<toggleGroup>
|
||||
<ToggleGroup fx:id="score4" />
|
||||
</toggleGroup>
|
||||
</RadioButton>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="(30)电子银行承兑" toggleGroup="$score4" userData="30" />
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="(20)资质银行承兑" toggleGroup="$score4" userData="20" />
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="(10)其他" toggleGroup="$score4" userData="10" />
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="5. 订单频率">
|
||||
<VBox.margin>
|
||||
<Insets top="12.0" />
|
||||
</VBox.margin></Label>
|
||||
<HBox alignment="CENTER_LEFT" layoutX="10.0" layoutY="153.0" spacing="6.0">
|
||||
<children>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" selected="true" text="(50)约每季度一次" userData="50">
|
||||
<toggleGroup>
|
||||
<ToggleGroup fx:id="score5" />
|
||||
</toggleGroup>
|
||||
</RadioButton>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="(30)约每半年一次" toggleGroup="$score5" userData="30" />
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="(20)约每年一次" toggleGroup="$score5" userData="20">
|
||||
</RadioButton>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="(10)不稳定" toggleGroup="$score5" userData="10" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
<Label text="资信等级" GridPane.rowIndex="8" />
|
||||
<VBox spacing="6.0" GridPane.columnIndex="1" GridPane.rowIndex="8">
|
||||
<children>
|
||||
<Label fx:id="totalCreditScoreLabel" text="合计总分:" />
|
||||
<HBox alignment="CENTER_LEFT" spacing="6.0">
|
||||
<children>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" selected="true" text="★★★★" userData="4">
|
||||
<toggleGroup>
|
||||
<ToggleGroup fx:id="creditLevel" />
|
||||
</toggleGroup>
|
||||
</RadioButton>
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="★★★" toggleGroup="$creditLevel" userData="3" />
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="★★" toggleGroup="$creditLevel" userData="2" />
|
||||
<RadioButton mnemonicParsing="false" prefWidth="140.0" text="★" toggleGroup="$creditLevel" userData="1" />
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="★★★★≤200分,★★★≤150分,★★≤100分,★≤60分" />
|
||||
</children>
|
||||
</VBox>
|
||||
<Button mnemonicParsing="false" onAction="#onSaveAction" text="保存" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="10" />
|
||||
</children>
|
||||
<padding>
|
||||
<Insets right="5.0" />
|
||||
</padding>
|
||||
</GridPane>
|
||||
</items>
|
||||
</SplitPane>
|
||||
</children>
|
||||
</VBox>
|
||||
62
src/main/resources/ui/company/customer/customer_manager.fxml
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<VBox prefHeight="760.0" prefWidth="1120.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.customer.controller.CompanyCustomerManagerWindowController">
|
||||
<children>
|
||||
<MenuBar VBox.vgrow="NEVER">
|
||||
<menus>
|
||||
<Menu mnemonicParsing="false" text="客户">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="新建…" onAction="#onCreateNewCustomerAction"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="文件">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="重置…" onAction="#onReBuildFilesAction"/>
|
||||
<MenuItem mnemonicParsing="false" text="导出台账…" onAction="#onExportAction"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Preferences…"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="帮助">
|
||||
<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" maxWidth="100.0" prefWidth="60.0" text="ID"
|
||||
sortType="DESCENDING"/>
|
||||
<TableColumn fx:id="companyColumn" prefWidth="200.0" minWidth="50.0" text="公司名称"/>
|
||||
<TableColumn fx:id="catalogColumn" prefWidth="75.0" minWidth="50.0" text="分组"/>
|
||||
<TableColumn fx:id="developDateColumn" prefWidth="120.0" minWidth="50.0" text="开发日期"/>
|
||||
<TableColumn fx:id="pathColumn" prefWidth="250.0" minWidth="50.0" text="文件目录"/>
|
||||
<TableColumn fx:id="createdColumn" prefWidth="160.0" minWidth="50.0" text="创建日期"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" onAction="#onBaseTableRefreshAction" text="刷新"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<fx:include source="../../part-footer.fxml" fx:id="footer"/>
|
||||
</children>
|
||||
</VBox>
|
||||
60
src/main/resources/ui/company/vendor/group-manager.fxml
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
<?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.manager.ds.vendor.controller.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>
|
||||
181
src/main/resources/ui/company/vendor/group.fxml
vendored
Normal file
@@ -0,0 +1,181 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.CheckBox?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.ScrollPane?>
|
||||
<?import javafx.scene.control.Tab?>
|
||||
<?import javafx.scene.control.TabPane?>
|
||||
<?import javafx.scene.control.TextArea?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.control.ToolBar?>
|
||||
<?import javafx.scene.layout.BorderPane?>
|
||||
<?import javafx.scene.layout.ColumnConstraints?>
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<?import org.controlsfx.control.ListSelectionView?>
|
||||
|
||||
<BorderPane fx:id="root" prefHeight="500.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.ecep.contract.manager.ds.vendor.controller.group.VendorGroupWindowController">
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToHeight="true" fitToWidth="true" pannable="true">
|
||||
<content>
|
||||
<VBox>
|
||||
<children>
|
||||
<GridPane VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="100.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="42.0" vgrow="NEVER" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="名称" />
|
||||
<TextField fx:id="nameField" GridPane.columnIndex="1">
|
||||
<GridPane.margin>
|
||||
<Insets />
|
||||
</GridPane.margin>
|
||||
</TextField>
|
||||
|
||||
<Label text="编号" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="codeField" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
||||
|
||||
<Label text="启用" GridPane.rowIndex="3" />
|
||||
<CheckBox fx:id="activeField" mnemonicParsing="false" GridPane.columnIndex="1" GridPane.rowIndex="3" />
|
||||
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="5" />
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="5">
|
||||
<children>
|
||||
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="备注" GridPane.rowIndex="4" />
|
||||
<TextArea fx:id="descriptionField" prefHeight="200.0" prefRowCount="5" prefWidth="200.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="4" />
|
||||
<Label text="供应商比价" GridPane.rowIndex="2" />
|
||||
<VBox spacing="5.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="2">
|
||||
<children>
|
||||
<CheckBox fx:id="priceComparisonField" mnemonicParsing="false" text="是否启用供应商比价流程" />
|
||||
<CheckBox fx:id="requireQuotationSheetForBidField" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" text="选中的供应商是否可以不要求提供单独的报价表" />
|
||||
<Label text="开启供应商比价流程,按照制度要求,需三方比价,供应商需提供报价" />
|
||||
</children>
|
||||
<GridPane.margin>
|
||||
<Insets bottom="6.0" top="6.0" />
|
||||
</GridPane.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0" />
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="requireFilesTab" text="必须的文件">
|
||||
<content>
|
||||
<HBox>
|
||||
<children>
|
||||
<ListSelectionView fx:id="fileTypesField">
|
||||
<sourceHeader>
|
||||
<Label text="可选功能" />
|
||||
</sourceHeader>
|
||||
<targetHeader>
|
||||
<Label text="已选功能" />
|
||||
</targetHeader>
|
||||
<targetFooter>
|
||||
<Button disable="true" text="保存" />
|
||||
</targetFooter>
|
||||
</ListSelectionView>
|
||||
<VBox spacing="8.0" HBox.hgrow="ALWAYS">
|
||||
<children>
|
||||
<Label text="功能详情" />
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="100.0">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
<ColumnConstraints />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="100.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="42.0" vgrow="NEVER" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="频率" />
|
||||
<TextField fx:id="frequencyField" GridPane.columnIndex="1">
|
||||
<GridPane.margin>
|
||||
<Insets />
|
||||
</GridPane.margin>
|
||||
</TextField>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="7">
|
||||
<children>
|
||||
<Button fx:id="saveBtn1" disable="true" mnemonicParsing="false" text="保存" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</GridPane>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</content>
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
<Button fx:id="saveBtn" disable="true" text="保存(_S)" />
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status" HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3" />
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4" />
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS" />
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER" />
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
51
src/main/resources/ui/company/vendor/vendor-tab-entity.fxml
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?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.manager.ds.vendor.controller.EntityTabSkin">
|
||||
<children>
|
||||
<VBox AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="5.0">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="重置"/>
|
||||
</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="entityTable_idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="entityTable_catalogColumn" text="供应商分组"/>
|
||||
<TableColumn fx:id="entityTable_nameColumn" prefWidth="280.0" text="客户名称"/>
|
||||
<TableColumn fx:id="entityTable_abbNameColumn" prefWidth="180.0" text="客户别名"/>
|
||||
<TableColumn fx:id="entityTable_codeColumn" prefWidth="100.0" text="系统编号"/>
|
||||
<TableColumn fx:id="entityTable_developDateColumn" prefWidth="90.0" text="发展日期"/>
|
||||
<TableColumn fx:id="entityTable_creatorColumn" prefWidth="100.0" text="创建人"/>
|
||||
<TableColumn fx:id="entityTable_modifyDateColumn" prefWidth="90.0" text="修改日期"/>
|
||||
<TableColumn fx:id="entityTable_modifierColumn" prefWidth="100.0" text="修改人"/>
|
||||
<TableColumn fx:id="entityTable_updatedDateColumn" prefWidth="100.0" text="同步日期"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="entityTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
<MenuItem fx:id="entityTable_menu_del" mnemonicParsing="false" text="删除"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
<Pane prefHeight="50.0">
|
||||
<children>
|
||||
<Label layoutX="14.0" layoutY="7.0" text="关联U8系统中的供应商定义"/>
|
||||
</children>
|
||||
</Pane>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
51
src/main/resources/ui/company/vendor/vendor-tab-file.fxml
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?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>
|
||||
150
src/main/resources/ui/company/vendor/vendor.fxml
vendored
Normal file
@@ -0,0 +1,150 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<BorderPane fx:id="root" maxHeight="900" maxWidth="1024" minHeight="300" minWidth="200" prefHeight="600.0"
|
||||
prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.vendor.controller.CompanyVendorWindowController">
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToWidth="true" pannable="true">
|
||||
<content>
|
||||
<VBox>
|
||||
<children>
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
|
||||
minWidth="150.0" VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="120.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="42.0" vgrow="NEVER"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="分组"/>
|
||||
<ComboBox fx:id="catalogField" GridPane.columnIndex="1"/>
|
||||
|
||||
<Label text="联系人" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="contactField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="3"/>
|
||||
|
||||
<Label text="发展日期" GridPane.rowIndex="2"/>
|
||||
<DatePicker fx:id="developDateField" promptText="yyyy-MM-dd"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="2"/>
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注" GridPane.rowIndex="7"/>
|
||||
<Label text="采购的产品" GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="purchaseField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="4"/>
|
||||
<Label text="存储文件夹" GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="pathField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="5">
|
||||
<GridPane.margin>
|
||||
<Insets/>
|
||||
</GridPane.margin>
|
||||
</TextField>
|
||||
<TextArea fx:id="descriptionField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="7"/>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="9">
|
||||
<children>
|
||||
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="创建日期" GridPane.rowIndex="8"/>
|
||||
<TextField fx:id="createdField" promptText="yyyy-MM-dd"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="8"/>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="9"/>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="6">
|
||||
<children>
|
||||
<Button fx:id="createPathBtn" mnemonicParsing="false"
|
||||
text="创建目录"/>
|
||||
<Button fx:id="changePathBtn" mnemonicParsing="false"
|
||||
text="变更目录"/>
|
||||
<Button fx:id="pathAsNameBtn" mnemonicParsing="false"
|
||||
text="与合同名称同名"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="协议供货商" GridPane.rowIndex="1"/>
|
||||
<CheckBox fx:id="protocolProviderField" mnemonicParsing="false"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="1"/>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0"/>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="fileTab" text="文件">
|
||||
</Tab>
|
||||
<Tab fx:id="entityTab" text="关联项">
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
<Button onAction="#onCompanyVendorOpenInExplorerAction" text="打开目录(_F)"/>
|
||||
<Button fx:id="saveBtn" disable="true" text="保存(_S)"/>
|
||||
<Button fx:id="relativeCompanyBtn" text="关联公司(_L)"/>
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status"
|
||||
HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3"/>
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4"/>
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
34
src/main/resources/ui/company/vendor/vendor_approved_list-tab-file.fxml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<?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.manager.ds.vendor.controller.approved_list.CompanyVendorApprovedListTabSkinFiles">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<TextField fx:id="searchKeyField" promptText="检索关键字"/>
|
||||
<Button fx:id="searchBtn" mnemonicParsing="false" text="检索"/>
|
||||
<Separator orientation="VERTICAL"/>
|
||||
<Button mnemonicParsing="false" onAction="#onFileReBuildingAction" text="重置"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" 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" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="fileTable_filePathColumn" prefWidth="400.0" text="文件"/>
|
||||
<TableColumn fx:id="fileTable_signDateColumn" prefWidth="100.0" text="生效日期"/>
|
||||
<TableColumn fx:id="fileTable_descriptionColumn" prefWidth="150.0" text="备注"/>
|
||||
</columns>
|
||||
<columnResizePolicy>
|
||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
|
||||
</columnResizePolicy>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
82
src/main/resources/ui/company/vendor/vendor_approved_list-tab-vendor.fxml
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
<?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.manager.ds.vendor.controller.approved_list.CompanyVendorApprovedListTabSkinVendors">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<ComboBox fx:id="typeSelector" prefWidth="100.0" promptText="分类选择"/>
|
||||
<TextField fx:id="searchKeyField" promptText="检索关键字"/>
|
||||
<Button fx:id="searchBtn" mnemonicParsing="false" text="检索"/>
|
||||
<Separator orientation="VERTICAL"/>
|
||||
<Button disable="true" mnemonicParsing="false" onAction="#onVendorTableCreateNewAction" text="添加"/>
|
||||
<MenuButton mnemonicParsing="false" text="选项">
|
||||
<items>
|
||||
<Menu text="日志">
|
||||
<items>
|
||||
<CheckMenuItem fx:id="logUnqualifiedVendorChecker" mnemonicParsing="false"
|
||||
selected="true" text="不合格供应商"/>
|
||||
<CheckMenuItem fx:id="logTypicallyVendorNoThreeYearContractChecker"
|
||||
mnemonicParsing="false" selected="true" text="一般供应商三年无合同"/>
|
||||
<CheckMenuItem fx:id="logTypicallyVendorNoThreeYearContractDetailChecker"
|
||||
mnemonicParsing="false" selected="true" text="一般供应商三年无合同详情"/>
|
||||
<CheckMenuItem fx:id="logUnqualifiedVendorRemoveChecker" mnemonicParsing="false"
|
||||
selected="true" text="移除不合格供应商"/>
|
||||
</items>
|
||||
</Menu>
|
||||
|
||||
<CheckMenuItem fx:id="verifyVendorChecker" mnemonicParsing="false" selected="true"
|
||||
text="验证供应商"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<CheckMenuItem fx:id="onlyShowVerifiedChecker" mnemonicParsing="false" selected="true"
|
||||
text="只显示未通过的"/>
|
||||
<CustomMenuItem hideOnClick="false" text="Unspecified Action">
|
||||
<content>
|
||||
<Spinner fx:id="qualifiedVendorEveryYearMinContractsSpinner" editable="true"
|
||||
initialValue="2" max="100" min="1" prefWidth="80.0" promptText="1123"/>
|
||||
</content>
|
||||
</CustomMenuItem>
|
||||
</items>
|
||||
</MenuButton>
|
||||
<Button layoutX="336.0" layoutY="20.0" mnemonicParsing="false" onAction="#onVendorTableImportAction"
|
||||
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" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0"
|
||||
AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" minWidth="50.0" prefWidth="60.0" text="ID"/>
|
||||
<TableColumn fx:id="typeColumn" text="分类"/>
|
||||
<TableColumn fx:id="vendorColumn" maxWidth="1.7976931348623157E308" minWidth="80.0"
|
||||
prefWidth="300.0" text="供方"/>
|
||||
<TableColumn fx:id="descriptionColumn" editable="false" minWidth="100.0" prefWidth="200.0"
|
||||
text="备注"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" onAction="#onVendorTableRefreshAction" text="刷新"/>
|
||||
<MenuItem mnemonicParsing="false" onAction="#onVendorTableUpdateAction" text="更新"/>
|
||||
<Menu fx:id="vendorTableContextChangeTypeMenu" mnemonicParsing="false" text="变更类型为">
|
||||
</Menu>
|
||||
<MenuItem mnemonicParsing="false" onAction="#onVendorTableShowVendorAction" text="查看供应商"/>
|
||||
<MenuItem mnemonicParsing="false" onAction="#onVendorTableDeleteAction" text="删除"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
<columnResizePolicy>
|
||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
|
||||
</columnResizePolicy>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
147
src/main/resources/ui/company/vendor/vendor_approved_list.fxml
vendored
Normal file
@@ -0,0 +1,147 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.image.Image?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<BorderPane fx:id="root" maxHeight="900" maxWidth="1024" minHeight="300" minWidth="200" prefHeight="600.0"
|
||||
prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.vendor.controller.approved_list.CompanyVendorApprovedListWindowController">
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="150.0"
|
||||
tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToWidth="true" maxHeight="1.7976931348623157E308"
|
||||
maxWidth="1.7976931348623157E308" minWidth="150.0" pannable="true">
|
||||
<content>
|
||||
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
|
||||
minHeight="600.0" minWidth="150.0">
|
||||
<children>
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
|
||||
minWidth="150.0" VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="80.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="42.0" vgrow="NEVER"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="标题"/>
|
||||
<TextField fx:id="titleField" GridPane.columnIndex="1"/>
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注" GridPane.rowIndex="4"/>
|
||||
<TextArea fx:id="descriptionField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="4"/>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="5">
|
||||
<children>
|
||||
|
||||
</children>
|
||||
</HBox>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="5"/>
|
||||
<Label text="发布日期" GridPane.rowIndex="1"/>
|
||||
<DatePicker fx:id="publishDateField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="1"/>
|
||||
<Label text="存储目录" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="pathField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="2"/>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="3">
|
||||
<children>
|
||||
<Button mnemonicParsing="false"
|
||||
onAction="#onApprovedListCreatePathAction"
|
||||
text="创建目录"/>
|
||||
<Button disable="true" layoutX="524.0" layoutY="10.0"
|
||||
mnemonicParsing="false"
|
||||
onAction="#onApprovedListChangePathAction"
|
||||
text="变更目录"/>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0"/>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="vendorTab" text="供方清单">
|
||||
</Tab>
|
||||
<Tab fx:id="fileTab" text="文件">
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="800.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
<Button mnemonicParsing="false" onAction="#onVendorApprovedListOpenInExplorerAction" text="打开目录">
|
||||
<graphic>
|
||||
<ImageView fitHeight="18.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@../../img/edit_order_mag_glass_icon.gif"/>
|
||||
</image>
|
||||
</ImageView>
|
||||
</graphic>
|
||||
<tooltip>
|
||||
<Tooltip text="在资源管理器中打开供方名录所在目录"/>
|
||||
</tooltip>
|
||||
</Button>
|
||||
<Button fx:id="saveBtn" disable="true" text="保存(_S)"/>
|
||||
<Button fx:id="verifyBtn" disable="true" mnemonicParsing="false"
|
||||
onAction="#onVendorApprovedListVerifyAction" text="合规检测"/>
|
||||
<Button mnemonicParsing="false" onAction="#onVendorTableExportAction" text="生成名录">
|
||||
<tooltip>
|
||||
<Tooltip text="根据模板生成或更新供方名录"/>
|
||||
</tooltip>
|
||||
</Button>
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status"
|
||||
HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3"/>
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4"/>
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
68
src/main/resources/ui/company/vendor/vendor_approved_list_manager.fxml
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<VBox prefHeight="400.0" prefWidth="640.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.vendor.controller.approved_list.CompanyVendorApprovedListManagerWindowController">
|
||||
<children>
|
||||
<MenuBar VBox.vgrow="NEVER">
|
||||
<menus>
|
||||
<Menu mnemonicParsing="false" text="File">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="New"/>
|
||||
<MenuItem mnemonicParsing="false" text="Open…"/>
|
||||
<Menu mnemonicParsing="false" text="Open Recent"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Close"/>
|
||||
<MenuItem mnemonicParsing="false" text="Save"/>
|
||||
<MenuItem mnemonicParsing="false" text="Save As…"/>
|
||||
<MenuItem mnemonicParsing="false" text="Revert"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Preferences…"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Quit"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="Edit">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="Undo"/>
|
||||
<MenuItem mnemonicParsing="false" text="Redo"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Cut"/>
|
||||
<MenuItem mnemonicParsing="false" text="Copy"/>
|
||||
<MenuItem mnemonicParsing="false" text="Paste"/>
|
||||
<MenuItem mnemonicParsing="false" text="Delete"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Select All"/>
|
||||
<MenuItem mnemonicParsing="false" text="Unselect All"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="Help">
|
||||
<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="检索" />
|
||||
<Separator />
|
||||
<Button mnemonicParsing="false" text="新建" onAction="#onCreateNewAction"/>
|
||||
</items>
|
||||
</ToolBar>
|
||||
<TableView fx:id="table" prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" maxWidth="100.0" minWidth="50" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="titleColumn" maxWidth="300" minWidth="90" prefWidth="200.0" text="标题"/>
|
||||
<TableColumn fx:id="publishDateColumn" maxWidth="160" minWidth="90" prefWidth="160.0" text="发布日期"/>
|
||||
<TableColumn fx:id="descriptionColumn" minWidth="150.0" prefWidth="150.0" text="备注"/>
|
||||
</columns>
|
||||
<columnResizePolicy>
|
||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
|
||||
</columnResizePolicy>
|
||||
</TableView>
|
||||
<fx:include source="../../part-footer.fxml" fx:id="footer"/>
|
||||
</children>
|
||||
</VBox>
|
||||
92
src/main/resources/ui/company/vendor/vendor_manager.fxml
vendored
Normal file
@@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<VBox prefHeight="760.0" prefWidth="1120.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.vendor.controller.CompanyVendorManagerWindowController">
|
||||
<children>
|
||||
<MenuBar VBox.vgrow="NEVER">
|
||||
<menus>
|
||||
<Menu mnemonicParsing="false" text="供应商">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="新建…" onAction="#onCreateNewVendorAction"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="文件">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="重置…" onAction="#onFileReBuildingAction"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Preferences…"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="供应商名录">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="供应商名录管理…"
|
||||
onAction="#onOpenApprovedVendorListWindowAction"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu text="合规(_V)">
|
||||
<items>
|
||||
<MenuItem text="合规验证…(_V)" onAction="#onVerifyAction"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu text="设置(_S)">
|
||||
<MenuItem text="采购类型管理(_G)" onAction="#onOpenVendorGroupManagerAction"/>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="帮助">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="About MyHelloApp"/>
|
||||
</items>
|
||||
</Menu>
|
||||
</menus>
|
||||
</MenuBar>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<ComboBox fx:id="typeSelector" editable="true" prefWidth="100.0" promptText="供应商分类"/>
|
||||
<TextField fx:id="searchKeyField" promptText="检索关键字"/>
|
||||
<Button fx:id="searchBtn" mnemonicParsing="false" text="检索"/>
|
||||
<Separator orientation="VERTICAL">
|
||||
<HBox.margin>
|
||||
<Insets/>
|
||||
</HBox.margin>
|
||||
</Separator>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets/>
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<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" maxWidth="100.0" prefWidth="60.0" text="ID"
|
||||
sortType="DESCENDING"/>
|
||||
<TableColumn fx:id="companyColumn" minWidth="50.0" prefWidth="220.0" text="公司名称"/>
|
||||
<TableColumn fx:id="typeColumn" minWidth="50.0" prefWidth="110.0" text="分类"/>
|
||||
<TableColumn fx:id="purchaseColumn" minWidth="50.0" prefWidth="220.0" text="产品或服务"/>
|
||||
<TableColumn fx:id="developDateColumn" maxWidth="120.0" minWidth="50.0" text="开发日期"/>
|
||||
<TableColumn fx:id="pathColumn" minWidth="50.0" prefWidth="250.0" text="文件目录"/>
|
||||
<TableColumn fx:id="createdColumn" minWidth="50.0" prefWidth="150.0" text="创建日期"/>
|
||||
<TableColumn fx:id="catalogColumn" minWidth="50.0" prefWidth="75.0" text="分组"/>
|
||||
<TableColumn fx:id="codeColumn" maxWidth="200.0" minWidth="50.0" prefWidth="150.0"
|
||||
text="供应商编号"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" onAction="#onBaseTableRefreshAction" text="刷新"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<fx:include source="../../part-footer.fxml" fx:id="footer"/>
|
||||
</children>
|
||||
</VBox>
|
||||
162
src/main/resources/ui/configs.fxml
Normal file
@@ -0,0 +1,162 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.Tab?>
|
||||
<?import javafx.scene.control.TabPane?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.ColumnConstraints?>
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
|
||||
<TabPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" tabClosingPolicy="UNAVAILABLE" tabMinWidth="80.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.ecep.contract.manager.ds.other.controller.SysConfWindowController">
|
||||
<tabs>
|
||||
<Tab text="通用">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
|
||||
<children>
|
||||
<GridPane layoutX="100.0" layoutY="96.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="110.0" minWidth="110.0" prefWidth="110.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="200.0" prefWidth="432.0" />
|
||||
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="48.0" minWidth="48.0" prefWidth="48.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="通用的配置选项" GridPane.columnIndex="1" />
|
||||
<Label text="合同文件夹" GridPane.rowIndex="1" />
|
||||
<Label text="Label" GridPane.rowIndex="2" />
|
||||
<Label text="Label" GridPane.rowIndex="3" />
|
||||
<Label text="Label" GridPane.rowIndex="4" />
|
||||
<TextField prefHeight="23.0" prefWidth="251.0" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="2" />
|
||||
<TextField GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="3" />
|
||||
<TextField GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="4" />
|
||||
<Label fx:id="companyContractPathLabel" text="\\\10.84.209.8\" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
||||
<Button mnemonicParsing="false" onAction="#changeCompanyContractPath" text="更换" GridPane.columnIndex="2" GridPane.rowIndex="1" />
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
|
||||
</padding>
|
||||
</GridPane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab disable="true" text="用友U8">
|
||||
<content>
|
||||
<AnchorPane>
|
||||
<children>
|
||||
<GridPane AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="110.0" minWidth="110.0" prefWidth="110.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" minWidth="150.0" prefWidth="460.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="数据库名称" GridPane.rowIndex="2" />
|
||||
<Label text="数据库IP地址" GridPane.rowIndex="1" />
|
||||
<Label text="配置用友U8的数据库信息" GridPane.columnIndex="1" />
|
||||
<Label text="数据库账户" GridPane.rowIndex="3" />
|
||||
<Label text="数据库账户密码" GridPane.rowIndex="4" />
|
||||
<TextField fx:id="u8DataBaseServerHostField" promptText="192.168.1.1" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="u8DataBaseCatalogField" promptText="UF_DATA_001_2017" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
||||
<TextField fx:id="u8DataBaseUserNameField" promptText="sa" GridPane.columnIndex="1" GridPane.rowIndex="3" />
|
||||
<TextField fx:id="u8DataBasePasswordField" promptText="密码" GridPane.columnIndex="1" GridPane.rowIndex="4" />
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
|
||||
</padding>
|
||||
</GridPane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab text="供应商">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
|
||||
<children>
|
||||
<GridPane AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="130.0" minWidth="130.0" prefWidth="130.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" minWidth="10.0" prefWidth="428.0" />
|
||||
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="48.0" minWidth="48.0" prefWidth="48.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="供应商的配置选项" GridPane.columnIndex="1" />
|
||||
<Label text="供应商文件夹" GridPane.rowIndex="1" />
|
||||
<Label text="供方调查评价表模板" GridPane.rowIndex="2" />
|
||||
<Label fx:id="vendorPathLabel" text="\\\10.84.209.8\" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
||||
<Label fx:id="vendorEvaluationFormTemplateLabel" text="\\\10.84.209.8\template.xls" textOverrun="CLIP" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
||||
<Button mnemonicParsing="false" onAction="#changeVendorPath" text="更换" GridPane.columnIndex="2" GridPane.rowIndex="1" />
|
||||
<Button mnemonicParsing="false" onAction="#changeVendorEvaluationFormTemplate" text="更换" GridPane.columnIndex="2" GridPane.rowIndex="2" />
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
|
||||
</padding>
|
||||
</GridPane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab text="客户">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
|
||||
<children>
|
||||
<GridPane layoutX="100.0" layoutY="96.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" maxWidth="130.0" minWidth="130.0" prefWidth="130.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="48.0" minWidth="48.0" prefWidth="48.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="客户的配置选项" GridPane.columnIndex="1" />
|
||||
<Label text="客户的文件夹" GridPane.rowIndex="1" />
|
||||
<Label text="客户资信评估表模板" GridPane.rowIndex="2" />
|
||||
<Label text="销售台账目录" GridPane.rowIndex="3" />
|
||||
<Label fx:id="customerPathLabel" text="\\\10.84.209.8\" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
||||
<Label fx:id="customerEvaluationFormTemplateLabel" text="\\\10.84.209.8\template.xls" textOverrun="CLIP" wrapText="true" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
||||
<Button mnemonicParsing="false" onAction="#changeCustomerPath" text="更换" GridPane.columnIndex="2" GridPane.rowIndex="1" />
|
||||
<Button mnemonicParsing="false" onAction="#changeCustomerEvaluationFormTemplate" text="更换" GridPane.columnIndex="2" GridPane.rowIndex="2" />
|
||||
<Button mnemonicParsing="false" onAction="#changeCustomerSaleBookPath" text="更换" GridPane.columnIndex="2" GridPane.rowIndex="3" />
|
||||
<Label fx:id="customerSaleBookPathLabel" text="\\\10.84.209.8\" GridPane.columnIndex="1" GridPane.rowIndex="3" />
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
|
||||
</padding>
|
||||
</GridPane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</content>
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
116
src/main/resources/ui/contact.fxml
Normal file
@@ -0,0 +1,116 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.DatePicker?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.ScrollPane?>
|
||||
<?import javafx.scene.control.Tab?>
|
||||
<?import javafx.scene.control.TabPane?>
|
||||
<?import javafx.scene.control.TextArea?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.control.ToolBar?>
|
||||
<?import javafx.scene.layout.BorderPane?>
|
||||
<?import javafx.scene.layout.ColumnConstraints?>
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<BorderPane fx:id="root" maxHeight="900" maxWidth="1024" minHeight="300" minWidth="200" prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.ecep.contract.manager.ds.company.controller.contact.CompanyContactWindowController">
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToHeight="true" fitToWidth="true" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="150.0" pannable="true">
|
||||
<content>
|
||||
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="600.0" minWidth="150.0">
|
||||
<children>
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="150.0" VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="80.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="42.0" vgrow="NEVER" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="姓名" />
|
||||
<TextField fx:id="nameField" GridPane.columnIndex="1" />
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注" GridPane.rowIndex="3" />
|
||||
<Label text="联系电话" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="phoneField" GridPane.columnIndex="1" GridPane.rowIndex="1">
|
||||
<GridPane.margin>
|
||||
<Insets />
|
||||
</GridPane.margin>
|
||||
</TextField>
|
||||
<TextArea fx:id="descriptionField" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="3" />
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="5">
|
||||
<children>
|
||||
<Button fx:id="saveBtn" disable="true" mnemonicParsing="false" text="保存" />
|
||||
</children>
|
||||
</HBox>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="5" />
|
||||
<Label text="邮箱" GridPane.columnIndex="2" GridPane.rowIndex="1" />
|
||||
<Label text="地址" GridPane.rowIndex="2" />
|
||||
<TextField fx:id="addressField" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="2" />
|
||||
<TextField fx:id="emailField" GridPane.columnIndex="3" GridPane.rowIndex="1" />
|
||||
<Label text="创建日期" GridPane.rowIndex="4" />
|
||||
<Label text="U8代码" GridPane.columnIndex="2" GridPane.rowIndex="4" />
|
||||
<DatePicker fx:id="createdField" GridPane.columnIndex="1" GridPane.rowIndex="4" />
|
||||
<TextField fx:id="u8CodeField" GridPane.columnIndex="3" GridPane.rowIndex="4" />
|
||||
<Label text="职位" GridPane.columnIndex="2" />
|
||||
<TextField fx:id="positionField" GridPane.columnIndex="3" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0" />
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
<Button disable="true" mnemonicParsing="false" text="-" />
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status" HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3" />
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4" />
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS" />
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER" />
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
71
src/main/resources/ui/contract/contract-manager.fxml
Normal file
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<VBox prefHeight="680.0" prefWidth="1120.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractManagerWindowController">
|
||||
<children>
|
||||
<MenuBar VBox.vgrow="NEVER">
|
||||
<menus>
|
||||
<Menu text="文件(_F)">
|
||||
<items>
|
||||
<MenuItem text="新建…(_N)" onAction="#onCreateNewContractAction"/>
|
||||
<MenuItem text="合同文件重置…(_R)" onAction="#onContractFilesRebuildAction"/>
|
||||
<MenuItem text="合同同步…(_S)" onAction="#onContractRepairAllAction"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem text="首选项…(_P)" disable="true"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu text="合规(_V)">
|
||||
<items>
|
||||
<MenuItem text="合规验证(_V)" onAction="#onVerifyAction"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu text="帮助(_H)">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="About MyHelloApp"/>
|
||||
</items>
|
||||
</Menu>
|
||||
</menus>
|
||||
</MenuBar>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0">
|
||||
<items>
|
||||
<ComboBox fx:id="groupSelector" editable="true" prefWidth="100.0" promptText="分组选择"/>
|
||||
<TextField fx:id="searchKeyField" promptText="检索关键字"/>
|
||||
<Button fx:id="searchBtn" mnemonicParsing="false" text="检索"/>
|
||||
<Separator orientation="VERTICAL">
|
||||
<HBox.margin>
|
||||
<Insets/>
|
||||
</HBox.margin>
|
||||
</Separator>
|
||||
<CheckBox fx:id="composeViewBtn" selected="true" 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="60.0" text="ID"/>
|
||||
<TableColumn fx:id="codeColumn" prefWidth="150.0" text="合同编号"/>
|
||||
<TableColumn fx:id="nameColumn" prefWidth="260" text="名称"/>
|
||||
<TableColumn fx:id="amountColumn" prefWidth="90" text="合同金额" style="-fx-alignment: center-right;"/>
|
||||
<TableColumn fx:id="parentCodeColumn" prefWidth="100.0" text="主合同"/>
|
||||
<TableColumn fx:id="companyColumn" prefWidth="150.0" text="签订单位"/>
|
||||
<TableColumn fx:id="employeeColumn" text="业务员"/>
|
||||
<TableColumn fx:id="setupDateColumn" sortType="DESCENDING" text="提交日期"/>
|
||||
<TableColumn fx:id="orderDateColumn" text="签订日期"/>
|
||||
<TableColumn fx:id="startDateColumn" text="开始日期"/>
|
||||
<TableColumn fx:id="createdColumn" prefWidth="130" sortType="DESCENDING" text="创建时间"/>
|
||||
<TableColumn fx:id="groupColumn" text="分组"/>
|
||||
<TableColumn fx:id="typeColumn" text="分类"/>
|
||||
<TableColumn fx:id="kindColumn" text="性质"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<fx:include source="../part-footer.fxml" fx:id="footer"/>
|
||||
</children>
|
||||
</VBox>
|
||||
37
src/main/resources/ui/contract/contract-tab-bid.fxml
Normal file
@@ -0,0 +1,37 @@
|
||||
<?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.contract.controller.ContractTabSkinVendorBid">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button fx:id="bidVendorCreateBtn" mnemonicParsing="false" text="新增"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" 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="bidVendorTable_idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="bidVendorTable_companyColumn" prefWidth="200.0" text="供应商"/>
|
||||
<TableColumn fx:id="bidVendorTable_quotationSheetColumn" prefWidth="200.0" text="报价表"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="bidVendorTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
<MenuItem fx:id="bidVendorTable_menu_delete" mnemonicParsing="false" text="删除"/>
|
||||
<MenuItem fx:id="bidVendorTable_menu_chose_sheet" mnemonicParsing="false" text="匹配报价表"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.CheckBox?>
|
||||
<?import javafx.scene.control.ComboBox?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.ScrollPane?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.layout.ColumnConstraints?>
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
|
||||
<ScrollPane pannable="true" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractTabSkinExtendVendorInfo">
|
||||
<content>
|
||||
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="100.0">
|
||||
<children>
|
||||
<GridPane maxHeight="1.7976931348623157E308" minWidth="150.0" VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="42.0" vgrow="NEVER" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="采购合同类型" />
|
||||
<VBox spacing="6.0" GridPane.columnIndex="1" GridPane.columnSpan="3">
|
||||
<children>
|
||||
<ComboBox fx:id="vendorGroupField" />
|
||||
<Label fx:id="vendorGroupLabel" text="采购合同类型" wrapText="true" />
|
||||
</children>
|
||||
<GridPane.margin>
|
||||
<Insets bottom="3.0" top="3.0" />
|
||||
</GridPane.margin>
|
||||
</VBox>
|
||||
<Label text="合同序号" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="sequenceNumberField" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
||||
<Label text="指定供应商" GridPane.rowIndex="2" />
|
||||
<VBox fillWidth="false" spacing="3.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="2">
|
||||
<children>
|
||||
<CheckBox fx:id="assignedProviderField" mnemonicParsing="false" />
|
||||
<Label text="指定供应商后,将不对供应商进行比价" wrapText="true" />
|
||||
</children>
|
||||
<GridPane.margin>
|
||||
<Insets bottom="6.0" top="6.0" />
|
||||
</GridPane.margin>
|
||||
</VBox>
|
||||
<Label text="预采购" GridPane.rowIndex="3" />
|
||||
<VBox fillWidth="false" layoutX="130.0" layoutY="96.0" spacing="3.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="3">
|
||||
<children>
|
||||
<CheckBox fx:id="prePurchaseField" mnemonicParsing="false" />
|
||||
<Label text="是否是预采购,预采购不对当前采购合同与销售合同日期做校验" wrapText="true" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
49
src/main/resources/ui/contract/contract-tab-file.fxml
Normal file
@@ -0,0 +1,49 @@
|
||||
<?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.manager.ds.contract.controller.ContractTabSkinFiles">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button fx:id="fileTableReBuildBtn" mnemonicParsing="false" text="重置"/>
|
||||
</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" editable="false" maxWidth="75.0" minWidth="50.0"
|
||||
prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="fileTable_typeColumn" editable="false" maxWidth="150.0" minWidth="50.0"
|
||||
prefWidth="100.0" text="类型"/>
|
||||
<TableColumn fx:id="fileTable_filePathColumn" editable="false" prefWidth="300.0" text="文件"/>
|
||||
<TableColumn fx:id="fileTable_applyDateColumn" maxWidth="120.0" minWidth="120.0" prefWidth="120.0"
|
||||
text="生效日期"/>
|
||||
<TableColumn fx:id="fileTable_descriptionColumn" maxWidth="200.0" minWidth="100.0" prefWidth="180.0"
|
||||
text="备注"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="fileTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
<MenuItem fx:id="fileTable_menu_del" mnemonicParsing="false" text="删除"/>
|
||||
<Menu fx:id="fileTable_menu_pdf" text="PDF"/>
|
||||
<Menu fx:id="fileTable_menu_update" text="更新"/>
|
||||
<Menu fx:id="fileTable_menu_change_type" mnemonicParsing="false" text="变更类型"/>
|
||||
<Menu fx:id="fileTable_menu_change_type_and_name" mnemonicParsing="false"
|
||||
text="变更类型并重命名"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
<columnResizePolicy>
|
||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
|
||||
</columnResizePolicy>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
52
src/main/resources/ui/contract/contract-tab-item-v2.fxml
Normal file
@@ -0,0 +1,52 @@
|
||||
<?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/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractTabSkinItemsV2">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Todo"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" 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="idColumn" editable="false" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="inventoryColumn" editable="false" prefWidth="90.0" text="存货编码"/>
|
||||
<TableColumn fx:id="titleColumn" editable="false" prefWidth="150.0" text="项目"/>
|
||||
<TableColumn fx:id="specificationColumn" editable="false" prefWidth="150.0" text="规格"/>
|
||||
<TableColumn fx:id="unitColumn" prefWidth="60.0" text="单位" style="-fx-alignment: center;"/>
|
||||
<TableColumn fx:id="quantityColumn" prefWidth="70.0" editable="false"
|
||||
style="-fx-alignment: center-right;"
|
||||
text="数量"/>
|
||||
<TableColumn fx:id="exclusiveTaxPriceColumn" prefWidth="110.0" text="不含税单价"
|
||||
style="-fx-alignment: center-right;"/>
|
||||
<TableColumn fx:id="exclusiveTaxAmountColumn" prefWidth="130.0" style="-fx-alignment: center-right;"
|
||||
text="不含税小计"/>
|
||||
<TableColumn fx:id="taxRateColumn" prefWidth="60.0" text="税率" style="-fx-alignment: center-right;"/>
|
||||
<TableColumn fx:id="taxPriceColumn" prefWidth="110.0" text="含税单价"
|
||||
style="-fx-alignment: center-right;"/>
|
||||
<TableColumn fx:id="taxAmountColumn" style="-fx-alignment: center-right;"
|
||||
prefWidth="130.0" text="含税小计"/>
|
||||
<TableColumn fx:id="refIdColumn" editable="false" prefWidth="75.0" text="RefId"/>
|
||||
<TableColumn fx:id="codeColumn" editable="false" prefWidth="75.0" text="Code"/>
|
||||
<TableColumn fx:id="startDateColumn" prefWidth="130.0" text="起始日期"/>
|
||||
<TableColumn fx:id="endDateColumn" prefWidth="130.0" text="截止日期"/>
|
||||
<TableColumn fx:id="creatorColumn" prefWidth="75.0" text="创建人"/>
|
||||
<TableColumn fx:id="createDateColumn" prefWidth="130.0" text="创建时间"/>
|
||||
<TableColumn fx:id="updaterColumn" prefWidth="75.0" text="更新人"/>
|
||||
<TableColumn fx:id="updateDateColumn" prefWidth="130.0" text="更新时间"/>
|
||||
<TableColumn fx:id="remarkColumn" maxWidth="500.0" minWidth="100.0" prefWidth="180.0"
|
||||
text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
68
src/main/resources/ui/contract/contract-tab-item.fxml
Normal file
@@ -0,0 +1,68 @@
|
||||
<?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/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractTabSkinItems">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Todo"/>
|
||||
</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="itemTable_idColumn" editable="false" maxWidth="75.0" minWidth="50.0"
|
||||
prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="itemTable_titleColumn" editable="false" maxWidth="300.0" minWidth="60.0"
|
||||
prefWidth="120.0" text="项目"/>
|
||||
<TableColumn fx:id="itemTable_specificationColumn" editable="false" maxWidth="300.0" minWidth="60.0"
|
||||
prefWidth="120.0" text="规格"/>
|
||||
<TableColumn fx:id="itemTable_unitColumn" maxWidth="80.0" minWidth="40.0" prefWidth="60.0" text="单位"/>
|
||||
<TableColumn fx:id="itemTable_columnGroup1" editable="false" maxWidth="500.0" minWidth="100.0"
|
||||
prefWidth="200.0" text="进项(销售)">
|
||||
<columns>
|
||||
<TableColumn fx:id="itemTable_quantityColumn1" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="数量"/>
|
||||
<TableColumn fx:id="itemTable_exclusiveTaxPriceColumn1" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="不含税单价"/>
|
||||
<TableColumn fx:id="itemTable_exclusiveTaxAmountColumn1" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="不含税小计"/>
|
||||
<TableColumn fx:id="itemTable_taxRateColumn1" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="税率"/>
|
||||
<TableColumn fx:id="itemTable_taxPriceColumn1" maxWidth="240.0" minWidth="50.0" prefWidth="70.0"
|
||||
text="含税单价"/>
|
||||
<TableColumn fx:id="itemTable_taxAmountColumn1" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="含税小计"/>
|
||||
</columns>
|
||||
</TableColumn>
|
||||
<TableColumn fx:id="itemTable_columnGroup2" editable="false" maxWidth="500.0" minWidth="100.0"
|
||||
prefWidth="200.0" text="出项(采购)">
|
||||
<columns>
|
||||
<TableColumn fx:id="itemTable_quantityColumn2" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="数量"/>
|
||||
<TableColumn fx:id="itemTable_exclusiveTaxPriceColumn2" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="不含税单价"/>
|
||||
<TableColumn fx:id="itemTable_exclusiveTaxAmountColumn2" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="不含税小计"/>
|
||||
<TableColumn fx:id="itemTable_taxRateColumn2" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="税率"/>
|
||||
<TableColumn fx:id="itemTable_taxPriceColumn2" maxWidth="240.0" minWidth="50.0" prefWidth="70.0"
|
||||
text="含税单价"/>
|
||||
<TableColumn fx:id="itemTable_taxAmountColumn2" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="含税小计"/>
|
||||
</columns>
|
||||
</TableColumn>
|
||||
<TableColumn fx:id="itemTable_remarkColumn" maxWidth="500.0" minWidth="100.0" prefWidth="180.0"
|
||||
text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
32
src/main/resources/ui/contract/contract-tab-pay-plan.fxml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?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/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractTabSkinPayPlan">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Todo"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" 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="idColumn" editable="false" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="payDateColumn" editable="false" prefWidth="90.0" text="付款日期" style="-fx-alignment: center;"/>
|
||||
<TableColumn fx:id="payRatioColumn" editable="false" prefWidth="75.0" text="付款比例%" style="-fx-alignment: center-right;"/>
|
||||
<TableColumn fx:id="payCurrencyColumn" editable="false" prefWidth="150.0" text="付款金额" style="-fx-alignment: center-right;"/>
|
||||
<TableColumn fx:id="payTermColumn" prefWidth="200.0" text="付款条款" />
|
||||
<TableColumn fx:id="refIdColumn" editable="false" prefWidth="75.0" text="RefId"/>
|
||||
<TableColumn fx:id="updateDateColumn" prefWidth="130.0" text="更新时间"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
@@ -0,0 +1,45 @@
|
||||
<?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="400.0" prefWidth="600.0"
|
||||
xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractTabSkinPurchaseOrders"
|
||||
>
|
||||
<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" 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="idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="codeColumn" prefWidth="120" text="采购订单编号"/>
|
||||
<TableColumn fx:id="table_makerColumn" prefWidth="100" text="制单人"/>
|
||||
<TableColumn fx:id="table_makerDateColumn" prefWidth="150" text="制单日期"/>
|
||||
<TableColumn fx:id="table_verifierColumn" prefWidth="100" text="审核人"/>
|
||||
<TableColumn fx:id="table_verifierDateColumn" prefWidth="150" text="审核日期"/>
|
||||
<TableColumn fx:id="table_modifierrColumn" prefWidth="100" text="修改人"/>
|
||||
<TableColumn fx:id="table_modifierDateColumn" prefWidth="150" text="修改日期"/>
|
||||
<TableColumn fx:id="table_closerColumn" prefWidth="100" text="订单关闭"/>
|
||||
<TableColumn fx:id="table_closerDateColumn" prefWidth="150" text="订单关闭日期"/>
|
||||
<TableColumn fx:id="table_descriptionColumn" prefWidth="120" text="注释"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="table_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
43
src/main/resources/ui/contract/contract-tab-sale-orders.fxml
Normal file
@@ -0,0 +1,43 @@
|
||||
<?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/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractTabSkinSaleOrders"
|
||||
>
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<TextField fx:id="contractSearchKeyField" 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" 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="idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="codeColumn" prefWidth="120" text="编号"/>
|
||||
<TableColumn fx:id="employeeColumn" prefWidth="120" text="编号"/>
|
||||
<TableColumn fx:id="makerColumn" prefWidth="90.0" text="制单人" />
|
||||
<TableColumn fx:id="makerDateColumn" prefWidth="130.0" text="制单日期"/>
|
||||
<TableColumn fx:id="verifierColumn" prefWidth="70.0" text="审核人"/>
|
||||
<TableColumn fx:id="verifierDateColumn" prefWidth="130.0" text="审核日期"/>
|
||||
|
||||
<TableColumn fx:id="descriptionColumn" prefWidth="180.0" text="备注"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="subContractTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?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/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractTabSkinSubContract"
|
||||
>
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<TextField fx:id="contractSearchKeyField" promptText="检索关键字"/>
|
||||
<Button fx:id="contractSearchBtn" mnemonicParsing="false" text="检索"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" 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="subContractTable_idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="subContractTable_codeColumn" prefWidth="120" text="合同编号" sortType="DESCENDING"/>
|
||||
<TableColumn fx:id="subContractTable_nameColumn" prefWidth="250" text="合同名称"/>
|
||||
<TableColumn fx:id="subContractTable_setupDateColumn" prefWidth="75.0" text="提交日期"/>
|
||||
<TableColumn fx:id="subContractTable_inureDateColumn" prefWidth="75.0" text="生效日期"/>
|
||||
<TableColumn fx:id="subContractTable_orderDateColumn" prefWidth="75.0" text="签订日期"/>
|
||||
<TableColumn fx:id="subContractTable_varyDateColumn" prefWidth="75.0" text="修改日期"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="subContractTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
35
src/main/resources/ui/contract/contract-verify.css
Normal file
@@ -0,0 +1,35 @@
|
||||
.message-column-ctx {
|
||||
-fx-alignment: center-left;
|
||||
-fx-spacing: 5;
|
||||
}
|
||||
|
||||
.msg-text {
|
||||
-fx-font-size: 12px;
|
||||
-fx-wrap-text: false;
|
||||
-fx-text-overrun: ellipsis;-fx-background-radius: 3px;
|
||||
-fx-padding: 2px;
|
||||
}
|
||||
|
||||
.msg-text.severe {
|
||||
-fx-text-fill: red;
|
||||
-fx-background-color: #fff0f0;
|
||||
}
|
||||
|
||||
.msg-text.warning {
|
||||
-fx-text-fill: orange;
|
||||
-fx-background-color: #fff9f0; /* 浅橙色背景 */
|
||||
}
|
||||
|
||||
.msg-text.info {
|
||||
-fx-text-fill: #000000;
|
||||
-fx-background-color: #f5fbf6; /* 浅绿色背景 */
|
||||
}
|
||||
.msg-text.config {
|
||||
-fx-text-fill: green;
|
||||
-fx-background-color: #f5fbf6; /* 浅绿色背景 */
|
||||
}
|
||||
|
||||
.msg-text.fine {
|
||||
-fx-text-fill: #bcbcbc;
|
||||
}
|
||||
|
||||
136
src/main/resources/ui/contract/contract-verify.fxml
Normal file
@@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<VBox prefHeight="600.0" prefWidth="900.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractVerifyWindowController">
|
||||
<children>
|
||||
<MenuBar VBox.vgrow="NEVER">
|
||||
<menus>
|
||||
<Menu mnemonicParsing="false" text="File">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="New"/>
|
||||
<MenuItem mnemonicParsing="false" text="Open…"/>
|
||||
<Menu mnemonicParsing="false" text="Open Recent"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Close"/>
|
||||
<MenuItem mnemonicParsing="false" text="Save"/>
|
||||
<MenuItem mnemonicParsing="false" text="Save As…"/>
|
||||
<MenuItem mnemonicParsing="false" text="Revert"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Preferences…"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Quit"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu text="导出(_E)">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="导出当前验证结果…"
|
||||
onAction="#onExportVerifyResultAsFileAction"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="Help">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="About MyHelloApp"/>
|
||||
</items>
|
||||
</Menu>
|
||||
</menus>
|
||||
</MenuBar>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0">
|
||||
<items>
|
||||
<Label text="提交日期:"/>
|
||||
<DatePicker fx:id="setupDateBeginSelector" prefHeight="23.0" prefWidth="100.0" promptText="起始日期"/>
|
||||
<Label layoutX="10.0" layoutY="18.0" text="至"/>
|
||||
<DatePicker fx:id="setupDateEndSelector" layoutX="10.0" layoutY="14.0" prefHeight="23.0"
|
||||
prefWidth="100.0" promptText="截至日期"/>
|
||||
<MenuButton mnemonicParsing="false" text="选项">
|
||||
<items>
|
||||
<CheckMenuItem fx:id="verifyCompanyStatusChecker" mnemonicParsing="false" selected="true"
|
||||
text="验证公司营业状态"/>
|
||||
<CheckMenuItem fx:id="verifyCompanyPathChecker" mnemonicParsing="false" selected="true"
|
||||
text="验证公司目录"/>
|
||||
<CheckMenuItem fx:id="verifyCompanyCreditChecker" mnemonicParsing="false" selected="true"
|
||||
text="验证公司资信"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<CheckMenuItem fx:id="verifyCustomerChecker" mnemonicParsing="false" selected="true"
|
||||
text="验证客户"/>
|
||||
<CheckMenuItem fx:id="verifyCustomerFileChecker" mnemonicParsing="false" selected="true"
|
||||
text="验证客户文件"/>
|
||||
<CheckMenuItem fx:id="verifyCustomerSubContractDateChecker" mnemonicParsing="false"
|
||||
text="验证客户采购合同日期"/>
|
||||
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<CheckMenuItem fx:id="verifyVendorChecker" mnemonicParsing="false" selected="true"
|
||||
text="验证供应商"/>
|
||||
<CheckMenuItem fx:id="verifyVendorFileChecker" mnemonicParsing="false" selected="true"
|
||||
text="验证供应商文件"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<CheckMenuItem fx:id="onlyShowVerifiedChecker" mnemonicParsing="false" selected="true"
|
||||
text="只显示未通过的"/>
|
||||
</items>
|
||||
</MenuButton>
|
||||
<Button mnemonicParsing="false" onAction="#onVerifyAction" text="开始验证">
|
||||
<tooltip>
|
||||
<Tooltip text="Empty Tooltip"/>
|
||||
</tooltip>
|
||||
</Button>
|
||||
</items>
|
||||
</ToolBar>
|
||||
<AnchorPane VBox.vgrow="ALWAYS">
|
||||
<children>
|
||||
<Label alignment="CENTER" layoutX="155.0" layoutY="177.0" style=" "
|
||||
text="Drag components from Library here…" textAlignment="CENTER" textFill="#9f9f9f"
|
||||
wrapText="true">
|
||||
<font>
|
||||
<Font size="18.0"/>
|
||||
</font>
|
||||
</Label>
|
||||
<TableView fx:id="viewTable" layoutX="55.0" layoutY="25.0" prefHeight="200.0" prefWidth="200.0"
|
||||
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="5.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="viewTable_codeColumn" maxWidth="150.0" prefWidth="90.0" text="合同号"/>
|
||||
<TableColumn fx:id="viewTable_nameColumn" maxWidth="500.0" prefWidth="200.0" text="合同名"/>
|
||||
<TableColumn fx:id="viewTable_employeeColumn" maxWidth="120.0" prefWidth="85.0" text="业务员"/>
|
||||
<TableColumn fx:id="viewTable_setupDateColumn" maxWidth="120.0" prefWidth="85.0"
|
||||
text="合同提交日期"/>
|
||||
<TableColumn fx:id="viewTable_stateColumn" prefWidth="380.0" text="状态"/>
|
||||
</columns>
|
||||
<columnResizePolicy>
|
||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
|
||||
</columnResizePolicy>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" onAction="#onShowContractDetailAction"
|
||||
text="合同详情"/>
|
||||
<MenuItem mnemonicParsing="false" onAction="#onContractReVerifyAction" text="重新验证"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" prefWidth="800.0" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status"
|
||||
HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3"/>
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4"/>
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
16
src/main/resources/ui/contract/contract.css
Normal file
@@ -0,0 +1,16 @@
|
||||
.custom-cell{
|
||||
-fx-background-color: rgb(239, 239, 239);
|
||||
/*-fx-border-color: rgb(96, 96, 96);*/
|
||||
-fx-table-cell-border-color: -fx-selection-bar;
|
||||
-fx-text-fill: #000;
|
||||
}
|
||||
.custom-cell:hover {
|
||||
-fx-background-color: #f0f0f0;
|
||||
}
|
||||
.custom-cell:selected {
|
||||
-fx-background-color: -fx-selection-bar;
|
||||
-fx-text-fill: #333;
|
||||
}
|
||||
.custom-cell:focused {
|
||||
-fx-background-color: #e0f0ff;
|
||||
}
|
||||
334
src/main/resources/ui/contract/contract.fxml
Normal file
@@ -0,0 +1,334 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import org.controlsfx.glyphfont.Glyph?>
|
||||
<BorderPane fx:id="root" maxHeight="900" maxWidth="1024" minHeight="300" minWidth="200" prefHeight="561.0"
|
||||
prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractWindowController">
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="800.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
<Button onAction="#onContractOpenInExplorerAction" text="打开目录(_D)"/>
|
||||
<Button onAction="#onSyncContractAction" text="同步(_R)"/>
|
||||
<Button fx:id="saveBtn" disable="true" text="保存(_S)">
|
||||
<graphic>
|
||||
<Glyph fontFamily="FontAwesome" icon="SAVE"/>
|
||||
</graphic>
|
||||
</Button>
|
||||
<Button fx:id="verifyBtn" onAction="#onContractVerifyAction" text="合规(_V)">
|
||||
<graphic>
|
||||
<Glyph fontFamily="FontAwesome" icon="CHECK"/>
|
||||
</graphic>
|
||||
<tooltip>
|
||||
<Tooltip text="按照预定规则检测合同是否符合合规要求"/>
|
||||
</tooltip>
|
||||
</Button>
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<center>
|
||||
<TabPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="150.0"
|
||||
tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToWidth="true" pannable="true" prefHeight="486.0" prefWidth="800.0">
|
||||
<content>
|
||||
<VBox>
|
||||
<children>
|
||||
<GridPane VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints fillWidth="false" halignment="CENTER" hgrow="NEVER"
|
||||
maxWidth="200.0" minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="100.0" prefWidth="180.0"/>
|
||||
<ColumnConstraints fillWidth="false" halignment="CENTER" hgrow="NEVER"
|
||||
maxWidth="200.0" minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="100.0" prefWidth="180.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="80.0" prefHeight="80.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="42.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="42.0" vgrow="NEVER"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="合同名称 *"/>
|
||||
<Label text="合同编码 *" GridPane.rowIndex="2"/>
|
||||
<Label text="状态 *" GridPane.columnIndex="2" GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="codeField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="stateField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="4"/>
|
||||
<HBox GridPane.columnIndex="1" GridPane.columnSpan="3">
|
||||
<children>
|
||||
<TextField fx:id="nameField" HBox.hgrow="ALWAYS"/>
|
||||
<Button fx:id="contractRenameBtn" mnemonicParsing="false"
|
||||
text="合同更名"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label layoutX="20.0" layoutY="28.0" text="GUID *"
|
||||
GridPane.columnIndex="2" GridPane.rowIndex="17"/>
|
||||
<Label layoutX="20.0" layoutY="58.0" text="分组 *"
|
||||
GridPane.columnIndex="2" GridPane.rowIndex="3"/>
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注"
|
||||
GridPane.rowIndex="18"/>
|
||||
<TextField fx:id="groupField" layoutX="202.0" layoutY="114.0"
|
||||
GridPane.columnIndex="3" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="guidField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="17"/>
|
||||
<Label layoutX="56.0" layoutY="118.0" text="类型 *"
|
||||
GridPane.columnIndex="2" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="typeField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="kindField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="2"/>
|
||||
<Label text="性质 *" GridPane.columnIndex="2" GridPane.rowIndex="2"/>
|
||||
<Label text="合同起止日期 *" GridPane.rowIndex="8"/>
|
||||
<Label text="存储目录" GridPane.rowIndex="15"/>
|
||||
<TextField fx:id="pathField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="15">
|
||||
<GridPane.margin>
|
||||
<Insets/>
|
||||
</GridPane.margin>
|
||||
</TextField>
|
||||
<Label text="创建日期" GridPane.rowIndex="17"/>
|
||||
<TextField fx:id="createdField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="17"/>
|
||||
<HBox GridPane.columnIndex="1" GridPane.rowIndex="8">
|
||||
<children>
|
||||
<DatePicker fx:id="startDateField"
|
||||
maxWidth="1.7976931348623157E308"
|
||||
promptText="启时日期" HBox.hgrow="ALWAYS">
|
||||
<HBox.margin>
|
||||
<Insets right="6.0"/>
|
||||
</HBox.margin>
|
||||
</DatePicker>
|
||||
<DatePicker fx:id="endDateField"
|
||||
maxWidth="1.7976931348623157E308"
|
||||
promptText="截止日期" HBox.hgrow="ALWAYS"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<TextArea fx:id="descriptionField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="18"/>
|
||||
<Label text="提交人 *" GridPane.columnIndex="2" GridPane.rowIndex="8"/>
|
||||
<HBox GridPane.columnIndex="3" GridPane.rowIndex="8">
|
||||
<children>
|
||||
<TextField fx:id="setupPersonField" HBox.hgrow="SOMETIMES"/>
|
||||
<DatePicker fx:id="setupDateField" HBox.hgrow="SOMETIMES"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="签订日期 *" GridPane.rowIndex="9"/>
|
||||
<DatePicker fx:id="orderDateField" maxWidth="1.7976931348623157E308"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="9"/>
|
||||
<Label text="生效人 *" GridPane.columnIndex="2" GridPane.rowIndex="9"/>
|
||||
<Label text="修改人 *" GridPane.columnIndex="2" GridPane.rowIndex="10"/>
|
||||
<HBox GridPane.columnIndex="3" GridPane.rowIndex="9">
|
||||
<children>
|
||||
<TextField fx:id="inurePersonField" HBox.hgrow="SOMETIMES"/>
|
||||
<DatePicker fx:id="inureDateField" HBox.hgrow="SOMETIMES"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox GridPane.columnIndex="3" GridPane.rowIndex="10">
|
||||
<children>
|
||||
<TextField fx:id="varyPersonField" HBox.hgrow="SOMETIMES"/>
|
||||
<DatePicker fx:id="varyDateField" HBox.hgrow="SOMETIMES"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<TextField fx:id="parentCodeField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="3"/>
|
||||
<Label text="主合同编码" GridPane.rowIndex="3"/>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="19"/>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="16">
|
||||
<children>
|
||||
<Button fx:id="contractPathCreateBtn" mnemonicParsing="false"
|
||||
text="创建目录"/>
|
||||
<Button fx:id="contractPathChangeBtn" mnemonicParsing="false"
|
||||
text="变更目录"/>
|
||||
<Button fx:id="contractPathAsNameBtn" mnemonicParsing="false"
|
||||
text="与合同名称同名"/>
|
||||
<Button fx:id="contractPathAsCodeBtn" mnemonicParsing="false"
|
||||
text="与合同号同名"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="4">
|
||||
<children>
|
||||
<Button fx:id="openMainContractBtn" mnemonicParsing="false"
|
||||
text="打开主合同"/>
|
||||
<Button fx:id="calcMainContractNoBtn" mnemonicParsing="false"
|
||||
text="计算主合同编号"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="对方单位 *" GridPane.rowIndex="5"/>
|
||||
<HBox spacing="5.0" GridPane.columnIndex="1" GridPane.columnSpan="3"
|
||||
GridPane.rowIndex="5">
|
||||
<children>
|
||||
<TextField fx:id="companyField" HBox.hgrow="SOMETIMES"/>
|
||||
<Button mnemonicParsing="false"
|
||||
onAction="#onContractOpenRelativeCompanyAction"
|
||||
text="详情">
|
||||
<HBox.margin>
|
||||
<Insets/>
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button fx:id="openRelativeCompanyCustomerBtn"
|
||||
mnemonicParsing="false" text="客户">
|
||||
<HBox.margin>
|
||||
<Insets/>
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button fx:id="openRelativeCompanyVendorBtn"
|
||||
mnemonicParsing="false" text="供应商"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="业务员 *" GridPane.rowIndex="11"/>
|
||||
<VBox GridPane.columnIndex="1" GridPane.rowIndex="11">
|
||||
<children>
|
||||
<TextField fx:id="employeeField"/>
|
||||
</children>
|
||||
<GridPane.margin>
|
||||
<Insets bottom="5.0" top="5.0"/>
|
||||
</GridPane.margin>
|
||||
</VBox>
|
||||
<Label text="经办人" GridPane.columnIndex="2" GridPane.rowIndex="11"/>
|
||||
<VBox GridPane.columnIndex="3" GridPane.rowIndex="11">
|
||||
<children>
|
||||
<TextField fx:id="handlerField"/>
|
||||
</children>
|
||||
<GridPane.margin>
|
||||
<Insets bottom="5.0" top="5.0"/>
|
||||
</GridPane.margin>
|
||||
</VBox>
|
||||
|
||||
<Label text="归属项目" GridPane.rowIndex="1"/>
|
||||
<HBox GridPane.columnIndex="1" GridPane.rowIndex="1">
|
||||
<children>
|
||||
<TextField fx:id="projectField" prefWidth="190.0"
|
||||
HBox.hgrow="ALWAYS"/>
|
||||
<Button fx:id="linkContractProjectBtn" mnemonicParsing="false"
|
||||
text="关联" textOverrun="CLIP">
|
||||
</Button>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="1. (*) 字段数据同步自用友U8系统,同步时将被覆盖"
|
||||
textFill="#888888" wrapText="true" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="20"/>
|
||||
<Label text="合同金额" GridPane.rowIndex="6"/>
|
||||
<TextField fx:id="amountField" alignment="CENTER_RIGHT"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="6"/>
|
||||
<Label text="合同总数量 *" GridPane.rowIndex="12"/>
|
||||
<Label text="合同总金额 *" GridPane.rowIndex="13"/>
|
||||
<Label text="不含税总金额 *" GridPane.rowIndex="14"/>
|
||||
<Label text="执行总数量 *" GridPane.columnIndex="2"
|
||||
GridPane.rowIndex="12"/>
|
||||
<Label text="执行总金额 *" GridPane.columnIndex="2"
|
||||
GridPane.rowIndex="13"/>
|
||||
<Label text="不含税总金额 *" GridPane.columnIndex="2"
|
||||
GridPane.rowIndex="14"/>
|
||||
<TextField fx:id="totalQuantityField" alignment="CENTER_RIGHT"
|
||||
GridPane.columnIndex="1" GridPane.halignment="RIGHT"
|
||||
GridPane.rowIndex="12"/>
|
||||
<TextField fx:id="totalAmountField" alignment="CENTER_RIGHT"
|
||||
GridPane.columnIndex="1" GridPane.halignment="RIGHT"
|
||||
GridPane.rowIndex="13"/>
|
||||
<TextField fx:id="totalUnTaxAmountField" alignment="CENTER_RIGHT"
|
||||
GridPane.columnIndex="1" GridPane.halignment="RIGHT"
|
||||
GridPane.rowIndex="14"/>
|
||||
<TextField fx:id="execQuantityField" alignment="CENTER_RIGHT"
|
||||
GridPane.columnIndex="3" GridPane.halignment="RIGHT"
|
||||
GridPane.rowIndex="12"/>
|
||||
<TextField fx:id="execAmountField" alignment="CENTER_RIGHT"
|
||||
GridPane.columnIndex="3" GridPane.halignment="RIGHT"
|
||||
GridPane.rowIndex="13"/>
|
||||
<TextField fx:id="execUnTaxAmountField" alignment="CENTER_RIGHT"
|
||||
GridPane.columnIndex="3" GridPane.halignment="RIGHT"
|
||||
GridPane.rowIndex="14"/>
|
||||
<Label text="付款方向 *" GridPane.columnIndex="2"
|
||||
GridPane.rowIndex="6"/>
|
||||
<TextField fx:id="payWayField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="6"/>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0"/>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="extendVendorInfo" text="采购信息">
|
||||
</Tab>
|
||||
<Tab fx:id="itemTab" text="合同内容">
|
||||
</Tab>
|
||||
<Tab fx:id="payPlanTab" text="付款计划">
|
||||
</Tab>
|
||||
<Tab fx:id="contractTab" text="子合同">
|
||||
</Tab>
|
||||
<Tab fx:id="bidVendorTab" text="供应商比价">
|
||||
</Tab>
|
||||
<Tab fx:id="fileTab" text="文件">
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" prefWidth="800.0" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status"
|
||||
HBox.hgrow="ALWAYS">
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" text="Right status" HBox.hgrow="NEVER"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?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/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.purchase_bill.PurchaseBillVoucherTabSkinItems">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Todo"/>
|
||||
</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="idColumn" editable="false" maxWidth="75.0" minWidth="50.0"
|
||||
prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="refIdColumn" editable="false" prefWidth="120.0" text="RefId" />
|
||||
<TableColumn fx:id="inventoryColumn" editable="false" minWidth="60.0"
|
||||
prefWidth="120.0" text="规格"/>
|
||||
<TableColumn fx:id="invoiceColumn" maxWidth="80.0" minWidth="40.0" prefWidth="60.0" text="发票"/>
|
||||
<TableColumn fx:id="orderItemColumn" maxWidth="240.0" minWidth="50.0" prefWidth="70.0"
|
||||
text="采购订单条目"/>
|
||||
<TableColumn fx:id="quantityColumn" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="数量"/>
|
||||
<TableColumn fx:id="priceColumn" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="结算单价"/>
|
||||
<TableColumn fx:id="contractColumn" prefWidth="90.0" text="合同"/>
|
||||
<TableColumn fx:id="descriptionColumn" maxWidth="500.0" minWidth="100.0" prefWidth="180.0"
|
||||
text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
136
src/main/resources/ui/contract/purchase-bill-voucher.fxml
Normal file
@@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<BorderPane prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.purchase_bill.PurchaseBillVoucherWindowController">
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
<Button fx:id="saveBtn" disable="true" text="保存(_S)"/>
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToHeight="true" fitToWidth="true" pannable="true">
|
||||
<content>
|
||||
<VBox>
|
||||
<children>
|
||||
<GridPane VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="80.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="42.0" vgrow="NEVER"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="订单号#"/>
|
||||
<Label text="采购订单编号" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="refIdField" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="codeField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="1"/>
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注" GridPane.rowIndex="6"/>
|
||||
<TextArea fx:id="descriptionField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="6"/>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="7">
|
||||
<children>
|
||||
|
||||
</children>
|
||||
</HBox>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="7"/>
|
||||
<Label text="制单人" GridPane.rowIndex="2"/>
|
||||
<Label text="制单日期" GridPane.columnIndex="2" GridPane.rowIndex="2"/>
|
||||
<Label text="审核人" GridPane.rowIndex="3"/>
|
||||
<Label text="审核日期" GridPane.columnIndex="2" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="makerField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="makeDateField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="verifierField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="verifierDateField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="3"/>
|
||||
<Label text="修改人" GridPane.rowIndex="4"/>
|
||||
<Label text="修改日期" GridPane.columnIndex="2" GridPane.rowIndex="4"/>
|
||||
<Label text="关闭人" GridPane.rowIndex="5"/>
|
||||
<Label text="关闭日期" GridPane.columnIndex="2" GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="modifierField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="modifierDateField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="closerField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="closerDateField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="5"/>
|
||||
<Label text="业务员" GridPane.columnIndex="2" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="employeeField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="1"/>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0"/>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="itemTab" text="发票条目">
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status"
|
||||
HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3"/>
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4"/>
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
@@ -0,0 +1,38 @@
|
||||
<?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/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.purchase_order.PurchaseOrderTabSkinBillVoucher">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Todo"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" 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="idColumn" editable="false" maxWidth="75.0" minWidth="50.0"
|
||||
prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="refIdColumn" editable="false" prefWidth="120.0" text="SBVID" visible="false"/>
|
||||
<TableColumn fx:id="codeColumn" editable="false" maxWidth="300.0" minWidth="60.0"
|
||||
prefWidth="120.0" text="Code"/>
|
||||
<TableColumn fx:id="invoiceColumn" prefWidth="90.0" text="发票"/>
|
||||
<TableColumn fx:id="employeeColumn" prefWidth="90.0" text="业务员"/>
|
||||
<TableColumn fx:id="makerColumn" prefWidth="90.0" text="制单人"/>
|
||||
<TableColumn fx:id="verifierColumn" prefWidth="90.0" text="审核人"/>
|
||||
<TableColumn fx:id="makerDateColumn" prefWidth="130.0" text="制单日期"/>
|
||||
<TableColumn fx:id="modifyDateColumn" prefWidth="130.0" text="修改日期"/>
|
||||
<TableColumn fx:id="verifierDateColumn" prefWidth="130.0" text="审核日期"/>
|
||||
<TableColumn fx:id="descriptionColumn" prefWidth="180.0" text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
47
src/main/resources/ui/contract/purchase-orders-tab-item.fxml
Normal file
@@ -0,0 +1,47 @@
|
||||
<?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/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.purchase_order.PurchaseOrderTabSkinItems">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Todo"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="itemTable" 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="idColumn" editable="false" maxWidth="75.0" minWidth="50.0"
|
||||
prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="refIdColumn" editable="false" prefWidth="120.0" text="RefId" visible="false"/>
|
||||
<TableColumn fx:id="nameColumn" editable="false" minWidth="60.0"
|
||||
prefWidth="120.0" text="规格"/>
|
||||
<TableColumn fx:id="unitColumn" maxWidth="80.0" minWidth="40.0" prefWidth="60.0" text="单位"/>
|
||||
<TableColumn fx:id="itemTable_quantityColumn" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="数量"/>
|
||||
<TableColumn fx:id="itemTable_taxPriceColumn" maxWidth="240.0" minWidth="50.0" prefWidth="70.0"
|
||||
text="含税单价"/>
|
||||
<TableColumn fx:id="itemTable_taxRateColumn" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="税率"/>
|
||||
<TableColumn fx:id="itemTable_exclusiveTaxPriceColumn" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="不含税单价"/>
|
||||
<TableColumn fx:id="itemTable_exclusiveTaxAmountColumn" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="不含税小计"/>
|
||||
<TableColumn fx:id="itemTable_taxAmountColumn" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="含税小计"/>
|
||||
<TableColumn fx:id="itemTable_arriveDateColumn" prefWidth="100.0"
|
||||
text="计划到货日期"/>
|
||||
<TableColumn fx:id="itemTable_descriptionColumn" maxWidth="500.0" minWidth="100.0" prefWidth="180.0"
|
||||
text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
125
src/main/resources/ui/contract/purchase-orders.fxml
Normal file
@@ -0,0 +1,125 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.ScrollPane?>
|
||||
<?import javafx.scene.control.Tab?>
|
||||
<?import javafx.scene.control.TabPane?>
|
||||
<?import javafx.scene.control.TextArea?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.control.ToolBar?>
|
||||
<?import javafx.scene.layout.BorderPane?>
|
||||
<?import javafx.scene.layout.ColumnConstraints?>
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<BorderPane prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.ecep.contract.manager.ds.contract.controller.purchase_order.PurchaseOrderWindowController">
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToHeight="true" fitToWidth="true" pannable="true">
|
||||
<content>
|
||||
<VBox>
|
||||
<children>
|
||||
<GridPane VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="80.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="42.0" vgrow="NEVER" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="订单号#" />
|
||||
<Label text="采购订单编号" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="refIdField" GridPane.columnIndex="1" />
|
||||
<TextField fx:id="codeField" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注" GridPane.rowIndex="6" />
|
||||
<TextArea fx:id="descriptionField" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="6" />
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="7">
|
||||
<children>
|
||||
<Button fx:id="saveBtn" disable="true" mnemonicParsing="false" text="保存" />
|
||||
</children>
|
||||
</HBox>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="7" />
|
||||
<Label text="制单人" GridPane.rowIndex="2" />
|
||||
<Label text="制单日期" GridPane.columnIndex="2" GridPane.rowIndex="2" />
|
||||
<Label text="审核人" GridPane.rowIndex="3" />
|
||||
<Label text="审核日期" GridPane.columnIndex="2" GridPane.rowIndex="3" />
|
||||
<TextField fx:id="makerField" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
||||
<TextField fx:id="makeDateField" GridPane.columnIndex="3" GridPane.rowIndex="2" />
|
||||
<TextField fx:id="verifierField" GridPane.columnIndex="1" GridPane.rowIndex="3" />
|
||||
<TextField fx:id="verifierDateField" GridPane.columnIndex="3" GridPane.rowIndex="3" />
|
||||
<Label text="修改人" GridPane.rowIndex="4" />
|
||||
<Label text="修改日期" GridPane.columnIndex="2" GridPane.rowIndex="4" />
|
||||
<Label text="关闭人" GridPane.rowIndex="5" />
|
||||
<Label text="关闭日期" GridPane.columnIndex="2" GridPane.rowIndex="5" />
|
||||
<TextField fx:id="modifierField" GridPane.columnIndex="1" GridPane.rowIndex="4" />
|
||||
<TextField fx:id="modifierDateField" GridPane.columnIndex="3" GridPane.rowIndex="4" />
|
||||
<TextField fx:id="closerField" GridPane.columnIndex="1" GridPane.rowIndex="5" />
|
||||
<TextField fx:id="closerDateField" GridPane.columnIndex="3" GridPane.rowIndex="5" />
|
||||
<Label text="业务员" GridPane.columnIndex="2" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="employeeField" GridPane.columnIndex="3" GridPane.rowIndex="1" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0" />
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="itemTab" text="订单条目">
|
||||
</Tab>
|
||||
<Tab fx:id="billVoucherTab" text="发票">
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status" HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3" />
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4" />
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS" />
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER" />
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
@@ -0,0 +1,37 @@
|
||||
<?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/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.sale_order.SalesOrderTabSkinBillVoucher">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Todo"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" 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="itemTable_idColumn" editable="false" maxWidth="75.0" minWidth="50.0"
|
||||
prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="refIdColumn" editable="false" prefWidth="120.0" text="SBVID" />
|
||||
<TableColumn fx:id="codeColumn" editable="false" maxWidth="300.0" minWidth="60.0"
|
||||
prefWidth="120.0" text="项目"/>
|
||||
<TableColumn fx:id="employeeColumn" prefWidth="90.0" text="业务员"/>
|
||||
<TableColumn fx:id="makerColumn" prefWidth="90.0" text="制单人"/>
|
||||
<TableColumn fx:id="verifierColumn" prefWidth="90.0" text="审核人"/>
|
||||
<TableColumn fx:id="makerDateColumn" prefWidth="130.0" text="制单日期"/>
|
||||
<TableColumn fx:id="modifyDateColumn" prefWidth="130.0" text="修改日期"/>
|
||||
<TableColumn fx:id="verifierDateColumn" prefWidth="130.0" text="审核日期"/>
|
||||
<TableColumn fx:id="descriptionColumn" prefWidth="180.0" text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
48
src/main/resources/ui/contract/sale-orders-tab-item.fxml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?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/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.sale_order.SalesOrderTabSkinItems">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Todo"/>
|
||||
</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="itemTable_idColumn" editable="false" maxWidth="75.0" minWidth="50.0"
|
||||
prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="itemTable_codeColumn" editable="false" maxWidth="300.0" minWidth="60.0"
|
||||
prefWidth="120.0" text="编号"/>
|
||||
<TableColumn fx:id="itemTable_nameColumn" editable="false" maxWidth="300.0" minWidth="60.0"
|
||||
prefWidth="120.0" text="规格"/>
|
||||
<TableColumn fx:id="itemTable_unitColumn" maxWidth="80.0" minWidth="40.0" prefWidth="60.0" text="单位"/>
|
||||
<TableColumn fx:id="itemTable_quantityColumn" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="数量"/>
|
||||
<TableColumn fx:id="itemTable_taxPriceColumn" maxWidth="240.0" minWidth="50.0" prefWidth="70.0"
|
||||
text="含税单价"/>
|
||||
<TableColumn fx:id="itemTable_taxRateColumn" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="税率"/>
|
||||
<TableColumn fx:id="itemTable_exclusiveTaxPriceColumn" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="不含税单价"/>
|
||||
<TableColumn fx:id="itemTable_exclusiveTaxAmountColumn" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="不含税小计"/>
|
||||
<TableColumn fx:id="itemTable_taxAmountColumn" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="含税小计"/>
|
||||
<TableColumn fx:id="itemTable_startDateColumn" prefWidth="85.0" text="起始日期"/>
|
||||
<TableColumn fx:id="itemTable_endDateColumn" prefWidth="85.0" text="截止日期"/>
|
||||
<TableColumn fx:id="itemTable_descriptionColumn" maxWidth="500.0" minWidth="100.0" prefWidth="180.0"
|
||||
text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
121
src/main/resources/ui/contract/sale-orders.fxml
Normal file
@@ -0,0 +1,121 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<BorderPane prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.sale_order.SalesOrderWindowController">
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToHeight="true" fitToWidth="true" pannable="true">
|
||||
<content>
|
||||
<VBox>
|
||||
<children>
|
||||
<GridPane VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="80.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="42.0" vgrow="NEVER"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="订单号#"/>
|
||||
<TextField fx:id="codeField" GridPane.columnIndex="1"/>
|
||||
<Label text="业务员" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="createdField" disable="true" promptText="yyyy-MM-dd"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="3"/>
|
||||
<Label text="制单人" GridPane.rowIndex="2"/>
|
||||
<Label text="制单日期" GridPane.columnIndex="2" GridPane.rowIndex="2"/>
|
||||
<Label text="审核人" GridPane.rowIndex="3"/>
|
||||
<Label text="审核日期" GridPane.columnIndex="2" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="makerField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="makeDateField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="verifierField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="verifierDateField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="3"/>
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注" GridPane.rowIndex="4"/>
|
||||
<TextArea fx:id="descriptionField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="4"/>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="5">
|
||||
<children>
|
||||
<Button fx:id="saveBtn" disable="true" mnemonicParsing="false"
|
||||
text="保存"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="employeeField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="1"/>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0"/>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="itemTab" text="订单条目">
|
||||
</Tab>
|
||||
<Tab fx:id="billVoucherTab" text="发票">
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status"
|
||||
HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3"/>
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4"/>
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
119
src/main/resources/ui/contract/vendor-bid.fxml
Normal file
@@ -0,0 +1,119 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<BorderPane maxHeight="900" maxWidth="1024" minHeight="300" minWidth="200" prefHeight="600.0" prefWidth="800.0"
|
||||
xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.VendorBidWindowController">
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="150.0"
|
||||
tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToHeight="true" fitToWidth="true" maxHeight="1.7976931348623157E308"
|
||||
maxWidth="1.7976931348623157E308" minWidth="150.0" pannable="true">
|
||||
<content>
|
||||
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
|
||||
minHeight="600.0" minWidth="150.0">
|
||||
<children>
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
|
||||
minWidth="150.0" VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="80.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="42.0" vgrow="NEVER"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="公司"/>
|
||||
<HBox GridPane.columnIndex="1">
|
||||
<children>
|
||||
<TextField fx:id="companyField" HBox.hgrow="ALWAYS"/>
|
||||
<Button fx:id="relativeCompanyBtn" mnemonicParsing="false"
|
||||
text="打开"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="报价表" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="fileField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="1"/>
|
||||
<Label text="日期" GridPane.rowIndex="3"/>
|
||||
<DatePicker fx:id="developDateField" promptText="yyyy-MM-dd" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="3"/>
|
||||
<Label text="日期" GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="createdField" disable="true" promptText="yyyy-MM-dd"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="4"/>
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注" GridPane.rowIndex="2"/>
|
||||
<TextArea fx:id="descriptionField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="2"/>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="5">
|
||||
<children>
|
||||
|
||||
</children>
|
||||
</HBox>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="5"/>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0"/>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
<Button fx:id="saveBtn" disable="true" text="保存(_S)"/>
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status"
|
||||
HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3"/>
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4"/>
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
23
src/main/resources/ui/dialog.css
Normal file
@@ -0,0 +1,23 @@
|
||||
.row-severe {
|
||||
-fx-background-color: #fff0f0;
|
||||
-fx-text-fill: red;
|
||||
}
|
||||
|
||||
.row-warning {
|
||||
-fx-text-fill: orange;
|
||||
-fx-background-color: #fff9f0; /* 浅橙色背景 */
|
||||
}
|
||||
|
||||
.row-info {
|
||||
-fx-text-fill: #000000;
|
||||
-fx-background-color: #f5fbf6; /* 浅绿色背景 */
|
||||
}
|
||||
|
||||
.row-config {
|
||||
-fx-text-fill: green;
|
||||
-fx-background-color: #f5fbf6; /* 浅绿色背景 */
|
||||
}
|
||||
|
||||
.row-fine {
|
||||
-fx-text-fill: #bcbcbc;
|
||||
}
|
||||
58
src/main/resources/ui/employee/department-manager.fxml
Normal file
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<VBox prefHeight="700.0" prefWidth="1000.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.other.controller.department.DepartmentManagerWindowController">
|
||||
<children>
|
||||
<MenuBar VBox.vgrow="NEVER">
|
||||
<menus>
|
||||
<Menu text="文件(_F)">
|
||||
<items>
|
||||
<MenuItem onAction="#onCreateNewAction" text="新建…(_N)"/>
|
||||
<MenuItem onAction="#onReBuildFilesAction" text="同步…(_R)" disable="true"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Preferences…"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu text="帮助(_H)">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="关于…"/>
|
||||
</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="1000.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"/>
|
||||
<TableColumn fx:id="codeColumn" prefWidth="50.0" text="编号 *"/>
|
||||
<TableColumn fx:id="nameColumn" prefWidth="150" text="名称 *"/>
|
||||
<TableColumn fx:id="leaderColumn" prefWidth="150" text="部门主管"/>
|
||||
<TableColumn fx:id="activeColumn" maxWidth="100.0" minWidth="50.0" text="启用"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" onAction="#onBaseTableRefreshAction" text="刷新"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
<columnResizePolicy>
|
||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
|
||||
</columnResizePolicy>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<fx:include source="../part-footer.fxml" fx:id="footer"/>
|
||||
</children>
|
||||
</VBox>
|
||||
30
src/main/resources/ui/employee/employee-auth-bind.fxml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?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.manager.ds.other.controller.employee.EmployeeTabSkinAuthBind">
|
||||
<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" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" prefWidth="60.0" text="ID"/>
|
||||
<TableColumn fx:id="ipColumn" prefWidth="100.0" text="IP"/>
|
||||
<TableColumn fx:id="macColumn" prefWidth="160.0" text="MAC"/>
|
||||
<TableColumn fx:id="createTime" prefWidth="150.0" text="创建时间" />
|
||||
<TableColumn fx:id="updaterColumn" prefWidth="90.0" text="修改人"/>
|
||||
<TableColumn fx:id="updateTimeColumn" prefWidth="150.0" text="修改时间"/>
|
||||
<TableColumn fx:id="descriptionColumn" prefWidth="200" text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
28
src/main/resources/ui/employee/employee-login-history.fxml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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.manager.ds.other.controller.employee.EmployeeTabSkinLoginHistory">
|
||||
<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" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" prefWidth="60.0" text="ID"/>
|
||||
<TableColumn fx:id="ipColumn" prefWidth="100.0" text="IP"/>
|
||||
<TableColumn fx:id="macColumn" prefWidth="160.0" text="MAC"/>
|
||||
<TableColumn fx:id="loginTimeColumn" prefWidth="150.0" text="登录时间"/>
|
||||
<TableColumn fx:id="activeTimeColumn" prefWidth="150.0" text="激活时间" sortType="DESCENDING"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
69
src/main/resources/ui/employee/employee-manager.fxml
Normal file
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<VBox prefHeight="700.0" prefWidth="1000.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.other.controller.employee.EmployeeManagerWindowController">
|
||||
<children>
|
||||
<MenuBar VBox.vgrow="NEVER">
|
||||
<menus>
|
||||
<Menu text="文件(_F)">
|
||||
<items>
|
||||
<MenuItem onAction="#onCreateNewAction" text="新建…(_N)"/>
|
||||
<MenuItem onAction="#onSyncFromU8Action" text="同步…(_S)"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Preferences…"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu text="帮助(_H)">
|
||||
<items>
|
||||
<MenuItem text="关于…(_A)"/>
|
||||
</items>
|
||||
</Menu>
|
||||
</menus>
|
||||
</MenuBar>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0">
|
||||
<items>
|
||||
<TextField fx:id="searchKeyField" promptText="检索关键字"/>
|
||||
<Button fx:id="searchBtn" mnemonicParsing="false" text="检索"/>
|
||||
<Separator/>
|
||||
<CheckBox fx:id="activeCheckBox" mnemonicParsing="false" text="启用" selected="true"/>
|
||||
</items>
|
||||
</ToolBar>
|
||||
<AnchorPane prefHeight="248.0" prefWidth="1000.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" maxWidth="100.0" prefWidth="60.0" text="ID"/>
|
||||
<TableColumn fx:id="nameColumn" maxWidth="300" minWidth="50.0" prefWidth="120.0" text="名称"/>
|
||||
<TableColumn fx:id="accountColumn" maxWidth="200.0" minWidth="50.0" prefWidth="150.0"
|
||||
text="账号"/>
|
||||
<TableColumn fx:id="departmentColumn" maxWidth="300.0" minWidth="100.0" prefWidth="180.0"
|
||||
text="部门"/>
|
||||
<TableColumn fx:id="emailColumn" maxWidth="300.0" minWidth="100.0" prefWidth="180.0"
|
||||
text="邮箱"/>
|
||||
<TableColumn fx:id="createdColumn" maxWidth="100.0" minWidth="50.0" sortType="DESCENDING"
|
||||
text="创建日期"/>
|
||||
<TableColumn fx:id="entryDateColumn" maxWidth="100.0" minWidth="50.0" text="入职日期"/>
|
||||
<TableColumn fx:id="leaveDateColumn" maxWidth="100.0" minWidth="50.0" text="离职日期"/>
|
||||
<TableColumn fx:id="codeColumn" minWidth="50.0" text="U8系统编号"/>
|
||||
<TableColumn fx:id="aliasColumn" maxWidth="300" minWidth="50.0" prefWidth="120.0" text="别名"/>
|
||||
<TableColumn fx:id="activeColumn" maxWidth="100.0" minWidth="50.0" text="启用"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" onAction="#onBaseTableRefreshAction" text="刷新"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
<columnResizePolicy>
|
||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
|
||||
</columnResizePolicy>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<fx:include source="../part-footer.fxml" fx:id="footer"/>
|
||||
</children>
|
||||
</VBox>
|
||||
188
src/main/resources/ui/employee/employee.fxml
Normal file
@@ -0,0 +1,188 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<?import org.controlsfx.control.ListSelectionView?>
|
||||
<BorderPane fx:id="root" maxHeight="900" maxWidth="1024" minHeight="300" minWidth="200" prefHeight="500.0"
|
||||
prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.other.controller.employee.EmployeeWindowController">
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="150.0"
|
||||
tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToHeight="true" fitToWidth="true" maxHeight="1.7976931348623157E308"
|
||||
maxWidth="1.7976931348623157E308" minWidth="150.0" pannable="true">
|
||||
<content>
|
||||
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
|
||||
minWidth="150.0">
|
||||
<children>
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
|
||||
minWidth="150.0" VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="42.0" vgrow="NEVER"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="姓名 *" GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="nameField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="2"/>
|
||||
<Label text="账号"/>
|
||||
<TextField fx:id="accountField" GridPane.columnIndex="1">
|
||||
<GridPane.margin>
|
||||
<Insets/>
|
||||
</GridPane.margin>
|
||||
</TextField>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="11">
|
||||
<children>
|
||||
|
||||
</children>
|
||||
</HBox>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="11"/>
|
||||
<Label text="邮箱 *" GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="emailField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="4"/>
|
||||
<Label text="创建日期" GridPane.rowIndex="9"/>
|
||||
<Label text="用友系统代码 *" GridPane.rowIndex="1"/>
|
||||
<DatePicker fx:id="createdField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="9"/>
|
||||
<TextField fx:id="codeField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="1"/>
|
||||
<Label text="别名" GridPane.rowIndex="3">
|
||||
<tooltip>
|
||||
<Tooltip text="用于解决有些姓名错别字,无法匹配"/>
|
||||
</tooltip>
|
||||
</Label>
|
||||
<TextField fx:id="aliasField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="3"/>
|
||||
<DatePicker fx:id="leaveDateField" layoutX="130.0" layoutY="104.0"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="8"/>
|
||||
<DatePicker fx:id="entryDateField" layoutX="130.0" layoutY="164.0"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="7"/>
|
||||
<Label text="入职日期 *" GridPane.rowIndex="7"/>
|
||||
<Label text="离职日期 *" GridPane.rowIndex="8"/>
|
||||
<Label text="活跃的" GridPane.rowIndex="10"/>
|
||||
<CheckBox fx:id="isActiveField" mnemonicParsing="false"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="10"/>
|
||||
<Label text="部门 *" GridPane.rowIndex="6"/>
|
||||
<TextField fx:id="departmentField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="6"/>
|
||||
<Label prefWidth="34.0" text="电话 *" GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="phoneField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="5"/>
|
||||
<!-- <CheckListView fx:id="rolesField" GridPane.columnIndex="3" GridPane.rowSpan="10" />-->
|
||||
<Label text="角色" GridPane.columnIndex="2" GridPane.rowSpan="10">
|
||||
<tooltip>
|
||||
<Tooltip text="用于解决有些姓名错别字,无法匹配"/>
|
||||
</tooltip>
|
||||
</Label>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0"/>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="rolesTab" text="关联角色">
|
||||
<content>
|
||||
<ListSelectionView fx:id="rolesField">
|
||||
<sourceHeader>
|
||||
<Label text="可选角色"/>
|
||||
</sourceHeader>
|
||||
<targetHeader>
|
||||
<Label text="已选角色"/>
|
||||
</targetHeader>
|
||||
<!-- <targetFooter>-->
|
||||
<!-- <Button text="保存" disable="true"/>-->
|
||||
<!-- </targetFooter>-->
|
||||
</ListSelectionView>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="loginHistoryTab" text="登录历史">
|
||||
<content>
|
||||
<Label text="登录历史"/>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="authBindTab" text="验证绑定">
|
||||
<content>
|
||||
<Label text="绑定验证信息"/>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="permissionsTab" text="权限">
|
||||
<content>
|
||||
<TableView fx:id="permissionsTable">
|
||||
</TableView>
|
||||
</content>
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
<Button fx:id="saveBtn" disable="true" text="保存(_S)"/>
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status"
|
||||
HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3"/>
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4"/>
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
73
src/main/resources/ui/employee/functions-manager.fxml
Normal file
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<VBox prefHeight="700.0" prefWidth="1000.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.other.controller.permission.EmployeeFunctionsManagerWindowController">
|
||||
<children>
|
||||
<MenuBar VBox.vgrow="NEVER">
|
||||
<menus>
|
||||
<Menu text="文件(_F)">
|
||||
<items>
|
||||
<MenuItem onAction="#onCreateNewAction" text="新建…(_N)"/>
|
||||
<MenuItem onAction="#onReBuildFilesAction" text="同步…(_R)"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Preferences…"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu text="帮助(_H)">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="关于…"/>
|
||||
</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>
|
||||
|
||||
<SplitPane dividerPositions="0.5" prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS">
|
||||
<items>
|
||||
<AnchorPane>
|
||||
<children>
|
||||
<TitledPane animated="false" collapsible="false" text="功能表" AnchorPane.bottomAnchor="0.0"
|
||||
AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<content>
|
||||
<TableView fx:id="table" prefHeight="200.0" prefWidth="200.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" prefWidth="50.0" sortType="DESCENDING" text="ID"/>
|
||||
<TableColumn fx:id="nameColumn" prefWidth="150.0" text="名称"/>
|
||||
<TableColumn fx:id="keyColumn" prefWidth="150" text="KEY"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</content>
|
||||
</TitledPane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane>
|
||||
<children>
|
||||
<TitledPane animated="false" collapsible="false" text="权限表" AnchorPane.bottomAnchor="0.0"
|
||||
AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<content>
|
||||
<TableView fx:id="permissionTable" prefHeight="200.0" prefWidth="200.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="permissionTable_idColumn" prefWidth="50.0"
|
||||
sortType="DESCENDING" text="ID"/>
|
||||
<TableColumn fx:id="permissionTable_nameColumn" prefWidth="150.0" text="名称"/>
|
||||
<TableColumn fx:id="permissionTable_keyColumn" prefWidth="150" text="KEY"/>
|
||||
<TableColumn fx:id="permissionTable_descriptionColumn" prefWidth="200"
|
||||
text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</content>
|
||||
</TitledPane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</items>
|
||||
</SplitPane>
|
||||
<fx:include source="../part-footer.fxml" fx:id="footer"/>
|
||||
</children>
|
||||
</VBox>
|
||||
140
src/main/resources/ui/employee/role.fxml
Normal file
@@ -0,0 +1,140 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.CheckBox?>
|
||||
<?import javafx.scene.control.DatePicker?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.ScrollPane?>
|
||||
<?import javafx.scene.control.Tab?>
|
||||
<?import javafx.scene.control.TabPane?>
|
||||
<?import javafx.scene.control.TableView?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.control.ToolBar?>
|
||||
<?import javafx.scene.control.Tooltip?>
|
||||
<?import javafx.scene.layout.BorderPane?>
|
||||
<?import javafx.scene.layout.ColumnConstraints?>
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<?import org.controlsfx.control.ListSelectionView?>
|
||||
|
||||
<BorderPane fx:id="root" maxHeight="900" maxWidth="1024" minHeight="300" minWidth="200" prefHeight="500.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.ecep.contract.manager.ds.other.controller.permission.EmployeeRoleWindowController">
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="150.0" tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToHeight="true" fitToWidth="true" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="150.0" pannable="true">
|
||||
<content>
|
||||
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="150.0">
|
||||
<children>
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="150.0" VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="42.0" vgrow="NEVER" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="系统管理员" GridPane.rowIndex="2" />
|
||||
<Label text="名称" />
|
||||
<TextField fx:id="nameField" GridPane.columnIndex="1">
|
||||
<GridPane.margin>
|
||||
<Insets />
|
||||
</GridPane.margin>
|
||||
</TextField>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="6">
|
||||
<children>
|
||||
|
||||
</children>
|
||||
</HBox>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="6" />
|
||||
<Label text="创建日期" GridPane.rowIndex="4" />
|
||||
<Label text="编号" GridPane.rowIndex="1" />
|
||||
<DatePicker fx:id="createdField" disable="true" GridPane.columnIndex="1" GridPane.rowIndex="4" />
|
||||
<TextField fx:id="codeField" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
||||
<Label text="管理层" GridPane.rowIndex="3">
|
||||
<tooltip>
|
||||
<Tooltip text="用于解决有些姓名错别字,无法匹配" />
|
||||
</tooltip></Label>
|
||||
<Label text="活跃的" GridPane.rowIndex="5" />
|
||||
<CheckBox fx:id="activeField" disable="true" mnemonicParsing="false" GridPane.columnIndex="1" GridPane.rowIndex="5" />
|
||||
<CheckBox fx:id="systemAdministratorField" mnemonicParsing="false" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
||||
<CheckBox fx:id="managerField" mnemonicParsing="false" GridPane.columnIndex="1" GridPane.rowIndex="3" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0" />
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="functionsTab" text="关联功能">
|
||||
<content>
|
||||
<ListSelectionView fx:id="functionsField">
|
||||
<sourceHeader>
|
||||
<Label text="可选功能" />
|
||||
</sourceHeader>
|
||||
<targetHeader>
|
||||
<Label text="已选功能" />
|
||||
</targetHeader>
|
||||
<targetFooter>
|
||||
<Button disable="true" text="保存" />
|
||||
</targetFooter>
|
||||
</ListSelectionView>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="permissionsTab" text="权限">
|
||||
<content>
|
||||
<TableView fx:id="permissionsTable">
|
||||
</TableView>
|
||||
</content>
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
<Button fx:id="saveBtn" disable="true" text="保存(_S)" />
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status" HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3" />
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4" />
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS" />
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER" />
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
48
src/main/resources/ui/employee/roles-manager.fxml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<VBox prefHeight="700.0" prefWidth="1000.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.ecep.contract.manager.ds.other.controller.permission.EmployeeRolesManagerWindowController">
|
||||
<children>
|
||||
<MenuBar VBox.vgrow="NEVER">
|
||||
<menus>
|
||||
<Menu text="文件(_F)">
|
||||
<items>
|
||||
<MenuItem onAction="#onCreateNewAction" text="新建…(_N)" />
|
||||
<MenuItem onAction="#onReBuildFilesAction" text="同步…(_R)" />
|
||||
<SeparatorMenuItem mnemonicParsing="false" />
|
||||
<MenuItem mnemonicParsing="false" text="Preferences…" />
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu text="帮助(_H)">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="关于…" />
|
||||
</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="1000.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"/>
|
||||
<TableColumn fx:id="nameColumn" prefWidth="150" text="名称 *"/>
|
||||
<TableColumn fx:id="codeColumn" prefWidth="150" text="编号"/>
|
||||
<TableColumn fx:id="systemAdministratorColumn" prefWidth="50" text="系统管理员"/>
|
||||
<TableColumn fx:id="managerColumn" prefWidth="50" text="管理层"/>
|
||||
</columns>
|
||||
<columnResizePolicy>
|
||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
|
||||
</columnResizePolicy>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<fx:include source="../part-footer.fxml" fx:id="footer"/>
|
||||
</children>
|
||||
</VBox>
|
||||
210
src/main/resources/ui/home.fxml
Normal file
@@ -0,0 +1,210 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.image.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import org.controlsfx.control.TaskProgressView?>
|
||||
<VBox fx:id="root" prefHeight="468.0" prefWidth="737.0" xmlns="http://javafx.com/javafx/22"
|
||||
xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.other.controller.HomeWindowController">
|
||||
<children>
|
||||
<MenuBar>
|
||||
<menus>
|
||||
<Menu text="文件(_F)">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="Action 1"/>
|
||||
<MenuItem mnemonicParsing="false" onAction="#openConfigWindow" text="选项…"/>
|
||||
<Menu text="数据源">
|
||||
<MenuItem mnemonicParsing="false" onAction="#openGroupRKResourceWindow" text="集团相关方…"/>
|
||||
<MenuItem mnemonicParsing="false" onAction="#openTycResourceWindow" text="天眼查…"/>
|
||||
<MenuItem mnemonicParsing="false" onAction="#openYongYouResourceWindow" text="用友U8…"/>
|
||||
</Menu>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="公司">
|
||||
<items>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="用友U8">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" onAction="#createNewU8ContractSyncTaskAction"
|
||||
text="同步合同"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu text="设置(_S)">
|
||||
<items>
|
||||
<MenuItem onAction="#onShowEmployeeManagerWindowAction" text="员工管理(_E)"/>
|
||||
<MenuItem onAction="#onShowDepartmentManagerWindowAction" text="部门管理(_D)"/>
|
||||
<MenuItem onAction="#onShowRolesManagerWindowAction" text="角色管理(_R)"/>
|
||||
<MenuItem onAction="#onShowFunctionManagerWindowAction" text="功能管理(_R)"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem onAction="#onShowBankManagerWindowAction" text="银行管理(_B)"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem onAction="#onShowTaskMonitorWindowAction" text="任务监控(_M)"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem onAction="#onShowInventoryManagerWindowAction" text="存货管理(_I)"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu text="帮助(_H)">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" onAction="#openInBrowse" text="国家企业信用信息公示系统"
|
||||
userData="https://www.gsxt.gov.cn/"/>
|
||||
<MenuItem mnemonicParsing="false" onAction="#openInBrowse" text="天眼查-商业查询平台"
|
||||
userData="https://www.tianyancha.com/"/>
|
||||
<MenuItem mnemonicParsing="false" text="关于"/>
|
||||
</items>
|
||||
</Menu>
|
||||
</menus>
|
||||
</MenuBar>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0">
|
||||
<items>
|
||||
<Button fx:id="openCompanyManagerWindow" mnemonicParsing="false" style="-fx-padding: 6px;">
|
||||
<graphic>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="46.0" fitWidth="64.0">
|
||||
<viewport>
|
||||
<Rectangle2D height="46.0" width="64.0"/>
|
||||
</viewport>
|
||||
<image>
|
||||
<Image url="@img/f4.png"/>
|
||||
</image>
|
||||
</ImageView>
|
||||
<Label text="公司">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0"/>
|
||||
</VBox.margin>
|
||||
</Label>
|
||||
</children>
|
||||
</VBox>
|
||||
</graphic>
|
||||
</Button>
|
||||
<Button fx:id="openProjectManagerWindow" mnemonicParsing="false" style="-fx-padding: 6px;">
|
||||
<graphic>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="46.0" fitWidth="64.0">
|
||||
<Image url="@img/f0.png"/>
|
||||
<viewport>
|
||||
<Rectangle2D height="46.0" width="64.0"/>
|
||||
</viewport>
|
||||
</ImageView>
|
||||
<Label text="项目">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0"/>
|
||||
</VBox.margin>
|
||||
</Label>
|
||||
</children>
|
||||
</VBox>
|
||||
</graphic>
|
||||
</Button>
|
||||
<Button fx:id="openContractManagerWindow" mnemonicParsing="false" style="-fx-padding: 6px;">
|
||||
<graphic>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="46.0" fitWidth="64.0">
|
||||
<Image url="@img/f1.png"/>
|
||||
<viewport>
|
||||
<Rectangle2D height="46.0" width="64.0"/>
|
||||
</viewport>
|
||||
</ImageView>
|
||||
<Label text="合同">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0"/>
|
||||
</VBox.margin>
|
||||
</Label>
|
||||
</children>
|
||||
</VBox>
|
||||
</graphic>
|
||||
</Button>
|
||||
<Button fx:id="openVendorManagerWindow" mnemonicParsing="false" style="-fx-padding: 6px;">
|
||||
<graphic>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="46.0" fitWidth="64.0">
|
||||
<Image url="@img/f2.png"/>
|
||||
<viewport>
|
||||
<Rectangle2D height="46.0" width="64.0"/>
|
||||
</viewport>
|
||||
</ImageView>
|
||||
<Label text="供应商">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0"/>
|
||||
</VBox.margin>
|
||||
</Label>
|
||||
</children>
|
||||
</VBox>
|
||||
</graphic>
|
||||
</Button>
|
||||
<!-- 客户 -->
|
||||
<Button fx:id="openCustomManagerWindow" layoutX="138.0" layoutY="10.0" mnemonicParsing="false"
|
||||
style="-fx-padding: 6px;">
|
||||
<graphic>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="46.0" fitWidth="64.0">
|
||||
<Image url="@img/f3.png"/>
|
||||
<viewport>
|
||||
<Rectangle2D height="46.0" width="64.0"/>
|
||||
</viewport>
|
||||
</ImageView>
|
||||
<Label text="客户">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0"/>
|
||||
</VBox.margin>
|
||||
</Label>
|
||||
</children>
|
||||
</VBox>
|
||||
</graphic>
|
||||
</Button>
|
||||
|
||||
<!-- 任务监控演示 -->
|
||||
<Button mnemonicParsing="false" style="-fx-padding: 6px;" onAction="#onRunTaskMonitorDemo">
|
||||
<graphic>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="46.0" fitWidth="64.0">
|
||||
<viewport>
|
||||
<Rectangle2D height="46.0" width="64.0"/>
|
||||
</viewport>
|
||||
</ImageView>
|
||||
<Label text="任务监控演示">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0"/>
|
||||
</VBox.margin>
|
||||
</Label>
|
||||
</children>
|
||||
</VBox>
|
||||
</graphic>
|
||||
</Button>
|
||||
</items>
|
||||
<opaqueInsets>
|
||||
<Insets/>
|
||||
</opaqueInsets>
|
||||
<padding>
|
||||
<Insets bottom="6.0" left="6.0" right="6.0" top="6.0"/>
|
||||
</padding>
|
||||
</ToolBar>
|
||||
<AnchorPane prefHeight="248.0" prefWidth="2239.0" VBox.vgrow="ALWAYS"/>
|
||||
<TaskProgressView fx:id="taskProgressView"/>
|
||||
<HBox>
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" text="Label" wrapText="true"/>
|
||||
<Pane prefHeight="12.0" prefWidth="12.0" HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" layoutX="10.0" layoutY="10.0" text="-" wrapText="true"
|
||||
HBox.hgrow="SOMETIMES">
|
||||
<HBox.margin>
|
||||
<Insets left="6.0"/>
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
<Label fx:id="employeeStatusLabel" layoutX="711.0" layoutY="10.0" text="管理员" wrapText="true"
|
||||
HBox.hgrow="SOMETIMES">
|
||||
<HBox.margin>
|
||||
<Insets left="6.0"/>
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
BIN
src/main/resources/ui/img/22844.gif
Normal file
|
After Width: | Height: | Size: 70 B |
BIN
src/main/resources/ui/img/22847.gif
Normal file
|
After Width: | Height: | Size: 277 B |
BIN
src/main/resources/ui/img/22848.gif
Normal file
|
After Width: | Height: | Size: 203 B |
BIN
src/main/resources/ui/img/22849.gif
Normal file
|
After Width: | Height: | Size: 81 B |
BIN
src/main/resources/ui/img/22949.gif
Normal file
|
After Width: | Height: | Size: 370 B |
BIN
src/main/resources/ui/img/23037.gif
Normal file
|
After Width: | Height: | Size: 170 B |
BIN
src/main/resources/ui/img/23048.gif
Normal file
|
After Width: | Height: | Size: 96 B |
BIN
src/main/resources/ui/img/3960.gif
Normal file
|
After Width: | Height: | Size: 133 B |
BIN
src/main/resources/ui/img/4955.gif
Normal file
|
After Width: | Height: | Size: 90 B |
BIN
src/main/resources/ui/img/5241.gif
Normal file
|
After Width: | Height: | Size: 169 B |
BIN
src/main/resources/ui/img/5258.gif
Normal file
|
After Width: | Height: | Size: 132 B |
BIN
src/main/resources/ui/img/5260.gif
Normal file
|
After Width: | Height: | Size: 237 B |
BIN
src/main/resources/ui/img/about.gif
Normal file
|
After Width: | Height: | Size: 962 B |
BIN
src/main/resources/ui/img/about_error.gif
Normal file
|
After Width: | Height: | Size: 196 B |
BIN
src/main/resources/ui/img/btn_print.gif
Normal file
|
After Width: | Height: | Size: 637 B |
BIN
src/main/resources/ui/img/cbook.gif
Normal file
|
After Width: | Height: | Size: 898 B |
BIN
src/main/resources/ui/img/edit_order_mag_glass_icon.gif
Normal file
|
After Width: | Height: | Size: 597 B |
BIN
src/main/resources/ui/img/error.gif
Normal file
|
After Width: | Height: | Size: 947 B |
BIN
src/main/resources/ui/img/f0.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
src/main/resources/ui/img/f1.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
src/main/resources/ui/img/f2.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
src/main/resources/ui/img/f3.png
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
BIN
src/main/resources/ui/img/f4.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
src/main/resources/ui/img/icon_alarm.gif
Normal file
|
After Width: | Height: | Size: 304 B |
BIN
src/main/resources/ui/img/icon_fan.gif
Normal file
|
After Width: | Height: | Size: 294 B |
BIN
src/main/resources/ui/img/icon_maint.gif
Normal file
|
After Width: | Height: | Size: 360 B |
BIN
src/main/resources/ui/img/icon_oa.gif
Normal file
|
After Width: | Height: | Size: 374 B |
BIN
src/main/resources/ui/img/icon_print.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
src/main/resources/ui/img/icon_privileges.gif
Normal file
|
After Width: | Height: | Size: 86 B |
BIN
src/main/resources/ui/img/icon_schedule.gif
Normal file
|
After Width: | Height: | Size: 189 B |
BIN
src/main/resources/ui/img/icon_schedule_group.gif
Normal file
|
After Width: | Height: | Size: 267 B |