Browse Source

完善功能

master
djz236 2 years ago
parent
commit
7c2b1cfbbd
  1. 4
      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

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

@ -136,7 +136,7 @@ export default {
},
async getOptions() {
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.huoweiId = datas.data.rows;
},
@ -167,7 +167,7 @@ export default {
this.getOptions();
this.$refs.onPutInRuleForm.resetFields();
});
},
doClose() {
this.$store.dispatch('tagsView/delView', this.$route)

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

@ -153,8 +153,25 @@
</template>
</el-table-column>
<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>
</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>
</el-table-column>
@ -195,6 +212,7 @@
custerSid:'',
list:[]
},
huoweiId:[],
supplierList: [],
storehouseList: [],
productList: [],
@ -232,6 +250,10 @@
this.openAddPurchaseDialog()
},
methods: {
async getOptions() {
const { data: datas } = await this.$http.get('/location/listAll', { params: this.queryPamas })
this.huoweiId = datas.data.rows;
},
selectPro(row){
console.log(row);
this.productList.forEach((e) => {

Loading…
Cancel
Save