拆分模块
This commit is contained in:
71
client/src/main/resources/ui/contract/contract-manager.fxml
Normal file
71
client/src/main/resources/ui/contract/contract-manager.fxml
Normal file
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<VBox prefHeight="680.0" prefWidth="1120.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractManagerWindowController">
|
||||
<children>
|
||||
<MenuBar VBox.vgrow="NEVER">
|
||||
<menus>
|
||||
<Menu text="文件(_F)">
|
||||
<items>
|
||||
<MenuItem text="新建…(_N)" onAction="#onCreateNewContractAction"/>
|
||||
<MenuItem text="合同文件重置…(_R)" onAction="#onContractFilesRebuildAction"/>
|
||||
<MenuItem text="合同同步…(_S)" onAction="#onContractRepairAllAction"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem text="首选项…(_P)" disable="true"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu text="合规(_V)">
|
||||
<items>
|
||||
<MenuItem text="合规验证(_V)" onAction="#onVerifyAction"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu text="帮助(_H)">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="About MyHelloApp"/>
|
||||
</items>
|
||||
</Menu>
|
||||
</menus>
|
||||
</MenuBar>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0">
|
||||
<items>
|
||||
<ComboBox fx:id="groupSelector" editable="true" prefWidth="100.0" promptText="分组选择"/>
|
||||
<TextField fx:id="searchKeyField" promptText="检索关键字"/>
|
||||
<Button fx:id="searchBtn" mnemonicParsing="false" text="检索"/>
|
||||
<Separator orientation="VERTICAL">
|
||||
<HBox.margin>
|
||||
<Insets/>
|
||||
</HBox.margin>
|
||||
</Separator>
|
||||
<CheckBox fx:id="composeViewBtn" selected="true" text="合并显示"/>
|
||||
</items>
|
||||
</ToolBar>
|
||||
<AnchorPane prefHeight="248.0" prefWidth="2239.0" VBox.vgrow="ALWAYS">
|
||||
<children>
|
||||
<TableView fx:id="table" layoutX="52.0" layoutY="14.0" prefHeight="200.0" prefWidth="200.0"
|
||||
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
|
||||
AnchorPane.topAnchor="0.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" prefWidth="60.0" text="ID"/>
|
||||
<TableColumn fx:id="codeColumn" prefWidth="150.0" text="合同编号"/>
|
||||
<TableColumn fx:id="nameColumn" prefWidth="260" text="名称"/>
|
||||
<TableColumn fx:id="amountColumn" prefWidth="90" text="合同金额" style="-fx-alignment: center-right;"/>
|
||||
<TableColumn fx:id="parentCodeColumn" prefWidth="100.0" text="主合同"/>
|
||||
<TableColumn fx:id="companyColumn" prefWidth="150.0" text="签订单位"/>
|
||||
<TableColumn fx:id="employeeColumn" text="业务员"/>
|
||||
<TableColumn fx:id="setupDateColumn" sortType="DESCENDING" text="提交日期"/>
|
||||
<TableColumn fx:id="orderDateColumn" text="签订日期"/>
|
||||
<TableColumn fx:id="startDateColumn" text="开始日期"/>
|
||||
<TableColumn fx:id="createdColumn" prefWidth="130" sortType="DESCENDING" text="创建时间"/>
|
||||
<TableColumn fx:id="groupColumn" text="分组"/>
|
||||
<TableColumn fx:id="typeColumn" text="分类"/>
|
||||
<TableColumn fx:id="kindColumn" text="性质"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<fx:include source="../part-footer.fxml" fx:id="footer"/>
|
||||
</children>
|
||||
</VBox>
|
||||
37
client/src/main/resources/ui/contract/contract-tab-bid.fxml
Normal file
37
client/src/main/resources/ui/contract/contract-tab-bid.fxml
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0"
|
||||
xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractTabSkinVendorBid">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button fx:id="bidVendorCreateBtn" mnemonicParsing="false" text="新增"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" layoutX="48.0" layoutY="26.0" prefHeight="487.0" prefWidth="900.0"
|
||||
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="bidVendorTable_idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="bidVendorTable_companyColumn" prefWidth="200.0" text="供应商"/>
|
||||
<TableColumn fx:id="bidVendorTable_quotationSheetColumn" prefWidth="200.0" text="报价表"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="bidVendorTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
<MenuItem fx:id="bidVendorTable_menu_delete" mnemonicParsing="false" text="删除"/>
|
||||
<MenuItem fx:id="bidVendorTable_menu_chose_sheet" mnemonicParsing="false" text="匹配报价表"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.CheckBox?>
|
||||
<?import javafx.scene.control.ComboBox?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.ScrollPane?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.layout.ColumnConstraints?>
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
|
||||
<ScrollPane pannable="true" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractTabSkinExtendVendorInfo">
|
||||
<content>
|
||||
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="100.0">
|
||||
<children>
|
||||
<GridPane maxHeight="1.7976931348623157E308" minWidth="150.0" VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="42.0" vgrow="NEVER" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="采购合同类型" />
|
||||
<VBox spacing="6.0" GridPane.columnIndex="1" GridPane.columnSpan="3">
|
||||
<children>
|
||||
<ComboBox fx:id="vendorGroupField" />
|
||||
<Label fx:id="vendorGroupLabel" text="采购合同类型" wrapText="true" />
|
||||
</children>
|
||||
<GridPane.margin>
|
||||
<Insets bottom="3.0" top="3.0" />
|
||||
</GridPane.margin>
|
||||
</VBox>
|
||||
<Label text="合同序号" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="sequenceNumberField" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
||||
<Label text="指定供应商" GridPane.rowIndex="2" />
|
||||
<VBox fillWidth="false" spacing="3.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="2">
|
||||
<children>
|
||||
<CheckBox fx:id="assignedProviderField" mnemonicParsing="false" />
|
||||
<Label text="指定供应商后,将不对供应商进行比价" wrapText="true" />
|
||||
</children>
|
||||
<GridPane.margin>
|
||||
<Insets bottom="6.0" top="6.0" />
|
||||
</GridPane.margin>
|
||||
</VBox>
|
||||
<Label text="预采购" GridPane.rowIndex="3" />
|
||||
<VBox fillWidth="false" layoutX="130.0" layoutY="96.0" spacing="3.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="3">
|
||||
<children>
|
||||
<CheckBox fx:id="prePurchaseField" mnemonicParsing="false" />
|
||||
<Label text="是否是预采购,预采购不对当前采购合同与销售合同日期做校验" wrapText="true" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
49
client/src/main/resources/ui/contract/contract-tab-file.fxml
Normal file
49
client/src/main/resources/ui/contract/contract-tab-file.fxml
Normal file
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractTabSkinFiles">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button fx:id="fileTableReBuildBtn" mnemonicParsing="false" text="重置"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" editable="true" layoutX="48.0" layoutY="26.0" prefHeight="487.0" prefWidth="900.0"
|
||||
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="fileTable_idColumn" editable="false" maxWidth="75.0" minWidth="50.0"
|
||||
prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="fileTable_typeColumn" editable="false" maxWidth="150.0" minWidth="50.0"
|
||||
prefWidth="100.0" text="类型"/>
|
||||
<TableColumn fx:id="fileTable_filePathColumn" editable="false" prefWidth="300.0" text="文件"/>
|
||||
<TableColumn fx:id="fileTable_applyDateColumn" maxWidth="120.0" minWidth="120.0" prefWidth="120.0"
|
||||
text="生效日期"/>
|
||||
<TableColumn fx:id="fileTable_descriptionColumn" maxWidth="200.0" minWidth="100.0" prefWidth="180.0"
|
||||
text="备注"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="fileTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
<MenuItem fx:id="fileTable_menu_del" mnemonicParsing="false" text="删除"/>
|
||||
<Menu fx:id="fileTable_menu_pdf" text="PDF"/>
|
||||
<Menu fx:id="fileTable_menu_update" text="更新"/>
|
||||
<Menu fx:id="fileTable_menu_change_type" mnemonicParsing="false" text="变更类型"/>
|
||||
<Menu fx:id="fileTable_menu_change_type_and_name" mnemonicParsing="false"
|
||||
text="变更类型并重命名"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
<columnResizePolicy>
|
||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
|
||||
</columnResizePolicy>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0"
|
||||
xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractTabSkinItemsV2">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Todo"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" layoutX="48.0" layoutY="26.0" prefHeight="487.0" prefWidth="900.0"
|
||||
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" editable="false" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="inventoryColumn" editable="false" prefWidth="90.0" text="存货编码"/>
|
||||
<TableColumn fx:id="titleColumn" editable="false" prefWidth="150.0" text="项目"/>
|
||||
<TableColumn fx:id="specificationColumn" editable="false" prefWidth="150.0" text="规格"/>
|
||||
<TableColumn fx:id="unitColumn" prefWidth="60.0" text="单位" style="-fx-alignment: center;"/>
|
||||
<TableColumn fx:id="quantityColumn" prefWidth="70.0" editable="false"
|
||||
style="-fx-alignment: center-right;"
|
||||
text="数量"/>
|
||||
<TableColumn fx:id="exclusiveTaxPriceColumn" prefWidth="110.0" text="不含税单价"
|
||||
style="-fx-alignment: center-right;"/>
|
||||
<TableColumn fx:id="exclusiveTaxAmountColumn" prefWidth="130.0" style="-fx-alignment: center-right;"
|
||||
text="不含税小计"/>
|
||||
<TableColumn fx:id="taxRateColumn" prefWidth="60.0" text="税率" style="-fx-alignment: center-right;"/>
|
||||
<TableColumn fx:id="taxPriceColumn" prefWidth="110.0" text="含税单价"
|
||||
style="-fx-alignment: center-right;"/>
|
||||
<TableColumn fx:id="taxAmountColumn" style="-fx-alignment: center-right;"
|
||||
prefWidth="130.0" text="含税小计"/>
|
||||
<TableColumn fx:id="refIdColumn" editable="false" prefWidth="75.0" text="RefId"/>
|
||||
<TableColumn fx:id="codeColumn" editable="false" prefWidth="75.0" text="Code"/>
|
||||
<TableColumn fx:id="startDateColumn" prefWidth="130.0" text="起始日期"/>
|
||||
<TableColumn fx:id="endDateColumn" prefWidth="130.0" text="截止日期"/>
|
||||
<TableColumn fx:id="creatorColumn" prefWidth="75.0" text="创建人"/>
|
||||
<TableColumn fx:id="createDateColumn" prefWidth="130.0" text="创建时间"/>
|
||||
<TableColumn fx:id="updaterColumn" prefWidth="75.0" text="更新人"/>
|
||||
<TableColumn fx:id="updateDateColumn" prefWidth="130.0" text="更新时间"/>
|
||||
<TableColumn fx:id="remarkColumn" maxWidth="500.0" minWidth="100.0" prefWidth="180.0"
|
||||
text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
68
client/src/main/resources/ui/contract/contract-tab-item.fxml
Normal file
68
client/src/main/resources/ui/contract/contract-tab-item.fxml
Normal file
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0"
|
||||
xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractTabSkinItems">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Todo"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" editable="true" layoutX="48.0" layoutY="26.0" prefHeight="487.0" prefWidth="900.0"
|
||||
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="itemTable_idColumn" editable="false" maxWidth="75.0" minWidth="50.0"
|
||||
prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="itemTable_titleColumn" editable="false" maxWidth="300.0" minWidth="60.0"
|
||||
prefWidth="120.0" text="项目"/>
|
||||
<TableColumn fx:id="itemTable_specificationColumn" editable="false" maxWidth="300.0" minWidth="60.0"
|
||||
prefWidth="120.0" text="规格"/>
|
||||
<TableColumn fx:id="itemTable_unitColumn" maxWidth="80.0" minWidth="40.0" prefWidth="60.0" text="单位"/>
|
||||
<TableColumn fx:id="itemTable_columnGroup1" editable="false" maxWidth="500.0" minWidth="100.0"
|
||||
prefWidth="200.0" text="进项(销售)">
|
||||
<columns>
|
||||
<TableColumn fx:id="itemTable_quantityColumn1" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="数量"/>
|
||||
<TableColumn fx:id="itemTable_exclusiveTaxPriceColumn1" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="不含税单价"/>
|
||||
<TableColumn fx:id="itemTable_exclusiveTaxAmountColumn1" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="不含税小计"/>
|
||||
<TableColumn fx:id="itemTable_taxRateColumn1" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="税率"/>
|
||||
<TableColumn fx:id="itemTable_taxPriceColumn1" maxWidth="240.0" minWidth="50.0" prefWidth="70.0"
|
||||
text="含税单价"/>
|
||||
<TableColumn fx:id="itemTable_taxAmountColumn1" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="含税小计"/>
|
||||
</columns>
|
||||
</TableColumn>
|
||||
<TableColumn fx:id="itemTable_columnGroup2" editable="false" maxWidth="500.0" minWidth="100.0"
|
||||
prefWidth="200.0" text="出项(采购)">
|
||||
<columns>
|
||||
<TableColumn fx:id="itemTable_quantityColumn2" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="数量"/>
|
||||
<TableColumn fx:id="itemTable_exclusiveTaxPriceColumn2" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="不含税单价"/>
|
||||
<TableColumn fx:id="itemTable_exclusiveTaxAmountColumn2" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="不含税小计"/>
|
||||
<TableColumn fx:id="itemTable_taxRateColumn2" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="税率"/>
|
||||
<TableColumn fx:id="itemTable_taxPriceColumn2" maxWidth="240.0" minWidth="50.0" prefWidth="70.0"
|
||||
text="含税单价"/>
|
||||
<TableColumn fx:id="itemTable_taxAmountColumn2" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="含税小计"/>
|
||||
</columns>
|
||||
</TableColumn>
|
||||
<TableColumn fx:id="itemTable_remarkColumn" maxWidth="500.0" minWidth="100.0" prefWidth="180.0"
|
||||
text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0"
|
||||
xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractTabSkinPayPlan">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Todo"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" layoutX="48.0" layoutY="26.0" prefHeight="487.0" prefWidth="900.0"
|
||||
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" editable="false" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="payDateColumn" editable="false" prefWidth="90.0" text="付款日期" style="-fx-alignment: center;"/>
|
||||
<TableColumn fx:id="payRatioColumn" editable="false" prefWidth="75.0" text="付款比例%" style="-fx-alignment: center-right;"/>
|
||||
<TableColumn fx:id="payCurrencyColumn" editable="false" prefWidth="150.0" text="付款金额" style="-fx-alignment: center-right;"/>
|
||||
<TableColumn fx:id="payTermColumn" prefWidth="200.0" text="付款条款" />
|
||||
<TableColumn fx:id="refIdColumn" editable="false" prefWidth="75.0" text="RefId"/>
|
||||
<TableColumn fx:id="updateDateColumn" prefWidth="130.0" text="更新时间"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="400.0" prefWidth="600.0"
|
||||
xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractTabSkinPurchaseOrders"
|
||||
>
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<TextField fx:id="searchKeyField" promptText="检索关键字"/>
|
||||
<Button fx:id="searchBtn" mnemonicParsing="false" text="检索"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" layoutX="48.0" layoutY="26.0" prefHeight="487.0" prefWidth="900.0"
|
||||
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="codeColumn" prefWidth="120" text="采购订单编号"/>
|
||||
<TableColumn fx:id="table_makerColumn" prefWidth="100" text="制单人"/>
|
||||
<TableColumn fx:id="table_makerDateColumn" prefWidth="150" text="制单日期"/>
|
||||
<TableColumn fx:id="table_verifierColumn" prefWidth="100" text="审核人"/>
|
||||
<TableColumn fx:id="table_verifierDateColumn" prefWidth="150" text="审核日期"/>
|
||||
<TableColumn fx:id="table_modifierrColumn" prefWidth="100" text="修改人"/>
|
||||
<TableColumn fx:id="table_modifierDateColumn" prefWidth="150" text="修改日期"/>
|
||||
<TableColumn fx:id="table_closerColumn" prefWidth="100" text="订单关闭"/>
|
||||
<TableColumn fx:id="table_closerDateColumn" prefWidth="150" text="订单关闭日期"/>
|
||||
<TableColumn fx:id="table_descriptionColumn" prefWidth="120" text="注释"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="table_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0"
|
||||
xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractTabSkinSaleOrders"
|
||||
>
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<TextField fx:id="contractSearchKeyField" promptText="检索关键字"/>
|
||||
<Button fx:id="searchBtn" mnemonicParsing="false" text="检索"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" layoutX="48.0" layoutY="26.0" prefHeight="487.0" prefWidth="900.0"
|
||||
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="codeColumn" prefWidth="120" text="编号"/>
|
||||
<TableColumn fx:id="employeeColumn" prefWidth="120" text="编号"/>
|
||||
<TableColumn fx:id="makerColumn" prefWidth="90.0" text="制单人" />
|
||||
<TableColumn fx:id="makerDateColumn" prefWidth="130.0" text="制单日期"/>
|
||||
<TableColumn fx:id="verifierColumn" prefWidth="70.0" text="审核人"/>
|
||||
<TableColumn fx:id="verifierDateColumn" prefWidth="130.0" text="审核日期"/>
|
||||
|
||||
<TableColumn fx:id="descriptionColumn" prefWidth="180.0" text="备注"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="subContractTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0"
|
||||
xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractTabSkinSubContract"
|
||||
>
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<TextField fx:id="contractSearchKeyField" promptText="检索关键字"/>
|
||||
<Button fx:id="contractSearchBtn" mnemonicParsing="false" text="检索"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" layoutX="48.0" layoutY="26.0" prefHeight="487.0" prefWidth="900.0"
|
||||
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="subContractTable_idColumn" prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="subContractTable_codeColumn" prefWidth="120" text="合同编号" sortType="DESCENDING"/>
|
||||
<TableColumn fx:id="subContractTable_nameColumn" prefWidth="250" text="合同名称"/>
|
||||
<TableColumn fx:id="subContractTable_setupDateColumn" prefWidth="75.0" text="提交日期"/>
|
||||
<TableColumn fx:id="subContractTable_inureDateColumn" prefWidth="75.0" text="生效日期"/>
|
||||
<TableColumn fx:id="subContractTable_orderDateColumn" prefWidth="75.0" text="签订日期"/>
|
||||
<TableColumn fx:id="subContractTable_varyDateColumn" prefWidth="75.0" text="修改日期"/>
|
||||
</columns>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem fx:id="subContractTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
35
client/src/main/resources/ui/contract/contract-verify.css
Normal file
35
client/src/main/resources/ui/contract/contract-verify.css
Normal file
@@ -0,0 +1,35 @@
|
||||
.message-column-ctx {
|
||||
-fx-alignment: center-left;
|
||||
-fx-spacing: 5;
|
||||
}
|
||||
|
||||
.msg-text {
|
||||
-fx-font-size: 12px;
|
||||
-fx-wrap-text: false;
|
||||
-fx-text-overrun: ellipsis;-fx-background-radius: 3px;
|
||||
-fx-padding: 2px;
|
||||
}
|
||||
|
||||
.msg-text.severe {
|
||||
-fx-text-fill: red;
|
||||
-fx-background-color: #fff0f0;
|
||||
}
|
||||
|
||||
.msg-text.warning {
|
||||
-fx-text-fill: orange;
|
||||
-fx-background-color: #fff9f0; /* 浅橙色背景 */
|
||||
}
|
||||
|
||||
.msg-text.info {
|
||||
-fx-text-fill: #000000;
|
||||
-fx-background-color: #f5fbf6; /* 浅绿色背景 */
|
||||
}
|
||||
.msg-text.config {
|
||||
-fx-text-fill: green;
|
||||
-fx-background-color: #f5fbf6; /* 浅绿色背景 */
|
||||
}
|
||||
|
||||
.msg-text.fine {
|
||||
-fx-text-fill: #bcbcbc;
|
||||
}
|
||||
|
||||
136
client/src/main/resources/ui/contract/contract-verify.fxml
Normal file
136
client/src/main/resources/ui/contract/contract-verify.fxml
Normal file
@@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<VBox prefHeight="600.0" prefWidth="900.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractVerifyWindowController">
|
||||
<children>
|
||||
<MenuBar VBox.vgrow="NEVER">
|
||||
<menus>
|
||||
<Menu mnemonicParsing="false" text="File">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="New"/>
|
||||
<MenuItem mnemonicParsing="false" text="Open…"/>
|
||||
<Menu mnemonicParsing="false" text="Open Recent"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Close"/>
|
||||
<MenuItem mnemonicParsing="false" text="Save"/>
|
||||
<MenuItem mnemonicParsing="false" text="Save As…"/>
|
||||
<MenuItem mnemonicParsing="false" text="Revert"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Preferences…"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<MenuItem mnemonicParsing="false" text="Quit"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu text="导出(_E)">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="导出当前验证结果…"
|
||||
onAction="#onExportVerifyResultAsFileAction"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="Help">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="About MyHelloApp"/>
|
||||
</items>
|
||||
</Menu>
|
||||
</menus>
|
||||
</MenuBar>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0">
|
||||
<items>
|
||||
<Label text="提交日期:"/>
|
||||
<DatePicker fx:id="setupDateBeginSelector" prefHeight="23.0" prefWidth="100.0" promptText="起始日期"/>
|
||||
<Label layoutX="10.0" layoutY="18.0" text="至"/>
|
||||
<DatePicker fx:id="setupDateEndSelector" layoutX="10.0" layoutY="14.0" prefHeight="23.0"
|
||||
prefWidth="100.0" promptText="截至日期"/>
|
||||
<MenuButton mnemonicParsing="false" text="选项">
|
||||
<items>
|
||||
<CheckMenuItem fx:id="verifyCompanyStatusChecker" mnemonicParsing="false" selected="true"
|
||||
text="验证公司营业状态"/>
|
||||
<CheckMenuItem fx:id="verifyCompanyPathChecker" mnemonicParsing="false" selected="true"
|
||||
text="验证公司目录"/>
|
||||
<CheckMenuItem fx:id="verifyCompanyCreditChecker" mnemonicParsing="false" selected="true"
|
||||
text="验证公司资信"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<CheckMenuItem fx:id="verifyCustomerChecker" mnemonicParsing="false" selected="true"
|
||||
text="验证客户"/>
|
||||
<CheckMenuItem fx:id="verifyCustomerFileChecker" mnemonicParsing="false" selected="true"
|
||||
text="验证客户文件"/>
|
||||
<CheckMenuItem fx:id="verifyCustomerSubContractDateChecker" mnemonicParsing="false"
|
||||
text="验证客户采购合同日期"/>
|
||||
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<CheckMenuItem fx:id="verifyVendorChecker" mnemonicParsing="false" selected="true"
|
||||
text="验证供应商"/>
|
||||
<CheckMenuItem fx:id="verifyVendorFileChecker" mnemonicParsing="false" selected="true"
|
||||
text="验证供应商文件"/>
|
||||
<SeparatorMenuItem mnemonicParsing="false"/>
|
||||
<CheckMenuItem fx:id="onlyShowVerifiedChecker" mnemonicParsing="false" selected="true"
|
||||
text="只显示未通过的"/>
|
||||
</items>
|
||||
</MenuButton>
|
||||
<Button mnemonicParsing="false" onAction="#onVerifyAction" text="开始验证">
|
||||
<tooltip>
|
||||
<Tooltip text="Empty Tooltip"/>
|
||||
</tooltip>
|
||||
</Button>
|
||||
</items>
|
||||
</ToolBar>
|
||||
<AnchorPane VBox.vgrow="ALWAYS">
|
||||
<children>
|
||||
<Label alignment="CENTER" layoutX="155.0" layoutY="177.0" style=" "
|
||||
text="Drag components from Library here…" textAlignment="CENTER" textFill="#9f9f9f"
|
||||
wrapText="true">
|
||||
<font>
|
||||
<Font size="18.0"/>
|
||||
</font>
|
||||
</Label>
|
||||
<TableView fx:id="viewTable" layoutX="55.0" layoutY="25.0" prefHeight="200.0" prefWidth="200.0"
|
||||
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="5.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="viewTable_codeColumn" maxWidth="150.0" prefWidth="90.0" text="合同号"/>
|
||||
<TableColumn fx:id="viewTable_nameColumn" maxWidth="500.0" prefWidth="200.0" text="合同名"/>
|
||||
<TableColumn fx:id="viewTable_employeeColumn" maxWidth="120.0" prefWidth="85.0" text="业务员"/>
|
||||
<TableColumn fx:id="viewTable_setupDateColumn" maxWidth="120.0" prefWidth="85.0"
|
||||
text="合同提交日期"/>
|
||||
<TableColumn fx:id="viewTable_stateColumn" prefWidth="380.0" text="状态"/>
|
||||
</columns>
|
||||
<columnResizePolicy>
|
||||
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
|
||||
</columnResizePolicy>
|
||||
<contextMenu>
|
||||
<ContextMenu>
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" onAction="#onShowContractDetailAction"
|
||||
text="合同详情"/>
|
||||
<MenuItem mnemonicParsing="false" onAction="#onContractReVerifyAction" text="重新验证"/>
|
||||
</items>
|
||||
</ContextMenu>
|
||||
</contextMenu>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" prefWidth="800.0" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status"
|
||||
HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3"/>
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4"/>
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
16
client/src/main/resources/ui/contract/contract.css
Normal file
16
client/src/main/resources/ui/contract/contract.css
Normal file
@@ -0,0 +1,16 @@
|
||||
.custom-cell{
|
||||
-fx-background-color: rgb(239, 239, 239);
|
||||
/*-fx-border-color: rgb(96, 96, 96);*/
|
||||
-fx-table-cell-border-color: -fx-selection-bar;
|
||||
-fx-text-fill: #000;
|
||||
}
|
||||
.custom-cell:hover {
|
||||
-fx-background-color: #f0f0f0;
|
||||
}
|
||||
.custom-cell:selected {
|
||||
-fx-background-color: -fx-selection-bar;
|
||||
-fx-text-fill: #333;
|
||||
}
|
||||
.custom-cell:focused {
|
||||
-fx-background-color: #e0f0ff;
|
||||
}
|
||||
334
client/src/main/resources/ui/contract/contract.fxml
Normal file
334
client/src/main/resources/ui/contract/contract.fxml
Normal file
@@ -0,0 +1,334 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import org.controlsfx.glyphfont.Glyph?>
|
||||
<BorderPane fx:id="root" maxHeight="900" maxWidth="1024" minHeight="300" minWidth="200" prefHeight="561.0"
|
||||
prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.ContractWindowController">
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="800.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
<Button onAction="#onContractOpenInExplorerAction" text="打开目录(_D)"/>
|
||||
<Button onAction="#onSyncContractAction" text="同步(_R)"/>
|
||||
<Button fx:id="saveBtn" disable="true" text="保存(_S)">
|
||||
<graphic>
|
||||
<Glyph fontFamily="FontAwesome" icon="SAVE"/>
|
||||
</graphic>
|
||||
</Button>
|
||||
<Button fx:id="verifyBtn" onAction="#onContractVerifyAction" text="合规(_V)">
|
||||
<graphic>
|
||||
<Glyph fontFamily="FontAwesome" icon="CHECK"/>
|
||||
</graphic>
|
||||
<tooltip>
|
||||
<Tooltip text="按照预定规则检测合同是否符合合规要求"/>
|
||||
</tooltip>
|
||||
</Button>
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<center>
|
||||
<TabPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="150.0"
|
||||
tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToWidth="true" pannable="true" prefHeight="486.0" prefWidth="800.0">
|
||||
<content>
|
||||
<VBox>
|
||||
<children>
|
||||
<GridPane VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints fillWidth="false" halignment="CENTER" hgrow="NEVER"
|
||||
maxWidth="200.0" minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="100.0" prefWidth="180.0"/>
|
||||
<ColumnConstraints fillWidth="false" halignment="CENTER" hgrow="NEVER"
|
||||
maxWidth="200.0" minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="100.0" prefWidth="180.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="80.0" prefHeight="80.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="42.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="42.0" vgrow="NEVER"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="合同名称 *"/>
|
||||
<Label text="合同编码 *" GridPane.rowIndex="2"/>
|
||||
<Label text="状态 *" GridPane.columnIndex="2" GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="codeField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="stateField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="4"/>
|
||||
<HBox GridPane.columnIndex="1" GridPane.columnSpan="3">
|
||||
<children>
|
||||
<TextField fx:id="nameField" HBox.hgrow="ALWAYS"/>
|
||||
<Button fx:id="contractRenameBtn" mnemonicParsing="false"
|
||||
text="合同更名"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label layoutX="20.0" layoutY="28.0" text="GUID *"
|
||||
GridPane.columnIndex="2" GridPane.rowIndex="17"/>
|
||||
<Label layoutX="20.0" layoutY="58.0" text="分组 *"
|
||||
GridPane.columnIndex="2" GridPane.rowIndex="3"/>
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注"
|
||||
GridPane.rowIndex="18"/>
|
||||
<TextField fx:id="groupField" layoutX="202.0" layoutY="114.0"
|
||||
GridPane.columnIndex="3" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="guidField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="17"/>
|
||||
<Label layoutX="56.0" layoutY="118.0" text="类型 *"
|
||||
GridPane.columnIndex="2" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="typeField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="kindField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="2"/>
|
||||
<Label text="性质 *" GridPane.columnIndex="2" GridPane.rowIndex="2"/>
|
||||
<Label text="合同起止日期 *" GridPane.rowIndex="8"/>
|
||||
<Label text="存储目录" GridPane.rowIndex="15"/>
|
||||
<TextField fx:id="pathField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="15">
|
||||
<GridPane.margin>
|
||||
<Insets/>
|
||||
</GridPane.margin>
|
||||
</TextField>
|
||||
<Label text="创建日期" GridPane.rowIndex="17"/>
|
||||
<TextField fx:id="createdField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="17"/>
|
||||
<HBox GridPane.columnIndex="1" GridPane.rowIndex="8">
|
||||
<children>
|
||||
<DatePicker fx:id="startDateField"
|
||||
maxWidth="1.7976931348623157E308"
|
||||
promptText="启时日期" HBox.hgrow="ALWAYS">
|
||||
<HBox.margin>
|
||||
<Insets right="6.0"/>
|
||||
</HBox.margin>
|
||||
</DatePicker>
|
||||
<DatePicker fx:id="endDateField"
|
||||
maxWidth="1.7976931348623157E308"
|
||||
promptText="截止日期" HBox.hgrow="ALWAYS"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<TextArea fx:id="descriptionField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="18"/>
|
||||
<Label text="提交人 *" GridPane.columnIndex="2" GridPane.rowIndex="8"/>
|
||||
<HBox GridPane.columnIndex="3" GridPane.rowIndex="8">
|
||||
<children>
|
||||
<TextField fx:id="setupPersonField" HBox.hgrow="SOMETIMES"/>
|
||||
<DatePicker fx:id="setupDateField" HBox.hgrow="SOMETIMES"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="签订日期 *" GridPane.rowIndex="9"/>
|
||||
<DatePicker fx:id="orderDateField" maxWidth="1.7976931348623157E308"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="9"/>
|
||||
<Label text="生效人 *" GridPane.columnIndex="2" GridPane.rowIndex="9"/>
|
||||
<Label text="修改人 *" GridPane.columnIndex="2" GridPane.rowIndex="10"/>
|
||||
<HBox GridPane.columnIndex="3" GridPane.rowIndex="9">
|
||||
<children>
|
||||
<TextField fx:id="inurePersonField" HBox.hgrow="SOMETIMES"/>
|
||||
<DatePicker fx:id="inureDateField" HBox.hgrow="SOMETIMES"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox GridPane.columnIndex="3" GridPane.rowIndex="10">
|
||||
<children>
|
||||
<TextField fx:id="varyPersonField" HBox.hgrow="SOMETIMES"/>
|
||||
<DatePicker fx:id="varyDateField" HBox.hgrow="SOMETIMES"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<TextField fx:id="parentCodeField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="3"/>
|
||||
<Label text="主合同编码" GridPane.rowIndex="3"/>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="19"/>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="16">
|
||||
<children>
|
||||
<Button fx:id="contractPathCreateBtn" mnemonicParsing="false"
|
||||
text="创建目录"/>
|
||||
<Button fx:id="contractPathChangeBtn" mnemonicParsing="false"
|
||||
text="变更目录"/>
|
||||
<Button fx:id="contractPathAsNameBtn" mnemonicParsing="false"
|
||||
text="与合同名称同名"/>
|
||||
<Button fx:id="contractPathAsCodeBtn" mnemonicParsing="false"
|
||||
text="与合同号同名"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="4">
|
||||
<children>
|
||||
<Button fx:id="openMainContractBtn" mnemonicParsing="false"
|
||||
text="打开主合同"/>
|
||||
<Button fx:id="calcMainContractNoBtn" mnemonicParsing="false"
|
||||
text="计算主合同编号"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="对方单位 *" GridPane.rowIndex="5"/>
|
||||
<HBox spacing="5.0" GridPane.columnIndex="1" GridPane.columnSpan="3"
|
||||
GridPane.rowIndex="5">
|
||||
<children>
|
||||
<TextField fx:id="companyField" HBox.hgrow="SOMETIMES"/>
|
||||
<Button mnemonicParsing="false"
|
||||
onAction="#onContractOpenRelativeCompanyAction"
|
||||
text="详情">
|
||||
<HBox.margin>
|
||||
<Insets/>
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button fx:id="openRelativeCompanyCustomerBtn"
|
||||
mnemonicParsing="false" text="客户">
|
||||
<HBox.margin>
|
||||
<Insets/>
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button fx:id="openRelativeCompanyVendorBtn"
|
||||
mnemonicParsing="false" text="供应商"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="业务员 *" GridPane.rowIndex="11"/>
|
||||
<VBox GridPane.columnIndex="1" GridPane.rowIndex="11">
|
||||
<children>
|
||||
<TextField fx:id="employeeField"/>
|
||||
</children>
|
||||
<GridPane.margin>
|
||||
<Insets bottom="5.0" top="5.0"/>
|
||||
</GridPane.margin>
|
||||
</VBox>
|
||||
<Label text="经办人" GridPane.columnIndex="2" GridPane.rowIndex="11"/>
|
||||
<VBox GridPane.columnIndex="3" GridPane.rowIndex="11">
|
||||
<children>
|
||||
<TextField fx:id="handlerField"/>
|
||||
</children>
|
||||
<GridPane.margin>
|
||||
<Insets bottom="5.0" top="5.0"/>
|
||||
</GridPane.margin>
|
||||
</VBox>
|
||||
|
||||
<Label text="归属项目" GridPane.rowIndex="1"/>
|
||||
<HBox GridPane.columnIndex="1" GridPane.rowIndex="1">
|
||||
<children>
|
||||
<TextField fx:id="projectField" prefWidth="190.0"
|
||||
HBox.hgrow="ALWAYS"/>
|
||||
<Button fx:id="linkContractProjectBtn" mnemonicParsing="false"
|
||||
text="关联" textOverrun="CLIP">
|
||||
</Button>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="1. (*) 字段数据同步自用友U8系统,同步时将被覆盖"
|
||||
textFill="#888888" wrapText="true" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="20"/>
|
||||
<Label text="合同金额" GridPane.rowIndex="6"/>
|
||||
<TextField fx:id="amountField" alignment="CENTER_RIGHT"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="6"/>
|
||||
<Label text="合同总数量 *" GridPane.rowIndex="12"/>
|
||||
<Label text="合同总金额 *" GridPane.rowIndex="13"/>
|
||||
<Label text="不含税总金额 *" GridPane.rowIndex="14"/>
|
||||
<Label text="执行总数量 *" GridPane.columnIndex="2"
|
||||
GridPane.rowIndex="12"/>
|
||||
<Label text="执行总金额 *" GridPane.columnIndex="2"
|
||||
GridPane.rowIndex="13"/>
|
||||
<Label text="不含税总金额 *" GridPane.columnIndex="2"
|
||||
GridPane.rowIndex="14"/>
|
||||
<TextField fx:id="totalQuantityField" alignment="CENTER_RIGHT"
|
||||
GridPane.columnIndex="1" GridPane.halignment="RIGHT"
|
||||
GridPane.rowIndex="12"/>
|
||||
<TextField fx:id="totalAmountField" alignment="CENTER_RIGHT"
|
||||
GridPane.columnIndex="1" GridPane.halignment="RIGHT"
|
||||
GridPane.rowIndex="13"/>
|
||||
<TextField fx:id="totalUnTaxAmountField" alignment="CENTER_RIGHT"
|
||||
GridPane.columnIndex="1" GridPane.halignment="RIGHT"
|
||||
GridPane.rowIndex="14"/>
|
||||
<TextField fx:id="execQuantityField" alignment="CENTER_RIGHT"
|
||||
GridPane.columnIndex="3" GridPane.halignment="RIGHT"
|
||||
GridPane.rowIndex="12"/>
|
||||
<TextField fx:id="execAmountField" alignment="CENTER_RIGHT"
|
||||
GridPane.columnIndex="3" GridPane.halignment="RIGHT"
|
||||
GridPane.rowIndex="13"/>
|
||||
<TextField fx:id="execUnTaxAmountField" alignment="CENTER_RIGHT"
|
||||
GridPane.columnIndex="3" GridPane.halignment="RIGHT"
|
||||
GridPane.rowIndex="14"/>
|
||||
<Label text="付款方向 *" GridPane.columnIndex="2"
|
||||
GridPane.rowIndex="6"/>
|
||||
<TextField fx:id="payWayField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="6"/>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0"/>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="extendVendorInfo" text="采购信息">
|
||||
</Tab>
|
||||
<Tab fx:id="itemTab" text="合同内容">
|
||||
</Tab>
|
||||
<Tab fx:id="payPlanTab" text="付款计划">
|
||||
</Tab>
|
||||
<Tab fx:id="contractTab" text="子合同">
|
||||
</Tab>
|
||||
<Tab fx:id="bidVendorTab" text="供应商比价">
|
||||
</Tab>
|
||||
<Tab fx:id="fileTab" text="文件">
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" prefWidth="800.0" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status"
|
||||
HBox.hgrow="ALWAYS">
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" text="Right status" HBox.hgrow="NEVER"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0"
|
||||
xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.purchase_bill.PurchaseBillVoucherTabSkinItems">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Todo"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" editable="true" layoutX="48.0" layoutY="26.0" prefHeight="487.0" prefWidth="900.0"
|
||||
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" editable="false" maxWidth="75.0" minWidth="50.0"
|
||||
prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="refIdColumn" editable="false" prefWidth="120.0" text="RefId" />
|
||||
<TableColumn fx:id="inventoryColumn" editable="false" minWidth="60.0"
|
||||
prefWidth="120.0" text="规格"/>
|
||||
<TableColumn fx:id="invoiceColumn" maxWidth="80.0" minWidth="40.0" prefWidth="60.0" text="发票"/>
|
||||
<TableColumn fx:id="orderItemColumn" maxWidth="240.0" minWidth="50.0" prefWidth="70.0"
|
||||
text="采购订单条目"/>
|
||||
<TableColumn fx:id="quantityColumn" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="数量"/>
|
||||
<TableColumn fx:id="priceColumn" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="结算单价"/>
|
||||
<TableColumn fx:id="contractColumn" prefWidth="90.0" text="合同"/>
|
||||
<TableColumn fx:id="descriptionColumn" maxWidth="500.0" minWidth="100.0" prefWidth="180.0"
|
||||
text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
136
client/src/main/resources/ui/contract/purchase-bill-voucher.fxml
Normal file
136
client/src/main/resources/ui/contract/purchase-bill-voucher.fxml
Normal file
@@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<BorderPane prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.purchase_bill.PurchaseBillVoucherWindowController">
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
<Button fx:id="saveBtn" disable="true" text="保存(_S)"/>
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToHeight="true" fitToWidth="true" pannable="true">
|
||||
<content>
|
||||
<VBox>
|
||||
<children>
|
||||
<GridPane VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="80.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="42.0" vgrow="NEVER"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="订单号#"/>
|
||||
<Label text="采购订单编号" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="refIdField" GridPane.columnIndex="1"/>
|
||||
<TextField fx:id="codeField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="1"/>
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注" GridPane.rowIndex="6"/>
|
||||
<TextArea fx:id="descriptionField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="6"/>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="7">
|
||||
<children>
|
||||
|
||||
</children>
|
||||
</HBox>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="7"/>
|
||||
<Label text="制单人" GridPane.rowIndex="2"/>
|
||||
<Label text="制单日期" GridPane.columnIndex="2" GridPane.rowIndex="2"/>
|
||||
<Label text="审核人" GridPane.rowIndex="3"/>
|
||||
<Label text="审核日期" GridPane.columnIndex="2" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="makerField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="makeDateField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="verifierField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="verifierDateField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="3"/>
|
||||
<Label text="修改人" GridPane.rowIndex="4"/>
|
||||
<Label text="修改日期" GridPane.columnIndex="2" GridPane.rowIndex="4"/>
|
||||
<Label text="关闭人" GridPane.rowIndex="5"/>
|
||||
<Label text="关闭日期" GridPane.columnIndex="2" GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="modifierField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="modifierDateField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="closerField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="closerDateField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="5"/>
|
||||
<Label text="业务员" GridPane.columnIndex="2" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="employeeField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="1"/>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0"/>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="itemTab" text="发票条目">
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status"
|
||||
HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3"/>
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4"/>
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0"
|
||||
xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.purchase_order.PurchaseOrderTabSkinBillVoucher">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Todo"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" layoutX="48.0" layoutY="26.0" prefHeight="487.0" prefWidth="900.0"
|
||||
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" editable="false" maxWidth="75.0" minWidth="50.0"
|
||||
prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="refIdColumn" editable="false" prefWidth="120.0" text="SBVID" visible="false"/>
|
||||
<TableColumn fx:id="codeColumn" editable="false" maxWidth="300.0" minWidth="60.0"
|
||||
prefWidth="120.0" text="Code"/>
|
||||
<TableColumn fx:id="invoiceColumn" prefWidth="90.0" text="发票"/>
|
||||
<TableColumn fx:id="employeeColumn" prefWidth="90.0" text="业务员"/>
|
||||
<TableColumn fx:id="makerColumn" prefWidth="90.0" text="制单人"/>
|
||||
<TableColumn fx:id="verifierColumn" prefWidth="90.0" text="审核人"/>
|
||||
<TableColumn fx:id="makerDateColumn" prefWidth="130.0" text="制单日期"/>
|
||||
<TableColumn fx:id="modifyDateColumn" prefWidth="130.0" text="修改日期"/>
|
||||
<TableColumn fx:id="verifierDateColumn" prefWidth="130.0" text="审核日期"/>
|
||||
<TableColumn fx:id="descriptionColumn" prefWidth="180.0" text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0"
|
||||
xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.purchase_order.PurchaseOrderTabSkinItems">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Todo"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="itemTable" editable="true" layoutX="48.0" layoutY="26.0" prefHeight="487.0" prefWidth="900.0"
|
||||
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="idColumn" editable="false" maxWidth="75.0" minWidth="50.0"
|
||||
prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="refIdColumn" editable="false" prefWidth="120.0" text="RefId" visible="false"/>
|
||||
<TableColumn fx:id="nameColumn" editable="false" minWidth="60.0"
|
||||
prefWidth="120.0" text="规格"/>
|
||||
<TableColumn fx:id="unitColumn" maxWidth="80.0" minWidth="40.0" prefWidth="60.0" text="单位"/>
|
||||
<TableColumn fx:id="itemTable_quantityColumn" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="数量"/>
|
||||
<TableColumn fx:id="itemTable_taxPriceColumn" maxWidth="240.0" minWidth="50.0" prefWidth="70.0"
|
||||
text="含税单价"/>
|
||||
<TableColumn fx:id="itemTable_taxRateColumn" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="税率"/>
|
||||
<TableColumn fx:id="itemTable_exclusiveTaxPriceColumn" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="不含税单价"/>
|
||||
<TableColumn fx:id="itemTable_exclusiveTaxAmountColumn" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="不含税小计"/>
|
||||
<TableColumn fx:id="itemTable_taxAmountColumn" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="含税小计"/>
|
||||
<TableColumn fx:id="itemTable_arriveDateColumn" prefWidth="100.0"
|
||||
text="计划到货日期"/>
|
||||
<TableColumn fx:id="itemTable_descriptionColumn" maxWidth="500.0" minWidth="100.0" prefWidth="180.0"
|
||||
text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
125
client/src/main/resources/ui/contract/purchase-orders.fxml
Normal file
125
client/src/main/resources/ui/contract/purchase-orders.fxml
Normal file
@@ -0,0 +1,125 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.ScrollPane?>
|
||||
<?import javafx.scene.control.Tab?>
|
||||
<?import javafx.scene.control.TabPane?>
|
||||
<?import javafx.scene.control.TextArea?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.control.ToolBar?>
|
||||
<?import javafx.scene.layout.BorderPane?>
|
||||
<?import javafx.scene.layout.ColumnConstraints?>
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<BorderPane prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.ecep.contract.manager.ds.contract.controller.purchase_order.PurchaseOrderWindowController">
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToHeight="true" fitToWidth="true" pannable="true">
|
||||
<content>
|
||||
<VBox>
|
||||
<children>
|
||||
<GridPane VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0" minWidth="80.0" prefWidth="120.0" />
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308" minWidth="50.0" prefWidth="180.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="80.0" vgrow="NEVER" />
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308" minHeight="30.0" prefHeight="42.0" vgrow="NEVER" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="订单号#" />
|
||||
<Label text="采购订单编号" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="refIdField" GridPane.columnIndex="1" />
|
||||
<TextField fx:id="codeField" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注" GridPane.rowIndex="6" />
|
||||
<TextArea fx:id="descriptionField" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="6" />
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1" GridPane.columnSpan="3" GridPane.rowIndex="7">
|
||||
<children>
|
||||
<Button fx:id="saveBtn" disable="true" mnemonicParsing="false" text="保存" />
|
||||
</children>
|
||||
</HBox>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="7" />
|
||||
<Label text="制单人" GridPane.rowIndex="2" />
|
||||
<Label text="制单日期" GridPane.columnIndex="2" GridPane.rowIndex="2" />
|
||||
<Label text="审核人" GridPane.rowIndex="3" />
|
||||
<Label text="审核日期" GridPane.columnIndex="2" GridPane.rowIndex="3" />
|
||||
<TextField fx:id="makerField" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
||||
<TextField fx:id="makeDateField" GridPane.columnIndex="3" GridPane.rowIndex="2" />
|
||||
<TextField fx:id="verifierField" GridPane.columnIndex="1" GridPane.rowIndex="3" />
|
||||
<TextField fx:id="verifierDateField" GridPane.columnIndex="3" GridPane.rowIndex="3" />
|
||||
<Label text="修改人" GridPane.rowIndex="4" />
|
||||
<Label text="修改日期" GridPane.columnIndex="2" GridPane.rowIndex="4" />
|
||||
<Label text="关闭人" GridPane.rowIndex="5" />
|
||||
<Label text="关闭日期" GridPane.columnIndex="2" GridPane.rowIndex="5" />
|
||||
<TextField fx:id="modifierField" GridPane.columnIndex="1" GridPane.rowIndex="4" />
|
||||
<TextField fx:id="modifierDateField" GridPane.columnIndex="3" GridPane.rowIndex="4" />
|
||||
<TextField fx:id="closerField" GridPane.columnIndex="1" GridPane.rowIndex="5" />
|
||||
<TextField fx:id="closerDateField" GridPane.columnIndex="3" GridPane.rowIndex="5" />
|
||||
<Label text="业务员" GridPane.columnIndex="2" GridPane.rowIndex="1" />
|
||||
<TextField fx:id="employeeField" GridPane.columnIndex="3" GridPane.rowIndex="1" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0" />
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="itemTab" text="订单条目">
|
||||
</Tab>
|
||||
<Tab fx:id="billVoucherTab" text="发票">
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status" HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3" />
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4" />
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS" />
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER" />
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0"
|
||||
xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.sale_order.SalesOrderTabSkinBillVoucher">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Todo"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" layoutX="48.0" layoutY="26.0" prefHeight="487.0" prefWidth="900.0"
|
||||
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="itemTable_idColumn" editable="false" maxWidth="75.0" minWidth="50.0"
|
||||
prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="refIdColumn" editable="false" prefWidth="120.0" text="SBVID" />
|
||||
<TableColumn fx:id="codeColumn" editable="false" maxWidth="300.0" minWidth="60.0"
|
||||
prefWidth="120.0" text="项目"/>
|
||||
<TableColumn fx:id="employeeColumn" prefWidth="90.0" text="业务员"/>
|
||||
<TableColumn fx:id="makerColumn" prefWidth="90.0" text="制单人"/>
|
||||
<TableColumn fx:id="verifierColumn" prefWidth="90.0" text="审核人"/>
|
||||
<TableColumn fx:id="makerDateColumn" prefWidth="130.0" text="制单日期"/>
|
||||
<TableColumn fx:id="modifyDateColumn" prefWidth="130.0" text="修改日期"/>
|
||||
<TableColumn fx:id="verifierDateColumn" prefWidth="130.0" text="审核日期"/>
|
||||
<TableColumn fx:id="descriptionColumn" prefWidth="180.0" text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0"
|
||||
xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.sale_order.SalesOrderTabSkinItems">
|
||||
<children>
|
||||
<HBox spacing="3.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Todo"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<TableView fx:id="table" editable="true" layoutX="48.0" layoutY="26.0" prefHeight="487.0" prefWidth="900.0"
|
||||
AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
|
||||
AnchorPane.topAnchor="42.0">
|
||||
<columns>
|
||||
<TableColumn fx:id="itemTable_idColumn" editable="false" maxWidth="75.0" minWidth="50.0"
|
||||
prefWidth="75.0" text="ID"/>
|
||||
<TableColumn fx:id="itemTable_codeColumn" editable="false" maxWidth="300.0" minWidth="60.0"
|
||||
prefWidth="120.0" text="编号"/>
|
||||
<TableColumn fx:id="itemTable_nameColumn" editable="false" maxWidth="300.0" minWidth="60.0"
|
||||
prefWidth="120.0" text="规格"/>
|
||||
<TableColumn fx:id="itemTable_unitColumn" maxWidth="80.0" minWidth="40.0" prefWidth="60.0" text="单位"/>
|
||||
<TableColumn fx:id="itemTable_quantityColumn" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="数量"/>
|
||||
<TableColumn fx:id="itemTable_taxPriceColumn" maxWidth="240.0" minWidth="50.0" prefWidth="70.0"
|
||||
text="含税单价"/>
|
||||
<TableColumn fx:id="itemTable_taxRateColumn" maxWidth="120.0" minWidth="40.0" prefWidth="60.0"
|
||||
text="税率"/>
|
||||
<TableColumn fx:id="itemTable_exclusiveTaxPriceColumn" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="不含税单价"/>
|
||||
<TableColumn fx:id="itemTable_exclusiveTaxAmountColumn" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="不含税小计"/>
|
||||
<TableColumn fx:id="itemTable_taxAmountColumn" maxWidth="240.0" minWidth="50.0"
|
||||
prefWidth="70.0" text="含税小计"/>
|
||||
<TableColumn fx:id="itemTable_startDateColumn" prefWidth="85.0" text="起始日期"/>
|
||||
<TableColumn fx:id="itemTable_endDateColumn" prefWidth="85.0" text="截止日期"/>
|
||||
<TableColumn fx:id="itemTable_descriptionColumn" maxWidth="500.0" minWidth="100.0" prefWidth="180.0"
|
||||
text="备注"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
121
client/src/main/resources/ui/contract/sale-orders.fxml
Normal file
121
client/src/main/resources/ui/contract/sale-orders.fxml
Normal file
@@ -0,0 +1,121 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<BorderPane prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.sale_order.SalesOrderWindowController">
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToHeight="true" fitToWidth="true" pannable="true">
|
||||
<content>
|
||||
<VBox>
|
||||
<children>
|
||||
<GridPane VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="80.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="42.0" vgrow="NEVER"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="订单号#"/>
|
||||
<TextField fx:id="codeField" GridPane.columnIndex="1"/>
|
||||
<Label text="业务员" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="createdField" disable="true" promptText="yyyy-MM-dd"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="3"/>
|
||||
<Label text="制单人" GridPane.rowIndex="2"/>
|
||||
<Label text="制单日期" GridPane.columnIndex="2" GridPane.rowIndex="2"/>
|
||||
<Label text="审核人" GridPane.rowIndex="3"/>
|
||||
<Label text="审核日期" GridPane.columnIndex="2" GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="makerField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="makeDateField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="2"/>
|
||||
<TextField fx:id="verifierField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="3"/>
|
||||
<TextField fx:id="verifierDateField" GridPane.columnIndex="3"
|
||||
GridPane.rowIndex="3"/>
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注" GridPane.rowIndex="4"/>
|
||||
<TextArea fx:id="descriptionField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="4"/>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="5">
|
||||
<children>
|
||||
<Button fx:id="saveBtn" disable="true" mnemonicParsing="false"
|
||||
text="保存"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="5"/>
|
||||
<TextField fx:id="employeeField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="1"/>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0"/>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
<Tab fx:id="itemTab" text="订单条目">
|
||||
</Tab>
|
||||
<Tab fx:id="billVoucherTab" text="发票">
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status"
|
||||
HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3"/>
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4"/>
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
119
client/src/main/resources/ui/contract/vendor-bid.fxml
Normal file
119
client/src/main/resources/ui/contract/vendor-bid.fxml
Normal file
@@ -0,0 +1,119 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
<BorderPane maxHeight="900" maxWidth="1024" minHeight="300" minWidth="200" prefHeight="600.0" prefWidth="800.0"
|
||||
xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.ecep.contract.manager.ds.contract.controller.VendorBidWindowController">
|
||||
<center>
|
||||
<TabPane fx:id="tabPane" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="150.0"
|
||||
tabClosingPolicy="UNAVAILABLE" tabMaxWidth="100.0" tabMinWidth="40.0">
|
||||
<tabs>
|
||||
<Tab fx:id="baseInfoTab" text="基本信息">
|
||||
<content>
|
||||
<ScrollPane fitToHeight="true" fitToWidth="true" maxHeight="1.7976931348623157E308"
|
||||
maxWidth="1.7976931348623157E308" minWidth="150.0" pannable="true">
|
||||
<content>
|
||||
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
|
||||
minHeight="600.0" minWidth="150.0">
|
||||
<children>
|
||||
<GridPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308"
|
||||
minWidth="150.0" VBox.vgrow="NEVER">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
<ColumnConstraints halignment="CENTER" hgrow="NEVER" maxWidth="200.0"
|
||||
minWidth="80.0" prefWidth="120.0"/>
|
||||
<ColumnConstraints hgrow="ALWAYS" maxWidth="1.7976931348623157E308"
|
||||
minWidth="50.0" prefWidth="180.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="80.0" vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" minHeight="30.0" prefHeight="30.0"
|
||||
vgrow="NEVER"/>
|
||||
<RowConstraints fillHeight="false" maxHeight="1.7976931348623157E308"
|
||||
minHeight="30.0" prefHeight="42.0" vgrow="NEVER"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label text="公司"/>
|
||||
<HBox GridPane.columnIndex="1">
|
||||
<children>
|
||||
<TextField fx:id="companyField" HBox.hgrow="ALWAYS"/>
|
||||
<Button fx:id="relativeCompanyBtn" mnemonicParsing="false"
|
||||
text="打开"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label text="报价表" GridPane.rowIndex="1"/>
|
||||
<TextField fx:id="fileField" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="1"/>
|
||||
<Label text="日期" GridPane.rowIndex="3"/>
|
||||
<DatePicker fx:id="developDateField" promptText="yyyy-MM-dd" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="3"/>
|
||||
<Label text="日期" GridPane.rowIndex="4"/>
|
||||
<TextField fx:id="createdField" disable="true" promptText="yyyy-MM-dd"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="4"/>
|
||||
<Label layoutX="20.0" layoutY="28.0" text="备注" GridPane.rowIndex="2"/>
|
||||
<TextArea fx:id="descriptionField" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="2"/>
|
||||
<HBox alignment="CENTER_RIGHT" spacing="5.0" GridPane.columnIndex="1"
|
||||
GridPane.columnSpan="3" GridPane.rowIndex="5">
|
||||
<children>
|
||||
|
||||
</children>
|
||||
</HBox>
|
||||
<Label fx:id="versionLabel" text="\@Version" GridPane.rowIndex="5"/>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
|
||||
</VBox.margin>
|
||||
</GridPane>
|
||||
<Pane prefHeight="50.0" prefWidth="200.0"/>
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</content>
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</center>
|
||||
<top>
|
||||
<ToolBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<items>
|
||||
<Button fx:id="saveBtn" disable="true" text="保存(_S)"/>
|
||||
</items>
|
||||
</ToolBar>
|
||||
</top>
|
||||
<bottom>
|
||||
<HBox id="HBox" alignment="CENTER_LEFT" spacing="5.0">
|
||||
<children>
|
||||
<Label fx:id="leftStatusLabel" maxHeight="1.7976931348623157E308" text="Left status"
|
||||
HBox.hgrow="ALWAYS">
|
||||
<font>
|
||||
<Font size="11.0" fx:id="x3"/>
|
||||
</font>
|
||||
<textFill>
|
||||
<Color red="0.625" green="0.625" blue="0.625" fx:id="x4"/>
|
||||
</textFill>
|
||||
</Label>
|
||||
<Pane HBox.hgrow="ALWAYS"/>
|
||||
<Label fx:id="rightStatusLabel" font="$x3" text="Right status" textFill="$x4" HBox.hgrow="NEVER"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="3.0" right="3.0" top="3.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</bottom>
|
||||
</BorderPane>
|
||||
Reference in New Issue
Block a user