客户设置是否可挂账

This commit is contained in:
lzttt 2024-10-10 16:14:12 +08:00
parent 905ec22a77
commit 32241a7d73
5 changed files with 28 additions and 0 deletions

View File

@ -19,6 +19,8 @@
</template>
<dict-tag :type="DICT_TYPE.DICT_SYS_USER_SEX" :value="formData.sex"/>
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">
联系方式

View File

@ -38,6 +38,16 @@
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="是否挂账" prop="isHangAccount">
<el-radio-group v-model="formData.isHangAccount">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item v-if="formData.typeCode !== '03'" label="生日" prop="birthday">
@ -364,6 +374,7 @@ export default {
birthday: undefined,
address: undefined,
sex: '1',
isHangAccount: '0',
idCard: undefined,
idCardImage: undefined,
dataFrom: '08',

View File

@ -75,6 +75,11 @@
<el-table-column width="200" label="客户名称" align="center" prop="cusName"/>
<el-table-column width="110" label="联系方式" align="center" prop="phoneNumber"/>
<el-table-column width="230" label="服务内容" align="left" prop="serContents"/>
<el-table-column label="是否挂账" align="center" prop="isHangAccount">
<template v-slot="scope">
{{scope.row.isHangAccount === '1' ? '是' : '否'}}
</template>
</el-table-column>
<el-table-column label="地址" align="left" prop="address"/>
<el-table-column label="最近业务办理时间" align="center" prop="nearDoTime" width="180">
<template v-slot="scope">

View File

@ -48,6 +48,11 @@
</template>
</el-table-column>
<el-table-column label="住址" align="left" prop="address"/>
<el-table-column label="是否挂账" align="center" prop="isHangAccount">
<template v-slot="scope">
{{scope.row.isHangAccount === '1' ? '是' : '否'}}
</template>
</el-table-column>
<el-table-column width="80" label="客户来源" align="center" prop="dataFrom">
<template v-slot="scope">
<dict-tag :type="DICT_TYPE.DICT_CUS_DATA_FROM" :value="scope.row.dataFrom" />

View File

@ -43,6 +43,11 @@
</template>
</el-table-column>
<el-table-column label="住址" align="left" prop="address"/>
<el-table-column label="是否挂账" align="center" prop="isHangAccount">
<template v-slot="scope">
{{scope.row.isHangAccount === '1' ? '是' : '否'}}
</template>
</el-table-column>
<el-table-column width="100" label="客户来源" align="center" prop="dataFrom">
<template v-slot="scope">
<dict-tag :type="DICT_TYPE.DICT_CUS_DATA_FROM" :value="scope.row.dataFrom" />