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
9c6922a2
Commit
9c6922a2
authored
Aug 05, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设置海运整柜
parent
82b2262e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
2 deletions
+39
-2
customer.js
src/api/ecw/customer.js
+8
-0
index.vue
src/views/ecw/customer/index.vue
+31
-2
No files found.
src/api/ecw/customer.js
View file @
9c6922a2
...
...
@@ -397,6 +397,14 @@ export function changeCustomerAir(data){
})
}
// 设置整柜
export
function
setChangeCustomerFcl
(
data
){
return
request
({
url
:
'
/ecw/customer/change-customer-fcl
'
,
method
:
'
put
'
,
data
})
}
//获得客户日志
export
function
getCustomerOperatelogPage
(
params
){
return
request
({
...
...
src/views/ecw/customer/index.vue
View file @
9c6922a2
...
...
@@ -88,6 +88,13 @@
<el-button
:disabled=
"!selectCustomerList.length"
@
click=
"setChangeCustomerAir(false)"
v-if=
"$route.path === '/customer/customer'"
type=
"primary"
plain
size=
"mini"
:loading=
"exportLoading"
v-hasPermi=
"['ecw:customer:transport']"
>
{{
$t
(
'
设为非空运客户
'
)
}}
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
:disabled=
"!selectCustomerList.length"
@
click=
"setFullContainerLoad(true)"
v-if=
"$route.path === '/customer/customer'"
type=
"primary"
plain
size=
"mini"
:loading=
"exportLoading"
>
{{
$t
(
'
设置海运整柜客户
'
)
}}
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
:disabled=
"!selectCustomerList.length"
@
click=
"setFullContainerLoad(false)"
v-if=
"$route.path === '/customer/customer'"
type=
"primary"
plain
size=
"mini"
:loading=
"exportLoading"
>
{{
$t
(
'
设置海运非整柜客户
'
)
}}
</el-button>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
...
...
@@ -523,8 +530,17 @@
<
script
>
import
{
createCustomer
,
updateCustomer
,
deleteCustomer
,
getCustomer
,
getCustomerPage
,
exportCustomerExcel
,
testEnterToOpenSea
,
getCustomerDeptPage
,
changeCustomerAir
,
getPotential
createCustomer
,
updateCustomer
,
deleteCustomer
,
getCustomer
,
getCustomerPage
,
exportCustomerExcel
,
testEnterToOpenSea
,
getCustomerDeptPage
,
changeCustomerAir
,
getPotential
,
setChangeCustomerFcl
}
from
"
@/api/ecw/customer
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
{
CommonStatusEnum
}
from
'
@/utils/constants
'
...
...
@@ -666,6 +682,19 @@ export default {
this
.
getList
();
},
methods
:
{
// 设置整柜
setFullContainerLoad
(
isFcl
){
setChangeCustomerFcl
({
"
customerIdList
"
:
this
.
selectCustomerList
,
isFcl
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
$message
.
success
(
isFcl
?
'
设置客户为海运整柜成功!
'
:
'
设置客户为非海运整柜成功!
'
)
this
.
selectCustomerList
=
[]
this
.
getList
()
}
})
},
// 设置空运客户
setChangeCustomerAir
(
isAir
){
changeCustomerAir
({
...
...
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