From 6bf8b8db0a4ee0160dbf814274b08d7b3eb04fdd Mon Sep 17 00:00:00 2001 From: zhangdingyu <974548713@qq.com> Date: Mon, 1 Apr 2019 11:07:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/Inventory/OutPartSelect.js | 0 src/views/Inventory/OutPartSelect/index.vue | 189 ++++++++++++++++++++ src/views/Inventory/StockInquiry/index.vue | 57 +----- 3 files changed, 191 insertions(+), 55 deletions(-) create mode 100644 src/api/Inventory/OutPartSelect.js create mode 100644 src/views/Inventory/OutPartSelect/index.vue diff --git a/src/api/Inventory/OutPartSelect.js b/src/api/Inventory/OutPartSelect.js new file mode 100644 index 00000000..e69de29b diff --git a/src/views/Inventory/OutPartSelect/index.vue b/src/views/Inventory/OutPartSelect/index.vue new file mode 100644 index 00000000..4eefd4e4 --- /dev/null +++ b/src/views/Inventory/OutPartSelect/index.vue @@ -0,0 +1,189 @@ + + + + diff --git a/src/views/Inventory/StockInquiry/index.vue b/src/views/Inventory/StockInquiry/index.vue index 20d9c1a8..a3669cdb 100644 --- a/src/views/Inventory/StockInquiry/index.vue +++ b/src/views/Inventory/StockInquiry/index.vue @@ -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