Commit e14ebb65 authored by W_Y's avatar W_Y

前段传参

parent d1d4c725
...@@ -3,7 +3,7 @@ import request from '@/utils/request' ...@@ -3,7 +3,7 @@ import request from '@/utils/request'
export function getYsList(queryMaps) { export function getYsList(queryMaps) {
return request({ return request({
url: '/wbwarehouseys/queryWbWarehouseYsByPagination', url: '/wbwarehouseys/queryWbWarehouseYsByPagination',
method: 'post', method: 'get',
data: queryMaps, data: queryMaps,
headers: { headers: {
'Content-Type': 'application/json;charset=UTF-8' 'Content-Type': 'application/json;charset=UTF-8'
......
...@@ -4,7 +4,7 @@ import request from '@/utils/request' ...@@ -4,7 +4,7 @@ import request from '@/utils/request'
export function listLog(queryMaps) { export function listLog(queryMaps) {
return request({ return request({
url: '/wbwarehouselog/queryWbWarehouseLogByPagination', url: '/wbwarehouselog/queryWbWarehouseLogByPagination',
method: 'post', method: 'get',
data: queryMaps, data: queryMaps,
headers: { headers: {
'Content-Type': 'application/json;charset=UTF-8' 'Content-Type': 'application/json;charset=UTF-8'
......
...@@ -4,7 +4,7 @@ import request from '@/utils/request' ...@@ -4,7 +4,7 @@ import request from '@/utils/request'
export function listdevice(queryMaps) { export function listdevice(queryMaps) {
return request({ return request({
url: '/wbwarehouseinventory/queryWbWarehouseInventoryByPagination', url: '/wbwarehouseinventory/queryWbWarehouseInventoryByPagination',
method: 'post', method: 'get',
data: queryMaps, data: queryMaps,
headers: { headers: {
'Content-Type': 'application/json;charset=UTF-8' 'Content-Type': 'application/json;charset=UTF-8'
......
...@@ -4,7 +4,7 @@ import request from '@/utils/request' ...@@ -4,7 +4,7 @@ import request from '@/utils/request'
export function listLog(queryMaps) { export function listLog(queryMaps) {
return request({ return request({
url: '/wbchemistrylog/queryWbChemistryLogByPagination', url: '/wbchemistrylog/queryWbChemistryLogByPagination',
method: 'post', method: 'get',
data: queryMaps, data: queryMaps,
headers: { headers: {
'Content-Type': 'application/json;charset=UTF-8' 'Content-Type': 'application/json;charset=UTF-8'
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<el-form ref="queryForm" style="padding: 0 0 0 10px" :model="queryParams" :inline="true"> <el-form ref="queryForm" style="padding: 0 0 0 10px" :model="queryParams" :inline="true">
<el-form-item label="pn" prop="pn"> <el-form-item label="pn" prop="pn">
<el-input <el-input
v-model="queryParams.entity.pn" v-model="queryParams.pn"
placeholder="请输入pn" placeholder="请输入pn"
clearable clearable
:maxlength="30" :maxlength="30"
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</el-form-item> </el-form-item>
<el-form-item label="lot" prop="lot"> <el-form-item label="lot" prop="lot">
<el-input <el-input
v-model="queryParams.entity.lot" v-model="queryParams.lot"
placeholder="请输入设备lot" placeholder="请输入设备lot"
clearable clearable
size="small" size="small"
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item label="盘点状态" prop="status"> <el-form-item label="盘点状态" prop="status">
<el-select v-model="queryParams.entity.status" placeholder="请选择" clearable> <el-select v-model="queryParams.status" placeholder="请选择" clearable>
<el-option <el-option
v-for="item in options" v-for="item in options"
:key="item.value" :key="item.value"
...@@ -194,15 +194,13 @@ export default { ...@@ -194,15 +194,13 @@ export default {
// lot: '', // lot: '',
beginTime: '', beginTime: '',
endTime: '', endTime: '',
entity: { // TODO: 设备编码
// TODO: 设备编码 pn: '',
pn: '', // TODO: lot
// TODO: lot lot: '',
lot: '', // TODO: 库类型 1设备库 2工序库
// TODO: 库类型 1设备库 2工序库 ptype: 1,
ptype: 1, status: ''
status: ''
}
}, },
// 表单参数 // 表单参数
form: {} form: {}
...@@ -250,11 +248,11 @@ export default { ...@@ -250,11 +248,11 @@ export default {
// 去除字段默认为0导致0对应的未盘点无法使用问题 // 去除字段默认为0导致0对应的未盘点无法使用问题
let flag = 0 let flag = 0
this.loading = true this.loading = true
if (this.queryParams.entity.status === undefined || this.queryParams.entity.status === '') { if (this.queryParams.status === undefined || this.queryParams.status === '') {
flag = 1 flag = 1
} }
if (flag === 1) { if (flag === 1) {
this.queryParams.entity.status = -1 this.queryParams.status = -1
} }
if (this.queryParams.beginTime === '' || this.queryParams.endTime === '') { if (this.queryParams.beginTime === '' || this.queryParams.endTime === '') {
this.dateRange = [] this.dateRange = []
...@@ -266,7 +264,7 @@ export default { ...@@ -266,7 +264,7 @@ export default {
this.loading = false this.loading = false
}) })
if (flag === 1) { if (flag === 1) {
this.queryParams.entity.status = undefined this.queryParams.status = undefined
flag = 0 flag = 0
} }
}, },
...@@ -299,15 +297,13 @@ export default { ...@@ -299,15 +297,13 @@ export default {
rows: 10, rows: 10,
beginTime: '', beginTime: '',
endTime: '', endTime: '',
entity: { // TODO: 设备编码
// TODO: 设备编码 pn: '',
pn: '', // TODO: lot
// TODO: lot lot: '',
lot: '', // TODO: 库类型 1设备库 2工序库
// TODO: 库类型 1设备库 2工序库 ptype: 1,
ptype: 1, status: ''
status: ''
}
} }
this.dateRange = [] this.dateRange = []
this.resetForm('queryForm') this.resetForm('queryForm')
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<el-input <el-input
ref="autoGetFocusInput" ref="autoGetFocusInput"
v-model="queryParams.entity.pn" v-model="queryParams.pn"
placeholder="请输入pn" placeholder="请输入pn"
clearable clearable
:maxlength="inputMaxLength" :maxlength="inputMaxLength"
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<el-form-item label="lot" prop="lot"> <el-form-item label="lot" prop="lot">
<el-input <el-input
v-model="queryParams.entity.lot" v-model="queryParams.lot"
placeholder="请输入lot" placeholder="请输入lot"
clearable clearable
:maxlength="inputMaxLength" :maxlength="inputMaxLength"
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<el-form-item label="plocation" prop="plocation"> <el-form-item label="plocation" prop="plocation">
<el-input <el-input
v-model="queryParams.entity.plocation" v-model="queryParams.plocation"
placeholder="请输入plocation" placeholder="请输入plocation"
clearable clearable
:maxlength="inputMaxLength" :maxlength="inputMaxLength"
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<el-form-item label="库类型" prop="ptype"> <el-form-item label="库类型" prop="ptype">
<el-select <el-select
v-model="queryParams.entity.ptype" v-model="queryParams.ptype"
placeholder="请选择库类型" placeholder="请选择库类型"
filterable filterable
clearable clearable
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<el-form-item label="库状态" prop="poperate"> <el-form-item label="库状态" prop="poperate">
<el-select <el-select
v-model="queryParams.entity.poperate" v-model="queryParams.poperate"
placeholder="请选择库状态" placeholder="请选择库状态"
filterable filterable
clearable clearable
...@@ -302,19 +302,16 @@ export default { ...@@ -302,19 +302,16 @@ export default {
endTime: '', endTime: '',
// TODO: 0表示倒序排序,1表示顺序排序 // TODO: 0表示倒序排序,1表示顺序排序
tableSortMark: 0, tableSortMark: 0,
// TODO: 设备编码
entity: { pn: '',
// TODO: 设备编码 // TODO: lot
pn: '', lot: '',
// TODO: lot // TODO: 位置
lot: '', plocation: '',
// TODO: 位置 // TODO: 库状态 1 入,2出,3修正,4废弃
plocation: '', poperate: '',
// TODO: 库状态 1 入,2出,3修正,4废弃 // TODO: 库类型 1设备库 2工序库
poperate: '', ptype: ''
// TODO: 库类型 1设备库 2工序库
ptype: ''
}
}, },
// TODO: list记录表名 // TODO: list记录表名
listName: '出入库记录列表', listName: '出入库记录列表',
...@@ -539,19 +536,16 @@ export default { ...@@ -539,19 +536,16 @@ export default {
endTime: '', endTime: '',
// TODO: 0表示倒序排序,1表示顺序排序 // TODO: 0表示倒序排序,1表示顺序排序
tableSortMark: 0, tableSortMark: 0,
// TODO: 设备编码
entity: { pn: '',
// TODO: 设备编码 // TODO: lot
pn: '', lot: '',
// TODO: lot // TODO: 位置
lot: '', plocation: '',
// TODO: 位置 // TODO: 库状态 1 入,2出,3修正,4废弃
plocation: '', poperate: '',
// TODO: 库状态 1 入,2出,3修正,4废弃 // TODO: 库类型 1设备库 2工序库
poperate: '', ptype: ''
// TODO: 库类型 1设备库 2工序库
ptype: ''
}
} }
this.dateRange = [] this.dateRange = []
this.handleQuery() this.handleQuery()
...@@ -632,11 +626,11 @@ export default { ...@@ -632,11 +626,11 @@ export default {
rows: this.queryParams.rows, rows: this.queryParams.rows,
beginTime: this.queryParams.beginTime, beginTime: this.queryParams.beginTime,
endTime: this.queryParams.endTime, endTime: this.queryParams.endTime,
pn: this.queryParams.entity.pn, pn: this.queryParams.pn,
lot: this.queryParams.entity.lot, lot: this.queryParams.lot,
plocation: this.queryParams.entity.plocation, plocation: this.queryParams.plocation,
poperate: this.queryParams.entity.poperate, poperate: this.queryParams.poperate,
ptype: this.queryParams.entity.ptype ptype: this.queryParams.ptype
} }
return exportInventoryRecord(obj).then(response => { return exportInventoryRecord(obj).then(response => {
const blob = new Blob([response]) const blob = new Blob([response])
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<el-form ref="queryForm" style="padding: 0 0 0 10px" :model="queryParams" :inline="true"> <el-form ref="queryForm" style="padding: 0 0 0 10px" :model="queryParams" :inline="true">
<el-form-item label="lot" prop="pn"> <el-form-item label="lot" prop="pn">
<el-input <el-input
v-model="queryParams.entity.lot" v-model="queryParams.lot"
placeholder="请输入lot" placeholder="请输入lot"
clearable clearable
:maxlength="30" :maxlength="30"
...@@ -382,10 +382,8 @@ export default { ...@@ -382,10 +382,8 @@ export default {
rows: 10, rows: 10,
beginTime: '', beginTime: '',
endTime: '', endTime: '',
entity: { // TODO: lot
// TODO: lot lot: ''
lot: ''
}
}, },
// 查询warehouse的参数 // 查询warehouse的参数
queryParamsDetail: { queryParamsDetail: {
...@@ -886,10 +884,8 @@ export default { ...@@ -886,10 +884,8 @@ export default {
rows: 10, rows: 10,
beginTime: '', beginTime: '',
endTime: '', endTime: '',
entity: { // TODO: lot
// TODO: lot lot: ''
lot: ''
}
} }
this.dateRange = [] this.dateRange = []
this.handleQuery() this.handleQuery()
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<el-input <el-input
ref="autoGetFocusInput" ref="autoGetFocusInput"
v-model="queryParams.entity.pn" v-model="queryParams.pn"
placeholder="请输入pn" placeholder="请输入pn"
clearable clearable
:maxlength="inputMaxLength" :maxlength="inputMaxLength"
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<el-form-item label="lot" prop="lot"> <el-form-item label="lot" prop="lot">
<el-input <el-input
v-model="queryParams.entity.lot" v-model="queryParams.lot"
placeholder="请输入lot" placeholder="请输入lot"
clearable clearable
:maxlength="inputMaxLength" :maxlength="inputMaxLength"
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<el-form-item label="plocation" prop="plocation"> <el-form-item label="plocation" prop="plocation">
<el-input <el-input
v-model="queryParams.entity.plocation" v-model="queryParams.plocation"
placeholder="请输入plocation" placeholder="请输入plocation"
clearable clearable
:maxlength="inputMaxLength" :maxlength="inputMaxLength"
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<el-form-item label="库类型" prop="ptype"> <el-form-item label="库类型" prop="ptype">
<el-select <el-select
v-model="queryParams.entity.ptype" v-model="queryParams.ptype"
placeholder="请选择库类型" placeholder="请选择库类型"
filterable filterable
clearable clearable
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<el-form-item label="库状态" prop="poperate"> <el-form-item label="库状态" prop="poperate">
<el-select <el-select
v-model="queryParams.entity.poperate" v-model="queryParams.poperate"
placeholder="请选择库状态" placeholder="请选择库状态"
filterable filterable
clearable clearable
...@@ -301,19 +301,16 @@ export default { ...@@ -301,19 +301,16 @@ export default {
endTime: '', endTime: '',
// TODO: 0表示倒序排序,1表示顺序排序 // TODO: 0表示倒序排序,1表示顺序排序
tableSortMark: 0, tableSortMark: 0,
// TODO: 设备编码
entity: { pn: '',
// TODO: 设备编码 // TODO: lot
pn: '', lot: '',
// TODO: lot // TODO: 位置
lot: '', plocation: '',
// TODO: 位置 // TODO: 库状态 1 入,2出,3修正,4废弃
plocation: '', poperate: '',
// TODO: 库状态 1 入,2出,3修正,4废弃 // TODO: 库类型 1设备库 2工序库
poperate: '', ptype: ''
// TODO: 库类型 1设备库 2工序库
ptype: ''
}
}, },
// TODO: list记录表名 // TODO: list记录表名
listName: '出入库记录列表', listName: '出入库记录列表',
...@@ -533,13 +530,11 @@ export default { ...@@ -533,13 +530,11 @@ export default {
resetQuery() { resetQuery() {
this.queryParams = { this.queryParams = {
tableSortMark: 0, tableSortMark: 0,
entity: { pn: '',
pn: '', lot: '',
lot: '', plocation: '',
plocation: '', poperate: '',
poperate: '', ptype: ''
ptype: ''
}
} }
this.dateRange = [] this.dateRange = []
this.handleQuery() this.handleQuery()
...@@ -600,11 +595,11 @@ export default { ...@@ -600,11 +595,11 @@ export default {
rows: this.queryParams.rows, rows: this.queryParams.rows,
beginTime: this.queryParams.beginTime, beginTime: this.queryParams.beginTime,
endTime: this.queryParams.endTime, endTime: this.queryParams.endTime,
pn: this.queryParams.entity.pn, pn: this.queryParams.pn,
lot: this.queryParams.entity.lot, lot: this.queryParams.lot,
plocation: this.queryParams.entity.plocation, plocation: this.queryParams.plocation,
poperate: this.queryParams.entity.poperate, poperate: this.queryParams.poperate,
ptype: this.queryParams.entity.ptype ptype: this.queryParams.ptype
} }
return exportInventoryRecord(obj).then(response => { return exportInventoryRecord(obj).then(response => {
const blob = new Blob([response]) const blob = new Blob([response])
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<el-form ref="queryForm" style="padding: 0 0 0 10px" :model="queryParams" :inline="true"> <el-form ref="queryForm" style="padding: 0 0 0 10px" :model="queryParams" :inline="true">
<el-form-item label="pn" prop="pn"> <el-form-item label="pn" prop="pn">
<el-input <el-input
v-model="queryParams.entity.pn" v-model="queryParams.pn"
placeholder="请输入pn" placeholder="请输入pn"
clearable clearable
:maxlength="30" :maxlength="30"
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</el-form-item> </el-form-item>
<el-form-item label="lot" prop="lot"> <el-form-item label="lot" prop="lot">
<el-input <el-input
v-model="queryParams.entity.lot" v-model="queryParams.lot"
placeholder="请输入设备lot" placeholder="请输入设备lot"
clearable clearable
size="small" size="small"
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item label="盘点状态" prop="status"> <el-form-item label="盘点状态" prop="status">
<el-select v-model="queryParams.entity.status" placeholder="请选择" clearable> <el-select v-model="queryParams.status" placeholder="请选择" clearable>
<el-option <el-option
v-for="item in options" v-for="item in options"
:key="item.value" :key="item.value"
...@@ -182,15 +182,13 @@ export default { ...@@ -182,15 +182,13 @@ export default {
// lot: '', // lot: '',
beginTime: '', beginTime: '',
endTime: '', endTime: '',
entity: { // TODO: 设备编码
// TODO: 设备编码 pn: '',
pn: '', // TODO: lot
// TODO: lot lot: '',
lot: '', // TODO: 库类型 1设备库 2工序库
// TODO: 库类型 1设备库 2工序库 ptype: 2,
ptype: 2, status: ''
status: ''
}
}, },
// 表单参数 // 表单参数
form: {} form: {}
...@@ -237,11 +235,11 @@ export default { ...@@ -237,11 +235,11 @@ export default {
// 去除字段默认为0导致0对应的未盘点无法使用问题 // 去除字段默认为0导致0对应的未盘点无法使用问题
let flag = 0 let flag = 0
this.loading = true this.loading = true
if (this.queryParams.entity.status === undefined || this.queryParams.entity.status === '') { if (this.queryParams.status === undefined || this.queryParams.status === '') {
flag = 1 flag = 1
} }
if (flag === 1) { if (flag === 1) {
this.queryParams.entity.status = -1 this.queryParams.status = -1
} }
if (this.queryParams.beginTime === '' || this.queryParams.endTime === '') { if (this.queryParams.beginTime === '' || this.queryParams.endTime === '') {
this.dateRange = [] this.dateRange = []
...@@ -253,7 +251,7 @@ export default { ...@@ -253,7 +251,7 @@ export default {
this.loading = false this.loading = false
}) })
if (flag === 1) { if (flag === 1) {
this.queryParams.entity.status = undefined this.queryParams.status = undefined
flag = 0 flag = 0
} }
}, },
...@@ -286,15 +284,13 @@ export default { ...@@ -286,15 +284,13 @@ export default {
rows: 10, rows: 10,
beginTime: '', beginTime: '',
endTime: '', endTime: '',
entity: { // TODO: 设备编码
// TODO: 设备编码 pn: '',
pn: '', // TODO: lot
// TODO: lot lot: '',
lot: '', // TODO: 库类型 1设备库 2工序库
// TODO: 库类型 1设备库 2工序库 ptype: 2,
ptype: 2, status: ''
status: ''
}
} }
this.dateRange = [] this.dateRange = []
this.resetForm('queryForm') this.resetForm('queryForm')
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<el-form-item label="pn" prop="pn"> <el-form-item label="pn" prop="pn">
<el-input <el-input
ref="autoGetFocusInput" ref="autoGetFocusInput"
v-model="queryParams.entity.pn" v-model="queryParams.pn"
placeholder="请输入pn" placeholder="请输入pn"
clearable clearable
:maxlength="inputMaxLength" :maxlength="inputMaxLength"
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<el-form-item label="lot" prop="lot"> <el-form-item label="lot" prop="lot">
<el-input <el-input
v-model="queryParams.entity.lot" v-model="queryParams.lot"
placeholder="请输入lot" placeholder="请输入lot"
clearable clearable
:maxlength="inputMaxLength" :maxlength="inputMaxLength"
...@@ -184,14 +184,12 @@ export default { ...@@ -184,14 +184,12 @@ export default {
endTime: '', endTime: '',
// TODO: 0表示倒序排序,1表示顺序排序 // TODO: 0表示倒序排序,1表示顺序排序
tableSortMark: 0, tableSortMark: 0,
entity: { // TODO: 设备编码
// TODO: 设备编码 pn: '',
pn: '', // TODO: lot
// TODO: lot lot: '',
lot: '', // TODO: 库状态 1入库 2出库 3修正 4废弃
// TODO: 库状态 1入库 2出库 3修正 4废弃 poperate: '4'
poperate: '4'
}
}, },
// TODO: list记录表名 // TODO: list记录表名
listName: '出入库记录列表', listName: '出入库记录列表',
...@@ -391,11 +389,9 @@ export default { ...@@ -391,11 +389,9 @@ export default {
resetQuery() { resetQuery() {
this.queryParams = { this.queryParams = {
tableSortMark: 0, tableSortMark: 0,
entity: { pn: '',
pn: '', lot: '',
lot: '', poperate: '4'
poperate: '4'
}
} }
this.dateRange = [] this.dateRange = []
this.handleQuery() this.handleQuery()
...@@ -437,9 +433,9 @@ export default { ...@@ -437,9 +433,9 @@ export default {
row: this.queryParams.rows, row: this.queryParams.rows,
beginTime: this.queryParams.beginTime, beginTime: this.queryParams.beginTime,
endTime: this.queryParams.endTime, endTime: this.queryParams.endTime,
pn: this.queryParams.entity.pn, pn: this.queryParams.pn,
lot: this.queryParams.entity.lot, lot: this.queryParams.lot,
poperate: this.queryParams.entity.poperate poperate: this.queryParams.poperate
} }
exportInventoryRecord(obj).then(response => { exportInventoryRecord(obj).then(response => {
const blob = new Blob([response]) const blob = new Blob([response])
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<el-form-item label="pn" prop="pn"> <el-form-item label="pn" prop="pn">
<el-input <el-input
ref="autoGetFocusInput" ref="autoGetFocusInput"
v-model="queryParams.entity.pn" v-model="queryParams.pn"
placeholder="请输入pn" placeholder="请输入pn"
clearable clearable
:maxlength="inputMaxLength" :maxlength="inputMaxLength"
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<el-form-item label="lot" prop="lot"> <el-form-item label="lot" prop="lot">
<el-input <el-input
v-model="queryParams.entity.lot" v-model="queryParams.lot"
placeholder="请输入lot" placeholder="请输入lot"
clearable clearable
:maxlength="inputMaxLength" :maxlength="inputMaxLength"
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<el-form-item label="库状态" prop="poperate"> <el-form-item label="库状态" prop="poperate">
<el-select <el-select
v-model="queryParams.entity.poperate" v-model="queryParams.poperate"
placeholder="请选择库状态" placeholder="请选择库状态"
filterable filterable
clearable clearable
...@@ -217,14 +217,12 @@ export default { ...@@ -217,14 +217,12 @@ export default {
endTime: '', endTime: '',
// TODO: 0表示倒序排序,1表示顺序排序 // TODO: 0表示倒序排序,1表示顺序排序
tableSortMark: 0, tableSortMark: 0,
entity: { // TODO: 设备编码
// TODO: 设备编码 pn: '',
pn: '', // TODO: lot
// TODO: lot lot: '',
lot: '', // TODO: 库状态 1入库 2出库 3修正 4废弃
// TODO: 库状态 1入库 2出库 3修正 4废弃 poperate: ''
poperate: ''
}
}, },
// TODO: list记录表名 // TODO: list记录表名
listName: '出入库记录列表', listName: '出入库记录列表',
...@@ -424,11 +422,9 @@ export default { ...@@ -424,11 +422,9 @@ export default {
resetQuery() { resetQuery() {
this.queryParams = { this.queryParams = {
tableSortMark: 0, tableSortMark: 0,
entity: { pn: '',
pn: '', lot: '',
lot: '', poperate: ''
poperate: ''
}
} }
this.dateRange = [] this.dateRange = []
this.handleQuery() this.handleQuery()
...@@ -470,9 +466,9 @@ export default { ...@@ -470,9 +466,9 @@ export default {
row: this.queryParams.rows, row: this.queryParams.rows,
beginTime: this.queryParams.beginTime, beginTime: this.queryParams.beginTime,
endTime: this.queryParams.endTime, endTime: this.queryParams.endTime,
pn: this.queryParams.entity.pn, pn: this.queryParams.pn,
lot: this.queryParams.entity.lot, lot: this.queryParams.lot,
poperate: this.queryParams.entity.poperate poperate: this.queryParams.poperate
} }
exportInventoryRecord(obj).then(response => { exportInventoryRecord(obj).then(response => {
const blob = new Blob([response]) const blob = new Blob([response])
......
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