库存查询

This commit is contained in:
zhangdingyu
2019-04-01 11:07:15 +08:00
parent 7c61b37ea7
commit 6bf8b8db0a
3 changed files with 191 additions and 55 deletions

View File

@@ -95,66 +95,16 @@ import { getMachines, getGroups, getTable } from '@/api/Inventory/StockInquiry'
export default {
data() {
return {
startTime: '',
endTime: '',
startTime_check: 0,
endTime_check: 0,
liushuihao: '',
// value2: null,
radioList: '0',
length: 0,
listLoading1: false,
tableData1: [],
project: '',
projects: [],
Machine: '',
Machines: [],
Group: '',
Groups: [],
part: '',
parts: [{
value: 0,
label: '全部零件'
}, {
value: 1,
label: '自家生产'
}, {
value: 2,
label: '外协生产'
}],
Speed: '',
Speeds: [{
value: 5,
label: '全部'
}, {
value: 1,
label: '拖期'
}, {
value: 2,
label: '即将拖期'
}, {
value: 3,
label: '如期'
}, {
value: 4,
label: '工序外协'
}],
number: '',
checkbox_project: false,
checkbox_Machine: false,
checkbox_Group: false,
checkbox_part: false,
checkbox_number: false,
零件图号: [],
零件名称: [],
投产数量: [],
result: [],
process: [[]],
planDate: [[]],
worker: [[]],
colorCode: [[]],
realDate: [[]],
// waixie: [[]],
tableData1: [],
listLoading1: false,
total: 0, // 总条数
pageSize: 10,
pageCurrent: 1
@@ -215,9 +165,6 @@ export default {
if (response.data.total === 0) {
this.listLoading1 = false
} else {
// for (let i = 0; i < response.data.rows.length; i++) {
// response.data.rows[i].入库时间 = response.data.rows[i].入库时间.split(' ')[0]
// }
this.tableData1 = response.data.rows
this.total = response.data.total
this.listLoading1 = false