Commit 22fdd604 authored by zhoutong's avatar zhoutong
parents 032ce625 604d08e9
...@@ -18,9 +18,11 @@ ...@@ -18,9 +18,11 @@
</el-table-column> </el-table-column>
<el-table-column :label="$t('填单货物属性')"> <el-table-column :label="$t('填单货物属性')">
<template v-slot="{row}"> <template v-slot="{row}">
<div>{{$t('品牌')}}{{(brandList.find(item => item.id == row.brand) || {}).titleZh}} <span v-if="!row.brand"> <div>{{$t('品牌')}}
{{$t('')}} <span v-if="row.brandType === 0">{{$t('')}}</span>
</span> </div> <span v-if="row.brandType === 1">{{$t('')}}</span>
<span v-if="row.brandType === 2">{{$t('中性')}}</span>
</div>
<div>{{$t('箱数')}}{{row.num}}</div> <div>{{$t('箱数')}}{{row.num}}</div>
<div>{{$t('体积')}}{{ row.volume }}</div> <div>{{$t('体积')}}{{ row.volume }}</div>
<div>{{$t('重量')}}{{row.weight}}Kg</div> <div>{{$t('重量')}}{{row.weight}}Kg</div>
......
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
return downloadFileResponse(res.data) return downloadFileResponse(res.data)
}).then(res => { }).then(res => {
console.log({res}) console.log({res})
this.$download.download0(res.data, row.name + row.fileSuffix, res.headers['content-type']) this.$download.download0(res.data, row.name + '.' + row.fileSuffix, res.headers['content-type'])
}).finally(() => { }).finally(() => {
// 刷新列表状态 // 刷新列表状态
this.getList() this.getList()
......
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