Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
京
京能客户端
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王亚宁
京能客户端
Commits
7006b2b2
Commit
7006b2b2
authored
Jun 26, 2024
by
liangyb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#328-4 结构化非结构化适配
parent
f411c5d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
OBE-MANAGEMENT/src/com/gx/obe/management/composite/PriceFactorsManagerComposite.java
...be/management/composite/PriceFactorsManagerComposite.java
+10
-11
No files found.
OBE-MANAGEMENT/src/com/gx/obe/management/composite/PriceFactorsManagerComposite.java
View file @
7006b2b2
...
...
@@ -445,7 +445,7 @@ public class PriceFactorsManagerComposite extends Composite {
gd_bid_price_label
.
widthHint
=
200
;
gd_bid_price_label
.
minimumWidth
=
200
;
bid_price_text
.
setLayoutData
(
gd_bid_price_label
);
bid_price_text
.
setText
(
Messages
.
BidPrice
);
//
bid_price_text.setText(Messages.BidPrice);
config_bid_price
=
new
ELink
(
composite_3
,
SWT
.
NONE
);
config_bid_price
.
setLayoutData
(
new
GridData
(
SWT
.
LEFT
,
SWT
.
CENTER
,
false
,
false
,
1
,
2
));
...
...
@@ -1044,7 +1044,6 @@ public class PriceFactorsManagerComposite extends Composite {
WidgetUtils
.
setControlVisible
(
weightComposite
,
true
);
}
}
bid_price_text
.
setText
(
""
);
del_bid_price
.
setVisible
(
false
);
if
(
null
!=
curFactor
.
getBidPriceCode
()){
if
(
null
!=
bidPriceMap
.
get
(
curFactor
.
getBidPriceCode
())){
...
...
@@ -1058,15 +1057,6 @@ public class PriceFactorsManagerComposite extends Composite {
}
bidPriceResultService
.
updateBidPriceAndFinalPrice
(
supplierMap
);
}
//结构化投标报价保险写入
if
(
StringUtils
.
isEmpty
(
bid_price_text
.
getText
()))
{
List
<
BidPrice
>
bidPriceList
=
bidPriceService
.
getBidPriceFactorList
(
tenderProject
.
getId
());
if
(
bidPriceList
!=
null
&&
bidPriceList
.
size
()
==
1
)
{
bid_price_text
.
setText
(
bidPriceList
.
get
(
0
).
getBidPriceName
());
curFactor
.
setBidPriceCode
(
bidPriceList
.
get
(
0
).
getBidPriceCode
());
evaluationFactorService
.
updateAssignProperty
(
curFactor
,
new
String
[]{
"id"
,
"bidPriceCode"
});
}
}
//del_bid_price.setVisible(true);
}
else
{
curFactor
.
setBidPriceCode
(
null
);
...
...
@@ -1075,6 +1065,15 @@ public class PriceFactorsManagerComposite extends Composite {
}
}
}
//非结构化投标报价保险写入
if
(
StringUtils
.
isEmpty
(
bid_price_text
.
getText
()))
{
List
<
BidPrice
>
bidPriceList
=
bidPriceService
.
getBidPriceFactorList
(
tenderProject
.
getId
());
if
(
bidPriceList
!=
null
&&
bidPriceList
.
size
()
==
1
)
{
bid_price_text
.
setText
(
bidPriceList
.
get
(
0
).
getBidPriceName
());
curFactor
.
setBidPriceCode
(
bidPriceList
.
get
(
0
).
getBidPriceCode
());
evaluationFactorService
.
updateAssignProperty
(
curFactor
,
new
String
[]{
"id"
,
"bidPriceCode"
});
}
}
showFormulaInfo
();
bid_price_text
.
getParent
().
layout
();
scroContentComposite
.
layout
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment