Commit 84c870a3 authored by dcy's avatar dcy

未入仓时取填单数据;已入仓时取入仓数据

parent a7a23536
...@@ -26,10 +26,14 @@ ...@@ -26,10 +26,14 @@
<el-table-column :label="$t('唛头')" prop="marks"></el-table-column> <el-table-column :label="$t('唛头')" prop="marks"></el-table-column>
<el-table-column :label="$t('货物数据')"> <el-table-column :label="$t('货物数据')">
<template v-slot="{row}"> <template v-slot="{row}">
<div v-if="row.costVO"> <div v-if="row.costVO && row.status !== 5">
箱数:{{row.costVO.totalNum}} 箱数:{{row.costVO.totalNum}}
{{row.costVO.totalVolume}} {{row.costVO.totalVolume}}
{{row.costVO.totalWeight}}kg {{row.costVO.totalWeight}}kg
</div> <div v-else>
箱数:{{row.sumQuantity}}
{{row.sumVolume}}
{{row.sumWeight}}kg
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
...@@ -41,6 +45,7 @@ ...@@ -41,6 +45,7 @@
<el-table-column :label="$t('状态')"> <el-table-column :label="$t('状态')">
<template v-slot:default="scope"> <template v-slot:default="scope">
<dict-tag :value="scope.row.status" :type="DICT_TYPE.ORDER_STATUS"></dict-tag> <dict-tag :value="scope.row.status" :type="DICT_TYPE.ORDER_STATUS"></dict-tag>
{{scope.row.status}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('操作')"> <el-table-column :label="$t('操作')">
......
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