|
|
@@ -1,271 +1,238 @@
|
|
|
<template>
|
|
|
- <div>
|
|
|
+ <div class="match-body">
|
|
|
<el-tabs v-model="activeName" type="card">
|
|
|
<el-tab-pane
|
|
|
label="匹配产品"
|
|
|
name="product"
|
|
|
- v-if="defaultNum == 'w06' || defaultNum == 'w04'"
|
|
|
+ v-if="defaultNum == '3' || defaultNum == '6'"
|
|
|
>
|
|
|
- <el-button type="primary" @click="clickAdd([4], '选择产品')"
|
|
|
- >添加</el-button
|
|
|
+ <!-- 数据表格 -->
|
|
|
+ <ele-pro-table
|
|
|
+ ref="table"
|
|
|
+ :columns="columns_product"
|
|
|
+ :datasource="productData"
|
|
|
+ :needPage="false"
|
|
|
+ height="calc(100vh - 265px)"
|
|
|
+ full-height="calc(100vh - 116px)"
|
|
|
+ tool-class="ele-toolbar-form"
|
|
|
+ cache-key="systemOrgUserTable"
|
|
|
>
|
|
|
- <el-table
|
|
|
- :data="productData"
|
|
|
- class="table-box"
|
|
|
- :header-cell-style="{ background: '#F0F3F3', border: 'none' }"
|
|
|
- >
|
|
|
- <el-table-column type="index" label="序号" width="50">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="informationCode" label="物品编码">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="informationName"
|
|
|
- label="物品名称"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="brandNum" label="牌号"> </el-table-column>
|
|
|
- <el-table-column prop="modelType" label="型号"> </el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="物品类型"
|
|
|
- prop="classificationCode"
|
|
|
- :formatter="classificationCodeFormatter"
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="classificationUrl"
|
|
|
- show-overflow-tooltip
|
|
|
- label="分类"
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="操作">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
- @click="handleDelete(scope.$index, scope.row)"
|
|
|
- >删除</el-button
|
|
|
- >
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
+ <!-- 表头工具栏 -->
|
|
|
+ <template v-slot:toolbar>
|
|
|
+ <el-button type="primary" @click="clickAdd('4', '选择产品')"
|
|
|
+ >添加</el-button
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <!-- 操作列 -->
|
|
|
+ <template v-slot:action="{ row, $index }">
|
|
|
+ <el-popconfirm
|
|
|
+ class="ele-action"
|
|
|
+ title="确定要删除此物品?"
|
|
|
+ @confirm="remove(row)"
|
|
|
+ >
|
|
|
+ <template v-slot:reference>
|
|
|
+ <el-link
|
|
|
+ @click="handleDelete($index, row)"
|
|
|
+ type="danger"
|
|
|
+ :underline="false"
|
|
|
+ icon="el-icon-delete"
|
|
|
+ >
|
|
|
+ 删除
|
|
|
+ </el-link>
|
|
|
+ </template>
|
|
|
+ </el-popconfirm>
|
|
|
+ </template>
|
|
|
+ </ele-pro-table>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane
|
|
|
label="匹配模具"
|
|
|
name="mould"
|
|
|
- v-if="defaultNum == 'w01' || defaultNum == 'w07'"
|
|
|
+ v-if="defaultNum == '1' || defaultNum == '4'"
|
|
|
>
|
|
|
- <el-button type="primary" @click="clickAdd([6], '选择模具')"
|
|
|
- >添加</el-button
|
|
|
+ <!-- 数据表格 -->
|
|
|
+ <ele-pro-table
|
|
|
+ ref="table"
|
|
|
+ :columns="columns_mould"
|
|
|
+ :datasource="mouldData"
|
|
|
+ :needPage="false"
|
|
|
+ height="calc(100vh - 265px)"
|
|
|
+ full-height="calc(100vh - 116px)"
|
|
|
+ tool-class="ele-toolbar-form"
|
|
|
+ cache-key="systemOrgUserTable"
|
|
|
>
|
|
|
- <el-table
|
|
|
- :data="mouldData"
|
|
|
- class="table-box"
|
|
|
- :header-cell-style="{ background: '#F0F3F3', border: 'none' }"
|
|
|
- >
|
|
|
- <el-table-column type="index" label="序号" width="50">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="informationCode" label="物品编码" width="120">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="informationName"
|
|
|
- label="物品名称"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="brandNum" label="牌号"> </el-table-column>
|
|
|
- <el-table-column prop="modelType" label="型号"> </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="shrinkageCoefficient"
|
|
|
- label="收缩系数"
|
|
|
- :formatter="shrinkFormatter"
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="dieBodyModel"
|
|
|
- width="120"
|
|
|
- label="大模体型号"
|
|
|
- :formatter="modleFormatter"
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="物品类型"
|
|
|
- prop="classificationCode"
|
|
|
- :formatter="classificationCodeFormatter"
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="classificationUrl"
|
|
|
- show-overflow-tooltip
|
|
|
- label="分类"
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="操作">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
- @click="handleDelete(scope.$index, scope.row)"
|
|
|
- >删除</el-button
|
|
|
- >
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
+ <!-- 表头工具栏 -->
|
|
|
+ <template v-slot:toolbar>
|
|
|
+ <el-button type="primary" @click="clickAdd('6', '选择模具')"
|
|
|
+ >添加</el-button
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <!-- 操作列 -->
|
|
|
+ <template v-slot:action="{ row, $index }">
|
|
|
+ <el-popconfirm
|
|
|
+ class="ele-action"
|
|
|
+ title="确定要删除此物品?"
|
|
|
+ @confirm="remove(row)"
|
|
|
+ >
|
|
|
+ <template v-slot:reference>
|
|
|
+ <el-link
|
|
|
+ @click="handleDelete($index, row)"
|
|
|
+ type="danger"
|
|
|
+ :underline="false"
|
|
|
+ icon="el-icon-delete"
|
|
|
+ >
|
|
|
+ 删除
|
|
|
+ </el-link>
|
|
|
+ </template>
|
|
|
+ </el-popconfirm>
|
|
|
+ </template>
|
|
|
+ </ele-pro-table>
|
|
|
</el-tab-pane>
|
|
|
- <el-tab-pane label="匹配备品备件" name="part" v-if="defaultNum == 'w01'">
|
|
|
- <el-button type="primary" @click="clickAdd([7], '选择备品备件')"
|
|
|
- >添加</el-button
|
|
|
+ <el-tab-pane label="匹配备品备件" name="part" v-if="defaultNum == '1'">
|
|
|
+ <!-- 数据表格 -->
|
|
|
+ <ele-pro-table
|
|
|
+ ref="table"
|
|
|
+ :columns="columns_part"
|
|
|
+ :datasource="partData"
|
|
|
+ :needPage="false"
|
|
|
+ height="calc(100vh - 265px)"
|
|
|
+ full-height="calc(100vh - 116px)"
|
|
|
+ tool-class="ele-toolbar-form"
|
|
|
+ cache-key="systemOrgUserTable"
|
|
|
>
|
|
|
- <el-table
|
|
|
- :data="partData"
|
|
|
- class="table-box"
|
|
|
- :header-cell-style="{ background: '#F0F3F3', border: 'none' }"
|
|
|
+ <!-- 表头工具栏 -->
|
|
|
+ <template v-slot:toolbar>
|
|
|
+ <el-button type="primary" @click="clickAdd('7', '选择备品备件')"
|
|
|
+ >添加</el-button
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <!-- 操作列 -->
|
|
|
+ <template v-slot:action="{ row, $index }">
|
|
|
+ <el-popconfirm
|
|
|
+ class="ele-action"
|
|
|
+ title="确定要删除此物品?"
|
|
|
+ @confirm="remove(row)"
|
|
|
+ >
|
|
|
+ <template v-slot:reference>
|
|
|
+ <el-link
|
|
|
+ @click="handleDelete($index, row)"
|
|
|
+ type="danger"
|
|
|
+ :underline="false"
|
|
|
+ icon="el-icon-delete"
|
|
|
+ >
|
|
|
+ 删除
|
|
|
+ </el-link>
|
|
|
+ </template>
|
|
|
+ </el-popconfirm>
|
|
|
+ </template>
|
|
|
+ </ele-pro-table>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane label="BOM表" name="bom" v-if="defaultNum == '4'">
|
|
|
+ <!-- 数据表格 -->
|
|
|
+ <ele-pro-table
|
|
|
+ ref="table"
|
|
|
+ :columns="columns_bom"
|
|
|
+ :datasource="bomData"
|
|
|
+ :needPage="false"
|
|
|
+ height="calc(100vh - 265px)"
|
|
|
+ full-height="calc(100vh - 116px)"
|
|
|
+ tool-class="ele-toolbar-form"
|
|
|
+ cache-key="systemOrgUserTable"
|
|
|
>
|
|
|
- <el-table-column type="index" label="序号" width="50">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="informationCode" label="物品编码">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="informationName"
|
|
|
- label="物品名称"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="modelType" label="型号"> </el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="物品类型"
|
|
|
- prop="classificationCode"
|
|
|
- :formatter="classificationCodeFormatter"
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="classificationUrl"
|
|
|
- show-overflow-tooltip
|
|
|
- label="分类"
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="操作">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
- @click="handleDelete(scope.$index, scope.row)"
|
|
|
- >删除</el-button
|
|
|
+ <!-- 表头工具栏 -->
|
|
|
+ <template v-slot:toolbar>
|
|
|
+ <div class="bom-top">
|
|
|
+ <el-button type="primary" @click="clickAdd('3', '选择物料')"
|
|
|
+ >添加</el-button
|
|
|
>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- </el-tab-pane>
|
|
|
- <el-tab-pane label="BOM表" name="bom" v-if="defaultNum == 'w07'">
|
|
|
- <div class="bom-top">
|
|
|
- <el-button type="primary" @click="clickAdd([3], '选择物料')"
|
|
|
- >添加</el-button
|
|
|
- >
|
|
|
- <div class="top-input">
|
|
|
- <span>基本数量</span>
|
|
|
+ <div class="top-input">
|
|
|
+ <span>基本数量</span>
|
|
|
+ <el-input
|
|
|
+ class="input-box"
|
|
|
+ @input="handleEdit"
|
|
|
+ v-model="itemForm.basicNum"
|
|
|
+ placeholder="请输入"
|
|
|
+ ></el-input>
|
|
|
+ <span>{{ itemForm.measuringUnit }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <!-- 操作列 -->
|
|
|
+ <template v-slot:action="{ row, $index }">
|
|
|
+ <el-popconfirm
|
|
|
+ class="ele-action"
|
|
|
+ title="确定要删除此物品?"
|
|
|
+ @confirm="remove(row)"
|
|
|
+ >
|
|
|
+ <template v-slot:reference>
|
|
|
+ <el-link
|
|
|
+ @click="handleDelete($index, row)"
|
|
|
+ type="danger"
|
|
|
+ :underline="false"
|
|
|
+ icon="el-icon-delete"
|
|
|
+ >
|
|
|
+ 删除
|
|
|
+ </el-link>
|
|
|
+ </template>
|
|
|
+ </el-popconfirm>
|
|
|
+ </template>
|
|
|
+ <!-- 操作列 -->
|
|
|
+ <template v-slot:num="{ row, $index }">
|
|
|
<el-input
|
|
|
- class="input-box"
|
|
|
- @input="handleEdit"
|
|
|
- v-model="itemForm.basicNum"
|
|
|
+ type="number"
|
|
|
+ v-model="row.num"
|
|
|
placeholder="请输入"
|
|
|
+ oninput="value=value.replace(/[^0-9.]/g,'')"
|
|
|
></el-input>
|
|
|
- <span>{{ itemForm.measuringUnit }}</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <el-table
|
|
|
- :data="bomData"
|
|
|
- class="table-box"
|
|
|
- :header-cell-style="{ background: '#F0F3F3', border: 'none' }"
|
|
|
- >
|
|
|
- <el-table-column type="index" label="序号" width="50">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="informationCode" label="物品编码" width="120">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="informationName"
|
|
|
- label="物品名称"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="brandNum" label="牌号"> </el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="物品类型"
|
|
|
- prop="classificationCode"
|
|
|
- :formatter="classificationCodeFormatter"
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="classificationUrl"
|
|
|
- label="分类"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="num" label="数量" width="120">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input
|
|
|
- type="number"
|
|
|
- v-model="scope.row.num"
|
|
|
- placeholder="请输入"
|
|
|
- oninput="value=value.replace(/[^0-9.]/g,'')"
|
|
|
- ></el-input>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="计量单位" prop="measuringUnit">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="操作">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
- @click="handleDelete(scope.$index, scope.row)"
|
|
|
- >删除</el-button
|
|
|
- >
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
+ </template>
|
|
|
+ </ele-pro-table>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane
|
|
|
label="匹配设备"
|
|
|
name="facility"
|
|
|
- v-if="defaultNum == 'w04' || defaultNum == 'w05'"
|
|
|
+ v-if="defaultNum == '6' || defaultNum == '7'"
|
|
|
>
|
|
|
- <el-button type="primary" @click="clickAdd([1], '选择设备')"
|
|
|
- >添加</el-button
|
|
|
- >
|
|
|
- <el-table
|
|
|
- :data="facilityData"
|
|
|
- class="table-box"
|
|
|
- :header-cell-style="{ background: '#F0F3F3', border: 'none' }"
|
|
|
+ <!-- 数据表格 -->
|
|
|
+ <ele-pro-table
|
|
|
+ ref="table"
|
|
|
+ :columns="columns_facility"
|
|
|
+ :datasource="facilityData"
|
|
|
+ :needPage="false"
|
|
|
+ height="calc(100vh - 265px)"
|
|
|
+ full-height="calc(100vh - 116px)"
|
|
|
+ tool-class="ele-toolbar-form"
|
|
|
+ cache-key="systemOrgUserTable"
|
|
|
>
|
|
|
- <el-table-column type="index" label="序号" width="50">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="informationCode" label="物品编码">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="informationName"
|
|
|
- label="物品名称"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="modelType" label="型号"> </el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="物品类型"
|
|
|
- prop="classificationCode"
|
|
|
- :formatter="classificationCodeFormatter"
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="classificationUrl"
|
|
|
- label="分类"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="操作">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
- @click="handleDelete(scope.$index, scope.row)"
|
|
|
- >删除</el-button
|
|
|
- >
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
+ <!-- 表头工具栏 -->
|
|
|
+ <template v-slot:toolbar>
|
|
|
+ <el-button type="primary" @click="clickAdd('1', '选择设备')"
|
|
|
+ >添加</el-button
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <!-- 操作列 -->
|
|
|
+ <template v-slot:action="{ row, $index }">
|
|
|
+ <el-popconfirm
|
|
|
+ class="ele-action"
|
|
|
+ title="确定要删除此物品?"
|
|
|
+ @confirm="remove(row)"
|
|
|
+ >
|
|
|
+ <template v-slot:reference>
|
|
|
+ <el-link
|
|
|
+ @click="handleDelete($index, row)"
|
|
|
+ type="danger"
|
|
|
+ :underline="false"
|
|
|
+ icon="el-icon-delete"
|
|
|
+ >
|
|
|
+ 删除
|
|
|
+ </el-link>
|
|
|
+ </template>
|
|
|
+ </el-popconfirm>
|
|
|
+ </template>
|
|
|
+ </ele-pro-table>
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
|
|
|
@@ -281,21 +248,24 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+ import matchMixins from './match-mixins';
|
|
|
import AddDialog from './AddDialog.vue';
|
|
|
export default {
|
|
|
components: { AddDialog },
|
|
|
- prop: {
|
|
|
+ props: {
|
|
|
defaultNum: String
|
|
|
},
|
|
|
+ mixins: [matchMixins],
|
|
|
data () {
|
|
|
return {
|
|
|
activeName: 'mould',
|
|
|
- typeValue: [],
|
|
|
+ typeValue: '',
|
|
|
productData: [],
|
|
|
mouldData: [],
|
|
|
partData: [],
|
|
|
bomData: [],
|
|
|
facilityData: [],
|
|
|
+ dialogTitle: '',
|
|
|
mapList: []
|
|
|
};
|
|
|
},
|
|
|
@@ -311,23 +281,23 @@
|
|
|
},
|
|
|
setDefault (val) {
|
|
|
switch (val) {
|
|
|
- case 'w06': {
|
|
|
+ case '3': {
|
|
|
this.activeName = 'product';
|
|
|
break;
|
|
|
}
|
|
|
- case 'w01': {
|
|
|
+ case '1': {
|
|
|
this.activeName = 'mould';
|
|
|
break;
|
|
|
}
|
|
|
- case 'w07': {
|
|
|
+ case '4': {
|
|
|
this.activeName = 'mould';
|
|
|
break;
|
|
|
}
|
|
|
- case 'w04': {
|
|
|
+ case '6': {
|
|
|
this.activeName = 'product';
|
|
|
break;
|
|
|
}
|
|
|
- case 'w05': {
|
|
|
+ case '7': {
|
|
|
this.activeName = 'facility';
|
|
|
break;
|
|
|
}
|
|
|
@@ -337,23 +307,23 @@
|
|
|
},
|
|
|
matchList (key, data) {
|
|
|
switch (key) {
|
|
|
- case 'w01': {
|
|
|
+ case '1': {
|
|
|
this.facilityData = data[key];
|
|
|
break;
|
|
|
}
|
|
|
- case 'w04': {
|
|
|
+ case '6': {
|
|
|
this.mouldData = data[key];
|
|
|
break;
|
|
|
}
|
|
|
- case 'w05': {
|
|
|
+ case '7': {
|
|
|
this.partData = data[key];
|
|
|
break;
|
|
|
}
|
|
|
- case 'w07': {
|
|
|
+ case '4': {
|
|
|
this.productData = data[key];
|
|
|
break;
|
|
|
}
|
|
|
- case 'w06': {
|
|
|
+ case '3': {
|
|
|
this.bomData = data[key];
|
|
|
break;
|
|
|
}
|
|
|
@@ -361,16 +331,6 @@
|
|
|
break;
|
|
|
}
|
|
|
},
|
|
|
- // 物品类型格式化
|
|
|
- classificationCodeFormatter (row) {
|
|
|
- let itemName = '';
|
|
|
- this.typeList.map((item) => {
|
|
|
- if (item.prefix == row.classificationCode) {
|
|
|
- itemName = item.name;
|
|
|
- }
|
|
|
- });
|
|
|
- return itemName;
|
|
|
- },
|
|
|
//点击添加打开弹窗
|
|
|
clickAdd (val, name) {
|
|
|
this.$refs.addDialogRef.equipmentdialog = true;
|
|
|
@@ -382,15 +342,15 @@
|
|
|
},
|
|
|
mapAddList () {
|
|
|
this.mapList = [];
|
|
|
- if (this.defaultNum == 'w01') {
|
|
|
+ if (this.defaultNum == '1') {
|
|
|
this.mapList = this.partData.concat(this.mouldData);
|
|
|
- } else if (this.defaultNum == 'w04') {
|
|
|
+ } else if (this.defaultNum == '6') {
|
|
|
this.mapList = this.facilityData.concat(this.productData);
|
|
|
- } else if (this.defaultNum == 'w05') {
|
|
|
+ } else if (this.defaultNum == '7') {
|
|
|
this.mapList = this.facilityData;
|
|
|
- } else if (this.defaultNum == 'w06') {
|
|
|
+ } else if (this.defaultNum == '3') {
|
|
|
this.mapList = this.productData;
|
|
|
- } else if (this.defaultNum == 'w07') {
|
|
|
+ } else if (this.defaultNum == '4') {
|
|
|
this.mapList = this.mouldData.concat(this.bomData);
|
|
|
}
|
|
|
},
|
|
|
@@ -455,3 +415,11 @@
|
|
|
}
|
|
|
};
|
|
|
</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+ .match-body {
|
|
|
+ :deep(.el-tabs__header) {
|
|
|
+ margin: 0 0 15px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+</style>
|