|
@@ -181,13 +181,18 @@
|
|
><template slot-scope="scope">
|
|
><template slot-scope="scope">
|
|
<span v-if="scope.row.unloadingWeight == null">--</span>
|
|
<span v-if="scope.row.unloadingWeight == null">--</span>
|
|
<span
|
|
<span
|
|
- v-if="
|
|
|
|
|
|
+ v-else-if="
|
|
scope.row.lossWeight > 0 &&
|
|
scope.row.lossWeight > 0 &&
|
|
scope.row.lossWeight > scope.row.loadingWeight / 1000
|
|
scope.row.lossWeight > scope.row.loadingWeight / 1000
|
|
"
|
|
"
|
|
style="color: #f10404; font-weight: 600"
|
|
style="color: #f10404; font-weight: 600"
|
|
>{{ scope.row.lossWeight }}</span
|
|
>{{ scope.row.lossWeight }}</span
|
|
>
|
|
>
|
|
|
|
+ <span
|
|
|
|
+ v-else
|
|
|
|
+ style="font-weight: 600"
|
|
|
|
+ >{{ scope.row.lossWeight }}</span
|
|
|
|
+ >
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|