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
e0326401
Commit
e0326401
authored
Oct 10, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
f014406d
7028fab8
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
44 additions
and
147 deletions
+44
-147
index.vue
src/components/RoutersSelector/index.vue
+5
-4
index.scss
src/styles/index.scss
+1
-1
detail.vue
src/views/ecw/order/detail.vue
+20
-133
pending.vue
src/views/ecw/order/pending.vue
+4
-4
batchEdit.vue
src/views/ecw/productPrice/batchEdit.vue
+5
-2
batchIncrease.vue
src/views/ecw/productPrice/batchIncrease.vue
+1
-1
index.vue
src/views/ecw/productPrice/index.vue
+8
-2
No files found.
src/components/RoutersSelector/index.vue
View file @
e0326401
<
template
>
<
template
>
<div>
<div>
<div
class=
"filters mb-10"
v-if=
"showFilter"
>
<div
class=
"filters mb-10"
v-if=
"showFilter"
>
<template
v-if=
"!type"
>
{{
$t
(
'
运输方式
'
)
}}
{{
$t
(
'
运输方式
'
)
}}
<dict-selector
:type=
'DICT_TYPE.ECW_TRANSPORT_TYPE'
v-model=
"transportType"
:placeholder=
"$t('请选择运输方式')"
:filter=
"transportFilter"
style=
"width:150px"
/>
<dict-selector
:type=
'DICT_TYPE.ECW_TRANSPORT_TYPE'
v-model=
"transportType"
:placeholder=
"$t('请选择运输方式')"
:filter=
"transportFilter"
style=
"width:150px"
/>
</
template
>
{{$t('始发地')}}:
{{$t('始发地')}}:
<el-select
:placeholder=
"$t('请选择始发地')"
v-model=
"exportCity"
clearable
>
<el-select
:placeholder=
"$t('请选择始发地')"
v-model=
"exportCity"
clearable
>
<el-option
v-for=
"item in exportCityList"
:key=
"item.id"
:label=
"item.titleZh"
:value=
"item.id"
/>
<el-option
v-for=
"item in exportCityList"
:key=
"item.id"
:label=
"item.titleZh"
:value=
"item.id"
/>
...
@@ -14,7 +15,7 @@
...
@@ -14,7 +15,7 @@
<el-option
v-for=
"item in importCityList"
:key=
"item.id"
:label=
"item.titleZh"
:value=
"item.id"
/>
<el-option
v-for=
"item in importCityList"
:key=
"item.id"
:label=
"item.titleZh"
:value=
"item.id"
/>
</el-select>
</el-select>
<template
v-if=
"type
== 'air
'"
>
<
template
v-if=
"type
!= 'sea
'"
>
{{
$t
(
'
出货渠道
'
)
}}
:
{{
$t
(
'
出货渠道
'
)
}}
:
<el-select
:placeholder=
"$t('请选择目渠道')"
v-model=
"channelId"
clearable
>
<el-select
:placeholder=
"$t('请选择目渠道')"
v-model=
"channelId"
clearable
>
<el-option
v-for=
"item in channelList"
:key=
"item.channelId"
:label=
"item.nameZh"
:value=
"item.channelId"
/>
<el-option
v-for=
"item in channelList"
:key=
"item.channelId"
:label=
"item.nameZh"
:value=
"item.channelId"
/>
...
...
src/styles/index.scss
View file @
e0326401
...
@@ -129,7 +129,7 @@ input, textarea{
...
@@ -129,7 +129,7 @@ input, textarea{
}
}
.el-scrollbar__view
{
.el-scrollbar__view
{
overflow-x
:
hidden
;
/*overflow-x: hidden;*/
}
}
.el-rate
{
.el-rate
{
...
...
src/views/ecw/order/detail.vue
View file @
e0326401
This diff is collapsed.
Click to expand it.
src/views/ecw/order/pending.vue
View file @
e0326401
...
@@ -292,10 +292,10 @@ export default {
...
@@ -292,10 +292,10 @@ export default {
product_id
:
productData
.
prodId
,
product_id
:
productData
.
prodId
,
product_type
:
res
.
data
.
typeId
,
product_type
:
res
.
data
.
typeId
,
transportId
:
this
.
orderData
.
transportId
,
transportId
:
this
.
orderData
.
transportId
,
exportCity
:
this
.
orderData
.
logisticsInfoDto
.
startCity
Id
,
importCity
:
this
.
orderData
.
objectiveVO
.
objective
Id
,
importCity
:
this
.
orderData
.
logisticsInfoDto
.
destCity
Id
,
exportCity
:
this
.
orderData
.
departureVO
.
departure
Id
,
startWarehouseId
:
this
.
orderData
.
logisticsInfoDto
.
startWarehouseI
d
,
startWarehouseId
:
this
.
orderData
.
departureVO
.
i
d
,
destWarehouseId
:
this
.
orderData
.
logisticsInfoDto
.
destWarehouseI
d
,
destWarehouseId
:
this
.
orderData
.
objectiveVO
.
i
d
,
lineId
:
this
.
orderData
.
logisticsInfoDto
.
lineId
,
lineId
:
this
.
orderData
.
logisticsInfoDto
.
lineId
,
channelId
:
this
.
orderData
.
logisticsInfoDto
.
channelId
channelId
:
this
.
orderData
.
logisticsInfoDto
.
channelId
}
}
...
...
src/views/ecw/productPrice/batchEdit.vue
View file @
e0326401
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('单价模式')"
prop=
"priceType"
>
<el-form-item
:label=
"$t('单价模式')"
prop=
"priceType"
>
<dict-selector
:type=
"DICT_TYPE.ECW_PRICE_TYPE"
v-model=
"form.priceType"
form-type=
"radio"
/>
<dict-selector
:type=
"DICT_TYPE.ECW_PRICE_TYPE"
v-model=
"form.priceType"
form-type=
"radio"
formatter=
'number'
/>
</el-form-item>
</el-form-item>
<!--阶梯订单-->
<!--阶梯订单-->
...
@@ -210,6 +210,7 @@ export default {
...
@@ -210,6 +210,7 @@ export default {
specialList
:
[],
specialList
:
[],
priceStepList
:
[],
priceStepList
:
[],
stepPrice
:
0
,
stepPrice
:
0
,
priceType
:
null
// advanceStatus: 0,
// advanceStatus: 0,
// needBook: 0,
// needBook: 0,
// dayLimit: 10000
// dayLimit: 10000
...
@@ -234,7 +235,9 @@ export default {
...
@@ -234,7 +235,9 @@ export default {
computed
:
{
computed
:
{
// 类型,默认海运sea,air表示空运
// 类型,默认海运sea,air表示空运
type
(){
type
(){
return
this
.
$route
.
path
.
split
(
/
[
-_
]
/
).
pop
()
let
type
=
this
.
$route
.
path
.
split
(
/
[
-_
]
/
).
pop
()
if
(
type
==
'
air
'
||
type
==
'
sea
'
)
return
type
return
null
}
,
}
,
// 默认运费的货币和体积单位
// 默认运费的货币和体积单位
currencyAndUnit
(){
currencyAndUnit
(){
...
...
src/views/ecw/productPrice/batchIncrease.vue
View file @
e0326401
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"150px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"150px"
>
<products-selector
ref=
"productSelector"
v-model=
"form.productIdList"
show-all
@
setall=
"isAllProduct=$event"
:default-ids=
"form.productIdList"
class=
"mb-20"
/>
<products-selector
ref=
"productSelector"
v-model=
"form.productIdList"
show-all
@
setall=
"isAllProduct=$event"
:default-ids=
"form.productIdList"
class=
"mb-20"
/>
<routers-selector
v-model=
"selectedRoutes"
:type=
"type"
:show-filter=
"false"
/>
<routers-selector
v-model=
"selectedRoutes"
:type=
"type"
/>
<el-card
style=
"margin-bottom: 10px"
>
<el-card
style=
"margin-bottom: 10px"
>
<div
slot=
"header"
style=
"font-size:20px;"
>
<div
slot=
"header"
style=
"font-size:20px;"
>
...
...
src/views/ecw/productPrice/index.vue
View file @
e0326401
...
@@ -196,7 +196,7 @@
...
@@ -196,7 +196,7 @@
<
/div
>
<
/div
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
prop
=
"
advanceStatus
"
:
label
=
"
$t('
単
询')
"
align
=
"
center
"
width
=
"
80
"
>
<
el
-
table
-
column
prop
=
"
advanceStatus
"
:
label
=
"
$t('
单
询')
"
align
=
"
center
"
width
=
"
80
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.NEED_ORDER_INQUIRY
"
:
value
=
"
scope.row.needOrderInquiry
"
><
/dict-tag
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.NEED_ORDER_INQUIRY
"
:
value
=
"
scope.row.needOrderInquiry
"
><
/dict-tag
>
<
/template
>
<
/template
>
...
@@ -406,7 +406,8 @@ export default {
...
@@ -406,7 +406,8 @@ export default {
AuditStatusEnum
:
AuditStatusEnum
,
AuditStatusEnum
:
AuditStatusEnum
,
locationList
:
getDictDatas
(
DICT_TYPE
.
ECW_CONTAINER_LOCATION
),
locationList
:
getDictDatas
(
DICT_TYPE
.
ECW_CONTAINER_LOCATION
),
// 查看更多阶梯价
// 查看更多阶梯价
showMoreStepPriceItem
:
null
showMoreStepPriceItem
:
null
,
entryPath
:
null
}
;
}
;
}
,
}
,
...
@@ -545,6 +546,10 @@ export default {
...
@@ -545,6 +546,10 @@ export default {
// if(!this.$route.query.product_id)
{
// if(!this.$route.query.product_id)
{
// return this.product = null
// return this.product = null
//
}
//
}
// 价格列表 跟 商品的价格列表,有时候商品价格列表的路由变动会导致价格列表也执行此处代码,所以做一个判断排除
// https://zentao.test.jdshangmen.com/bug-view-4928.html
if
(
this
.
$route
.
path
!=
this
.
entryPath
)
return
let
productId
=
this
.
product
?.
id
let
productId
=
this
.
product
?.
id
if
(
this
.
$route
.
name
===
'
ProductPrice
'
){
if
(
this
.
$route
.
name
===
'
ProductPrice
'
){
if
(
this
.
$route
.
query
.
product_id
!=
productId
){
if
(
this
.
$route
.
query
.
product_id
!=
productId
){
...
@@ -562,6 +567,7 @@ export default {
...
@@ -562,6 +567,7 @@ export default {
}
}
}
,
}
,
created
()
{
created
()
{
this
.
entryPath
=
this
.
$route
.
path
if
(
this
.
$route
.
query
.
product_type
){
if
(
this
.
$route
.
query
.
product_type
){
this
.
$set
(
this
.
queryParams
,
'
typeId
'
,
+
this
.
$route
.
query
.
product_type
);
this
.
$set
(
this
.
queryParams
,
'
typeId
'
,
+
this
.
$route
.
query
.
product_type
);
}
}
...
...
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