diff --git a/src/views/warehouseManage/warehousing/newTools/index.vue b/src/views/warehouseManage/warehousing/newTools/index.vue
index 8afda78..caf89be 100644
--- a/src/views/warehouseManage/warehousing/newTools/index.vue
+++ b/src/views/warehouseManage/warehousing/newTools/index.vue
@@ -246,16 +246,11 @@
- 批量通过确认入库
-
+
@@ -276,18 +271,13 @@
-
-
+
- 不通过
-
+ -->
{
- item.taskId = this.query.taskId
- item.typeId = item.typeId
- item.maId = item.maId
- item.inputNum = item.checkNum
- item.maCode = item.maCode
- })
- let param = {
+ const params = {
+ pageNum: 1,
+ pageSize: 9999,
taskId: this.query.taskId,
- checkResult: '1',
- inputRecordList: this.ids,
+ dictName: this.query.dictName,
}
- changePutinStatus(param).then((response) => {
- if (response.code == 200) {
- this.$modal.msgSuccess('审批成功')
- this.getDialogTable()
- this.getList()
- } else {
- this.$modal.msgSuccess('审批失败')
+ getPutinDetailsList(params).then((res) => {
+ let deviceList = res.rows
+ deviceList.forEach((item) => {
+ item.taskId = this.query.taskId
+ item.typeId = item.typeId
+ item.maId = item.maId
+ item.inputNum = item.checkNum
+ item.maCode = item.maCode
+ })
+ let param = {
+ taskId: this.query.taskId,
+ checkResult: '1',
+ inputRecordList: deviceList,
}
+ changePutinStatus(param).then((response) => {
+ if (response.code == 200) {
+ this.$modal.msgSuccess('审批成功')
+ this.getDialogTable()
+ this.getList()
+ } else {
+ this.$modal.msgSuccess('审批失败')
+ }
+ })
})
},
//拒绝