把库存报表的导出单据改为成本价

This commit is contained in:
jishenghua 2024-06-04 00:55:57 +08:00
parent 42d7b98607
commit 7f828b8b0f
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
showSearch style="width: 100%"
placeholder="请选择仓库"
v-model="depotSelected">
<a-select-option v-for="(depot,index) in depotList" :value="depot.id">
<a-select-option v-for="(depot,index) in depotList" :key="index" :value="depot.id">
{{ depot.depotName }}
</a-select-option>
</a-select>
@ -243,7 +243,7 @@
},
exportExcel() {
let list = []
let head = '条码,名称,规格,型号,扩展信息,单位,,上月结存数量,入库数量,出库数量,本月结存数量,结存金额'
let head = '条码,名称,规格,型号,扩展信息,单位,成本,上月结存数量,入库数量,出库数量,本月结存数量,结存金额'
for (let i = 0; i < this.dataSource.length; i++) {
let item = []
let ds = this.dataSource[i]

View File

@ -285,7 +285,7 @@
},
exportExcel() {
let list = []
let head = '条码,名称,规格,型号,颜色,类别,单位,,初始库存,库存,库存金额,重量'
let head = '条码,名称,规格,型号,颜色,类别,单位,成本,初始库存,库存,库存金额,重量'
for (let i = 0; i < this.dataSource.length; i++) {
let item = []
let ds = this.dataSource[i]