|
@@ -256,7 +256,7 @@
|
|
|
</el-row>
|
|
|
<el-row style="margin-bottom: 20px;">
|
|
|
<span style="margin-right: 10px;">供应货位</span>
|
|
|
- <el-select clearable size="mini" v-model="download.cargoSpace" @clear="download.cargoSpace = ''" @focus="chooseOrg('ALLOCATION_PARAM', true, '选择货位', download.warehouseId)">
|
|
|
+ <el-select clearable size="mini" v-model="download.cargoSpace" @clear="download.cargoSpace = ''" @focus="mbHuowei('ALLOCATION_PARAM', true, '选择货位', download.warehouseId)">
|
|
|
<el-option v-for="item in mBcargoSpace" :key="item.id" :label="item.name" :value="item.code" />
|
|
|
</el-select>
|
|
|
</el-row>
|
|
@@ -655,6 +655,17 @@ export default {
|
|
|
this.queryParams.demandDept = selection[0].id
|
|
|
}
|
|
|
},
|
|
|
+ mbHuowei(type, isPage, title, stordocId) {
|
|
|
+ this.referCondition.type = type
|
|
|
+ this.referCondition.isPage = isPage
|
|
|
+ this.referCondition.title = title
|
|
|
+ if(stordocId) {
|
|
|
+ this.referCondition.stordocId = stordocId
|
|
|
+ this.$refs.refer.init(this.referCondition)
|
|
|
+ } else {
|
|
|
+ this.$modal.msgWarning("请先选择仓库")
|
|
|
+ }
|
|
|
+ },
|
|
|
cleanMb() {
|
|
|
this.download.warehouse = ''
|
|
|
this.download.warehouseId = ''
|