|
@@ -647,7 +647,7 @@ let indexObj= {
|
|
|
let header = _.find(setting.header,{dataCode:dataCode});
|
|
|
let unit = this.getIndexUnit();
|
|
|
if(dataCode === 'quantity'){
|
|
|
- qunit = this.getQuantityUnit();
|
|
|
+ let qunit = this.getQuantityUnit();
|
|
|
if(qunit) unit = qunit
|
|
|
}
|
|
|
if(!unit || !header )return;
|