|
@@ -29,7 +29,8 @@
|
|
|
<el-button slot="append" @click="handleFocus">引入</el-button>
|
|
|
</el-input>
|
|
|
</el-col>
|
|
|
- <el-col :span="7" class="flex-box">
|
|
|
+ <template v-if="isTradeExaminer">
|
|
|
+ <el-col :span="7" class="flex-box">
|
|
|
<div class="flex-box-title">经销商编号</div>
|
|
|
<el-input
|
|
|
v-model="formData.customerNumber2"
|
|
@@ -43,6 +44,7 @@
|
|
|
<div class="flex-box-title">经销商名称</div>
|
|
|
<el-input v-model="formData.customerName2" class="my-input" placeholder="请填写" size="mini" clearable />
|
|
|
</el-col>
|
|
|
+ </template>
|
|
|
<el-col :span="7" class="flex-box">
|
|
|
<div class="flex-box-title">业务员编号</div>
|
|
|
<el-input v-model="formData.serviceNumber2" class="my-input" placeholder="请填写" size="mini" clearable />
|
|
@@ -142,6 +144,8 @@
|
|
|
import { getLoginHomeDecorationList } from '@/api/homeDecoration'
|
|
|
import { getLoginCrossDistrictList } from '@/api/crossDistrict'
|
|
|
import { getLoginFrockList } from '@/api/frock'
|
|
|
+import { mapGetters } from 'vuex'
|
|
|
+
|
|
|
import ImageUpload from '@/components/Common/image-upload.vue'
|
|
|
import LoginSuccess from './loginSuccess.vue'
|
|
|
export default {
|
|
@@ -183,6 +187,9 @@ export default {
|
|
|
showDialog: false
|
|
|
}
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ ...mapGetters(['isTradeExaminer'])
|
|
|
+ },
|
|
|
watch: {
|
|
|
async 'formData.id'(newValue, oldValue) {
|
|
|
console.log(3333)
|