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
04b891e8
Commit
04b891e8
authored
Jul 24, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/release2.2' into release2.2
parents
1d965904
57864c82
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
80 additions
and
28 deletions
+80
-28
edit.vue
src/views/ecw/order/edit.vue
+4
-3
index.vue
src/views/ecw/order/exception/index.vue
+14
-8
Discounts.vue
src/views/ecw/order/special/Discounts.vue
+46
-12
index.vue
src/views/ecw/order/special/index.vue
+15
-4
edit.vue
src/views/ecw/supplier/edit.vue
+1
-1
No files found.
src/views/ecw/order/edit.vue
View file @
04b891e8
...
@@ -324,13 +324,14 @@
...
@@ -324,13 +324,14 @@
/>
/>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"form-section"
v-if=
"form.customsType==2"
>
<span
style=
"color:red;font-size:14px"
>
{{$t('报关退税,请备齐资料。')}}
</span>
</div>
<div
class=
"form-section"
v-if=
"collectionProxy"
>
<div
class=
"form-section"
v-if=
"collectionProxy"
>
<el-form-item
:label=
"$t('是否代收货款')"
prop=
"isCollection"
>
<el-form-item
:label=
"$t('是否代收货款')"
prop=
"isCollection"
>
<dict-selector
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
formatter=
"bool"
v-model=
"form.isCollection"
form-type=
"radio"
:disabled=
"false"
/>
<dict-selector
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
formatter=
"bool"
v-model=
"form.isCollection"
form-type=
"radio"
:disabled=
"false"
/>
</el-form-item>
</el-form-item>
<div
class=
"form-section"
v-if=
"form.customsType==2"
>
<span
style=
"color:red;font-size:14px"
>
{{$t('报关退税,请备齐资料。')}}
</span>
</div>
<!--代收货款,只有非控货订单、并且线路开通了代收货款后,才显示是否代收货款选项-->
<!--代收货款,只有非控货订单、并且线路开通了代收货款后,才显示是否代收货款选项-->
<el-form-item
:label=
"$t('代收货款金额')"
v-if=
"collectionProxy && form.isCollection"
prop=
"collectionProxy"
class=
"ml-20"
>
<el-form-item
:label=
"$t('代收货款金额')"
v-if=
"collectionProxy && form.isCollection"
prop=
"collectionProxy"
class=
"ml-20"
>
<el-input
type=
"number"
v-model=
"form.collectionProxy"
class=
"w-200 mr-10"
:disabled=
"false"
></el-input>
<el-input
type=
"number"
v-model=
"form.collectionProxy"
class=
"w-200 mr-10"
:disabled=
"false"
></el-input>
...
...
src/views/ecw/order/exception/index.vue
View file @
04b891e8
...
@@ -41,11 +41,12 @@
...
@@ -41,11 +41,12 @@
<dict-selector
:type=
"DICT_TYPE.ORDER_STATUS"
v-model=
"queryParams.orderStatus"
<dict-selector
:type=
"DICT_TYPE.ORDER_STATUS"
v-model=
"queryParams.orderStatus"
@
keyup.enter.native=
"handleQuery"
clearable
/>
@
keyup.enter.native=
"handleQuery"
clearable
/>
</el-form-item>
</el-form-item>
<!--
<el-form-item
:label=
"$t('跟进客服')"
prop=
"destinatio
nId"
>
<el-form-item
:label=
"$t('跟进客服')"
prop=
"salesma
nId"
>
<el-select
v-model=
"queryParams.
destinationId"
multiple
:placeholder=
"$t('请选择目的仓')"
clearable
>
<el-select
v-model=
"queryParams.
salesmanId"
:placeholder=
"$t('请选择')"
>
<el-option
v-for=
"
item in followUserList"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option
>
<el-option
v-for=
"
dict in followUpList"
:key=
"parseInt(dict.id)"
:label=
"dict.nickname"
:value=
"parseInt(dict.id)"
/
>
</el-select>
</el-select>
</el-form-item>
-->
</el-form-item>
</el-row>
</el-row>
<el-row>
<el-row>
<el-form-item
:label=
"$t('控货')+':'"
>
<el-form-item
:label=
"$t('控货')+':'"
>
...
@@ -86,7 +87,7 @@
...
@@ -86,7 +87,7 @@
<dict-selector
:type=
"DICT_TYPE.PRODUCT_RECORD_ATTRIBUTE"
:clearable=
"true"
v-model=
"queryParams.productRecord"
@
keyup.enter.native=
"handleQuery"
/>
<dict-selector
:type=
"DICT_TYPE.PRODUCT_RECORD_ATTRIBUTE"
:clearable=
"true"
v-model=
"queryParams.productRecord"
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('客户经理')+':'"
>
<el-form-item
:label=
"$t('客户经理')+':'"
>
<el-select
v-model=
"queryParams.
salesmanId"
multiple
:placeholder=
"$t('请选择跟进业务
')"
clearable
>
<el-select
v-model=
"queryParams.
customerIds"
multiple
:placeholder=
"$t('请选择客户经理
')"
clearable
>
<el-option
v-for=
"item in creatorData"
:key=
"item.id"
:label=
"item.nickname"
:value=
"item.id"
/>
<el-option
v-for=
"item in creatorData"
:key=
"item.id"
:label=
"item.nickname"
:value=
"item.id"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -243,7 +244,7 @@ import {getOrderExceptionPage, exportExcel,getStatistics} from "@/api/ecw/orderE
...
@@ -243,7 +244,7 @@ import {getOrderExceptionPage, exportExcel,getStatistics} from "@/api/ecw/orderE
import
{
getTradeCityList
}
from
'
@/api/ecw/region
'
import
{
getTradeCityList
}
from
'
@/api/ecw/region
'
import
{
DICT_TYPE
}
from
'
@/utils/dict
'
import
{
DICT_TYPE
}
from
'
@/utils/dict
'
// import { userList } from "@/api/system/user"
// import { userList } from "@/api/system/user"
import
{
listServiceUser
}
from
"
@/api/system/user
"
import
{
listServiceUser
,
userList
}
from
"
@/api/system/user
"
import
CustomerSelector
from
'
@/components/CustomerSelector
'
import
CustomerSelector
from
'
@/components/CustomerSelector
'
import
ProductSelector
from
'
@/components/ProductSelector
'
import
ProductSelector
from
'
@/components/ProductSelector
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
...
@@ -272,7 +273,8 @@ export default {
...
@@ -272,7 +273,8 @@ export default {
},
},
tradeCityList
:[],
tradeCityList
:[],
warehouseList
:[],
warehouseList
:[],
totalData
:{}
totalData
:{},
followUpList
:[],
};
};
},
},
activated
(){
activated
(){
...
@@ -284,6 +286,9 @@ export default {
...
@@ -284,6 +286,9 @@ export default {
getTradeCityList
().
then
(
res
=>
this
.
tradeCityList
=
res
.
data
)
getTradeCityList
().
then
(
res
=>
this
.
tradeCityList
=
res
.
data
)
listServiceUser
().
then
(
r
=>
{
listServiceUser
().
then
(
r
=>
{
this
.
creatorData
=
r
.
data
this
.
creatorData
=
r
.
data
})
userList
(
'
documentary customer service
'
).
then
(
r
=>
{
this
.
followUpList
=
r
.
data
;
})
})
getWarehouseList
().
then
(
res
=>
this
.
warehouseList
=
res
.
data
)
getWarehouseList
().
then
(
res
=>
this
.
warehouseList
=
res
.
data
)
// userList('salesman').then(res =>this.creatorData = res.data)
// userList('salesman').then(res =>this.creatorData = res.data)
...
@@ -324,7 +329,8 @@ export default {
...
@@ -324,7 +329,8 @@ export default {
this
.
queryParams
=
{
this
.
queryParams
=
{
page
:
1
,
page
:
1
,
rows
:
10
,
rows
:
10
,
};
}
this
.
getList
()
},
},
importCityName
(
id
){
importCityName
(
id
){
return
this
.
tradeCityList
.
filter
(
item
=>
item
.
id
==
id
)
return
this
.
tradeCityList
.
filter
(
item
=>
item
.
id
==
id
)
...
...
src/views/ecw/order/special/Discounts.vue
View file @
04b891e8
...
@@ -16,24 +16,24 @@
...
@@ -16,24 +16,24 @@
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('填单货物属性')
"
align
=
"
center
"
>
<
el
-
table
-
column
:
label
=
"
$t('填单货物属性')
"
align
=
"
center
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
v
-
slot
=
"
{row
}
"
>
{{
$t
(
'
品牌
'
)
}}
:
<
dict
-
tag
:
type
=
"
DICT_TYPE.ECW_IS_BRAND
"
:
value
=
"
order.orderItemVOList[scope.$index]
.brandType
"
/><
br
>
{{
$t
(
'
品牌
'
)
}}
:
<
dict
-
tag
:
type
=
"
DICT_TYPE.ECW_IS_BRAND
"
:
value
=
"
row
.brandType
"
/><
br
>
{{
$t
(
'
箱数
'
)
}}
:
{{
order
.
orderItemVOList
[
scope
.
$index
]
.
num
}}
<
br
>
{{
$t
(
'
箱数
'
)
}}
:
{{
row
.
num
}}
<
br
>
{{
$t
(
'
体积
'
)
}}
:
{{
order
.
orderItemVOList
[
scope
.
$index
]
.
volume
}}
m
³
<
br
>
{{
$t
(
'
体积
'
)
}}
:
{{
row
.
volume
}}
m
³
<
br
>
{{
$t
(
'
重量
'
)
}}
:
{{
order
.
orderItemVOList
[
scope
.
$index
]
.
weight
}}
Kg
{{
$t
(
'
重量
'
)
}}
:
{{
row
.
weight
}}
Kg
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
<
el
-
table
-
column
prop
=
"
address
"
prop
=
"
address
"
:
label
=
"
$t('入库货物属性')
"
>
:
label
=
"
$t('入库货物属性')
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
v
-
slot
=
"
{row
}
"
>
<
template
v
-
if
=
"
order.orderItemVOList[scope.$index]
.warehouseInInfoVO
"
>
<
template
v
-
if
=
"
row
.warehouseInInfoVO
"
>
{{
$t
(
'
品牌
'
)
}}
:
{{
$t
(
'
品牌
'
)
}}
:
<
template
v
-
if
=
"
order.orderItemVOList[scope.$index].brandName
"
>
{{
order
.
orderItemVOList
[
scope
.
$index
]
.
brandName
}}
<
/template
>
<
template
v
-
if
=
"
row.brandName
"
>
{{
row
.
brandName
}}
<
/template
>
<
dict
-
tag
v
-
else
:
type
=
"
DICT_TYPE.ECW_IS_BRAND
"
:
value
=
"
order.orderItemVOList[scope.$index]
.feeType
"
/><
br
>
<
dict
-
tag
v
-
else
:
type
=
"
DICT_TYPE.ECW_IS_BRAND
"
:
value
=
"
row
.feeType
"
/><
br
>
{{
$t
(
'
箱数
'
)
}}
:
{{
order
.
orderItemVOList
[
scope
.
$index
]
.
warehouseInInfoVO
.
cartonsNum
}}
<
br
>
{{
$t
(
'
箱数
'
)
}}
:
{{
row
.
warehouseInInfoVO
.
cartonsNum
}}
<
br
>
{{
$t
(
'
体积
'
)
}}
:
{{
order
.
orderItemVOList
[
scope
.
$index
]
.
warehouseInInfoVO
.
volume
}}
m
³
<
br
>
{{
$t
(
'
体积
'
)
}}
:
{{
row
.
warehouseInInfoVO
.
volume
}}
m
³
<
br
>
{{
$t
(
'
重量
'
)
}}
:
{{
order
.
orderItemVOList
[
scope
.
$index
]
.
warehouseInInfoVO
.
weight
}}
Kg
{{
$t
(
'
重量
'
)
}}
:
{{
row
.
warehouseInInfoVO
.
weight
}}
Kg
<
/template
>
<
/template
>
<
span
v
-
else
>
{{
$t
(
'
暂时没有入库信息
'
)
}}
<
/span
>
<
span
v
-
else
>
{{
$t
(
'
暂时没有入库信息
'
)
}}
<
/span
>
<
/template
>
<
/template
>
...
@@ -90,6 +90,7 @@ export default {
...
@@ -90,6 +90,7 @@ export default {
name
:
"
OrderSpecialDiscount
"
,
name
:
"
OrderSpecialDiscount
"
,
props
:
{
props
:
{
order
:
Object
,
order
:
Object
,
ids
:
Array
,
applyType
:{
// // 31是优惠申请32是管理折扣
applyType
:{
// // 31是优惠申请32是管理折扣
type
:
Number
,
type
:
Number
,
default
:
31
default
:
31
...
@@ -175,6 +176,39 @@ export default {
...
@@ -175,6 +176,39 @@ export default {
getOrderSpecial
(){
getOrderSpecial
(){
getOrderSpecialBatch
(
this
.
order
.
orderId
,
this
.
applyType
).
then
(
r
=>
{
getOrderSpecialBatch
(
this
.
order
.
orderId
,
this
.
applyType
).
then
(
r
=>
{
this
.
form
=
r
.
data
this
.
form
=
r
.
data
var
volist
=
r
.
data
.
batchApplyOrderItemDetailVOList
if
(
this
.
form
.
applyStatus
==
1
){
this
.
form
.
batchApplyOrderItemDetailVOList
.
map
(
v
=>
{
var
item
=
this
.
order
.
orderItemVOList
.
find
(
vs
=>
vs
.
orderItemId
==
v
.
orderItemId
)
if
(
item
){
v
.
brandType
=
item
.
brandType
v
.
num
=
item
.
num
v
.
volume
=
item
.
volume
v
.
weight
=
item
.
weight
v
.
warehouseInInfoVO
=
item
.
warehouseInInfoVO
}
}
)
}
else
{
this
.
form
.
batchApplyOrderItemDetailVOList
=
[]
var
list
=
[]
console
.
log
(
this
.
ids
)
volist
.
map
(
v
=>
{
console
.
log
(
v
.
orderItemId
)
if
(
this
.
ids
.
indexOf
(
v
.
orderItemId
)
>-
1
){
var
item
=
this
.
order
.
orderItemVOList
.
find
(
vs
=>
vs
.
orderItemId
==
v
.
orderItemId
)
if
(
item
){
v
.
brandType
=
item
.
brandType
v
.
num
=
item
.
num
v
.
volume
=
item
.
volume
v
.
weight
=
item
.
weight
v
.
warehouseInInfoVO
=
item
.
warehouseInInfoVO
}
list
.
push
(
v
)
}
}
)
console
.
log
(
list
)
this
.
$set
(
this
.
form
,
'
batchApplyOrderItemDetailVOList
'
,
list
)
}
}
)
}
)
}
,
}
,
/* getProductTypeNameById(id){
/* getProductTypeNameById(id){
...
...
src/views/ecw/order/special/index.vue
View file @
04b891e8
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<!-- 列表 -->
<!-- 列表 -->
<div
class=
"order-header"
>
<div
class=
"order-header"
>
<span
style=
"font-size: 15px;"
>
{{
$t
(
'
订单号
'
)
}}
:
{{
order
.
orderNo
}}
</span>
<span
style=
"font-size: 15px;"
>
{{
$t
(
'
订单号
'
)
}}
:
{{
order
.
orderNo
}}
</span>
<el-button
v-hasPermi=
"['ecw:order:reduce']"
type=
"primary"
@
click=
"
showDiscountsIds=order.orderId
"
>
{{
$t
(
'
批量特价申请
'
)
}}
</el-button>
<el-button
v-hasPermi=
"['ecw:order:reduce']"
type=
"primary"
@
click=
"
moreApply(1)
"
>
{{
$t
(
'
批量特价申请
'
)
}}
</el-button>
<el-button
v-hasPermi=
"['ecw:order:commission']"
type=
"primary"
@
click=
"
showAllowanceIds=order.orderId
"
>
{{
$t
(
'
批量管理折扣
'
)
}}
</el-button>
<el-button
v-hasPermi=
"['ecw:order:commission']"
type=
"primary"
@
click=
"
moreApply(2)
"
>
{{
$t
(
'
批量管理折扣
'
)
}}
</el-button>
</div>
</div>
<el-table
v-loading=
"loading"
:data=
"order.orderItemVOList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
:data=
"order.orderItemVOList"
@
selection-change=
"handleSelectionChange"
>
...
@@ -128,9 +128,9 @@
...
@@ -128,9 +128,9 @@
<!-- 重泡货优惠 -->
<!-- 重泡货优惠 -->
<preferential
v-if=
"!!showPreferentialType"
:applyType=
"showPreferentialType"
:order=
"order"
@
close=
"showPreferentialType=null"
@
success=
"onPreferentialSuccess"
/>
<preferential
v-if=
"!!showPreferentialType"
:applyType=
"showPreferentialType"
:order=
"order"
@
close=
"showPreferentialType=null"
@
success=
"onPreferentialSuccess"
/>
<!-- 批量优惠申请 -->
<!-- 批量优惠申请 -->
<discounts
v-if=
"!!showDiscountsIds"
:order=
"order"
@
close=
"showDiscountsIds=null"
@
success=
"onDiscountsSuccess"
/>
<discounts
v-if=
"!!showDiscountsIds"
:order=
"order"
:ids=
"ids"
@
close=
"showDiscountsIds=null"
@
success=
"onDiscountsSuccess"
/>
<!-- 批量管理折扣 -->
<!-- 批量管理折扣 -->
<discounts
v-if=
"!!showAllowanceIds"
:order=
"order"
@
close=
"showAllowanceIds=null"
:applyType=
"32"
@
success=
"onDiscountsSuccess"
/>
<discounts
v-if=
"!!showAllowanceIds"
:order=
"order"
:ids=
"ids"
@
close=
"showAllowanceIds=null"
:applyType=
"32"
@
success=
"onDiscountsSuccess"
/>
<!-- 佣金规则 -->
<!-- 佣金规则 -->
</div>
</div>
</template>
</template>
...
@@ -243,6 +243,17 @@ export default {
...
@@ -243,6 +243,17 @@ export default {
this
.
multipleSelection
=
selection
this
.
multipleSelection
=
selection
this
.
ids
=
selection
.
map
(
item
=>
item
.
orderItemId
)
this
.
ids
=
selection
.
map
(
item
=>
item
.
orderItemId
)
},
},
moreApply
(
type
){
if
(
!
this
.
ids
||
this
.
ids
.
length
==
0
){
this
.
$message
.
error
(
this
.
$t
(
'
请选择商品
'
))
return
}
if
(
type
==
1
){
this
.
showDiscountsIds
=
true
}
else
{
this
.
showAllowanceIds
=
true
}
}
},
},
computed
:
{
computed
:
{
currencyMap
(){
currencyMap
(){
...
...
src/views/ecw/supplier/edit.vue
View file @
04b891e8
...
@@ -950,9 +950,9 @@ export default {
...
@@ -950,9 +950,9 @@ export default {
}
}
let
data
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
formData
))
let
data
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
formData
))
data
.
dockIds
=
data
.
dockIds
?.
toString
()
if
(
this
.
formData
.
areaType
==
0
)
{
if
(
this
.
formData
.
areaType
==
0
)
{
data
.
resourceVO
.
shipCompany
=
data
.
resourceVO
.
shipCompany
?.
toString
()
data
.
resourceVO
.
shipCompany
=
data
.
resourceVO
.
shipCompany
?.
toString
()
data
.
dockIds
=
data
.
dockIds
?.
toString
()
data
.
resourceVO
.
ports
=
data
.
resourceVO
.
ports
?.
toString
()
data
.
resourceVO
.
ports
=
data
.
resourceVO
.
ports
?.
toString
()
data
.
resourceVO
.
bookCompany
=
data
.
resourceVO
.
bookCompany
?.
toString
()
data
.
resourceVO
.
bookCompany
=
data
.
resourceVO
.
bookCompany
?.
toString
()
data
.
resourceVO
.
trailerCompany
=
data
.
resourceVO
.
trailerCompany
?.
toString
()
data
.
resourceVO
.
trailerCompany
=
data
.
resourceVO
.
trailerCompany
?.
toString
()
...
...
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