| | |
| | | <div class="el-border-left" style="width: calc(100% - 120px)"> |
| | | <div class="table-container"> |
| | | <el-table ref="tableConfigItemList" class="el-software el-margin-top-bot" |
| | | style="width: 99%;margin-left: 5px" border :data="dataForm.configItemList" |
| | | style="width: 99%;margin-left: 5px" border :data="dataForm.configChangeList" |
| | | stripe> |
| | | <el-table-column prop="no" align="center" width="60" label="序号"> |
| | | <template slot-scope="scope"> |
| | |
| | | <span v-else>{{row.itemName}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="itemDentify" align="center" min-width="290" label="配置项标识"> |
| | | <el-table-column prop="itemIdentify" align="center" min-width="290" label="配置项标识"> |
| | | <template v-slot="{ row }"> |
| | | <el-input v-if="showAddAndEdit" v-model="row.itemIdentify" placeholder="配置项标识"></el-input> |
| | | <span v-else>{{row.itemIdentify}}</span> |
| | |
| | | </div> |
| | | </div> |
| | | <add-or-update-check ref="addOrUpdate" @recall="setCheckId"/> |
| | | <ConfigItemList ref="configItemList"></ConfigItemList> |
| | | <ConfigItemList ref="configItemList" @getChangeItemList="getChangeItemList"></ConfigItemList> |
| | | </el-form> |
| | | </zt-dialog> |
| | | </template> |
| | |
| | | // tableBody.scrollTop = tableBody.scrollHeight; |
| | | // }) |
| | | }, |
| | | getChangeItemList(data){ |
| | | console.log(data.configChangeList,'getChangeItemList(data)') |
| | | if(data.configChangeList){ |
| | | this.dataForm.configChangeList=this.dataForm.configChangeList.concat(data.configChangeList) |
| | | } |
| | | console.log(this.dataForm.configChangeList,'this.dataForm.configChangeList') |
| | | }, |
| | | openCheckOrderWin(row) { |
| | | console.log(row, "openCheckOrderWin(row)") |
| | | row.projectId = this.dataForm.projectId |