| | |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="区间设置" :visible.sync="sectionUpDia" width="70%"> |
| | | <el-dialog title="区间设置" :visible.sync="sectionUpDia" width="70%" :close-on-click-modal="false"> |
| | | <div class="body" style="padding: 5px 0;"> |
| | | <el-table :data="sectionList" border style="width: 100%" height="350px"> |
| | | <el-table-column type="index" label="序号" width="70" align="center"> |
| | |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="sectionUpDia = false">取 消</el-button> |
| | | <el-button type="primary" @click="sectionLoadAdd" :loading="sectionLoad">保 存</el-button> |
| | | <el-button type="primary" @click="sectionList.push({thing: ''})" icon="el-icon-plus"></el-button> |
| | | <el-button type="primary" @click="sectionList.push({thing: '',price: sectionRow.price,manHour: sectionRow.manHour})" icon="el-icon-plus"></el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog title="数据导入" :visible.sync="uploadDia" width="500px"> |
| | |
| | | } |
| | | this.sectionRow = {} |
| | | this.sectionUpDia = true |
| | | this.sectionList = [] |
| | | } else { |
| | | // 值是一个对象 |
| | | this.sectionRow = row |