Browse Source

完善旧件库存查询、旧件出入库查询

master
yunuo970428 3 weeks ago
parent
commit
db1a400156
  1. 6
      yxt-as-ui/src/views/storage/oldPartsInAndOutStorage/index.vue
  2. 6
      yxt-as-ui/src/views/storage/oldPartsInvertory/index.vue

6
yxt-as-ui/src/views/storage/oldPartsInAndOutStorage/index.vue

@ -343,9 +343,13 @@ export default {
const choose = this.warehouseList.filter((item) => item.sid === val)
if (choose !== null && choose.length > 0) {
this.queryParams.params.warehouseName = choose[0].warehouseName
this.queryParams.params.warehouseAreaName = ''
this.queryParams.params.warehouseRackCode = ''
this.getWarehouseAreaList(choose[0].sid)
} else {
this.queryParams.params.warehouseName = ''
this.queryParams.params.warehouseAreaName = ''
this.queryParams.params.warehouseRackCode = ''
}
},
getWarehouseAreaList(sid) {
@ -359,9 +363,11 @@ export default {
const choose = this.warehouseAreaList.filter((item) => item.sid === val)
if (choose !== null && choose.length > 0) {
this.queryParams.params.warehouseAreaName = choose[0].areaName
this.queryParams.params.warehouseRackCode = ''
this.getWareHouseCodeList(choose[0].sid)
} else {
this.queryParams.params.warehouseAreaName = ''
this.queryParams.params.warehouseRackCode = ''
}
},
getWareHouseCodeList(sid) {

6
yxt-as-ui/src/views/storage/oldPartsInvertory/index.vue

@ -340,9 +340,13 @@ export default {
const choose = this.warehouseList.filter((item) => item.sid === val)
if (choose !== null && choose.length > 0) {
this.queryParams.params.warehouseName = choose[0].warehouseName
this.queryParams.params.warehouseAreaName = ''
this.queryParams.params.warehouseRackCode = ''
this.getWarehouseAreaList(choose[0].sid)
} else {
this.queryParams.params.warehouseName = ''
this.queryParams.params.warehouseAreaName = ''
this.queryParams.params.warehouseRackCode = ''
}
},
getWarehouseAreaList(sid) {
@ -356,9 +360,11 @@ export default {
const choose = this.warehouseAreaList.filter((item) => item.sid === val)
if (choose !== null && choose.length > 0) {
this.queryParams.params.warehouseAreaName = choose[0].areaName
this.queryParams.params.warehouseRackCode = ''
this.getWareHouseCodeList(choose[0].sid)
} else {
this.queryParams.params.warehouseAreaName = ''
this.queryParams.params.warehouseRackCode = ''
}
},
getWareHouseCodeList(sid) {

Loading…
Cancel
Save