diff --git a/src/api/Inventory/InventoryManagement.js b/src/api/Inventory/InventoryManagement.js
index dda1f073..b121a949 100644
--- a/src/api/Inventory/InventoryManagement.js
+++ b/src/api/Inventory/InventoryManagement.js
@@ -96,14 +96,14 @@ export function deleteLocate(num) {
})
}
// 人员查询 需要在部门确定之后修改
-export function searchPeople() {
+export function searchPeople(role) {
return request({
url: '',
method: 'post',
data: {
type: '1',
- name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
- param: '考核部门编号=' + 18
+ name: '菜单系统模块_项目角色员工综合_查询数据',
+ param: '姓名_check=' + 0 + '&角色编号_check=' + 1 + '&角色编号=' + role + '&考核部门编号_check=' + 0
}
})
}
diff --git a/src/api/Inventory/OfflinePurchase.js b/src/api/Inventory/OfflinePurchase.js
new file mode 100644
index 00000000..e69de29b
diff --git a/src/api/Inventory/PartOut.js b/src/api/Inventory/PartOut.js
index c92c3998..1ef3d858 100644
--- a/src/api/Inventory/PartOut.js
+++ b/src/api/Inventory/PartOut.js
@@ -49,14 +49,14 @@ export function PurchasePart(data1, data2, data3, data4, data5) {
})
}
// 基本件零件出库
-export function BasicPart(data1, data2, data3, data4) {
+export function BasicPart(data1, data2, data3, data4, data5) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: 'MES_机加工MES_库存管理_出库模块_出库零件信息_零件出库',
- param: '工艺计划流水号=' + data1 + '&本次出库数量=' + data2 + '&收件信息ID=' + data3 + '&出库备注=' + data4
+ param: '工艺计划流水号=' + data1 + '&本次出库数量=' + data2 + '&收件信息ID=' + data3 + '&领用人编号=' + data4 + '&出库备注=' + data5
}
})
}
diff --git a/src/icons/svg/OfflinePurchase.svg b/src/icons/svg/OfflinePurchase.svg
new file mode 100644
index 00000000..2793ad62
--- /dev/null
+++ b/src/icons/svg/OfflinePurchase.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/views/Inventory/Inboundscanning/index.vue b/src/views/Inventory/Inboundscanning/index.vue
index c2634d07..b4a4025e 100644
--- a/src/views/Inventory/Inboundscanning/index.vue
+++ b/src/views/Inventory/Inboundscanning/index.vue
@@ -115,7 +115,8 @@ export default {
},
computed: {
...mapGetters([
- 'id'
+ 'id',
+ 'token'
])
},
created() {
@@ -145,6 +146,8 @@ export default {
// 获取人员编号
getpeopleid() {
this.PeopleNumber = this.id
+ const a = this.token
+ console.log(a, 1111)
},
aaa() {
print('#print')
@@ -174,9 +177,9 @@ export default {
getCraftNumber() {
CraftNumber(this.Partpaint).then(response => {
this.partNumber = response.data[0].工艺计划流水号
+ }).then(() => {
+ this.getscantable()
})
- console.log(this.partNumber, 1111)
- this.getscantable()
},
getPaint() {
searchPartNumber(this.partNumber).then(response => {
diff --git a/src/views/Inventory/InventoryCheck/index.vue b/src/views/Inventory/InventoryCheck/index.vue
index 886b427a..eaf9f20e 100644
--- a/src/views/Inventory/InventoryCheck/index.vue
+++ b/src/views/Inventory/InventoryCheck/index.vue
@@ -114,7 +114,7 @@
- {{ scope.row.入库人员 }}
+ {{ scope.row.姓名 }}
@@ -147,7 +147,7 @@
- {{ scope.row.领用人编号 }}
+ {{ scope.row.姓名 }}
diff --git a/src/views/Inventory/InventoryManagement/index.vue b/src/views/Inventory/InventoryManagement/index.vue
index b1196317..aae428da 100644
--- a/src/views/Inventory/InventoryManagement/index.vue
+++ b/src/views/Inventory/InventoryManagement/index.vue
@@ -246,6 +246,7 @@
+
+
diff --git a/src/views/Inventory/PartOut/index.vue b/src/views/Inventory/PartOut/index.vue
index 71b8ed1f..0e7c15a2 100644
--- a/src/views/Inventory/PartOut/index.vue
+++ b/src/views/Inventory/PartOut/index.vue
@@ -67,9 +67,14 @@
{{ scope.row.出库数量 }}
+
+
+ {{ scope.row.仓库名称 }}
+
+
- {{ scope.row.货位流水号 }}
+ {{ scope.row.货位名称 }}
@@ -196,7 +201,7 @@ export default {
} else { this.$message.error('出库失败') }
})
} else {
- BasicPart(row.工艺计划流水号, row.出库数量, row.收件信息ID, row.备注).then(response => {
+ BasicPart(row.工艺计划流水号, row.出库数量, row.收件信息ID, this.getpicikingPeople, row.备注).then(response => {
if (response.data[0].result === '1') {
this.$message.success('出库成功')
ListDetailOut(row.领料单明细流水号)
diff --git a/src/views/Inventory/PickingList/index.vue b/src/views/Inventory/PickingList/index.vue
index fbe1fc6e..6c216be6 100644
--- a/src/views/Inventory/PickingList/index.vue
+++ b/src/views/Inventory/PickingList/index.vue
@@ -96,6 +96,16 @@
{{ scope.row.出库数量 }}
+
+
+ {{ scope.row.仓库名称 }}
+
+
+
+
+ {{ scope.row.货位名称 }}
+
+
{{ scope.row.备注 }}
@@ -168,21 +178,31 @@
{{ scope.row.零件名称 }}
-
+
{{ scope.row.批次数量 }}
-
+
{{ scope.row.可出库数量 }}
-
+
{{ scope.row.待出库数量 }}
+
+
+ {{ scope.row.仓库名称 }}
+
+
+
+
+ {{ scope.row.货位名称 }}
+
+
{{ scope.row.零件图号 }}
@@ -195,7 +215,7 @@
- 领料
+ 领料
@@ -633,6 +653,11 @@ export default {
this.total1 = response.data.total
})
searchBasicPart(this.PageCurrent1, this.PageSize1, this.ProjectValue_check, this.ProjectValue, this.MachineValue_check, this.MachineValue, this.GroupNumValue_check, this.GroupNumValue).then(response => {
+ const data = response.data.rows
+ console.log(data, 323423)
+ for (let i = 0; i < data.length; i++) {
+ data[i].可出库数量 === '0' ? data[i].是否禁用 = true : data[i].是否禁用 = false
+ }
this.tableDataBasic = response.data.rows
this.listLoading1 = false
this.total = response.data.total