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
49a6a760
Commit
49a6a760
authored
Dec 27, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
9491f6a5
e8c891b8
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5380 additions
and
90 deletions
+5380
-90
fill.js
src/assets/common/lang/EN/fill.js
+1
-0
fill.js
src/assets/common/lang/Japan/fill.js
+5297
-0
fill.js
src/assets/common/lang/zhCN/fill.js
+1
-0
fill.js
src/assets/common/lang/zhTW/fill.js
+1
-0
HotelDetails.vue
src/components/Hotel/DiDa/HotelDetails.vue
+14
-10
MyCustomer.vue
src/components/SalesModule/MyCustomer.vue
+66
-80
No files found.
src/assets/common/lang/EN/fill.js
View file @
49a6a760
...
@@ -2503,6 +2503,7 @@ export const obj = {
...
@@ -2503,6 +2503,7 @@ export const obj = {
btbqtcd
:
'B2B Front Desk Menu'
,
btbqtcd
:
'B2B Front Desk Menu'
,
gerenzxcd
:
'Personal Central Menu'
,
gerenzxcd
:
'Personal Central Menu'
,
yibaohan
:
'Included'
,
yibaohan
:
'Included'
,
bubaohan
:
'Not Included'
,
daohangcaid
:
'Navigation Menu'
,
daohangcaid
:
'Navigation Menu'
,
erjicaid
:
'Secondary Menu'
,
erjicaid
:
'Secondary Menu'
,
sanjicaid
:
'Three-level menu'
,
sanjicaid
:
'Three-level menu'
,
...
...
src/assets/common/lang/Japan/fill.js
View file @
49a6a760
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/assets/common/lang/zhCN/fill.js
View file @
49a6a760
...
@@ -2503,6 +2503,7 @@ export const obj = {
...
@@ -2503,6 +2503,7 @@ export const obj = {
btbqtcd
:
'B2B前台菜单'
,
btbqtcd
:
'B2B前台菜单'
,
gerenzxcd
:
'个人中心菜单'
,
gerenzxcd
:
'个人中心菜单'
,
yibaohan
:
'已包含'
,
yibaohan
:
'已包含'
,
bubaohan
:
'不包含'
,
daohangcaid
:
'导航菜单'
,
daohangcaid
:
'导航菜单'
,
erjicaid
:
'二级菜单'
,
erjicaid
:
'二级菜单'
,
sanjicaid
:
'三级菜单'
,
sanjicaid
:
'三级菜单'
,
...
...
src/assets/common/lang/zhTW/fill.js
View file @
49a6a760
...
@@ -2503,6 +2503,7 @@ export const obj = {
...
@@ -2503,6 +2503,7 @@ export const obj = {
btbqtcd
:
'B2B前臺菜單'
,
btbqtcd
:
'B2B前臺菜單'
,
gerenzxcd
:
'個人中心菜單'
,
gerenzxcd
:
'個人中心菜單'
,
yibaohan
:
'已包含'
,
yibaohan
:
'已包含'
,
bubaohan
:
'不包含'
,
daohangcaid
:
'導航菜單'
,
daohangcaid
:
'導航菜單'
,
erjicaid
:
'二級菜單'
,
erjicaid
:
'二級菜單'
,
sanjicaid
:
'三級菜單'
,
sanjicaid
:
'三級菜單'
,
...
...
src/components/Hotel/DiDa/HotelDetails.vue
View file @
49a6a760
...
@@ -708,7 +708,8 @@
...
@@ -708,7 +708,8 @@
{{$t('objFill.v101.hote.fuhetjdfx')}}
</div>
{{$t('objFill.v101.hote.fuhetjdfx')}}
</div>
<div
style=
"display: flex;justify-content: flex-start;margin-top:10px; "
>
<div
style=
"display: flex;justify-content: flex-start;margin-top:10px; "
>
<
template
v-if=
"qRoomTypeList&&qRoomTypeList.length>0"
>
<
template
v-if=
"qRoomTypeList&&qRoomTypeList.length>0"
>
<el-select
placeholder=
"房型"
v-model=
"qMsg.RoomTypeName"
style=
"width:130px;"
clearable
filterable
@
clear=
"qMsg.RoomTypeName=''"
>
<el-select
placeholder=
"房型"
v-model=
"qMsg.RoomTypeName"
style=
"width:130px;"
clearable
filterable
@
clear=
"qMsg.RoomTypeName=''"
>
<el-option
label=
"房型(全部)"
value=
""
></el-option>
<el-option
label=
"房型(全部)"
value=
""
></el-option>
<el-option
v-for=
"(item,index) in qRoomTypeList"
:label=
"item.RoomName_CN"
:value=
"item.RoomName_CN"
<el-option
v-for=
"(item,index) in qRoomTypeList"
:label=
"item.RoomName_CN"
:value=
"item.RoomName_CN"
:key=
"`ry_`+index"
></el-option>
:key=
"`ry_`+index"
></el-option>
...
@@ -764,9 +765,9 @@
...
@@ -764,9 +765,9 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
v-loading=
"loading"
>
<
template
<
template
v-if=
"DidaHotelRoomDetails&&DidaHotelRoomDetails.HotelList&&DidaHotelRoomDetails.HotelList.length>0&&DidaHotelRoomDetails.HotelList[0].GroupRoomTypeList&&DidaHotelRoomDetails.HotelList[0].GroupRoomTypeList.length>0 "
>
v-if=
"DidaHotelRoomDetails&&DidaHotelRoomDetails.HotelList&&DidaHotelRoomDetails.HotelList.length>0&&DidaHotelRoomDetails.HotelList[0].GroupRoomTypeList&&DidaHotelRoomDetails.HotelList[0].GroupRoomTypeList.length>0 "
>
<div
v-loading=
"loading"
>
<div
class=
"q-card row q-cardradius "
v-for=
"(item, index) in getQueryData"
:key=
"`dh_`+index"
>
<div
class=
"q-card row q-cardradius "
v-for=
"(item, index) in getQueryData"
:key=
"`dh_`+index"
>
<div
class=
"col q-pa-sm q-pr-lg col-3 row no-wrap justify-between"
<div
class=
"col q-pa-sm q-pr-lg col-3 row no-wrap justify-between"
style=
"border-right: 1px solid rgb(238, 238, 238);width:15%;height:auto;"
>
style=
"border-right: 1px solid rgb(238, 238, 238);width:15%;height:auto;"
>
...
@@ -952,13 +953,13 @@
...
@@ -952,13 +953,13 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
</template>
<
template
v-else
>
<
template
v-else
>
<div
class=
"q-my-md q-px-lg"
style=
"text-align:center;margin-top:15px;"
>
{{
$t
(
'system.content_noData'
)
}}
<div
class=
"q-my-md q-px-lg"
style=
"text-align:center;margin-top:15px;"
>
{{
$t
(
'system.content_noData'
)
}}
</div>
</div>
</
template
>
</
template
>
</div>
</div>
</div>
<!-- 价格循环结束 -->
<!-- 价格循环结束 -->
<div
class=
"rounded-borders bg-white row items-center q-pb-md"
style=
"margin-top:20px;width: 1300px;"
>
<div
class=
"rounded-borders bg-white row items-center q-pb-md"
style=
"margin-top:20px;width: 1300px;"
>
<div
class=
"row q-px-lg q-mb-lg row justify-between "
style=
"width:100%;"
>
<div
class=
"row q-px-lg q-mb-lg row justify-between "
style=
"width:100%;"
>
...
@@ -1170,6 +1171,7 @@
...
@@ -1170,6 +1171,7 @@
get
()
{
get
()
{
var
_this
=
this
;
var
_this
=
this
;
var
tempData
=
[];
var
tempData
=
[];
_this
.
loading
=
true
;
if
(
_this
.
DidaHotelRoomDetails
&&
_this
.
DidaHotelRoomDetails
.
HotelList
&&
_this
.
DidaHotelRoomDetails
if
(
_this
.
DidaHotelRoomDetails
&&
_this
.
DidaHotelRoomDetails
.
HotelList
&&
_this
.
DidaHotelRoomDetails
.
HotelList
.
HotelList
.
length
>
0
&&
_this
.
DidaHotelRoomDetails
.
HotelList
[
0
].
GroupRoomTypeList
)
{
.
length
>
0
&&
_this
.
DidaHotelRoomDetails
.
HotelList
[
0
].
GroupRoomTypeList
)
{
...
@@ -1203,6 +1205,7 @@
...
@@ -1203,6 +1205,7 @@
tempData
=
newDataArray
;
tempData
=
newDataArray
;
}
}
}
}
_this
.
loading
=
false
;
return
tempData
;
return
tempData
;
},
},
}
}
...
@@ -1311,6 +1314,7 @@
...
@@ -1311,6 +1314,7 @@
this
.
msg
.
CheckInDate
=
''
;
this
.
msg
.
CheckInDate
=
''
;
this
.
msg
.
CheckOutDate
=
''
;
this
.
msg
.
CheckOutDate
=
''
;
}
}
this
.
DidaHotelRoomDetails
=
{};
var
that
=
this
;
var
that
=
this
;
this
.
apipost
(
'dmc_post_GetDiDaPriceSearchList'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'dmc_post_GetDiDaPriceSearchList'
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
this
.
loading
=
false
...
...
src/components/SalesModule/MyCustomer.vue
View file @
49a6a760
...
@@ -579,15 +579,16 @@
...
@@ -579,15 +579,16 @@
style=
"cursor: pointer;text-decoration: underline;"
>
{{item.visiteCount}}
</span></td>
style=
"cursor: pointer;text-decoration: underline;"
>
{{item.visiteCount}}
</span></td>
<!-- <td v-if="currentUserInfo&¤tUserInfo.RB_Group_id==2">{{item.cL_Balance}}</td> -->
<!-- <td v-if="currentUserInfo&¤tUserInfo.RB_Group_id==2">{{item.cL_Balance}}</td> -->
<td
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
>
<td
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('objFill.v101.SalesModule.dindanysze')"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('objFill.v101.SalesModule.dindanysze')"
<span
@
click=
"goUrl(type,item.customerId,3)"
placement=
"top-start"
>
style=
"cursor: pointer;text-decoration: underline;"
>
<span
@
click=
"goUrl(type,item.customerId,3)"
style=
"cursor: pointer;text-decoration: underline;"
>
{{item.tradeTotal}}
</span>
{{item.tradeTotal}}
</span>
</el-tooltip>
</el-tooltip>
</td>
</td>
<td
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
>
{{item.inquireCount}}
</td>
<td
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
>
{{item.inquireCount}}
</td>
<td
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
>
{{item.allianceName}}
</td>
<td
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
>
{{item.allianceName}}
</td>
<td
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
><span
style=
"cursor: pointer;text-decoration: underline;"
<td
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
><span
style=
"cursor: pointer;text-decoration: underline;"
@
click
.
stop=
"goUrC('CouponsList',item.customerAccountId)"
>
{{item.couponNum}}
</span></td>
@
click
.
stop=
"goUrC('CouponsList',item.customerAccountId)"
>
{{item.couponNum}}
</span></td>
<td
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
>
<td
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
>
<span
style=
"cursor: pointer;color: #2CA4F0"
<span
style=
"cursor: pointer;color: #2CA4F0"
...
@@ -602,11 +603,13 @@
...
@@ -602,11 +603,13 @@
<el-button
style=
"padding:4px"
@
click
.
stop=
"goUrlT('empBankAccount',item.customerId)"
type=
"danger"
<el-button
style=
"padding:4px"
@
click
.
stop=
"goUrlT('empBankAccount',item.customerId)"
type=
"danger"
icon=
"iconfont icon-guanliyuan"
circle
></el-button>
icon=
"iconfont icon-guanliyuan"
circle
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('objFill.jiaoyixiangqing')"
placement=
"top-start"
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('objFill.jiaoyixiangqing')"
placement=
"top-start"
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
>
<el-button
style=
"padding:4px"
@
click
.
stop=
"goUrC('CustomerAnalysis',item.customerId)"
type=
"success"
<el-button
style=
"padding:4px"
@
click
.
stop=
"goUrC('CustomerAnalysis',item.customerId)"
type=
"success"
icon=
"iconfont icon-icon-test6"
circle
></el-button>
icon=
"iconfont icon-icon-test6"
circle
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('objFill.tuanduichengyuan')"
placement=
"top-start"
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('objFill.tuanduichengyuan')"
placement=
"top-start"
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
>
<el-button
style=
"padding:4px"
@
click
.
stop=
"goTeamMember(item)"
type=
"primary"
icon=
"el-icon-user-solid"
<el-button
style=
"padding:4px"
@
click
.
stop=
"goTeamMember(item)"
type=
"primary"
icon=
"el-icon-user-solid"
circle
></el-button>
circle
></el-button>
</el-tooltip>
</el-tooltip>
...
@@ -686,7 +689,7 @@
...
@@ -686,7 +689,7 @@
<div
style=
"display: flex;flex-wrap: wrap;"
>
<div
style=
"display: flex;flex-wrap: wrap;"
>
<div
class=
"_info_img"
v-if=
"addMsg.BusinessCardPhotos&&addMsg.BusinessCardPhotos.length>0"
>
<div
class=
"_info_img"
v-if=
"addMsg.BusinessCardPhotos&&addMsg.BusinessCardPhotos.length>0"
>
<ul
class=
"clearfix"
>
<ul
class=
"clearfix"
>
<li
v-for=
"(img,imgI) in addMsg.BusinessCardPhotos"
<li
v-for=
"(img,imgI) in addMsg.BusinessCardPhotos"
:key=
"`cb_`+imgI"
style=
"margin-right: 5px;position: relative;border:1px dashed #d1d1d1;border-radius: 6px;"
>
style=
"margin-right: 5px;position: relative;border:1px dashed #d1d1d1;border-radius: 6px;"
>
<img
v-if=
"!img"
src=
"../../assets/img/Travelslider.png"
alt=
""
>
<img
v-if=
"!img"
src=
"../../assets/img/Travelslider.png"
alt=
""
>
<el-image
v-if=
"img&&verificationFile(img,3)"
:src=
"img"
:preview-src-list=
"[img]"
>
<el-image
v-if=
"img&&verificationFile(img,3)"
:src=
"img"
:preview-src-list=
"[img]"
>
...
@@ -726,14 +729,15 @@
...
@@ -726,14 +729,15 @@
<el-input
class=
"input-new-tag"
v-if=
"inputVisible"
v-model=
"inputValue"
ref=
"saveTagInputTwo"
<el-input
class=
"input-new-tag"
v-if=
"inputVisible"
v-model=
"inputValue"
ref=
"saveTagInputTwo"
size=
"small"
@
keyup
.
enter
.
native=
"handleInputConfirm(1)"
@
blur=
"handleInputConfirm(1)"
>
size=
"small"
@
keyup
.
enter
.
native=
"handleInputConfirm(1)"
@
blur=
"handleInputConfirm(1)"
>
</el-input>
</el-input>
<el-button
v-else
class=
"button-new-tag"
size=
"small"
@
click=
"showInput(1)"
>
+
{{
$t
(
'fnc.tianjia'
)
}}
</el-button>
<el-button
v-else
class=
"button-new-tag"
size=
"small"
@
click=
"showInput(1)"
>
+
{{
$t
(
'fnc.tianjia'
)
}}
</el-button>
</div>
</div>
</div>
</div>
</div>
</div>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
>
<el-col
:span=
"4"
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
>
<el-form-item
:label=
"$t('objFill.qianyueyjkh')"
prop=
"SigningType"
>
<el-form-item
:label=
"$t('objFill.qianyueyjkh')"
prop=
"SigningType"
>
<div
style=
"display: flex;flex-wrap: nowrap;"
>
<div
style=
"display: flex;flex-wrap: nowrap;"
>
<div>
<div>
<el-checkbox
v-model=
'addMsg.SigningType'
>
<el-checkbox
v-model=
'addMsg.SigningType'
>
...
@@ -781,7 +785,7 @@
...
@@ -781,7 +785,7 @@
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('visaT.post')"
prop=
"Duty"
>
<el-form-item
:label=
"$t('visaT.post')"
prop=
"Duty"
>
<el-select
filterable
v-model=
'addMsg.Duty'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
filterable
v-model=
'addMsg.Duty'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
'item in zw'
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
<el-option
v-for=
'item in zw
List
'
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -789,7 +793,7 @@
...
@@ -789,7 +793,7 @@
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('salesModule.premises')"
prop=
"Premises"
>
<el-form-item
:label=
"$t('salesModule.premises')"
prop=
"Premises"
>
<el-select
filterable
v-model=
'addMsg.Premises'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
filterable
v-model=
'addMsg.Premises'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
'item in jycs'
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
<el-option
v-for=
'item in jycs
List
'
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -908,8 +912,8 @@
...
@@ -908,8 +912,8 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
>
<el-col
:span=
"24"
v-if=
"currentUserInfo&¤tUserInfo.RB_Group_id==2"
>
<p
class=
"fz12 color333 fbold"
style=
"border: none; margin-bottom: 15px; padding-left: 20px;"
>
{{$t('objFill.xushenhexx')}}
<span
<p
class=
"fz12 color333 fbold"
style=
"border: none; margin-bottom: 15px; padding-left: 20px;"
>
class=
"colorE95252 fz12 fwnormal"
>
{{$t('objFill.xushenhexx')}}
<span
class=
"colorE95252 fz12 fwnormal"
>
{{$t('objFill.bianjimddzjrsh')}}
{{$t('objFill.bianjimddzjrsh')}}
</span>
</span>
</p>
</p>
...
@@ -977,7 +981,8 @@
...
@@ -977,7 +981,8 @@
<el-input
class=
"input-new-tag"
v-if=
"inputVisible"
v-model=
"inputValue"
ref=
"saveTagInput"
size=
"small"
<el-input
class=
"input-new-tag"
v-if=
"inputVisible"
v-model=
"inputValue"
ref=
"saveTagInput"
size=
"small"
@
keyup
.
enter
.
native=
"handleInputConfirm"
@
blur=
"handleInputConfirm"
>
@
keyup
.
enter
.
native=
"handleInputConfirm"
@
blur=
"handleInputConfirm"
>
</el-input>
</el-input>
<el-button
v-else
class=
"button-new-tag"
size=
"small"
@
click=
"showInput"
>
+ {{$t('fnc.tianjia')}}
</el-button>
<el-button
v-else
class=
"button-new-tag"
size=
"small"
@
click=
"showInput"
>
+ {{$t('fnc.tianjia')}}
</el-button>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
...
@@ -1164,8 +1169,8 @@
...
@@ -1164,8 +1169,8 @@
provinceList
:
[],
provinceList
:
[],
cityList
:
[],
cityList
:
[],
regionList
:
[],
regionList
:
[],
jycs
:
[],
//经营场所
jycs
List
:
[],
//经营场所
zw
:
[],
//职务
zw
List
:
[],
//职务
khly
:
[],
//客户来源
khly
:
[],
//客户来源
outerVisible
:
false
,
outerVisible
:
false
,
updateMsg
:
{
updateMsg
:
{
...
@@ -1654,19 +1659,21 @@
...
@@ -1654,19 +1659,21 @@
},
err
=>
{})
},
err
=>
{})
}
else
{}
}
else
{}
},
},
//经营场所
getJycs
()
{
getJycs
()
{
this
.
apipost
(
'app_today_visit_GetCustomerPremisesEnum'
,
{},
res
=>
{
this
.
apipost
(
'app_today_visit_GetCustomerPremisesEnum'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
jycs
=
res
.
data
.
data
this
.
jycs
List
=
res
.
data
.
data
this
.
addMsg
.
Premises
=
res
.
data
.
data
[
0
].
ID
this
.
addMsg
.
Premises
=
this
.
jycsList
[
0
].
ID
}
}
},
err
=>
{})
},
err
=>
{})
},
},
//职务
getZw
()
{
getZw
()
{
this
.
apipost
(
'app_today_visit_GetCustomerDutyEnum'
,
{},
res
=>
{
this
.
apipost
(
'app_today_visit_GetCustomerDutyEnum'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
zw
=
res
.
data
.
data
this
.
zw
List
=
res
.
data
.
data
this
.
addMsg
.
Duty
=
res
.
data
.
data
[
1
].
ID
this
.
addMsg
.
Duty
=
this
.
zwList
[
1
].
ID
}
}
},
err
=>
{})
},
err
=>
{})
},
},
...
@@ -1824,11 +1831,6 @@
...
@@ -1824,11 +1831,6 @@
if
(
this
.
addMsg
.
District
==
''
)
{
if
(
this
.
addMsg
.
District
==
''
)
{
this
.
addMsg
.
District
=
0
this
.
addMsg
.
District
=
0
}
}
// if (this.BusinessCardPhotos) {
// this.addMsg.BusinessCardPhotos = []
// this.addMsg.BusinessCardPhotos.push(this.BusinessCardPhotos)
// }
if
(
this
.
HousePhotos
)
{
if
(
this
.
HousePhotos
)
{
this
.
addMsg
.
HousePhotos
=
[]
this
.
addMsg
.
HousePhotos
=
[]
this
.
addMsg
.
HousePhotos
.
push
(
this
.
HousePhotos
)
this
.
addMsg
.
HousePhotos
.
push
(
this
.
HousePhotos
)
...
@@ -1864,7 +1866,6 @@
...
@@ -1864,7 +1866,6 @@
let
AreaName
=
sheng
+
shi
+
qu
let
AreaName
=
sheng
+
shi
+
qu
if
(
this
.
addMsg
.
address
==
''
||
!
this
.
addMsg
.
address
)
{
if
(
this
.
addMsg
.
address
==
''
||
!
this
.
addMsg
.
address
)
{
this
.
addMsg
.
address
=
AreaName
this
.
addMsg
.
address
=
AreaName
// this.addMsg.address = AreaName + ',' + this.addMsg.address
}
}
if
(
this
.
addMsg
.
address
&&
this
.
addMsg
.
address
.
indexOf
(
AreaName
)
==
-
1
)
{
if
(
this
.
addMsg
.
address
&&
this
.
addMsg
.
address
.
indexOf
(
AreaName
)
==
-
1
)
{
this
.
addMsg
.
address
=
AreaName
+
','
+
this
.
addMsg
.
address
this
.
addMsg
.
address
=
AreaName
+
','
+
this
.
addMsg
.
address
...
@@ -1880,27 +1881,7 @@
...
@@ -1880,27 +1881,7 @@
this
.
loadingSave
=
true
this
.
loadingSave
=
true
this
.
apipost
(
'app_add_new_visit_customer'
,
this
.
addMsgS
,
res
=>
{
this
.
apipost
(
'app_add_new_visit_customer'
,
this
.
addMsgS
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
addMsg
=
{
this
.
cancelData
();
customerName
:
''
,
contact
:
''
,
contactNumber
:
''
,
address
:
''
,
brandIds
:
[],
remark
:
''
,
Duty
:
''
,
Premises
:
''
,
CustomerId
:
'0'
,
BusinessCardPhotos
:
[],
HousePhotos
:
[],
Images
:
[],
CustomerSourceType
:
''
,
CustomerSource
:
''
,
Country
:
'2'
,
Province
:
''
,
City
:
''
,
District
:
''
,
PlatformUserNameList
:
[]
}
this
.
addMsgS
.
customerVisit
.
expectVisitDateTime
=
''
this
.
addMsgS
.
customerVisit
.
expectVisitDateTime
=
''
this
.
$message
.
success
(
res
.
data
.
message
)
this
.
$message
.
success
(
res
.
data
.
message
)
this
.
addShow
=
false
this
.
addShow
=
false
...
@@ -1919,36 +1900,41 @@
...
@@ -1919,36 +1900,41 @@
this
.
resetForm
(
'addMsg'
)
this
.
resetForm
(
'addMsg'
)
},
},
cancelData
()
{
cancelData
()
{
this
.
addMsg
=
{
this
.
addMsg
.
CustomerId
=
0
;
CustomerId
:
0
,
this
.
addMsg
.
customerName
=
""
;
customerName
:
''
,
this
.
addMsg
.
contact
=
""
;
contact
:
''
,
this
.
addMsg
.
contactNumber
=
""
;
contactNumber
:
''
,
this
.
addMsg
.
address
=
""
;
address
:
''
,
this
.
addMsg
.
brandIds
=
[];
brandIds
:
[],
this
.
addMsg
.
remark
=
""
;
remark
:
''
,
this
.
addMsg
.
Duty
=
""
;
Duty
:
''
,
if
(
this
.
zwList
&&
this
.
zwList
.
length
>
1
)
{
Premises
:
''
,
this
.
addMsg
.
Duty
=
this
.
zwList
[
1
].
ID
;
CustomerId
:
'0'
,
}
BusinessCardPhotos
:
[],
this
.
addMsg
.
Premises
=
""
;
HousePhotos
:
[],
if
(
this
.
jycsList
&&
this
.
jycsList
.
length
>
0
)
{
Images
:
[],
this
.
addMsg
.
Premises
=
this
.
jycsList
[
0
].
ID
;
CustomerSourceType
:
''
,
}
CustomerSource
:
''
,
this
.
addMsg
.
BusinessCardPhotos
=
[];
Country
:
'2'
,
this
.
addMsg
.
HousePhotos
=
[];
Province
:
''
,
this
.
addMsg
.
Images
=
[];
City
:
''
,
this
.
addMsg
.
CustomerSourceType
=
""
;
District
:
''
,
if
(
this
.
khly
&&
this
.
khly
.
length
>
0
)
{
UniqueCode
:
''
,
this
.
addMsg
.
CustomerSourceType
=
this
.
khly
[
0
].
ID
;
LINEID
:
''
,
}
Email
:
''
,
this
.
addMsg
.
CustomerSource
=
""
;
PlatformUserNameList
:
[],
this
.
addMsg
.
Country
=
"2"
;
this
.
addMsg
.
Province
=
""
;
}
this
.
addMsg
.
City
=
""
;
this
.
BusinessCardPhotos
=
''
,
this
.
addMsg
.
District
=
""
;
this
.
HousePhotos
=
''
,
this
.
addMsg
.
UniqueCode
=
""
;
this
.
Images
=
''
,
this
.
addMsg
.
LINEID
=
""
;
this
.
addMsgS
.
customerVisit
.
expectVisitDateTime
=
''
this
.
addMsg
.
Email
=
""
;
this
.
addMsg
.
PlatformUserNameList
=
[];
this
.
BusinessCardPhotos
=
''
;
this
.
HousePhotos
=
''
;
this
.
Images
=
''
;
this
.
addMsgS
.
customerVisit
.
expectVisitDateTime
=
''
;
},
},
resetForm
(
formName
)
{
// 重置表单
resetForm
(
formName
)
{
// 重置表单
this
.
$refs
[
formName
].
resetFields
();
this
.
$refs
[
formName
].
resetFields
();
...
...
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