盘点库区

master
Mr.sun 2 years ago
parent 22bfe5e10d
commit cdaf26da21
  1. 10
      src/api/libraryManage/inventory.js
  2. 1
      src/views/libraryManage/components/goods.vue
  3. 11
      src/views/libraryManage/inventory/inventory.vue
  4. 4
      src/views/libraryManage/inventoryLock/apply/ProductLock.vue
  5. 4
      vue.config.js

@ -27,11 +27,19 @@ export function add(data) {
});
}
// 库内管理-补货-根据库别查询区域
// export function listAreaByStorage(query) {
// return request({
// url: `/wms/stock/common/listAreaByStorage/${query}`,
// method: "get",
// });
// }
// 库内管理-补货-根据库别查询区域
export function listAreaByStorage(query) {
return request({
url: `/wms/stock/common/listAreaByStorage/${query}`,
url: `/wms/storage/list`,
method: "get",
params:query
});
}

@ -252,6 +252,7 @@ export default {
}
queryGoodsAndLocation(obj)
.then((res) => {
console.log(111)
if (res.code === 200) {
this.tableData = res.rows
this.paging.total = res.total

@ -41,15 +41,15 @@
<el-form-item label="库区编号">
<el-select
v-model="enterForm.areaId"
v-model="enterForm.id"
placeholder="请选择库区编号"
clearable
style="width: 240px"
>
<el-option
v-for="item in areaIdhList"
:key="item.areaCode"
:label="item.areaName"
:key="item.storageCode"
:label="item.storageName"
:value="item.id"
>
</el-option>
@ -170,6 +170,7 @@ export default {
mounted() {
this.getBasicList()
this.getBasicListsto()
this.listAreaByStorage()
},
async created() {
this.tableConfig = await this.getTableHeaderCom('busin_inventory', tableConfig.call(this))
@ -190,14 +191,16 @@ export default {
//
selectStoId(val) {
this.enterForm.areaId = ''
if (val) {
this.listAreaByStorage(val)
}
},
//
listAreaByStorage(val) {
listAreaByStorage(val).then((res) => {
listAreaByStorage().then((res) => {
this.areaIdhList = res.data
// console.log(this.areaIdhList)
})
},
//

@ -39,10 +39,6 @@
</el-option>
</el-select>
</el-form-item> -->
<!-- <el-form-item>
<el-button type="primary" @click="queryTable">搜索</el-button>
<el-button @click="resetQuery">重置</el-button>
</el-form-item> -->
</el-form>
</div>
<div class="opt-box">

@ -35,8 +35,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `http://127.0.0.1:8030`,
target: `http://192.168.0.110:8030`,
target: `http://127.0.0.1:8030`,
// target: `http://192.168.0.110:8030`,
// target: `http://120.77.94.227:8030`,
// target: `http://xiaowen.vaiwan.com`,
changeOrigin: true,

Loading…
Cancel
Save