diff --git a/src/api/Inventory/DirectPart.js b/src/api/Inventory/DirectPart.js index 29b413fc..944d2ea0 100644 --- a/src/api/Inventory/DirectPart.js +++ b/src/api/Inventory/DirectPart.js @@ -72,14 +72,14 @@ export function searchDirectPart(pageCurrent, pageSize, project_check, project, }) } // 人员查询 需要在部门确定之后修改 -export function searchPeople() { +export function searchPeople(data1) { return request({ url: '', method: 'post', data: { type: '1', - name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号', - param: '考核部门编号=18' + name: '库存管理_人员查询_库存部门', + param: '角色编号=' + data1 } }) } diff --git a/src/api/Inventory/InboundCard.js b/src/api/Inventory/InboundCard.js index 2cd878de..96afedc3 100644 --- a/src/api/Inventory/InboundCard.js +++ b/src/api/Inventory/InboundCard.js @@ -10,6 +10,17 @@ export function searchContract() { } }) } +export function searchShopContract() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '库存管理_库存管理_车间采购合同查询' + } + }) +} + // 仓库查询 export function searchInventory() { return request({ @@ -33,7 +44,7 @@ export function searchInbound(data1, data2, data3) { } }) } -// 入库记录查询 +// 车间采购查询 export function searchShopInbound(data1, data2, data3) { return request({ url: '', @@ -108,3 +119,15 @@ export function addInboundCardDetail(data1, data2, data3, data4, data5, data6, d }) } +// 入库单明细查询 +export function deleteInboundCardDetail(data1) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '库存管理_采购入库单_采购入库单明细删除', + param: '采购入库单明细流水号=' + data1 + } + }) +} diff --git a/src/api/Inventory/OfflinePartOut.js b/src/api/Inventory/OfflinePartOut.js index 16b6745d..0d22e669 100644 --- a/src/api/Inventory/OfflinePartOut.js +++ b/src/api/Inventory/OfflinePartOut.js @@ -47,14 +47,14 @@ export function searchPart() { }) } // 人员查询 需要在部门确定之后修改 -export function searchPeople() { +export function searchPeople(data1) { return request({ url: '', method: 'post', data: { type: '1', - name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号', - param: '考核部门编号=' + 18 + name: '库存管理_人员查询_库存部门', + param: '角色编号=' + data1 } }) } diff --git a/src/views/Inventory/DirectPart/index.vue b/src/views/Inventory/DirectPart/index.vue index efda0f78..fc4a7f6d 100644 --- a/src/views/Inventory/DirectPart/index.vue +++ b/src/views/Inventory/DirectPart/index.vue @@ -250,7 +250,8 @@ export default { }, computed: { ...mapGetters([ - 'id' + 'id', + 'token' ]) }, created() { @@ -292,7 +293,7 @@ export default { }, searchPeopleData() { // 查询人员 this.People = [] - searchPeople().then(response => { + searchPeople(this.token).then(response => { for (let i = 0; i < response.data.length; i++) { this.People.push({ label: response.data[i].姓名, diff --git a/src/views/Inventory/InboundCard/index.vue b/src/views/Inventory/InboundCard/index.vue index b5a51ec3..8551d4ab 100644 --- a/src/views/Inventory/InboundCard/index.vue +++ b/src/views/Inventory/InboundCard/index.vue @@ -50,11 +50,21 @@ {{ scope.row.物料名称 }} - + + + + + + + - + - - - 采购合同编号: - + @@ -104,8 +109,7 @@ :label="item.label" :value="item.value"/> - 查询 - 导出 + 查询 - + + + + + + + - + - - - @@ -170,7 +179,7 @@ style="width: 100%;" size="mini" height="200" - @row-click = "searchDetail()"> + @row-click = "searchDetail"> @@ -265,60 +274,44 @@ align="center" type="index" width="50"/> - + - + - + - + - + - + - - - - - - - - - @@ -379,17 +372,75 @@ 确定 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +