diff --git a/src/api/system/goods.js b/src/api/system/goods.js index 2f32678..dfdd45c 100644 --- a/src/api/system/goods.js +++ b/src/api/system/goods.js @@ -58,3 +58,13 @@ export function goodsTypeTreeSelect() { method: 'get' }) } + + +// 模糊查询物料信息 +export function queryListByGoodsId(query) { + return request({ + url: '/app/goods/queryListByGoodsId', + method: 'get', + params: query + }) +} diff --git a/src/api/system/pmsOrderIn.js b/src/api/system/pmsOrderIn.js index ec9b431..651539b 100644 --- a/src/api/system/pmsOrderIn.js +++ b/src/api/system/pmsOrderIn.js @@ -36,9 +36,17 @@ export function updateIn(data) { } // 删除【请填写功能名称】 -export function delIn(listId) { +export function delIn(ids) { return request({ - url: '/app/pmsOrderIn/' + listId, + url: '/app/pmsOrderIn/' + ids, method: 'delete' }) } +//新增出库通知单 +export function createOrderIn(data){ + return request({ + url: '/app/pms/orderInList', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/views/system/goods/index.vue b/src/views/system/goods/index.vue index 0b0c7d0..d514a25 100644 --- a/src/views/system/goods/index.vue +++ b/src/views/system/goods/index.vue @@ -41,9 +41,17 @@ @keyup.enter.native="handleQuery" /> - + + + + - - + + + + + + + + @@ -374,6 +388,7 @@ export default { id: null, goodsId: null, goodsName: null, + goodsDesc: null, goodsUnit: null, goodsType: null, normalVehicleType: null, @@ -483,6 +498,7 @@ export default { this.form = { id: null, goodsName: null, + goodsCode: null, goodsUnit: null, goodsType: null, normalVehicleType: null, diff --git a/src/views/system/pmsOrderIn/components/InboundDialog.vue b/src/views/system/pmsOrderIn/components/InboundDialog.vue new file mode 100644 index 0000000..444f152 --- /dev/null +++ b/src/views/system/pmsOrderIn/components/InboundDialog.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/views/system/pmsOrderIn/index.vue b/src/views/system/pmsOrderIn/index.vue index 959aba5..c08d3f6 100644 --- a/src/views/system/pmsOrderIn/index.vue +++ b/src/views/system/pmsOrderIn/index.vue @@ -1,23 +1,15 @@