Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
c5db58dc
Commit
c5db58dc
authored
Sep 21, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化销售 我的客户
parent
e4072859
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
47 deletions
+18
-47
MyCustomer.vue
src/components/SalesModule/MyCustomer.vue
+18
-47
No files found.
src/components/SalesModule/MyCustomer.vue
View file @
c5db58dc
...
...
@@ -541,29 +541,25 @@
</p>
<el-form
class=
"_info_box clearfix"
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"120px"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"
6
"
>
<el-col
:span=
"
4
"
>
<el-form-item
:label=
"$t('restaurant.res_ContactNumber')"
prop=
"contactNumber"
>
<el-input
:disabled=
"isOldPerson"
v-model=
"addMsg.contactNumber"
@
input=
'searchHistory(addMsg.contactNumber)'
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"
6
"
>
<el-col
:span=
"
4
"
>
<!-- :label="$t('salesModule.storeName')" -->
<el-form-item
label=
"客户名称"
prop=
"customerName"
>
<el-input
:disabled=
"isOldPerson"
v-model=
"addMsg.customerName"
:placeholder=
"$t('pub.pleaseImport')"
maxlength=
"20"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"
6
"
>
<el-col
:span=
"
4
"
>
<el-form-item
:label=
"$t('hotel.suplier_contact')"
prop=
"contact"
>
<el-input
:disabled=
"isOldPerson"
v-model=
"addMsg.contact"
:placeholder=
"$t('pub.pleaseImport')"
maxlength=
"20"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('pub.area')"
>
<el-select
filterable
v-model=
'addMsg.Province'
@
change=
'getCity'
>
...
...
@@ -585,8 +581,6 @@
<el-input
v-model=
"addMsg.address"
:placeholder=
"$t('salesModule.HouseNumber')"
maxlength=
"50"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"統一编号"
prop=
"UniqueCode"
>
<el-input
v-model=
"addMsg.UniqueCode"
placeholder=
"请输入統一编号"
maxlength=
"20"
></el-input>
...
...
@@ -616,9 +610,7 @@
</div>
</el-form-item>
</el-col>
</el-row>
<template>
<el-row
v-if=
"isShow"
:gutter=
"20"
>
<template
v-if=
"isShow"
>
<el-col
:span=
"6"
>
<el-form-item
:label=
"$t('salesModule.CustomerSource')"
prop=
"CustomerSourceType"
>
<el-select
filterable
v-model=
'addMsg.CustomerSourceType'
:placeholder=
"$t('pub.pleaseSel')"
>
...
...
@@ -644,8 +636,6 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row
v-if=
"isShow"
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-form-item
:label=
"$t('salesModule.premises')"
prop=
"Premises"
>
<el-select
filterable
v-model=
'addMsg.Premises'
:placeholder=
"$t('pub.pleaseSel')"
>
...
...
@@ -680,8 +670,6 @@
</el-form-item>
</el-col>
</el-row>
<el-row
v-if=
"isShow"
:gutter=
"20"
>
<el-col
:span=
"18"
>
<el-form-item
:label=
"$t('hotel.hotel_remark')"
prop=
"remark"
>
<el-input
v-model=
"addMsg.remark"
type=
"textarea"
maxlength=
"500"
></el-input>
...
...
@@ -692,8 +680,6 @@
<el-input
v-model=
"addMsg.CustomerSource"
maxlength=
"20"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
v-if=
"isShow"
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-form-item
:label=
"$t('salesModule.doorPhoto')"
>
...
...
@@ -715,8 +701,8 @@
</el-col>
<el-col
:span=
"6"
>
</el-col>
</el-row>
</template>
</el-row>
</el-form>
</div>
<!-- 编辑客户信息 -->
...
...
@@ -736,23 +722,23 @@
<p
class=
"fz12 color333 fbold"
style=
"border: none; padding-left: 3px;"
>
可直接保存
</p>
<el-form
label-width=
"80px"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"
6
"
>
<el-col
:span=
"
4
"
>
<el-form-item
label=
"联系电话"
>
<el-input
class=
'w200'
v-model=
"updateMsg.contactNumber"
@
input=
'searchHistory(updateMsg.contactNumber)'
placeholder=
"请输入联系电话"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"
6
"
>
<el-col
:span=
"
4
"
>
<el-form-item
label=
"门店名称:"
>
<el-input
class=
'w200'
v-model=
'updateMsg.CustomerName'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"
6
"
>
<el-col
:span=
"
4
"
>
<el-form-item
label=
"联系人姓名"
>
<el-input
class=
'w200'
v-model=
'updateMsg.Contact'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"
6
"
v-if=
"updateMsg.customerExceptionList.length > 0"
>
<el-col
:span=
"
4
"
v-if=
"updateMsg.customerExceptionList.length > 0"
>
<el-form-item
label=
"解决异常"
>
<el-select
class=
'w200'
filterable
multiple
clearable
collapse-tags
v-model=
'updateMsg.CustomerExceptionIds'
>
...
...
@@ -762,26 +748,22 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"统一编码:"
>
<el-input
class=
'w200'
v-model=
'updateMsg.uniqueCode'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"
6
"
>
<el-col
:span=
"
4
"
>
<el-form-item
label=
"LINE ID:"
>
<el-input
class=
'w200'
v-model=
'updateMsg.lineid'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"
6
"
>
<el-col
:span=
"
4
"
>
<el-form-item
label=
"Email:"
>
<el-input
class=
'w200'
v-model=
'updateMsg.email'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"
6
"
>
<el-col
:span=
"
4
"
>
<el-form-item
label=
"合同照片:"
>
<el-upload
class=
"avatar-uploader"
action=
""
:http-request=
"uploadImgNew"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
>
...
...
@@ -790,15 +772,13 @@
</el-upload>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"6"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"签约"
prop=
"SigningType"
>
<el-checkbox
v-model=
'updateMsg.SigningType'
>
签约月结客户
</el-checkbox>
</el-form-item>
</el-col>
<el-col
:span=
"
6
"
v-show=
"updateMsg.SigningType"
>
<el-col
:span=
"
4
"
v-show=
"updateMsg.SigningType"
>
<el-form-item
label=
"签约资料"
prop=
"SigningFile"
>
<el-upload
v-if=
"!saveMsg || !saveMsg.length"
class=
"upload-demo"
:disabled=
"!updateMsg.SigningType"
style=
"display:inline-block;position:relative;top:-1px;left:3px;"
:http-request=
"uploadFileBtn"
...
...
@@ -816,8 +796,6 @@
</template>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
style=
'margin-top:13px;'
>
<el-col
:span=
"24"
>
<p
class=
"fz12 color333 fbold"
style=
"border: none; margin-bottom: 15px; padding-left: 20px;"
>
需审核信息
<span
class=
"colorE95252 fz12 fwnormal"
>
...
...
@@ -825,9 +803,7 @@
</span>
</p>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"区域:"
>
<el-select
class=
'w200'
filterable
v-model=
'updateMsg.Province'
@
change=
'getCityNew'
>
<el-option
v-for=
'item in provinceList'
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
...
...
@@ -848,12 +824,7 @@
<el-input
v-model=
'updateMsg.Address'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"门牌照片:"
>
<el-upload
class=
"avatar-uploader"
action=
""
:http-request=
"uploadImg1New"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
>
...
...
@@ -862,7 +833,7 @@
</el-upload>
</el-form-item>
</el-col>
<el-col
:span=
"
6
"
>
<el-col
:span=
"
4
"
>
<el-form-item
label=
"营业执照:"
>
<el-upload
class=
"avatar-uploader"
action=
""
:http-request=
"uploadImg2New"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment