From afc1565a0993b05b856fc3719554ae34fd55cdf7 Mon Sep 17 00:00:00 2001
From: zhangdingyu <974548713@qq.com>
Date: Wed, 27 Mar 2019 16:15:49 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/Inventory/StockInquiry.js | 28 +--
src/views/Inventory/StockInquiry/index.vue | 239 +++++++++++++++++++++
2 files changed, 254 insertions(+), 13 deletions(-)
diff --git a/src/api/Inventory/StockInquiry.js b/src/api/Inventory/StockInquiry.js
index 2104299f..70438de1 100644
--- a/src/api/Inventory/StockInquiry.js
+++ b/src/api/Inventory/StockInquiry.js
@@ -1,18 +1,7 @@
import request from '@/utils/request'
-// 初始化项目
-export function initProject() {
- return request({
- url: '',
- method: 'post',
- data: {
- type: '1',
- name: 'PDM_项目名称_查询数据_按时间排序'
- }
- })
-}
// 机床查询
-export function searchmachine(check, num) {
+export function getMachines(check, num) {
return request({
url: '',
method: 'post',
@@ -24,7 +13,7 @@ export function searchmachine(check, num) {
})
}
// 分组查询
-export function searchTeam(machineNumber) {
+export function getGroups(machineNumber) {
return request({
url: '',
method: 'post',
@@ -35,3 +24,16 @@ export function searchTeam(machineNumber) {
}
})
}
+// 主表查询
+export function getTable(num1, num2, num3, num4, num5, num6, pageCurrent, pageSize) {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '车间生产管理工艺_库存管理_基本件库存查询',
+ param: '机床流水号_check=' + num1 + '&机床流水号=' + num2 + '&组件流水号_check=' + num3 + '&组件流水号=' + num4 + '&零件图号_check=' + num5 + '&零件图号=' + num6,
+ Pagination: pageCurrent + '&' + pageSize
+ }
+ })
+}
diff --git a/src/views/Inventory/StockInquiry/index.vue b/src/views/Inventory/StockInquiry/index.vue
index e69de29b..20d9c1a8 100644
--- a/src/views/Inventory/StockInquiry/index.vue
+++ b/src/views/Inventory/StockInquiry/index.vue
@@ -0,0 +1,239 @@
+
+
+
+ 机床号:
+
+
+ {{ item.label }}
+ {{ item.value2 }}
+
+
+ 组号:
+
+
+
+ 零件图号:
+
+ 查询
+
+
+
+
+
+
+
+ {{ scope.row.零件名称 }}
+
+
+
+
+ {{ scope.row.零件图号 }}
+
+
+
+
+ {{ scope.row.入库数量 }}
+
+
+
+
+ {{ scope.row.机床图号 }}
+
+
+
+
+ {{ scope.row.组号 }}
+
+
+
+
+ {{ scope.row.仓库名称 }}
+
+
+
+
+ {{ scope.row.货位名称 }}
+
+
+
+
+ {{ scope.row.入库时间 }}
+
+
+
+
+
+
+
+
+
+
+
+
+