Browse Source

修复托盘信息管理搜索

fix_bug_pro20231227
13208366016 11 months ago
parent
commit
cd8ae0c40f
  1. 6
      src/api/basicdata/basicdataTray.js
  2. 35
      src/views/basicdata/warehouse/tray/basicdataTray.vue
  3. 6
      vite.config.js

6
src/api/basicdata/basicdataTray.js

@ -6,11 +6,11 @@ export const getList = (current, size, params) => {
url: '/api/logpm-basicdata/tray/list',
method: 'get',
params: {
...params,
current,
size,
}
})
...params,
},
});
}
export const getpackList = (current, size, params) => {
return request({

35
src/views/basicdata/warehouse/tray/basicdataTray.vue

@ -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>

6
vite.config.js

@ -17,12 +17,10 @@ export default ({ mode, command }) => {
// target: 'http://192.168.10.48:8888',
// lmy
// target: 'http://192.168.10.123:8889',
// target: 'http://192.168.10.101:8888',
// target: 'http://192.168.10.75:8777',
// cyz
// target: 'http://192.168.10.94:8888',
target: 'http://192.168.10.75:8777',
// tjj
target: 'http://192.168.10.29:13000',
// target: 'http://192.168.10.29:13000',
// sst
// target: 'http://192.168.10.94:8888',
// target: 'http://192.168.10.29:13000',

Loading…
Cancel
Save