Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
c72ed342
Commit
c72ed342
authored
Dec 02, 2024
by
zs嵩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户新增/编辑,新增潜在客户,主营类别选择模式优化 报价单详情优化
parent
4d9b8a1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
28 deletions
+36
-28
edit.vue
src/views/ecw/customer/edit.vue
+28
-20
detail.vue
src/views/ecw/offer/detail.vue
+8
-8
No files found.
src/views/ecw/customer/edit.vue
View file @
c72ed342
...
...
@@ -221,8 +221,8 @@
</el-select>
</el-col>
<el-col
:span=
"11"
>
<el-select
multiple
filterable
clearable
v-model=
"form.productIds"
:placeholder=
"$t('请选择')"
>
<el-option
:label=
"
item.titleZh
"
:value=
"parseInt(item.id)"
v-for=
"item in productList"
:key=
"item.id"
/>
<el-select
@
change=
"productIdsChange"
multiple
filterable
clearable
v-model=
"form.productIds"
:placeholder=
"$t('请选择')"
>
<el-option
:label=
"
`$
{isChinese ? item.typeTitieZh : item.typeTitieEn},${item.titleZh}`
" :value="parseInt(item.id)" v-for="item in productList" :key="item.id" />
</el-select>
</el-col>
</el-row>
...
...
@@ -647,25 +647,25 @@ export default {
this
.
isCustomerServiceConfirmed
=
this
.
$route
.
query
.
isCustomerServiceConfirmed
?
true
:
false
this
.
getCustomerSelect
()
this
.
reset
()
if
(
this
.
potential
)
{
if
(
this
.
potential
)
{
console
.
log
(
"
潜在客户编辑
"
)
this
.
rules
=
{
name
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
客户名称不能为空
"
),
trigger
:
"
blur
"
}
],
source
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
客户来源不能为空
"
),
trigger
:
"
blur
"
}
]
}
}
this
.
rules
=
{
name
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
客户名称不能为空
"
),
trigger
:
"
blur
"
}
],
source
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
客户来源不能为空
"
),
trigger
:
"
blur
"
}
]
}
}
// this.getUserMemberUserFn()
if
(
this
.
customerId
!==
"
0
"
)
{
let
customerId
=
this
.
customerId
...
...
@@ -715,6 +715,7 @@ export default {
if
(
this
.
isCustomerServiceConfirmed
)
{
this
.
form
.
customerService
=
this
.
userId
}
this
.
getProductListFn
([])
}
getNodeList
().
then
((
r
)
=>
{
...
...
@@ -896,6 +897,13 @@ export default {
this
.
productList
=
r
.
data
})
},
productIdsChange
(
val
)
{
console
.
log
(
val
)
let
typeIds
=
this
.
productList
.
filter
((
item
)
=>
val
.
indexOf
(
item
.
id
)
>
-
1
).
map
((
item
)
=>
item
.
typeId
)
typeIds
=
[...
new
Set
(
typeIds
)]
console
.
log
(
typeIds
)
this
.
form
.
productTypes
=
typeIds
},
deleteBankData
(
index
)
{
this
.
form
.
customerBanks
.
splice
(
index
,
1
)
},
...
...
src/views/ecw/offer/detail.vue
View file @
c72ed342
...
...
@@ -65,10 +65,10 @@
<el-card
class=
"card"
>
<div
slot=
"header"
class=
"card-title"
>
{{
$t
(
"
运输
"
)
}}
</div>
<div
style=
"overflow: auto"
>
<el-descriptions
:column=
"
5
"
border
class=
"card"
:labelStyle=
"
{ width: '120px' }">
<el-descriptions-item
:label=
"$t('始发仓')"
>
{{
$l
(
list
.
logisticsInfoDto
,
"
startTitle
"
)
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('目的仓')"
>
{{
$l
(
list
.
logisticsInfoDto
,
"
destCountryTitle
"
)
}}
-
{{
$l
(
list
.
logisticsInfoDto
,
"
destCityTitle
"
)
}}
-
{{
$l
(
list
.
logisticsInfoDto
,
"
destTitle
"
)
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('运输方式')"
>
<el-descriptions
:column=
"
4
"
border
class=
"card"
:labelStyle=
"
{ width: '120px' }">
<el-descriptions-item
:label=
"$t('始发仓')"
:contentStyle=
"
{ width: '16%' }"
>
{{
$l
(
list
.
logisticsInfoDto
,
"
startTitle
"
)
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('目的仓')"
:contentStyle=
"
{ width: '25%' }"
>
{{
$l
(
list
.
logisticsInfoDto
,
"
destCountryTitle
"
)
}}
-
{{
$l
(
list
.
logisticsInfoDto
,
"
destCityTitle
"
)
}}
-
{{
$l
(
list
.
logisticsInfoDto
,
"
destTitle
"
)
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('运输方式')"
:contentStyle=
"
{ width: '16%' }"
>
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"list.transportId"
/>
</el-descriptions-item>
<el-descriptions-item
v-if=
"getDictData(DICT_TYPE.ECW_TRANSPORT_TYPE, list.transportId).cssClass == 'channel'"
:label=
"$t('出货渠道')"
>
{{
list
.
channelName
}}
</el-descriptions-item>
...
...
@@ -782,12 +782,12 @@ export default {
margin-top
:
20px
;
}
/
deep
/
.el-table__fixed-footer-wrapper
tbody
td
.el-table__cell
{
font-size
:
1
6
px
;
/
deep
/
.el-table__fixed-footer-wrapper
tbody
td
.el-table__cell
.cell
{
font-size
:
1
8
px
;
font-weight
:
bold
;
}
/
deep
/
.el-table__footer-wrapper
tbody
td
.el-table__cell
{
font-size
:
20
px
;
/
deep
/
.el-table__footer-wrapper
tbody
td
.el-table__cell
.cell
{
font-size
:
18
px
;
font-weight
:
bold
;
}
</
style
>
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