diff --git a/src/api/Inventory/PartsReplacement.js b/src/api/Inventory/PartsReplacement.js
index 11c7aea3..adb6bf3b 100644
--- a/src/api/Inventory/PartsReplacement.js
+++ b/src/api/Inventory/PartsReplacement.js
@@ -10,6 +10,17 @@ export function initProject() {
}
})
}
+// 查询仓库
+export function initWarehouse() {
+ return request({
+ url: '',
+ method: 'post',
+ data: {
+ type: '1',
+ name: '库存管理_货位仓库_仓库_查询数据'
+ }
+ })
+}
// 机床查询
export function searchmachine(check, num) {
return request({
@@ -75,14 +86,14 @@ export function searchReplacementCard(pageCurrent, pageSize, card_check, card) {
})
}
// 补投增加
-export function addReplacementCard(Number) {
+export function addReplacementCard(Number, house) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '库存管理_补投单_补投单增加',
- param: '人员编号=' + Number
+ param: '人员编号=' + Number + '&仓库流水号=' + house
}
})
}
@@ -99,14 +110,14 @@ export function deleteReplacementCard(Number) {
})
}
// 补投增加
-export function addCardDetail(Number, project, machine, team, mun, reason) {
+export function addCardDetail(Number, project, machine, team, name, mass, locate, parttype, reason) {
return request({
url: '',
method: 'post',
data: {
type: '2',
- name: '库存管理_仓库补投_补投单明细增加',
- param: '补投单流水号=' + Number + '&项目流水号=' + project + '&机床流水号=' + machine + '&组件流水号=' + team + '&补投数量=' + mun + '&原因=' + reason
+ name: '库存管理_零件补投_批量增加补投单明细',
+ param: '补投单流水号=' + Number + '&项目流水号组=' + project + '&机床流水号组=' + machine + '&组件流水号组=' + team + '&名称组=' + name + '&数量组=' + mass + '&货位流水号组=' + locate + '&零件类型组=' + parttype + '&原因组=' + reason
}
})
}
diff --git a/src/views/Inventory/PartsReplacement/index.vue b/src/views/Inventory/PartsReplacement/index.vue
index 818f4ff3..9b06c74c 100644
--- a/src/views/Inventory/PartsReplacement/index.vue
+++ b/src/views/Inventory/PartsReplacement/index.vue
@@ -1,6 +1,14 @@
+
+ 修改记录
+ 异常记录
+
项目名称:
- 仓库:
-
-
-
查询
-
+
-
+
{{ scope.row.项目名称 }}
-
+
{{ scope.row.机床图号 }}
-
+
{{ scope.row.组号 }}
-
+
- {{ scope.row.供货商 }}
+ {{ scope.row.名称 }}
+
+
+
+
+ {{ scope.row.数量 }}
- {{ scope.row.当前库存量 }}
+ {{ scope.row.修改原因 }}
-
+
{{ scope.row.姓名 }}
@@ -85,6 +90,16 @@
{{ scope.row.修改日期 }}
+
+
+ {{ scope.row.仓库名称 }}
+
+
+
+
+ {{ scope.row.类型名称 }}
+
+
+
+
-
+
{{ scope.row.项目名称 }}
-
+
{{ scope.row.机床图号 }}
-
+
{{ scope.row.组号 }}
-
+
+
+ {{ scope.row.名称 }}
+
+
+
{{ scope.row.异常数量 }}
@@ -131,9 +153,19 @@
{{ scope.row.异常原因 }}
-
+
- {{ scope.row.货位流水号 }}
+ {{ scope.row.仓库名称 }}
+
+
+
+
+ {{ scope.row.记录时间 }}
+
+
+
+
+ {{ scope.row.类型名称 }}
@@ -202,9 +234,15 @@
{{ scope.row.补投时间 }}
+
+
+ {{ scope.row.仓库名称 }}
+
+
作废
+ 传递
@@ -218,7 +256,6 @@
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange3"
@current-change="handleCurrentChange3"/>
- 传递
@@ -257,7 +294,7 @@