|
|
@@ -1742,7 +1742,8 @@ const projTreeObj = {
|
|
|
function changeValuationType(type) {
|
|
|
$('input[name="valuation_type"]:checked').prop('checked', false);
|
|
|
$(`input[name="valuation_type"][value="${type}"]`).prop('checked', true);
|
|
|
- let targetData = type === 'bill' ? JSON.parse(billValuation) : JSON.parse(rationValuation);
|
|
|
+ // let targetData = type === 'bill' ? JSON.parse(billValuation) : JSON.parse(rationValuation);
|
|
|
+ let targetData = getValuationData(type);
|
|
|
let html = '';
|
|
|
for(let i = targetData.length - 1; i >=0; i--){
|
|
|
let valuation = targetData[i];
|