|  |  |  | 
|---|
|  |  |  | <el-form :model="param" ref="form" :rules="rules"> | 
|---|
|  |  |  | <div class="df_ac"> | 
|---|
|  |  |  | <el-form-item class="w3" label="出库仓库" prop="warehouseId"> | 
|---|
|  |  |  | <el-select :disabled="param.id" v-model="param.warehouseId" placeholder="请选择"> | 
|---|
|  |  |  | <el-select :disabled="param.id" @change="changeStore" v-model="param.warehouseId" placeholder="请选择"> | 
|---|
|  |  |  | <el-option v-for="op in storeList" :key="op.id" :label="op.name" :value="op.id"></el-option> | 
|---|
|  |  |  | </el-select> | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | changeStore() { | 
|---|
|  |  |  | this.list = [] | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | initData() { | 
|---|
|  |  |  | this.$set(this.param, 'doneDate', dayjs().format('YYYY-MM-DD')) | 
|---|
|  |  |  | getStoreList({ capacity: 9999, page: 1, model: {status: 0} }).then(res => { | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | handleOpenMaterial() { | 
|---|
|  |  |  | if(!this.param.warehouseId) return Message.warning('请先选择出库仓库') | 
|---|
|  |  |  | this.isShowSel = true | 
|---|
|  |  |  | this.$nextTick(() => { | 
|---|
|  |  |  | this.$refs.AssetSelRef.isShowModal = true | 
|---|
|  |  |  | this.$refs.AssetSelRef.isOut = true | 
|---|
|  |  |  | this.$refs.AssetSelRef.warehouseId = this.param.warehouseId | 
|---|
|  |  |  | this.$refs.AssetSelRef.getList() | 
|---|
|  |  |  | console.log('-----'); | 
|---|
|  |  |  |  | 
|---|