Merge branch 'feat/ywk/delivery-export' of gitee.com:cabbage_qd/web-base-admin into lx-dev
This commit is contained in:
commit
8c0d337699
|
@ -37,6 +37,12 @@
|
||||||
class="thebtn1"
|
class="thebtn1"
|
||||||
@click="handleExport"
|
@click="handleExport"
|
||||||
>{{ '导出' }}</el-button>
|
>{{ '导出' }}</el-button>
|
||||||
|
<el-button
|
||||||
|
v-hasButtons="['DeliveryHandledExport']"
|
||||||
|
size="small"
|
||||||
|
class="thebtn1"
|
||||||
|
@click="handleWaresExport"
|
||||||
|
>仓储导出</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-table
|
<el-table
|
||||||
|
@ -1286,6 +1292,20 @@ export default {
|
||||||
`${'已合单'}${new Date().getTime()}.xlsx`
|
`${'已合单'}${new Date().getTime()}.xlsx`
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
handleWaresExport() {
|
||||||
|
this.params.pkDeliverList = this.idList
|
||||||
|
this.$confirm('是否确认导出所有数据项?', '警告', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
cancelButtonText: '取消',
|
||||||
|
type: 'warning'
|
||||||
|
}).then((_) => {
|
||||||
|
this.download(
|
||||||
|
'/sale/manage/deliver-handled/wms-export',
|
||||||
|
{ ...this.params },
|
||||||
|
`${'已合单-仓储导出'}${new Date().getTime()}.xlsx`
|
||||||
|
)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue