|
|
@@ -28,7 +28,8 @@
|
|
|
<el-button slot="reference" type="primary">{{ shop.bookSn==0?'开启预订':'结束预订' }}</el-button>
|
|
|
</el-popover>
|
|
|
<el-button type="primary" size="mini" @click="" style="margin-left:40px;">我的采购</el-button>
|
|
|
- <el-button type="primary" size="mini" @click="" style="margin-left:40px;">去采购</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="" style="margin-left:40px;">去采购</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="exportStockAssign()" style="margin-left:40px;">导出库存分配</el-button>
|
|
|
</template>
|
|
|
|
|
|
<template #table-column-remainStockNum="{scope}">
|
|
|
@@ -110,6 +111,13 @@ export default {
|
|
|
this.init();
|
|
|
},
|
|
|
methods: {
|
|
|
+ exportStockAssign(){
|
|
|
+ this.$service.statBook.exportStockAssign({}).then(res => {
|
|
|
+ if(res.file){
|
|
|
+ //window.location.href = res.file
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
goDetail(info){
|
|
|
let query = {itemId:info.itemId,itemName:info.name}
|
|
|
this.$router.push({path:'/book/itemCustom',query})
|