|
|
|
@ -95,73 +95,16 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column width="160"
|
|
|
|
|
label="注册/备案号"
|
|
|
|
|
prop="certCode"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column width="150"
|
|
|
|
|
label="生产企业"
|
|
|
|
|
prop="manufacturer"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column width="160" label="注册/备案号" prop="certCode" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column width="150" label="生产企业" prop="manufacturer" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="操作" width="160" fixed="right">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
v-if="scope.row.index == selectedIndex"
|
|
|
|
|
@click.stop="true"
|
|
|
|
|
@click.native="saveChange(scope.row)"
|
|
|
|
|
>保存
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
v-if="scope.row.index != selectedIndex"
|
|
|
|
|
@click.stop="true"
|
|
|
|
|
@click.native="rowChange(scope.row)"
|
|
|
|
|
>编辑
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.stop="true"
|
|
|
|
|
@click.native="copyDetail(scope.row)"
|
|
|
|
|
>复制
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.stop="true"
|
|
|
|
|
@click.native="deleteDetail(scope.row)"
|
|
|
|
|
>删除
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
v-if="scope.row.bindRlFk==null"
|
|
|
|
|
@click.native.stop="bindRl(scope.row)"
|
|
|
|
|
>绑定产品
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
<el-button
|
|
|
|
|
type="text"
|
|
|
|
|
size="small"
|
|
|
|
|
v-if="scope.row.supId==null"
|
|
|
|
|
@click.native.stop="handleUnitClick(scope.row)"
|
|
|
|
|
>绑定供应商
|
|
|
|
|
</el-button
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
<el-button type="text" size="small" v-if="scope.row.index == selectedIndex" @click.stop="true" @click.native="saveChange(scope.row)">保存</el-button>
|
|
|
|
|
<el-button type="text" size="small" v-if="scope.row.index != selectedIndex" @click.stop="true" @click.native="rowChange(scope.row)">编辑</el-button>
|
|
|
|
|
<el-button type="text" size="small" @click.stop="true" @click.native="copyDetail(scope.row)">复制</el-button>
|
|
|
|
|
<el-button type="text" size="small" @click.stop="true" @click.native="deleteDetail(scope.row)">删除</el-button>
|
|
|
|
|
<el-button type="text" size="small" v-if="scope.row.bindRlFk==null" @click.native.stop="bindRl(scope.row)">绑定产品</el-button>
|
|
|
|
|
<el-button type="text" size="small" v-if="scope.row.supId==null" @click.native.stop="handleUnitClick(scope.row)"></el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|