|
@@ -56,12 +56,16 @@
|
56
|
56
|
<span v-if="parseFloat(getItemValue(scope.row.inspect_date,item.item_name)) < parseFloat(item.range_min) ">
|
57
|
57
|
{{ getItemValue(scope.row.inspect_date,item.item_name) }} <span style="color: blue;" v-if="getItemValue(scope.row.inspect_date,item.item_name)>0">↓</span>
|
58
|
58
|
</span>
|
|
59
|
+
|
59
|
60
|
<span v-if="parseFloat(item.range_min)<= parseFloat( getItemValue(scope.row.inspect_date,item.item_name)) && parseFloat(getItemValue(scope.row.inspect_date,item.item_name))<= parseFloat(item.range_max) ">
|
60
|
61
|
{{ getItemValue(scope.row.inspect_date,item.item_name) }}
|
61
|
62
|
</span>
|
62
|
63
|
<span v-if="parseFloat(getItemValue(scope.row.inspect_date,item.item_name)) >parseFloat(item.range_max) ">
|
63
|
64
|
{{ getItemValue(scope.row.inspect_date,item.item_name) }} <span style="color: red;" v-if="getItemValue(scope.row.inspect_date,item.item_name)>0">↑</span>
|
64
|
65
|
</span>
|
|
66
|
+ <span v-if ="item.range_max ==''||item.range_min ==''">
|
|
67
|
+ {{ getItemValue(scope.row.inspect_date,item.item_name) }}
|
|
68
|
+ </span>
|
65
|
69
|
</span>
|
66
|
70
|
|
67
|
71
|
</template>
|