| | |
| | | </el-select> |
| | | </el-form-item> |
| | | </div> |
| | | <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened? $store.state.settings.menuIsHorizontal?'15%':'3%':'10%'}"> |
| | | <div |
| | | class="bodySearchReset" |
| | | :style="{marginLeft:$store.state.app.sidebar.opened? $store.state.settings.menuIsHorizontal?'15%':'3%':'10%'}" |
| | | > |
| | | <el-button v-waves type="primary" icon="el-icon-search" @click="search">查询</el-button> |
| | | <el-button v-waves type="info" icon="el-icon-refresh" @click="reset">重置</el-button> |
| | | </div> |
| | |
| | | <template slot-scope="{row}"> |
| | | <div class="operationClass"> |
| | | <el-tooltip class="item" effect="dark" content="编辑" placement="top"> |
| | | <i :style="{color:$store.state.settings.theme}" class="el-icon-edit-outline" @click="edit('edit',row)" /> |
| | | <i |
| | | :style="{color:$store.state.settings.theme}" |
| | | class="el-icon-edit-outline" |
| | | @click="edit('edit',row)" |
| | | /> |
| | | </el-tooltip> |
| | | <el-tooltip v-del-tab-index class="item" effect="dark" content="删除" placement="top"> |
| | | <i :style="{color:$store.state.settings.theme}" class="el-icon-delete" @click="del(row)" /> |
| | |
| | | </el-form> |
| | | <div style="display: flex;flex-direction: column;margin-bottom: 20px"> |
| | | <div> |
| | | <i class="el-icon-s-operation" :style="{color:$store.state.settings.theme}" style="margin: -20px 10px 20px 0;" />工序集合 |
| | | <i |
| | | class="el-icon-s-operation" |
| | | :style="{color:$store.state.settings.theme}" |
| | | style="margin: -20px 10px 20px 0;" |
| | | />工序集合 |
| | | </div> |
| | | <div style="display: flex;background-color: #F2F6FC;padding:20px 0 20px 20px; min-height: 100px"> |
| | | <el-radio-group v-model="dialogForm.stepcode" @change="radioChange"> |
| | |
| | | |
| | | <div style="display: flex;flex-direction: column;min-height: 300px"> |
| | | <div> |
| | | <i class="el-icon-s-operation" :style="{color:$store.state.settings.theme}" style="margin: -20px 10px 20px 0" />设备列表 |
| | | <i |
| | | class="el-icon-s-operation" |
| | | :style="{color:$store.state.settings.theme}" |
| | | style="margin: -20px 10px 20px 0" |
| | | />设备列表 |
| | | </div> |
| | | |
| | | <el-table |
| | |
| | | }, |
| | | // 保存行 |
| | | async saveRow(row) { |
| | | if (parseFloat(row.eqp_value) > 0 && parseFloat(row.cavity_qty) === 0) { |
| | | return this.$message.info('腔型数必须大于零!') |
| | | } |
| | | if (parseFloat(row.eqp_value) === 0 && parseFloat(row.cavity_qty) > 0) { |
| | | return this.$message.info('生产节拍必须大于零!') |
| | | } |
| | | |
| | | if (parseFloat(row.unprice) <= 0 && this.eqpTable.steptype !== 'W') { |
| | | return this.$message.info('计件单价必须大于零!') |
| | | } |