This commit is contained in:
xd 2024-03-26 18:35:32 +08:00
parent 94ade6f6b2
commit 0c748e90d7
1 changed files with 5 additions and 19 deletions

View File

@ -100,7 +100,11 @@
<el-table v-loading="loading" :data="customerList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="客户ID" align="center" prop="cusId" v-if="false"/>
<el-table-column label="客户编码" align="center" prop="cusCode" />
<el-table-column label="客户编码" align="center" prop="cusCode">
<template slot-scope="scope">
<el-link :underline="false" type="primary" @click="handleUpdate(scope.row)">{{scope.row.cusCode}}</el-link>
</template>
</el-table-column>
<el-table-column label="客户名称" align="center" prop="cusName" />
<el-table-column label="SAP客户编码" align="center" prop="cusSapCode" />
<el-table-column label="客户类型" align="center" prop="cusType" />
@ -121,24 +125,6 @@
<dict-tag :options="dict.type.cus_approval_status" :value="scope.row.cusApprovalStatus"/>
</template>
</el-table-column>
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['customer:customer:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['customer:customer:remove']"
>删除</el-button>
</template>
</el-table-column>
</el-table>
<pagination