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
4a576e44
Commit
4a576e44
authored
Sep 03, 2024
by
yujinyao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设置客户默认开票
parent
5b7d46b4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
3 deletions
+32
-3
customer.js
src/api/ecw/customer.js
+8
-0
index.vue
src/views/ecw/customer/index.vue
+22
-1
query.vue
src/views/ecw/customer/query.vue
+2
-2
No files found.
src/api/ecw/customer.js
View file @
4a576e44
...
...
@@ -520,6 +520,14 @@ export function changeCustomerNoConsignee(data){
})
}
export
function
changeCustomerDefaultBilling
(
data
){
return
request
({
url
:
'
ecw/customer/change-customer-default-billing
'
,
method
:
'
put
'
,
data
})
}
export
function
addCompetitor
(
data
){
return
request
({
url
:
'
customer/competitor/create
'
,
...
...
src/views/ecw/customer/index.vue
View file @
4a576e44
...
...
@@ -331,6 +331,18 @@
>
{{
$t
(
"
设置默认控货无收货人
"
)
}}
</el-button
>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-plus"
size=
"mini"
:disabled=
"!selectCustomerList.length"
@
click=
"setDefaultBilling"
v-hasPermi=
"['ecw:customer:change-customer-default-billing']"
>
{{
$t
(
"
设置默认开票
"
)
}}
</el-button
>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
...
...
@@ -1092,7 +1104,7 @@ import customerComplaints from "@/components/customerComplaints";
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
getCountryListAll
}
from
"
@/api/ecw/country
"
;
import
{
getCreditPage
}
from
"
@/api/customer/credit
"
;
import
{
customerExportExcel
,
changeCustomerDefaultPay
,
changeCustomerNoConsignee
}
from
"
@/api/ecw/customer
"
;
import
{
customerExportExcel
,
changeCustomerDefaultPay
,
changeCustomerNoConsignee
,
changeCustomerDefaultBilling
}
from
"
@/api/ecw/customer
"
;
import
transferCustomer
from
"
@/views/ecw/customer/transferCustomer
"
;
import
Template
from
"
@/views/cms/template/index.vue
"
;
import
AddPotentialCustom
from
"
@/views/ecw/customer/addPotentialCustom.vue
"
;
...
...
@@ -1629,6 +1641,15 @@ export default {
this
.
$message
.
success
(
this
.
$t
(
"
操作成功
"
))
this
.
getList
()
})
},
setDefaultBilling
()
{
changeCustomerDefaultBilling
({
customerIdList
:
this
.
selectCustomerList
,
defaultBilling
:
true
}).
then
(
_
=>
{
this
.
$message
.
success
(
this
.
$t
(
"
操作成功
"
))
this
.
getList
()
})
}
},
};
...
...
src/views/ecw/customer/query.vue
View file @
4a576e44
...
...
@@ -46,8 +46,8 @@
<
el
-
descriptions
-
item
:
label
=
"
$t('掉入公海时间')
"
>
{{
customer
.
estimateEnterOpenSeaTime
||
customer
.
enterOpenSeaTime
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('获取方式')
"
>
{{
getDictDataLabel
(
DICT_TYPE
.
CUSTOMER_GET_METHOD
,
customer
.
getMethod
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('创建入口')
"
>
{{
getDictDataLabel
(
DICT_TYPE
.
CUSTOMER_FROM
,
customer
.
createFrom
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('捞取时间')
"
>
{{
customer
.
catchTime
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('归属时间')
"
>
{{
customer
.
customerServiceConfirmedTime
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('捞取时间')
"
>
{{
customer
.
catchTime
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('归属时间')
"
>
{{
customer
.
customerServiceConfirmedTime
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('创建人')
"
>
{{
customer
.
founderName
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('创建时间')
"
>
{{
parseTime
(
customer
.
createTime
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('最后更新人')
"
>
{{
customer
.
updater
}}
<
/el-descriptions-item
>
...
...
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