|
@ -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) => { |
|
|