Browse Source

完善功能

master
djz236 2 years ago
parent
commit
7c2b1cfbbd
  1. 2
      warehousing-system/project_web_ui/src/views/component/instorehouse/putIn.vue
  2. 24
      warehousing-system/project_web_ui/src/views/component/outStorehouseManagement/add/outListAdd.vue

2
warehousing-system/project_web_ui/src/views/component/instorehouse/putIn.vue

@ -136,7 +136,7 @@ export default {
}, },
async getOptions() { async getOptions() {
const { data: result } = await this.$http.post('/purchasenew/listAll', { params: this.queryInfos }) const { data: result } = await this.$http.post('/purchasenew/listAll', { params: this.queryInfos })
const { data: datas } = await this.$http.get('/location/list', { params: this.queryPamas }) const { data: datas } = await this.$http.get('/location/listAll', { params: this.queryPamas })
this.dingdanId = result.data; this.dingdanId = result.data;
this.huoweiId = datas.data.rows; this.huoweiId = datas.data.rows;
}, },

24
warehousing-system/project_web_ui/src/views/component/outStorehouseManagement/add/outListAdd.vue

@ -153,8 +153,25 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="货位号" width="150" prop="locationNumber" align="center"> <el-table-column label="货位号" width="150" prop="locationNumber" align="center">
<template slot-scope="scope"> <!-- <template slot-scope="scope">
<el-input v-model="scope.row.locationNumber" placeholder="" clearable></el-input> <el-input v-model="scope.row.locationNumber" placeholder="" clearable></el-input>
</template>-->
<template slot-scope="scope">
<el-select
v-model="scope.row.locationNumber"
placeholder="请选择入库区货位"
class="item_input"
clearable
@change="getOptions"
>
<el-option
v-for="(item,i) in huoweiId"
:key="i"
:label="item.name"
:value="item.locationId"
>
</el-option>
</el-select>
</template> </template>
</el-table-column> </el-table-column>
@ -195,6 +212,7 @@
custerSid:'', custerSid:'',
list:[] list:[]
}, },
huoweiId:[],
supplierList: [], supplierList: [],
storehouseList: [], storehouseList: [],
productList: [], productList: [],
@ -232,6 +250,10 @@
this.openAddPurchaseDialog() this.openAddPurchaseDialog()
}, },
methods: { methods: {
async getOptions() {
const { data: datas } = await this.$http.get('/location/listAll', { params: this.queryPamas })
this.huoweiId = datas.data.rows;
},
selectPro(row){ selectPro(row){
console.log(row); console.log(row);
this.productList.forEach((e) => { this.productList.forEach((e) => {

Loading…
Cancel
Save