diff --git a/src/api/check/physicalInventory.js b/src/api/check/physicalInventory.js index 9c13596..2cd64ee 100644 --- a/src/api/check/physicalInventory.js +++ b/src/api/check/physicalInventory.js @@ -8,6 +8,9 @@ export const searchCountHeaderList = data => createAPI(`/check/physicalInventory // 根据site和countNo查询盘点主表 export const getCountHeaderByNo = data => createAPI(`/check/physicalInventory/getCountHeaderByNo`, 'post', data) +// 获取当前活动的盘点单(草稿、已下达、盘点中)- rqrq +export const getCurrentActiveCount = data => createAPI(`/check/physicalInventory/getCurrentActiveCount`, 'post', data) + // 创建循环盘点单 export const createCycleCount = data => createAPI(`/check/physicalInventory/createCycleCount`, 'post', data) @@ -23,6 +26,12 @@ export const addMaterialToCount = data => createAPI(`/check/physicalInventory/ad // 下达盘点单 export const releaseCount = data => createAPI(`/check/physicalInventory/releaseCount`, 'post', data) +// 推送盘点单到WCS(首次推送,推前10个栈板)- rqrq +export const pushCountToWcs = data => createAPI(`/check/physicalInventory/pushCountToWcs`, 'post', data) + +// 继续推送盘点单到WCS(推后续10个栈板,由其他交互调用)- rqrq +export const continuePushCount = data => createAPI(`/check/physicalInventory/continuePushCount`, 'post', data) + // 完成盘点单 export const completeCount = data => createAPI(`/check/physicalInventory/completeCount`, 'post', data) @@ -54,3 +63,19 @@ export const searchCountResultList = data => createAPI(`/check/physicalInventory // 查询物料汇总 export const searchMaterialSummary = data => createAPI(`/check/physicalInventory/searchMaterialSummary`, 'post', data) + +// ==================== 任务单查询 ==================== - rqrq + +// 根据盘点单号查询关联的任务单主表列表 +export const searchOrderTaskByCountNo = data => createAPI(`/check/physicalInventory/searchOrderTaskByCountNo`, 'post', data) + +// 查询任务单明细列表 +export const searchOrderTaskDetail = data => createAPI(`/check/physicalInventory/searchOrderTaskDetail`, 'post', data) + +// ==================== 复核任务 ==================== - rqrq + +// 检查是否存在未完成的任务单 +export const hasUncompletedTask = data => createAPI(`/check/physicalInventory/hasUncompletedTask`, 'post', data) + +// 创建复核任务单 +export const createReviewTask = data => createAPI(`/check/physicalInventory/createReviewTask`, 'post', data) diff --git a/src/views/modules/check/currentPhysicalInventory.vue b/src/views/modules/check/currentPhysicalInventory.vue new file mode 100644 index 0000000..0d10715 --- /dev/null +++ b/src/views/modules/check/currentPhysicalInventory.vue @@ -0,0 +1,801 @@ + + + + + + diff --git a/src/views/modules/check/searchPhysicalInventory.vue b/src/views/modules/check/searchPhysicalInventory.vue index 70fb548..2d2f07b 100644 --- a/src/views/modules/check/searchPhysicalInventory.vue +++ b/src/views/modules/check/searchPhysicalInventory.vue @@ -51,17 +51,18 @@ - + @@ -76,7 +77,7 @@ - + - + - + - + + + +
+ +
+
任务单
+ + + + + + + + + + + +
+ +
+
任务单明细
+ + + + + + + +
+
+
@@ -244,7 +283,7 @@