| | |
| | | min-width="150" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div style="display: flex"> |
| | | <div style="display: flex;align-items: center"> |
| | | <el-input |
| | | v-model="row.eqp_value" |
| | | placeholder="请输入" |
| | |
| | | /> |
| | | <div style="margin-left: 5px">秒</div> |
| | | </div> |
| | | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | min-width="120" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div>{{ row.stand_value + ' ' + '秒' }}</div> |
| | | <div>{{ row.stand_value + ' ' + '秒/次' }}</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-input v-model="row.unprice" oninput="value=value.replace(/[^0-9.]/g,'')" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="enable" |
| | | label="是否启用" |
| | | min-width="150" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-switch |
| | | v-model="row.enable" |
| | | inactive-value="N" |
| | | active-value="Y" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | row.stand_value = 0 |
| | | } |
| | | }, |
| | | |
| | | // 获取页面高度 |
| | | getHeight() { |
| | | this.$nextTick(() => { |
| | |
| | | this.$refs.tableDataRef.doLayout() |
| | | }) |
| | | } |
| | | |
| | | } |
| | | } |
| | | </script> |