diff --git a/src/api/materialsStation/index.js b/src/api/materialsStation/index.js
index b602827a..053a0453 100644
--- a/src/api/materialsStation/index.js
+++ b/src/api/materialsStation/index.js
@@ -284,10 +284,11 @@ export function getPickListApi(data) {
}
// 领料申请-删除
-export function applyRemove(ids) {
+export function applyRemove(data) {
return request({
- url: '/material/material_lease_apply_info/' + ids,
- method: 'delete'
+ url: '/material/material_lease_apply_info/delete',
+ method: 'post',
+ data
})
}
@@ -700,4 +701,13 @@ export function getProTotalListApi(data) {
method: 'get',
params: data
})
+}
+
+// 班组进出场查询
+export function getTeamInOrOutInfoApi(data) {
+ return request({
+ url: '/material/material_maMachine/getTeamInOrOutInfo',
+ method: 'get',
+ params: data
+ })
}
\ No newline at end of file
diff --git a/src/views/materialsStation/equipment/teamEntrance/index.vue b/src/views/materialsStation/equipment/teamEntrance/index.vue
new file mode 100644
index 00000000..4c4896df
--- /dev/null
+++ b/src/views/materialsStation/equipment/teamEntrance/index.vue
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+ 导出数据
+
+
+
+
+
+
+
+
+
+ 空闲
+ 申报
+ 进场
+
+
+ 否
+ 是
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/materialsStation/toolsLease/apply/component/homeApply.vue b/src/views/materialsStation/toolsLease/apply/component/homeApply.vue
index 929b700a..377ce2b3 100644
--- a/src/views/materialsStation/toolsLease/apply/component/homeApply.vue
+++ b/src/views/materialsStation/toolsLease/apply/component/homeApply.vue
@@ -447,7 +447,7 @@ export default {
this.$modal
.confirm('是否确认删除所选择的数据项?')
.then(function () {
- return applyRemove(ids)
+ return applyRemove({ id: row.id, type: row.taskStatus == 4 ? 1 : 2 })
})
.then(() => {
this.getList()
diff --git a/src/views/materialsStation/toolsLease/outBound/component/homeApply.vue b/src/views/materialsStation/toolsLease/outBound/component/homeApply.vue
index 885c147b..1c508d66 100644
--- a/src/views/materialsStation/toolsLease/outBound/component/homeApply.vue
+++ b/src/views/materialsStation/toolsLease/outBound/component/homeApply.vue
@@ -91,12 +91,7 @@
领料单
-
+
删除
@@ -310,6 +305,14 @@ export default {
this.getList()
},
methods: {
+ handleShow(row) {
+ // createTime 距离当前时间 3天内 可以删除
+ if (new Date().getTime() - new Date(row.createTime).getTime() < 3 * 24 * 60 * 60 * 1000) {
+ return true
+ } else {
+ return false
+ }
+ },
format(date) {
const y = date.getFullYear()
const m = String(date.getMonth() + 1).padStart(2, '0')
@@ -436,7 +439,7 @@ export default {
this.$modal
.confirm('是否确认删除所选择的数据项?')
.then(function () {
- return applyRemove(ids)
+ return applyRemove({ id: row.id, type: row.taskStatus == 4 ? 1 : 2})
})
.then(() => {
this.getList()