|
@@ -2095,7 +2095,11 @@ $(document).ready(function() {
|
|
|
if (selected.data.valuationType === '工程量清单') {
|
|
if (selected.data.valuationType === '工程量清单') {
|
|
|
$('#val-type-group').hide();
|
|
$('#val-type-group').hide();
|
|
|
} else {
|
|
} else {
|
|
|
- $('#val-type-group').show();
|
|
|
|
|
|
|
+ if (selected.data.property.hasOwnProperty('valuationType')) {
|
|
|
|
|
+ $('#val-type-group').hide();
|
|
|
|
|
+ } else {
|
|
|
|
|
+ $('#val-type-group').show();
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
const firstProj = selected && selected.data.projType === projectType.project ? selected: projs[0];
|
|
const firstProj = selected && selected.data.projType === projectType.project ? selected: projs[0];
|
|
|
const firstProjID = firstProj && firstProj.data.ID || null;
|
|
const firstProjID = firstProj && firstProj.data.ID || null;
|