diff --git a/package.bat b/package.bat index aa946b3..d579ac1 100644 --- a/package.bat +++ b/package.bat @@ -1,4 +1,4 @@ -rd /s /q UDI_WMS_NEW +rd /s /q UDI_SPMS_NEW npm run build:prod diff --git a/src/api/purchase/purDelivery.js b/src/api/purchase/purDelivery.js index a8e91db..c9adb0a 100644 --- a/src/api/purchase/purDelivery.js +++ b/src/api/purchase/purDelivery.js @@ -137,5 +137,38 @@ export function updateDetail(data) { }) } +// 查询验收单据详情 +export function getAcceptOrder(params) { + return axios({ + url: "/purchase/delivery/list/getAcceptOrder", + method: "get", + params: params + }); +} +// 审核添加条码 +export function acceptAddCode(data) { + return axios({ + url: "/purchase/delivery/list/acceptAddCode", + method: "post", + data: data + }); +} +// 重新验收 +export function acceptClear(data) { + return axios({ + url: "/purchase/delivery/list/acceptClear", + method: "post", + data: data + }); +} + +// 完成验收 +export function updateStatus(data) { + return axios({ + url: "/purchase/delivery/list/updateStatus", + method: "post", + data: data + }); +} diff --git a/src/views/purchase/purDelivery/purDelivery.vue b/src/views/purchase/purDelivery/purDelivery.vue index 28a93c7..1f77b72 100644 --- a/src/views/purchase/purDelivery/purDelivery.vue +++ b/src/views/purchase/purDelivery/purDelivery.vue @@ -131,6 +131,7 @@ export default { corpName: null, type: 1, editStatus: 1, + status: 1, }, formName: null, formMap: { @@ -205,6 +206,7 @@ export default { corpName: null, type: 1, editStatus: 1, + status: 1, }; this.actDateRange = []; this.getList(); diff --git a/src/views/purchase/purDelivery/purDeliveryAudit.vue b/src/views/purchase/purDelivery/purDeliveryAudit.vue index ede6882..4ca7921 100644 --- a/src/views/purchase/purDelivery/purDeliveryAudit.vue +++ b/src/views/purchase/purDelivery/purDeliveryAudit.vue @@ -1,7 +1,7 @@ + + + + diff --git a/src/views/purchase/purDelivery/purDeliveryEditDialog.vue b/src/views/purchase/purDelivery/purDeliveryEditDialog.vue index 5104a4f..78cc9a3 100644 --- a/src/views/purchase/purDelivery/purDeliveryEditDialog.vue +++ b/src/views/purchase/purDelivery/purDeliveryEditDialog.vue @@ -4,7 +4,7 @@ 草稿保存 - 提交单据 + 提交单据 diff --git a/src/views/purchase/purOrder/DialogSelectOrderList.vue b/src/views/purchase/purOrder/DialogSelectOrderList.vue index adce119..4d09714 100644 --- a/src/views/purchase/purOrder/DialogSelectOrderList.vue +++ b/src/views/purchase/purOrder/DialogSelectOrderList.vue @@ -246,6 +246,7 @@ export default { var data = { id: this.pId, + purOrderId: this.currentRow.id, applyId: this.currentRow.id } addPlanDetailAndOrder(data).then((res) => { diff --git a/src/views/remind/invRemindMsg.vue b/src/views/remind/invRemindMsg.vue index 17187ad..88357e5 100644 --- a/src/views/remind/invRemindMsg.vue +++ b/src/views/remind/invRemindMsg.vue @@ -164,7 +164,7 @@ - +