| | |
| | | :popper-append-to-body="false" |
| | | style="width: 200px" |
| | | placeholder="请选择" |
| | | @focus="getWareHouseSelect" |
| | | > |
| | | <!-- @focus="getWareHouseSelect"--> |
| | | <el-option |
| | | v-for="item in storehouseArr" |
| | | :key="item.code" |
| | |
| | | :popper-append-to-body="false" |
| | | style="width: 200px" |
| | | placeholder="请选择" |
| | | @focus="getWareHouseSelect2" |
| | | > |
| | | <!-- @focus="getWareHouseSelect2"--> |
| | | <el-option |
| | | v-for="item in storehouseArr2" |
| | | v-for="item in storehouseArr" |
| | | :key="item.code" |
| | | :label="item.name" |
| | | :value="item.code" |
| | |
| | | created() { |
| | | this.getInventoryFileSelect() |
| | | this.getStockTypeSelect() |
| | | // this.getWareHouseSelect() |
| | | this.getWareHouseSelect() |
| | | }, |
| | | mounted() { |
| | | window.addEventListener('resize', this.getHeight) |
| | |
| | | const { data: res } = await WareHouseSelect() |
| | | this.storehouseArr = res |
| | | }, |
| | | async getWareHouseSelect2() { |
| | | const { data: res } = await WareHouseSelect() |
| | | this.storehouseArr2 = res |
| | | }, |
| | | // async getWareHouseSelect2() { |
| | | // const { data: res } = await WareHouseSelect() |
| | | // this.storehouseArr2 = res |
| | | // }, |
| | | async getuomSelect() { |
| | | const { data: res } = await UomSelect() |
| | | this.uomArr = res |