重新初始化项目
This commit is contained in:
195
src/main/resources/ui/company/bank-account.fxml
Normal file
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
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
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
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
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
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
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
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
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
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
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
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
BIN
src/main/resources/ui/company/customer/customer-icon.png
Normal file
Binary file not shown.
|
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
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
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
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
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
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
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
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
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
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
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
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
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>
|
||||
Reference in New Issue
Block a user