| | |
| | | <if test="processesCode != null and processesCode != ''"> and processes_code like concat('%', #{processesCode}, '%')</if> |
| | | <if test="productCode != null and productCode != ''"> and product_code like concat('%', #{productCode}, '%')</if> |
| | | <if test="operationType != null and operationType != ''"> and operation_type like concat('%', #{operationType}, '%')</if> |
| | | <if test="formulaCode != null and formulaCode != ''"> and formula_code like concat('%', #{formulaCode}, '%')</if> |
| | | <if test="formulaCode != null and formulaCode != ''"> and formula_code = #{formulaCode}</if> |
| | | |
| | | </where> |
| | | </select> |
| | |
| | | permissions: ['bs:formulaChild:list'], |
| | | children: [ |
| | | { |
| | | path: 'index/:formulaCode(\\d+)', |
| | | path: 'index', |
| | | component: () => import('@/views/main/bs/formulaChild/index'), |
| | | name: 'Data', |
| | | meta: { title: '配方详情', activeMenu: '/main/bs/formulaChild' } |
| | |
| | | <!-- </el-table-column>--> |
| | | <el-table-column label="配方编码" width="130" align="center" :show-overflow-tooltip="true"> |
| | | <template slot-scope="scope"> |
| | | <router-link :to="'/main/formula-data/index/' + scope.row.formulaCode" class="link-type"> |
| | | <router-link :to="{path: '/main/formula-data/index/', query: {routeCode: scope.row.formulaCode }}" class="link-type"> |
| | | <span>{{ scope.row.formulaCode }}</span> |
| | | </router-link> |
| | | </template> |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | const formulaCode = this.$route.params && this.$route.params.formulaCode; |
| | | let formulaCode = this.$route.query.formulaCode; |
| | | this.queryParams.formulaCode = formulaCode; |
| | | this.formulaCode = formulaCode; |
| | | this.headerInformation(); |