代码更新

This commit is contained in:
2023-04-13 10:46:03 +08:00
parent 3bfab9fc89
commit 93e41279eb
2 changed files with 10 additions and 6 deletions

View File

@@ -178,9 +178,11 @@ export default {
const data = { const data = {
'stor_id': this.crud.query.stor_id, 'stor_id': this.crud.query.stor_id,
'bill_type': this.crud.query.bill_type, 'bill_type': this.crud.query.bill_type,
'with': this.crud.query.with, 'with': this.crud.query.with
'begin_time': this.crud.query.createTime[0], }
'end_time': this.crud.query.createTime[1] if (this.crud.query.createTime !== undefined) {
data.begin_time = this.crud.query.createTime[0]
data.end_time = this.crud.query.createTime[1]
} }
download('/api/in/InQuery/download', data).then(result => { download('/api/in/InQuery/download', data).then(result => {
downloadFile(result, '成品入库查询', 'xlsx') downloadFile(result, '成品入库查询', 'xlsx')

View File

@@ -188,9 +188,11 @@ export default {
'stor_id': this.crud.query.stor_id, 'stor_id': this.crud.query.stor_id,
'bill_type': this.crud.query.bill_type, 'bill_type': this.crud.query.bill_type,
'with': this.crud.query.with, 'with': this.crud.query.with,
'customer_name': this.crud.query.customer_name, 'customer_name': this.crud.query.customer_name
'begin_time': this.crud.query.createTime[0], }
'end_time': this.crud.query.createTime[1] if (this.crud.query.createTime !== undefined) {
data.begin_time = this.crud.query.createTime[0]
data.end_time = this.crud.query.createTime[1]
} }
download('/api/out/OutQuery/download', data).then(result => { download('/api/out/OutQuery/download', data).then(result => {
downloadFile(result, '成品出库查询', 'xlsx') downloadFile(result, '成品出库查询', 'xlsx')