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
db5da6dd
Commit
db5da6dd
authored
Sep 16, 2022
by
黄卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建客户,重货标准设置默认显示的是泡货标准
http://zentao.jdshangmen.com/bug-view-10.html
parent
b67a89c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
11 deletions
+18
-11
zhongPao.js
src/api/ecw/zhongPao.js
+9
-0
edit.vue
src/views/ecw/customer/edit.vue
+9
-11
No files found.
src/api/ecw/zhongPao.js
View file @
db5da6dd
...
...
@@ -34,6 +34,15 @@ export function getZhongPao(id) {
})
}
// 获得客户最优惠的重泡货配置
export
function
getZhongPaoBest
(
query
)
{
return
request
({
url
:
'
/ecw/zhong-pao/get-customer-best-zhong-pao
'
,
method
:
'
get
'
,
params
:
query
})
}
// 获得重泡货配置分页
export
function
getZhongPaoPage
(
query
)
{
return
request
({
...
...
src/views/ecw/customer/edit.vue
View file @
db5da6dd
...
...
@@ -389,7 +389,7 @@ import {getWarehouseList} from "@/api/ecw/warehouse"
import
CustomerLineTable
from
'
@/components/CustomerLineTable
'
import
{
getCustomerSelect
}
from
"
@/api/ecw/customer
"
import
{
listServiceUser
}
from
"
@/api/system/user
"
import
{
getZhongPaoPage
}
from
'
@/api/ecw/zhongPao
'
import
{
getZhongPaoBest
,
getZhongPaoPage
}
from
'
@/api/ecw/zhongPao
'
import
{
getCustomerContactsListByCustomer
}
from
'
@/api/ecw/customerContacts
'
import
{
getCountryListAll
}
from
'
@/api/ecw/country
'
import
Template
from
"
@/views/cms/template
"
;
...
...
@@ -469,7 +469,7 @@ export default {
productList
:
[],
showZhong
:
false
,
showZhong1
:
false
,
showPao
:
tru
e
,
showPao
:
fals
e
,
showPao1
:
false
,
warehouseList
:
[],
// 仓库列表
importCityList
:
[],
// 进口地址
...
...
@@ -623,15 +623,13 @@ export default {
})
},
getZhongPao
(){
// todo 接口不对,应该用list
getZhongPaoPage
().
then
(
r
=>
{
r
.
data
.
list
.
forEach
(
e
=>
{
if
(
e
.
type
===
1
)
{
this
.
form
.
lightUnit
=
e
.
edge
}
else
if
(
e
.
type
===
2
||
true
){
// todo 缺少type
this
.
form
.
weightUnit
=
e
.
edge
}
})
getZhongPaoBest
({
customerId
:
this
.
customerId
,
// departureId: this.departureId,
// objectiveId: this.objectiveId
}).
then
(
r
=>
{
this
.
form
.
weightUnit
=
r
.
data
.
zhongEdge
this
.
form
.
lightUnit
=
r
.
data
.
paoEdge
})
}
},
...
...
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