|
@@ -34,7 +34,7 @@
|
|
|
<div class="customer-main">
|
|
|
<trade-card title="基础信息">
|
|
|
<avue-form ref="form" class="trading-form" v-model="form" :option="option">
|
|
|
- <template slot-scope="{}" slot="corpNameLabel">
|
|
|
+ <template slot-scope="{}" slot="corpNameLabel" v-if="permission.saleLeadskh_add">
|
|
|
<span style="color: #409EFF;cursor: pointer" @click.stop="khEdit">客户名称:</span>
|
|
|
</template>
|
|
|
<template slot-scope="{row,index}" slot="corpName">
|
|
@@ -120,6 +120,7 @@
|
|
|
|
|
|
<script>
|
|
|
import tableOption from "./config/customerContact.json";
|
|
|
+import { mapGetters } from "vuex";
|
|
|
import {
|
|
|
isDiscount,
|
|
|
isPercentage,
|
|
@@ -369,6 +370,9 @@ export default {
|
|
|
return num ? Number(num).toFixed(2) : "0.00";
|
|
|
}
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ ...mapGetters(["permission"]),
|
|
|
+ },
|
|
|
methods: {
|
|
|
openCheckDialog() {
|
|
|
this.checkData = this.detailData.check
|