| | |
| | | <div class="app-container"> |
| | | <el-card class="box-card"> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> |
| | | <el-form-item label="车间" prop="workshopCode"> |
| | | <el-input |
| | | v-model="queryParams.workshopCode" |
| | | placeholder="请输入车间" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="产线" prop="lineCode"> |
| | | <el-input |
| | | v-model="queryParams.lineCode" |
| | | placeholder="请输入产线" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="工序" prop="processesCode"> |
| | | <el-input |
| | | v-model="queryParams.processesCode" |
| | |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="产品编号" prop="productCode"> |
| | | <el-form-item label="参数编码" prop="paramCode"> |
| | | <el-input |
| | | v-model="queryParams.productCode" |
| | | placeholder="请输入产品编号" |
| | | v-model="queryParams.paramCode" |
| | | placeholder="请输入参数编码" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <!-- <el-form-item label="类型" prop="operationType">--> |
| | | <!-- <el-select v-model="queryParams.operationType" placeholder="请选择类型" clearable>--> |
| | | <!-- <el-option--> |
| | | <!-- v-for="dict in dict.type.${dictType}"--> |
| | | <!-- :key="dict.value"--> |
| | | <!-- :label="dict.label"--> |
| | | <!-- :value="dict.value"--> |
| | | <!-- />--> |
| | | <!-- </el-select>--> |
| | | <!-- <el-form-item label="产线" prop="lineCode">--> |
| | | <!-- <el-input--> |
| | | <!-- v-model="queryParams.lineCode"--> |
| | | <!-- placeholder="请输入产线"--> |
| | | <!-- clearable--> |
| | | <!-- @keyup.enter.native="handleQuery"--> |
| | | <!-- />--> |
| | | <!-- </el-form-item>--> |
| | | <!-- <el-form-item label="产品编号" prop="productCode">--> |
| | | <!-- <el-input--> |
| | | <!-- v-model="queryParams.productCode"--> |
| | | <!-- placeholder="请输入产品编号"--> |
| | | <!-- clearable--> |
| | | <!-- @keyup.enter.native="handleQuery"--> |
| | | <!-- />--> |
| | | <!-- </el-form-item>--> |
| | | <el-form-item label="类型" prop="operationType"> |
| | | <el-select v-model="queryParams.operationType" placeholder="请选择类型" clearable> |
| | | <el-option |
| | | v-for="dict in dict.type.operation_type" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item style="float: right"> |
| | | <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> |
| | | <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> |
| | |
| | | <!-- </el-table-column>--> |
| | | <el-table-column label="工序" width="90" align="center" prop="processesCode"> |
| | | </el-table-column> |
| | | <el-table-column label="物料编号" width="150" align="center" prop="productCode"> |
| | | <el-table-column label="产品编号" width="150" align="center" prop="productCode"> |
| | | </el-table-column> |
| | | <el-table-column label="操作内容" :show-overflow-tooltip='true' width="150" align="center" prop="operationSteps"> |
| | | </el-table-column> |
| | |
| | | /> |
| | | |
| | | <!-- 添加或修改配方配置子信息对话框 --> |
| | | <el-dialog v-dialogpop-up :title="title" :visible.sync="open" width="500px" append-to-body> |
| | | <el-dialog v-dialogpop-up :title="title" :visible.sync="open" width="1000px" append-to-body> |
| | | <span slot="title"> |
| | | <i class="el-icon-s-order"></i> |
| | | {{titleName}} |
| | | </span> |
| | | <el-form ref="form" :model="form" :rules="rules" label-width="80px"> |
| | | <el-form ref="form" :inline="true" :model="form" :rules="rules" label-width="80px"> |
| | | <!-- <el-form-item label="车间" prop="workshopCode">--> |
| | | <!-- <el-input v-model="form.workshopCode" placeholder="请输入车间" />--> |
| | | <!-- </el-form-item>--> |
| | |
| | | <el-form-item label="物料编码" prop="materialCode"> |
| | | <el-input v-model="form.materialCode" placeholder="请输入物料编码" /> |
| | | </el-form-item> |
| | | <!-- <el-form-item label="配方编码" prop="formulaCode">--> |
| | | <!-- <el-input v-model="form.formulaCode" placeholder="请输入配方编码" />--> |
| | | <!-- </el-form-item>--> |
| | | <el-form-item label="图片" prop="picture"> |
| | | <el-input v-model="form.picture" placeholder="请输入图片" /> |
| | | <el-form-item label="上限" prop="spareField2"> |
| | | <el-input v-model="form.spareField2" placeholder="请输入备注" /> |
| | | </el-form-item> |
| | | <el-form-item label="下限" prop="spareField3"> |
| | | <el-input v-model="form.spareField3" placeholder="请输入备注" /> |
| | | </el-form-item> |
| | | <el-form-item label="参数值" prop="collectData"> |
| | | <el-input v-model="form.collectData" placeholder="请输入备注" /> |
| | | </el-form-item> |
| | | <el-form-item label="状态" prop="results"> |
| | | <el-input v-model="form.results" placeholder="请输入备注" /> |
| | | </el-form-item> |
| | | <el-form-item label="备注" prop="remarks"> |
| | | <el-input v-model="form.remarks" placeholder="请输入备注" /> |
| | |
| | | createUser: null, |
| | | createTime: null, |
| | | updateUser: null, |
| | | collectData: null, |
| | | results: null, |
| | | updateTime: null, |
| | | spareField1: null, |
| | | spareField2: null, |
| | |
| | | this.reset(); |
| | | const id = row.id || this.ids |
| | | getFormulaChild(id).then(response => { |
| | | console.log(response.data) |
| | | this.form = response.data; |
| | | this.open = true; |
| | | this.titleName = "修改配方配置子信息"; |