diff --git a/src/api/pick.js b/src/api/pick.js index 5e1daa4..6a1c9db 100644 --- a/src/api/pick.js +++ b/src/api/pick.js @@ -38,4 +38,4 @@ export function cancelAllocate(ids) { data: ids }) } -export default { add, edit, del, allocate ,cancelAllocate } +export default { add, edit, del, allocate , cancelAllocate } diff --git a/src/views/business-data/pick/index.vue b/src/views/business-data/pick/index.vue index e6c9b6b..de358c2 100644 --- a/src/views/business-data/pick/index.vue +++ b/src/views/business-data/pick/index.vue @@ -19,14 +19,14 @@ - + 分配 @@ -38,7 +38,7 @@ icon="el-icon-edit" size="mini" :loading="crud.delAllLoading" - :disabled="crud.selections.length !== 1 || this.crud.selections[0].status!=='ALLOCATE' || this.crud.selections[0].status!=='PICKUP'" + :disabled="crud.selections.length !== 1 || this.crud.selections[0].status !=='ALLOCATE'" @click="cancelAllocate(crud.selections)" > 取消分配 @@ -121,13 +121,12 @@