|
|
|
@ -37,7 +37,9 @@
|
|
|
|
|
>查看二维码 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button type="warning" plain icon="el-icon-edit" @click="lossess">报 损 </el-button> |
|
|
|
|
<el-button type="warning" plain icon="el-icon-circle-close" @click="disable">禁 用 </el-button> |
|
|
|
|
<el-button type="warning" plain icon="el-icon-circle-close" @click="disable" |
|
|
|
|
>禁 用 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button type="warning" plain icon="el-icon-check" @click="addable">启 用 </el-button> |
|
|
|
|
<el-button type="warning" plain icon="el-icon-refresh" @click="vacants" |
|
|
|
|
>一 键 空 置 |
|
|
|
@ -510,6 +512,7 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
searchReset() { |
|
|
|
|
this.query = {}; |
|
|
|
|
console.log('123123123'); |
|
|
|
|
this.onLoad(this.page); |
|
|
|
|
}, |
|
|
|
|
searchChange(params, done) { |
|
|
|
@ -523,6 +526,7 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
selectionClear() { |
|
|
|
|
this.selectionList = []; |
|
|
|
|
console.log(this.query,'query'); |
|
|
|
|
this.$refs.crud.toggleSelection(); |
|
|
|
|
}, |
|
|
|
|
currentChange(currentPage) { |
|
|
|
@ -537,13 +541,14 @@ export default {
|
|
|
|
|
onLoad(page, params = {}) { |
|
|
|
|
this.loading = true; |
|
|
|
|
|
|
|
|
|
const { warehouseId, trayStatus, type, palletCode } = this.query; |
|
|
|
|
const { warehouseId, trayStatus, type, palletCode,palletName } = this.query; |
|
|
|
|
|
|
|
|
|
let values = { |
|
|
|
|
warehouseId: warehouseId, |
|
|
|
|
trayStatus: trayStatus, |
|
|
|
|
type: type, |
|
|
|
|
palletCode: palletCode, |
|
|
|
|
palletName:palletName |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
getList(page.currentPage, page.pageSize, values).then(res => { |
|
|
|
@ -558,23 +563,23 @@ export default {
|
|
|
|
|
}; |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<style scoped lang='scss'> |
|
|
|
|
:deep(.avue-form__row){ |
|
|
|
|
margin-left:10px; |
|
|
|
|
max-width:300px!important; |
|
|
|
|
<style scoped lang="scss"> |
|
|
|
|
:deep(.avue-form__row) { |
|
|
|
|
margin-left: 10px; |
|
|
|
|
max-width: 300px !important; |
|
|
|
|
} |
|
|
|
|
:deep(.no-print){ |
|
|
|
|
margin-left:auto; |
|
|
|
|
:deep(.no-print) { |
|
|
|
|
margin-left: auto; |
|
|
|
|
} |
|
|
|
|
:deep(.el-form-item__label){ |
|
|
|
|
width:auto !important; |
|
|
|
|
:deep(.el-form-item__label) { |
|
|
|
|
width: auto !important; |
|
|
|
|
} |
|
|
|
|
:deep(.avue-form__row){ |
|
|
|
|
margin-left:0; |
|
|
|
|
:deep(.avue-form__row) { |
|
|
|
|
margin-left: 0; |
|
|
|
|
} |
|
|
|
|
:deep(.no-print){ |
|
|
|
|
.el-button{ |
|
|
|
|
margin-right:0 |
|
|
|
|
:deep(.no-print) { |
|
|
|
|
.el-button { |
|
|
|
|
margin-right: 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|