| | |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="盘点仓库" prop="warehouseId"> |
| | | <el-select v-model="formData.warehouseId" placeholder="请选择" style="width: 100%"> |
| | | <el-select @change="getPdr" v-model="formData.warehouseId" placeholder="请选择" style="width: 100%"> |
| | | <el-option v-for="item in warehouseOptions" :key="item.id" :label="item.warehouseName" :value="item.id" /> |
| | | </el-select> |
| | | </el-form-item> |
| | |
| | | this.formData.businessFormName = formatDate(new Date(), 'yyyy年MM月份盘点'); |
| | | } |
| | | this.handleSelectTenantWarehouse(); |
| | | this.getPdr(); |
| | | //this.getPdr(); |
| | | this.getJpr(); |
| | | }, |
| | | methods: { |
| | |
| | | }, |
| | | // 获取盘点人 |
| | | getPdr() { |
| | | warehouseManagerList({ tenantId: this.userInfo.tenantId }).then((res) => { |
| | | warehouseManagerList({ warehouseId: this.formData.warehouseId }).then((res) => { |
| | | this.count++ |
| | | this.operatorOptions = res; |
| | | if(this.count>1){ |