admin
2024-10-15 6d313a4a6f9f9d7ea65ec50ab0d4491e595edb97
jcdm-ui/src/views/main/bs/formulaChild/index.vue
@@ -2,22 +2,6 @@
  <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"
@@ -26,24 +10,40 @@
              @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>
@@ -218,12 +218,12 @@
    />
    <!-- 添加或修改配方配置子信息对话框 -->
    <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>-->