| | |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item class="marginTopAndMarginBottom2" label="库类型" style="width: 99%"> |
| | | <zt-dict :disabled="stepMarker!=='pzxrk_first'" v-model="dataForm.configItemWarehouse.libraryType" :radio="true" dict="library_type"></zt-dict> |
| | | <zt-dict disabled="disabled" v-model="dataForm.configItemWarehouse.libraryType" :radio="true" dict="library_type"></zt-dict> |
| | | </el-form-item> |
| | | </div> |
| | | <div class="el-flexManageDialog el-border-bottom"> |
| | |
| | | if (row.projectId) { |
| | | this.dataForm.projectId = row.projectId |
| | | } |
| | | if (row.libraryType) { |
| | | console.log(row.libraryType,"row.libraryType") |
| | | this.dataForm.configItemWarehouse.libraryType = row.libraryType |
| | | } |
| | | this.getInfo() |
| | | if (!this.dataForm.disabled) { |
| | | if (!row.stepMarker) { |
| | |
| | | } |
| | | console.log(this.dataForm.id, this.dataForm.projectId, 'params params') |
| | | }, |
| | | // addConfigItemWarehouseRow(){ |
| | | // this.dataForm.configItemList.push({}) |
| | | // this.$nextTick(()=>{ |
| | | // const tableBody=this.$refs.tableConfigItemList.$el.querySelector('.el-table__body-wrapper') |
| | | // tableBody.scrollTop = tableBody.scrollHeight; |
| | | // }) |
| | | // }, |
| | | handleCommand(pageCode) { |
| | | const selectedItem = this.menuOptions.find(item => item.pageCode === pageCode); |
| | | console.log(selectedItem, "handleCommand(pageCode) selectedItem") |
| | |
| | | async getInfo() { |
| | | let params = { |
| | | warehouseId: this.dataForm.id, |
| | | projectId: this.dataForm.projectId |
| | | projectId: this.dataForm.projectId, |
| | | libraryType:this.dataForm.configItemWarehouse.libraryType |
| | | } |
| | | let res = await this.$http.get(`/configItemWarehouse/ConfigItemWarehouse/getDto`, {params: params}) |
| | | this.dataForm = { |