Commit 0ec609ff authored by 邓春圆's avatar 邓春圆

添加 目标单位

parent e0326401
......@@ -73,7 +73,12 @@
<span>{{ getShipChannelName(scope.row.shippingChannel) }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('已完成目标值')" align="center" prop="completeCubeNum"/>
<el-table-column :label="$t('已完成目标值')" align="center" prop="completeCubeNum">
<template v-slot="{row}">
{{row.completeCubeNum}}
<dict-tag :type="DICT_TYPE.CEBE_UNIT" :value="row.cubeUnit" ></dict-tag>
</template>
</el-table-column>
<el-table-column :label="$t('完成比例')" align="center">
<template slot-scope="scope">
<span>{{ (scope.row.completeCubeNum/scope.row.cubeNum*100).toFixed(2)+'%' }}</span>
......
......@@ -73,7 +73,12 @@
<span>{{ getShipChannelName(scope.row.shippingChannel) }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('已完成目标值')" align="center" prop="completeCubeNum"/>
<el-table-column :label="$t('已完成目标值')" align="center" prop="completeCubeNum">
<template v-slot="{row}">
{{row.completeCubeNum}}
<dict-tag :type="DICT_TYPE.CEBE_UNIT" :value="row.cubeUnit" ></dict-tag>
</template>
</el-table-column>
<el-table-column :label="$t('完成比例')" align="center">
<template slot-scope="scope">
<span>{{ (scope.row.completeCubeNum/scope.row.cubeNum*100).toFixed(2)+'%' }}</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment