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
5168ec76
Commit
5168ec76
authored
May 09, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
3385fc43
2d65a378
Changes
30
Show whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
181 additions
and
69 deletions
+181
-69
box.js
src/api/ecw/box.js
+1
-0
order.js
src/api/ecw/order.js
+13
-1
operatelog.js
src/api/system/operatelog.js
+4
-1
index.vue
src/components/ProductSelector/index.vue
+7
-1
index.vue
src/components/UserSelector/index.vue
+17
-4
indexFutureBox.vue
src/views/ecw/box/indexFutureBox.vue
+6
-2
indexSea.vue
src/views/ecw/box/indexSea.vue
+1
-1
indexSeaAir.vue
src/views/ecw/box/indexSeaAir.vue
+1
-1
preinstall.vue
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
+4
-10
review.vue
src/views/ecw/box/shippingSea/nodePage/review.vue
+1
-0
index.vue
src/views/ecw/box/shippingSea/nodePage/tally/index.vue
+1
-1
seaProcess.vue
src/views/ecw/box/shippingSea/seaProcess.vue
+3
-1
index.vue
src/views/ecw/channel/index.vue
+4
-1
query.vue
src/views/ecw/customer/query.vue
+12
-6
allAchievement.vue
src/views/ecw/deptTarget/allAchievement.vue
+7
-2
index.vue
src/views/ecw/deptTarget/index.vue
+6
-2
myAchievement.vue
src/views/ecw/deptTarget/myAchievement.vue
+7
-2
myDeptAchievement.vue
src/views/ecw/deptTarget/myDeptAchievement.vue
+2
-1
myDeptTarget.vue
src/views/ecw/deptTarget/myDeptTarget.vue
+7
-3
addAssociatedOrder.vue
src/views/ecw/order/addAssociatedOrder.vue
+1
-4
associatedOrder.vue
src/views/ecw/order/associatedOrder.vue
+1
-1
detail.vue
src/views/ecw/order/detail.vue
+5
-2
index.vue
src/views/ecw/order/exception/index.vue
+1
-0
index.vue
src/views/ecw/order/index.vue
+2
-4
mutexOrder.vue
src/views/ecw/order/mutexOrder.vue
+1
-1
notMutexOrder.vue
src/views/ecw/order/notMutexOrder.vue
+1
-4
pending.vue
src/views/ecw/order/pending.vue
+1
-0
prepayDeal.vue
src/views/ecw/order/prepayDeal.vue
+39
-8
index.vue
src/views/ecw/order/warehousing/index.vue
+1
-1
index.vue
src/views/ecw/product/index.vue
+24
-4
No files found.
src/api/ecw/box.js
View file @
5168ec76
...
@@ -49,6 +49,7 @@ export function exportboxExcel(query) {
...
@@ -49,6 +49,7 @@ export function exportboxExcel(query) {
url
:
"
/shipment/box/export-excel
"
,
url
:
"
/shipment/box/export-excel
"
,
method
:
"
get
"
,
method
:
"
get
"
,
params
:
query
,
params
:
query
,
timeout
:
5
*
60000
,
responseType
:
"
blob
"
,
responseType
:
"
blob
"
,
});
});
}
}
...
...
src/api/ecw/order.js
View file @
5168ec76
...
@@ -557,6 +557,7 @@ export function orderExportSearch(params){
...
@@ -557,6 +557,7 @@ export function orderExportSearch(params){
return
request
({
return
request
({
url
:
'
/ecw/order/export/search
'
,
url
:
'
/ecw/order/export/search
'
,
method
:
'
GET
'
,
method
:
'
GET
'
,
timeout
:
5
*
60000
,
responseType
:
'
arraybuffer
'
,
responseType
:
'
arraybuffer
'
,
params
params
})
})
...
@@ -568,6 +569,7 @@ export function orderExportMySearch(params){
...
@@ -568,6 +569,7 @@ export function orderExportMySearch(params){
url
:
'
/ecw/order/export/my/search
'
,
url
:
'
/ecw/order/export/my/search
'
,
responseType
:
'
arraybuffer
'
,
responseType
:
'
arraybuffer
'
,
method
:
'
GET
'
,
method
:
'
GET
'
,
timeout
:
5
*
60000
,
params
params
})
})
}
}
...
@@ -578,6 +580,7 @@ export function orderExportDeptSearch(params){
...
@@ -578,6 +580,7 @@ export function orderExportDeptSearch(params){
url
:
'
/ecw/order/export/dept/search
'
,
url
:
'
/ecw/order/export/dept/search
'
,
method
:
'
GET
'
,
method
:
'
GET
'
,
responseType
:
'
arraybuffer
'
,
responseType
:
'
arraybuffer
'
,
timeout
:
5
*
60000
,
params
params
})
})
}
}
...
@@ -588,6 +591,7 @@ export function exportAbnormal(params){
...
@@ -588,6 +591,7 @@ export function exportAbnormal(params){
url
:
'
/ecw/order/export/export-exception
'
,
url
:
'
/ecw/order/export/export-exception
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
,
params
:
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
...
@@ -599,6 +603,7 @@ export function exportHeavyOrder(params){
...
@@ -599,6 +603,7 @@ export function exportHeavyOrder(params){
url
:
'
/ecw/order/export/export-heavyOrder
'
,
url
:
'
/ecw/order/export/export-heavyOrder
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
,
params
:
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
...
@@ -609,6 +614,7 @@ export function exportReturnOrder(params){
...
@@ -609,6 +614,7 @@ export function exportReturnOrder(params){
url
:
'
/ecw/order/export/export-returnOrder
'
,
url
:
'
/ecw/order/export/export-returnOrder
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
,
params
:
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
...
@@ -619,6 +625,7 @@ export function exportSaleRepay(params){
...
@@ -619,6 +625,7 @@ export function exportSaleRepay(params){
url
:
'
/ecw/order/export/export-saleRepay
'
,
url
:
'
/ecw/order/export/export-saleRepay
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
,
params
:
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
...
@@ -630,6 +637,7 @@ export function exportCustomsDatas(params){
...
@@ -630,6 +637,7 @@ export function exportCustomsDatas(params){
url
:
'
/ecw/order/export/export-customDatas
'
,
url
:
'
/ecw/order/export/export-customDatas
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
,
params
:
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
...
@@ -641,6 +649,7 @@ export function exportShippingDatas(params){
...
@@ -641,6 +649,7 @@ export function exportShippingDatas(params){
url
:
'
/ecw/order/export/export-shipDatas
'
,
url
:
'
/ecw/order/export/export-shipDatas
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
,
params
:
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
...
@@ -652,6 +661,7 @@ export function exportShipFee(params){
...
@@ -652,6 +661,7 @@ export function exportShipFee(params){
url
:
'
/ecw/order/export/export-shipFee
'
,
url
:
'
/ecw/order/export/export-shipFee
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
,
params
:
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
...
@@ -663,6 +673,7 @@ export function exportUnload(params){
...
@@ -663,6 +673,7 @@ export function exportUnload(params){
url
:
'
/ecw/order/export/export-excel
'
,
url
:
'
/ecw/order/export/export-excel
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
,
params
:
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
...
@@ -672,7 +683,8 @@ export function operateLogPage(params){
...
@@ -672,7 +683,8 @@ export function operateLogPage(params){
return
request
({
return
request
({
url
:
'
/ecw/order-operate-log/page
'
,
url
:
'
/ecw/order-operate-log/page
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
params
:
params
,
timeout
:
5
*
60000
})
})
}
}
...
...
src/api/system/operatelog.js
View file @
5168ec76
...
@@ -5,7 +5,8 @@ export function listOperateLog(query) {
...
@@ -5,7 +5,8 @@ export function listOperateLog(query) {
return
request
({
return
request
({
url
:
'
/system/operate-log/page
'
,
url
:
'
/system/operate-log/page
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
query
params
:
query
,
timeout
:
5
*
6000
,
})
})
}
}
...
@@ -15,6 +16,8 @@ export function exportOperateLog(query) {
...
@@ -15,6 +16,8 @@ export function exportOperateLog(query) {
url
:
'
/system/operate-log/export
'
,
url
:
'
/system/operate-log/export
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
query
,
params
:
query
,
timeout
:
5
*
6000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
src/components/ProductSelector/index.vue
View file @
5168ec76
...
@@ -39,6 +39,11 @@ export default {
...
@@ -39,6 +39,11 @@ export default {
determined
:
{
determined
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
default
:
false
},
// 是否显示已有商品,不传默认
status
:
{
type
:
[
String
,
Number
],
default
:
null
}
}
},
},
data
(){
data
(){
...
@@ -90,7 +95,8 @@ export default {
...
@@ -90,7 +95,8 @@ export default {
remoteMethod
(
keyword
){
remoteMethod
(
keyword
){
let
params
=
{
let
params
=
{
pageSize
:
keyword
?
100000
:
10
,
pageSize
:
keyword
?
100000
:
10
,
filter
:
!
this
.
determined
filter
:
!
this
.
determined
,
status
:
this
.
status
}
}
if
(
this
.
productType
){
if
(
this
.
productType
){
params
.
typeId
=
this
.
productType
params
.
typeId
=
this
.
productType
...
...
src/components/UserSelector/index.vue
View file @
5168ec76
...
@@ -17,11 +17,15 @@
...
@@ -17,11 +17,15 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getCustomerContactsSelect
,
getCustomerContacts
}
from
'
@/api/ecw/customerContacts
'
import
{
getCustomerContactsSelect
,
getCustomerContacts
}
from
'
@/api/ecw/customerContacts
'
import
{
listSimpleUsers
}
from
'
@/api/system/user
'
import
{
listS
erviceUser
,
listS
impleUsers
}
from
'
@/api/system/user
'
export
default
{
export
default
{
props
:{
props
:{
value
:
[
String
,
Number
],
value
:
[
String
,
Number
],
clearable
:
Boolean
clearable
:
Boolean
,
manage
:{
type
:
Boolean
,
default
:
false
}
},
},
data
(){
data
(){
return
{
return
{
...
@@ -44,9 +48,18 @@ export default {
...
@@ -44,9 +48,18 @@ export default {
}
}
},
},
created
(){
created
(){
if
(
this
.
manage
){
// 客户经理
listServiceUser
().
then
(
r
=>
{
this
.
list
=
r
.
data
;
})
}
else
{
// 全部客户
listSimpleUsers
().
then
(
res
=>
{
listSimpleUsers
().
then
(
res
=>
{
this
.
list
=
res
.
data
this
.
list
=
res
.
data
})
})
}
// this.init()
// this.init()
},
},
methods
:{
methods
:{
...
...
src/views/ecw/box/indexFutureBox.vue
View file @
5168ec76
...
@@ -338,10 +338,11 @@ export default {
...
@@ -338,10 +338,11 @@ export default {
//在仓 = 已入仓-已封柜
//在仓 = 已入仓-已封柜
//this.$set(this.form, 'warehousingNumber', Decimal(this.form.warehousedNumber).minus(this.form.loadingNumber))
//this.$set(this.form, 'warehousingNumber', Decimal(this.form.warehousedNumber).minus(this.form.loadingNumber))
//},
//},
/* 2023-05-06 微信群@郑屹反馈确认,由接口计算,前端无需处理
'form.loadingNumber'(){
'form.loadingNumber'(){
//在仓 = 已入仓-已封柜
//在仓 = 已入仓-已封柜
this.$set(this.form, 'warehousingNumber', Decimal(this.form.warehousedNumber).minus(this.form.loadingNumber))
this.$set(this.form, 'warehousingNumber', Decimal(this.form.warehousedNumber).minus(this.form.loadingNumber))
}
}
*/
},
},
methods
:
{
methods
:
{
getVolume
(){
getVolume
(){
...
@@ -354,10 +355,13 @@ export default {
...
@@ -354,10 +355,13 @@ export default {
}
}
let
data
=
{
let
data
=
{
transportId
:
this
.
form
.
transportType
,
transportId
:
this
.
form
.
transportType
,
channelId
:
this
.
form
.
shippingChannelId
,
departureId
:
this
.
form
.
startWarehouseId
,
departureId
:
this
.
form
.
startWarehouseId
,
objectiveId
:
this
.
form
.
destWarehouseId
objectiveId
:
this
.
form
.
destWarehouseId
}
}
// 空运才需要渠道
if
(
data
.
transportId
==
4
){
data
.
channelId
=
this
.
form
.
shippingChannelId
}
// 获得已封柜方数
// 获得已封柜方数
getBoxedVolume
(
data
).
then
(
res
=>
{
getBoxedVolume
(
data
).
then
(
res
=>
{
this
.
$set
(
this
.
form
,
'
loadingNumber
'
,
res
.
data
||
0
)
this
.
$set
(
this
.
form
,
'
loadingNumber
'
,
res
.
data
||
0
)
...
...
src/views/ecw/box/indexSea.vue
View file @
5168ec76
...
@@ -297,7 +297,7 @@ export default {
...
@@ -297,7 +297,7 @@ export default {
this
.
DICT_TYPE
.
ECW_TRANSPORT_TYPE
this
.
DICT_TYPE
.
ECW_TRANSPORT_TYPE
).
filter
((
item
)
=>
item
.
value
==
"
1
"
||
item
.
value
==
"
2
"
);
).
filter
((
item
)
=>
item
.
value
==
"
1
"
||
item
.
value
==
"
2
"
);
getWarehouseList
().
then
((
res
)
=>
(
this
.
warehouseList
=
res
.
data
));
getWarehouseList
().
then
((
res
)
=>
(
this
.
warehouseList
=
res
.
data
));
getCabinetPage
(
null
).
then
((
response
)
=>
{
getCabinetPage
(
{
status
:
0
}
).
then
((
response
)
=>
{
this
.
cabinetList
=
response
.
data
.
list
;
this
.
cabinetList
=
response
.
data
.
list
;
}
);
}
);
this
.
getList
();
this
.
getList
();
...
...
src/views/ecw/box/indexSeaAir.vue
View file @
5168ec76
...
@@ -301,7 +301,7 @@ export default {
...
@@ -301,7 +301,7 @@ export default {
this
.
DICT_TYPE
.
ECW_TRANSPORT_TYPE
this
.
DICT_TYPE
.
ECW_TRANSPORT_TYPE
).
filter
((
item
)
=>
item
.
value
==
"
4
"
);
).
filter
((
item
)
=>
item
.
value
==
"
4
"
);
getWarehouseList
().
then
((
res
)
=>
(
this
.
warehouseList
=
res
.
data
));
getWarehouseList
().
then
((
res
)
=>
(
this
.
warehouseList
=
res
.
data
));
getCabinetPage
(
null
).
then
((
response
)
=>
{
getCabinetPage
(
{
status
:
0
}
).
then
((
response
)
=>
{
this
.
cabinetList
=
response
.
data
.
list
;
this
.
cabinetList
=
response
.
data
.
list
;
}
);
}
);
this
.
getList
();
this
.
getList
();
...
...
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
View file @
5168ec76
...
@@ -319,15 +319,9 @@
...
@@ -319,15 +319,9 @@
<
/el-row
>
<
/el-row
>
<!--
关联订单弹窗
-->
<!--
关联订单弹窗
-->
<
el
-
dialog
:
title
=
"
relationOrderListDialog.title
"
:
visible
.
sync
=
"
relationOrderListDialog.visible
"
width
=
"
30%
"
append
-
to
-
body
>
<
el
-
dialog
:
title
=
"
relationOrderListDialog.title
"
:
visible
.
sync
=
"
relationOrderListDialog.visible
"
width
=
"
30%
"
append
-
to
-
body
>
<
el
-
tree
<
el
-
card
>
:
data
=
"
relationOrderListDialog.data
"
<
div
v
-
html
=
"
relationOrderListDialog.data
"
><
/div
>
node
-
key
=
"
id
"
<
/el-card
>
default
-
expand
-
all
:
expand
-
on
-
click
-
node
=
"
false
"
>
<
span
class
=
"
custom-tree-node
"
slot
-
scope
=
"
{ node, data
}
"
>
<
span
>
{{
data
.
order
.
orderNo
}}
<
/span
>
<
/span
>
<
/el-tree
>
<
el
-
row
style
=
"
margin-top: 10px;text-align: center;
"
>
<
el
-
row
style
=
"
margin-top: 10px;text-align: center;
"
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
relationOrderListDialog.visible = false
"
>
{{
$t
(
'
关闭窗口
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
relationOrderListDialog.visible = false
"
>
{{
$t
(
'
关闭窗口
'
)
}}
<
/el-button
>
<
/el-row
>
<
/el-row
>
...
@@ -526,7 +520,7 @@ export default {
...
@@ -526,7 +520,7 @@ export default {
getAllRelateOrderList
({
orderId
:
item
.
orderId
,
orderNo
:
item
.
orderNo
}
).
then
(
res
=>
{
getAllRelateOrderList
({
orderId
:
item
.
orderId
,
orderNo
:
item
.
orderNo
}
).
then
(
res
=>
{
this
.
relationOrderListDialog
.
title
=
item
.
orderNo
+
'
关联订单
'
this
.
relationOrderListDialog
.
title
=
item
.
orderNo
+
'
关联订单
'
this
.
relationOrderListDialog
.
visible
=
true
this
.
relationOrderListDialog
.
visible
=
true
this
.
relationOrderListDialog
.
data
=
[
res
.
data
]
this
.
relationOrderListDialog
.
data
=
res
.
msg
.
replace
(
/
\n
/g
,
'
<br>
'
)
}
)
}
)
}
,
}
,
...
...
src/views/ecw/box/shippingSea/nodePage/review.vue
View file @
5168ec76
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<el-form-item
:label=
"$t('申请理由')"
>
<el-form-item
:label=
"$t('申请理由')"
>
<el-input
v-model=
"reviewObj.applyReason"
type=
"textarea"
rows=
"2"
:placeholder=
"$t('请输入申请理由')"
:disabled=
"isReview"
></el-input>
<el-input
v-model=
"reviewObj.applyReason"
type=
"textarea"
rows=
"2"
:placeholder=
"$t('请输入申请理由')"
:disabled=
"isReview"
></el-input>
</el-form-item>
</el-form-item>
<span
v-if=
"voKey=='preInstallBackInfo'"
style=
"color: red;margin-left: 120px;"
>
{{
$t
(
'
请注意,预装反审后,全部提单需重新制作
'
)
}}
</span>
</el-form>
</el-form>
<el-row
class=
"operate-button"
>
<el-row
class=
"operate-button"
>
<el-button
type=
"success"
@
click=
"onSubmit"
v-show=
"!isReview"
>
{{
$t
(
'
发起申请
'
)
}}
</el-button>
<el-button
type=
"success"
@
click=
"onSubmit"
v-show=
"!isReview"
>
{{
$t
(
'
发起申请
'
)
}}
</el-button>
...
...
src/views/ecw/box/shippingSea/nodePage/tally/index.vue
View file @
5168ec76
...
@@ -178,7 +178,7 @@ export default {
...
@@ -178,7 +178,7 @@ export default {
list
.
push
({
list
.
push
({
...
oItem
,
...
oItem
,
warehouseInInfo
,
warehouseInInfo
,
//
multiSpecification: item.multiSpecification,
multiSpecification
:
item
.
multiSpecification
,
positionNo
:
oItem
.
positionNo
,
positionNo
:
oItem
.
positionNo
,
tallyStatus
:
item
.
tallyStatus
,
tallyStatus
:
item
.
tallyStatus
,
tallyTime
:
item
.
tallyTime
,
tallyTime
:
item
.
tallyTime
,
...
...
src/views/ecw/box/shippingSea/seaProcess.vue
View file @
5168ec76
...
@@ -105,6 +105,7 @@ export default {
...
@@ -105,6 +105,7 @@ export default {
currNode
:
{},
currNode
:
{},
// 数据
// 数据
processData
:
this
.
seaBaseData
,
processData
:
this
.
seaBaseData
,
errorMsg
:
this
.
$t
(
'
请先完成上一步
'
)
};
};
},
},
created
()
{},
created
()
{},
...
@@ -137,7 +138,7 @@ export default {
...
@@ -137,7 +138,7 @@ export default {
return
;
return
;
}
}
if
(
currIndex
>
this
.
currIndex
)
{
if
(
currIndex
>
this
.
currIndex
)
{
this
.
$message
.
error
(
this
.
$t
(
"
请先完成上一步
"
)
);
this
.
$message
.
error
(
this
.
errorMsg
);
return
;
return
;
}
}
this
.
currNode
=
node
;
this
.
currNode
=
node
;
...
@@ -247,6 +248,7 @@ export default {
...
@@ -247,6 +248,7 @@ export default {
(
type
===
"
departure
"
&&
val
.
shippingHasAbnormal
)
||
(
type
===
"
departure
"
&&
val
.
shippingHasAbnormal
)
||
(
type
===
"
arrival
"
&&
val
.
arrivalHasAbnormal
)
(
type
===
"
arrival
"
&&
val
.
arrivalHasAbnormal
)
)
{
)
{
this
.
errorMsg
=
this
.
$t
(
'
请先处理完出货异常,再进行操作
'
)
continue
;
continue
;
}
}
// 报关
// 报关
...
...
src/views/ecw/channel/index.vue
View file @
5168ec76
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
import
{
createChannel
,
updateChannel
,
deleteChannel
,
getChannel
,
getChannelPage
,
exportChannelExcel
}
from
"
@/api/ecw/channel
"
;
import
{
createChannel
,
updateChannel
,
deleteChannel
,
getChannel
,
getChannelPage
,
exportChannelExcel
}
from
"
@/api/ecw/channel
"
;
export
default
{
export
default
{
name
:
"
Channel
"
,
name
:
"
EcwChannelIndex
"
,
components
:
{
components
:
{
},
},
data
()
{
data
()
{
...
@@ -163,6 +163,9 @@ export default {
...
@@ -163,6 +163,9 @@ export default {
created
()
{
created
()
{
this
.
getList
();
this
.
getList
();
},
},
activated
()
{
this
.
getList
();
},
methods
:
{
methods
:
{
/** 查询列表 */
/** 查询列表 */
getList
()
{
getList
()
{
...
...
src/views/ecw/customer/query.vue
View file @
5168ec76
...
@@ -15,7 +15,8 @@
...
@@ -15,7 +15,8 @@
<el-card
style=
"margin-top: 15px;"
>
<el-card
style=
"margin-top: 15px;"
>
<el-descriptions
:column=
"4"
border
>
<el-descriptions
:column=
"4"
border
>
<el-descriptions-item
:label=
"$t('客户编号')"
>
{{
customer
.
number
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('客户编号')"
>
{{
customer
.
number
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('客户名称')"
>
{{
$l
(
customer
,
'
name
'
)
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('客户名称')"
>
{{
customer
.
name
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('客户英文名称')"
>
{{
customer
.
nameEn
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('结算方式')"
>
{{
getDictDataLabel
(
DICT_TYPE
.
CUSTOMER_BALANCE
,
customer
.
balance
)
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('结算方式')"
>
{{
getDictDataLabel
(
DICT_TYPE
.
CUSTOMER_BALANCE
,
customer
.
balance
)
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('客户生日')"
>
{{
parseTime
(
customer
.
birthday
,
'
{y
}
-{m
}
-{d
}
'
)
}}
<
/el-descriptions-item
>
<el-descriptions-item
:label=
"$t('客户生日')"
>
{{
parseTime
(
customer
.
birthday
,
'
{y
}
-{m
}
-{d
}
'
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('出货渠道')
"
>
<
el
-
descriptions
-
item
:
label
=
"
$t('出货渠道')
"
>
...
@@ -38,6 +39,7 @@
...
@@ -38,6 +39,7 @@
<
el
-
descriptions
-
item
:
label
=
"
$t('推介人')
"
>
{{
customer
.
promoterName
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('推介人')
"
>
{{
customer
.
promoterName
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('客户经理')
"
>
{{
customerService
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('客户经理')
"
>
{{
customerService
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('公司名称')
"
>
{{
customer
.
company
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('公司名称')
"
>
{{
customer
.
company
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('公司英文名称')
"
>
{{
customer
.
companyEn
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('联系地址')
"
>
{{
customer
.
address
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('联系地址')
"
>
{{
customer
.
address
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('创建时间')
"
>
{{
parseTime
(
customer
.
createTime
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('创建时间')
"
>
{{
parseTime
(
customer
.
createTime
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('创建人')
"
>
{{
customer
.
founderName
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('创建人')
"
>
{{
customer
.
founderName
}}
<
/el-descriptions-item
>
...
@@ -48,7 +50,8 @@
...
@@ -48,7 +50,8 @@
<
el
-
image
v
-
show
=
"
!!customer.picture
"
:
src
=
"
customer.picture
"
style
=
"
width: 100px;height: 100px
"
><
/el-image
>
<
el
-
image
v
-
show
=
"
!!customer.picture
"
:
src
=
"
customer.picture
"
style
=
"
width: 100px;height: 100px
"
><
/el-image
>
<
/el-descriptions-item
>
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('备注')
"
>
{{
customer
.
remarks
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('备注')
"
>
{{
customer
.
remarks
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('新老客户')
"
>
{{
customer
.
isNew
?
$t
(
'
新客户
'
)
:
$t
(
'
老客户
'
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('业绩类型')
"
>
{{
customer
.
isNew
?
$t
(
'
新客户
'
)
:
$t
(
'
老客户
'
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('付款人姓名')
"
>
{{
customer
.
payerName
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
v
-
if
=
"
permissions.includes('ecw:customer:query-card')
"
:
label
=
"
$t('身份证姓名')
"
>
{{
customer
.
carName
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
v
-
if
=
"
permissions.includes('ecw:customer:query-card')
"
:
label
=
"
$t('身份证姓名')
"
>
{{
customer
.
carName
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
v
-
if
=
"
permissions.includes('ecw:customer:query-card')
"
:
label
=
"
$t('身份证号码')
"
>
{{
customer
.
carNo
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
v
-
if
=
"
permissions.includes('ecw:customer:query-card')
"
:
label
=
"
$t('身份证号码')
"
>
{{
customer
.
carNo
}}
<
/el-descriptions-item
>
<!--
<
el
-
descriptions
-
item
:
label
=
"
$t('信用等级')
"
>
{{
customer
}}
<
/el-descriptions-item>--
>
<!--
<
el
-
descriptions
-
item
:
label
=
"
$t('信用等级')
"
>
{{
customer
}}
<
/el-descriptions-item>--
>
...
@@ -77,9 +80,12 @@
...
@@ -77,9 +80,12 @@
prop
=
"
name
"
prop
=
"
name
"
:
label
=
"
$t('联系人')
"
:
label
=
"
$t('联系人')
"
>
>
<
template
v
-
slot
=
"
{row
}
"
>
{{
$l
(
row
,
'
name
'
)
}}
<
/el-table-column
>
<
/template
>
<
el
-
table
-
column
prop
=
"
nameEn
"
:
label
=
"
$t('联系人英文名称')
"
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
<
el
-
table
-
column
prop
=
"
phoneNew
"
prop
=
"
phoneNew
"
...
@@ -168,7 +174,7 @@
...
@@ -168,7 +174,7 @@
@
change
=
"
changeDate
"
@
change
=
"
changeDate
"
style
=
"
width: 240px
"
style
=
"
width: 240px
"
value
-
format
=
"
yyyy-MM-dd HH:mm:ss
"
value
-
format
=
"
yyyy-MM-dd HH:mm:ss
"
type
=
"
dat
erange
"
type
=
"
datetim
erange
"
range
-
separator
=
"
-
"
range
-
separator
=
"
-
"
:
start
-
placeholder
=
"
$t('开始日期')
"
:
end
-
placeholder
=
"
$t('结束日期')
"
/>
:
start
-
placeholder
=
"
$t('开始日期')
"
:
end
-
placeholder
=
"
$t('结束日期')
"
/>
<
/el-form-item
>
<
/el-form-item
>
...
...
src/views/ecw/deptTarget/allAchievement.vue
View file @
5168ec76
...
@@ -73,6 +73,7 @@
...
@@ -73,6 +73,7 @@
<dict-tag
:type=
"DICT_TYPE.CUSTOMER_ESOURCE_TYPE"
:value=
"scope.row.customerType"
/>
<dict-tag
:type=
"DICT_TYPE.CUSTOMER_ESOURCE_TYPE"
:value=
"scope.row.customerType"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('业绩类型')"
align=
"center"
prop=
"achieveType"
/>
<el-table-column
:label=
"$t('报价单号')"
align=
"center"
width=
"180"
>
<el-table-column
:label=
"$t('报价单号')"
align=
"center"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
number
}}
</span>
<span>
{{
scope
.
row
.
number
}}
</span>
...
@@ -130,7 +131,7 @@
...
@@ -130,7 +131,7 @@
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
export
default
{
export
default
{
name
:
"
DeptTarge
t
"
,
name
:
"
EcwDepttargetAllachievemen
t
"
,
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
...
@@ -219,6 +220,10 @@
...
@@ -219,6 +220,10 @@
}
}
}
}
},
},
activated
()
{
this
.
getChannelList
();
this
.
getList
();
},
created
()
{
created
()
{
this
.
getChannelList
();
this
.
getChannelList
();
this
.
getList
();
this
.
getList
();
...
...
src/views/ecw/deptTarget/index.vue
View file @
5168ec76
...
@@ -154,7 +154,7 @@
...
@@ -154,7 +154,7 @@
import
{
parseTime
}
from
'
@/utils/ruoyi
'
;
import
{
parseTime
}
from
'
@/utils/ruoyi
'
;
export
default
{
export
default
{
name
:
"
DeptTarget
"
,
name
:
"
EcwDepttargetIndex
"
,
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
...
@@ -266,6 +266,10 @@ import { parseTime } from '@/utils/ruoyi';
...
@@ -266,6 +266,10 @@ import { parseTime } from '@/utils/ruoyi';
this
.
getChannelList
();
this
.
getChannelList
();
this
.
getList
();
this
.
getList
();
},
},
activated
()
{
this
.
getChannelList
();
this
.
getList
();
},
methods
:
{
methods
:
{
/** 查询部门列表 */
/** 查询部门列表 */
getDeptList
(){
getDeptList
(){
...
...
src/views/ecw/deptTarget/myAchievement.vue
View file @
5168ec76
...
@@ -71,6 +71,7 @@
...
@@ -71,6 +71,7 @@
<dict-tag
:type=
"DICT_TYPE.CUSTOMER_ESOURCE_TYPE"
:value=
"scope.row.customerType"
/>
<dict-tag
:type=
"DICT_TYPE.CUSTOMER_ESOURCE_TYPE"
:value=
"scope.row.customerType"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('业绩类型')"
align=
"center"
prop=
"achieveType"
/>
<el-table-column
:label=
"$t('报价单号')"
align=
"center"
width=
"180"
>
<el-table-column
:label=
"$t('报价单号')"
align=
"center"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
number
}}
</span>
<span>
{{
scope
.
row
.
number
}}
</span>
...
@@ -126,7 +127,7 @@
...
@@ -126,7 +127,7 @@
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
export
default
{
export
default
{
name
:
"
DeptTarge
t
"
,
name
:
"
EcwDepttargetMyachievemen
t
"
,
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
...
@@ -215,6 +216,10 @@
...
@@ -215,6 +216,10 @@
}
}
}
}
},
},
activated
()
{
this
.
getChannelList
();
this
.
getList
();
},
created
()
{
created
()
{
this
.
getChannelList
();
this
.
getChannelList
();
this
.
getList
();
this
.
getList
();
...
...
src/views/ecw/deptTarget/myDeptAchievement.vue
View file @
5168ec76
...
@@ -70,6 +70,7 @@
...
@@ -70,6 +70,7 @@
<dict-tag
:type=
"DICT_TYPE.CUSTOMER_ESOURCE_TYPE"
:value=
"scope.row.customerType"
/>
<dict-tag
:type=
"DICT_TYPE.CUSTOMER_ESOURCE_TYPE"
:value=
"scope.row.customerType"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('业绩类型')"
align=
"center"
prop=
"achieveType"
/>
<el-table-column
:label=
"$t('报价单号')"
align=
"center"
width=
"180"
>
<el-table-column
:label=
"$t('报价单号')"
align=
"center"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
number
}}
</span>
<span>
{{
scope
.
row
.
number
}}
</span>
...
@@ -126,7 +127,7 @@
...
@@ -126,7 +127,7 @@
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
export
default
{
export
default
{
name
:
"
DeptTarge
t
"
,
name
:
"
EcwDepttargetMydeptachievemen
t
"
,
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
...
...
src/views/ecw/deptTarget/myDeptTarget.vue
View file @
5168ec76
...
@@ -155,7 +155,7 @@
...
@@ -155,7 +155,7 @@
import
{
parseTime
}
from
'
@/utils/ruoyi
'
;
import
{
parseTime
}
from
'
@/utils/ruoyi
'
;
export
default
{
export
default
{
name
:
"
DeptT
arget
"
,
name
:
"
EcwDepttargetMydeptt
arget
"
,
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
...
@@ -267,13 +267,17 @@ import { parseTime } from '@/utils/ruoyi';
...
@@ -267,13 +267,17 @@ import { parseTime } from '@/utils/ruoyi';
this
.
getChannelList
();
this
.
getChannelList
();
this
.
getList
();
this
.
getList
();
},
},
activated
()
{
this
.
getChannelList
();
this
.
getList
();
},
methods
:
{
methods
:
{
/** 查询部门列表 */
/** 查询部门列表 */
getDeptList
(){
getDeptList
(){
this
.
loading
=
true
;
this
.
loading
=
true
;
myListDept
(
this
.
queryParams
).
then
(
response
=>
{
myListDept
(
this
.
queryParams
).
then
(
response
=>
{
this
.
deptList
=
this
.
handleTree
(
response
.
data
,
"
id
"
);
this
.
deptList
=
this
.
handleTree
(
response
.
data
,
"
id
"
);
console
.
log
(
"
this.deptList:
"
+
JSON
.
stringify
(
this
.
deptList
));
//
console.log("this.deptList:"+JSON.stringify(this.deptList));
this
.
deptList
.
forEach
((
item
)
=>
{
this
.
deptList
.
forEach
((
item
)
=>
{
this
.
normalizer
(
item
);
this
.
normalizer
(
item
);
// this.deptData.push(item);
// this.deptData.push(item);
...
...
src/views/ecw/order/addAssociatedOrder.vue
View file @
5168ec76
...
@@ -42,10 +42,7 @@
...
@@ -42,10 +42,7 @@
{{
parseTime
(
row
.
rucangTime
)
}}
{{
parseTime
(
row
.
rucangTime
)
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('状态')"
>
<el-table-column
:label=
"$t('状态')"
prop=
"statusMsg"
>
<
template
v-slot:default=
"scope"
>
<dict-tag
:value=
"scope.row.status"
:type=
"DICT_TYPE.ORDER_STATUS"
></dict-tag>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
>
<el-table-column
:label=
"$t('操作')"
>
<
template
v-slot:default=
"scope"
>
<
template
v-slot:default=
"scope"
>
...
...
src/views/ecw/order/associatedOrder.vue
View file @
5168ec76
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('状态')"
prop=
"status"
>
<el-table-column
:label=
"$t('状态')"
prop=
"status"
>
<
template
v-slot:default=
"scope"
>
<
template
v-slot:default=
"scope"
>
<dict-tag
:value=
"scope.row.orderBackVO.status"
:type=
"DICT_TYPE.ORDER_STATUS"
></dict-tag>
{{
scope
.
row
.
orderBackVO
.
statusMsg
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('操作人')"
prop=
"creator"
>
<el-table-column
:label=
"$t('操作人')"
prop=
"creator"
>
...
...
src/views/ecw/order/detail.vue
View file @
5168ec76
...
@@ -305,7 +305,7 @@
...
@@ -305,7 +305,7 @@
</el-tab-pane>
</el-tab-pane>
<!-- 这个地方v-hasPermi不生效,所以换checkPermi函数检查 -->
<!-- 这个地方v-hasPermi不生效,所以换checkPermi函数检查 -->
<el-tab-pane
:label=
"$t('操作日志')"
name=
"five"
v-if=
"checkPermi(['ecw:order:logs'])"
>
<el-tab-pane
:label=
"$t('操作日志')"
name=
"five"
v-if=
"checkPermi(['ecw:order:logs'])"
>
<el-table
:data=
"logs"
>
<el-table
:data=
"logs"
v-loading=
"logsLoading"
>
<el-table-column
:label=
"$t('时间')"
width=
"150"
>
<el-table-column
:label=
"$t('时间')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
{{
parseTime
(
row
.
createTime
)
}}
</
template
>
<
template
slot-scope=
"{row}"
>
{{
parseTime
(
row
.
createTime
)
}}
</
template
>
</el-table-column>
</el-table-column>
...
@@ -460,7 +460,7 @@ export default {
...
@@ -460,7 +460,7 @@ export default {
showWarehouseInItemId
:
null
,
// 当前显示的入仓
showWarehouseInItemId
:
null
,
// 当前显示的入仓
showFeeDetailDialog
:
null
,
// 是否显示费用详情弹层
showFeeDetailDialog
:
null
,
// 是否显示费用详情弹层
feeDetail
:
null
,
// 费用详情
feeDetail
:
null
,
// 费用详情
logsLoading
:
false
,
// 日志加载中
logs
:
[],
// 操作日志
logs
:
[],
// 操作日志
activeNames
:
[],
//显示隐藏订单基本信息
activeNames
:
[],
//显示隐藏订单基本信息
showText
:
this
.
$t
(
'
显示更多
'
)
showText
:
this
.
$t
(
'
显示更多
'
)
...
@@ -668,8 +668,11 @@ export default {
...
@@ -668,8 +668,11 @@ export default {
}
,
}
,
// 加载操作日志
// 加载操作日志
loadLogs
(){
loadLogs
(){
this
.
logsLoading
=
true
operateLogPage
({
orderId
:
this
.
orderId
,
page
:
1
,
rows
:
10000
}
).
then
(
res
=>
{
operateLogPage
({
orderId
:
this
.
orderId
,
page
:
1
,
rows
:
10000
}
).
then
(
res
=>
{
this
.
logs
=
res
.
data
.
list
this
.
logs
=
res
.
data
.
list
}
).
finally
(()
=>
{
this
.
logsLoading
=
false
}
)
}
)
}
,
}
,
downloadPackingList
(){
downloadPackingList
(){
...
...
src/views/ecw/order/exception/index.vue
View file @
5168ec76
...
@@ -197,6 +197,7 @@
...
@@ -197,6 +197,7 @@
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_bulky_cargo_exception'"
v-hasPermi=
"['ecw:exception:bulkyCargo']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_bulky_cargo_exception'"
v-hasPermi=
"['ecw:exception:bulkyCargo']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_pick_up_exception'"
v-hasPermi=
"['ecw:exception:pickUp']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_pick_up_exception'"
v-hasPermi=
"['ecw:exception:pickUp']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='not_customer_service_exception'"
v-hasPermi=
"['ecw:exception:notCustomer']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='not_customer_service_exception'"
v-hasPermi=
"['ecw:exception:notCustomer']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='goods_add_exception'"
v-hasPermi=
"['ecw:exception:goodsAddException']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row.orderId)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/ecw/order/index.vue
View file @
5168ec76
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<dict-selector
:type=
"DICT_TYPE.ECW_WAREHOUSING_TYPE"
v-model=
"queryParams.warehouseType"
clearable
/>
<dict-selector
:type=
"DICT_TYPE.ECW_WAREHOUSING_TYPE"
v-model=
"queryParams.warehouseType"
clearable
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('客户经理')"
>
<el-form-item
:label=
"$t('客户经理')"
>
<user-selector
v-model=
"queryParams.salesmanId"
clearable
@
change=
"handleQuery"
/>
<user-selector
manage
v-model=
"queryParams.salesmanId"
clearable
@
change=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('订单状态')"
prop=
"status"
>
<el-form-item
:label=
"$t('订单状态')"
prop=
"status"
>
<dict-selector
:type=
"DICT_TYPE.ORDER_STATUS"
v-model=
"queryParams.status"
<dict-selector
:type=
"DICT_TYPE.ORDER_STATUS"
v-model=
"queryParams.status"
...
@@ -330,9 +330,7 @@
...
@@ -330,9 +330,7 @@
<!-- 合单日志,提货日志 -->
<!-- 合单日志,提货日志 -->
<
template
v-if=
"(
<
template
v-if=
"(
scope.row.status > 2 &&
scope.row.status > 2
exclude(scope.row.status + '-' + scope.row.shipmentState, ['17-391', '18-392', '15-332', '15-330']) &&
exclude(scope.row.status + '-' + scope.row.inWarehouseState, ['16-202'])
)"
>
)"
>
<el-dropdown-item
@
click.native=
"showMergedLogOrderNo=scope.row.orderNo"
v-hasPermi=
"['ecw:order:merge_log']"
>
{{
$t
(
'
合单日志
'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"showMergedLogOrderNo=scope.row.orderNo"
v-hasPermi=
"['ecw:order:merge_log']"
>
{{
$t
(
'
合单日志
'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"showPickupLogOrderNo=scope.row.orderNo"
v-hasPermi=
"['ecw:order:split_log']"
>
{{
$t
(
'
提货日志
'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"showPickupLogOrderNo=scope.row.orderNo"
v-hasPermi=
"['ecw:order:split_log']"
>
{{
$t
(
'
提货日志
'
)
}}
</el-dropdown-item>
...
...
src/views/ecw/order/mutexOrder.vue
View file @
5168ec76
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('状态')"
prop=
"status"
>
<el-table-column
:label=
"$t('状态')"
prop=
"status"
>
<
template
v-slot:default=
"scope"
>
<
template
v-slot:default=
"scope"
>
<dict-tag
:value=
"scope.row.orderBackVO.status"
:type=
"DICT_TYPE.ORDER_STATUS"
></dict-tag>
{{
scope
.
row
.
orderBackVO
.
statusMsg
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('操作人')"
>
<el-table-column
:label=
"$t('操作人')"
>
...
...
src/views/ecw/order/notMutexOrder.vue
View file @
5168ec76
...
@@ -42,10 +42,7 @@
...
@@ -42,10 +42,7 @@
{{
parseTime
(
row
.
rucangTime
)
}}
{{
parseTime
(
row
.
rucangTime
)
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('状态')"
>
<el-table-column
:label=
"$t('状态')"
prop=
"statusMsg"
>
<
template
v-slot:default=
"scope"
>
<dict-tag
:value=
"scope.row.status"
:type=
"DICT_TYPE.ORDER_STATUS"
></dict-tag>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
>
<el-table-column
:label=
"$t('操作')"
>
<
template
v-slot:default=
"scope"
>
<
template
v-slot:default=
"scope"
>
...
...
src/views/ecw/order/pending.vue
View file @
5168ec76
...
@@ -127,6 +127,7 @@
...
@@ -127,6 +127,7 @@
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_bulky_cargo_exception'"
v-hasPermi=
"['ecw:exception:bulkyCargo']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_bulky_cargo_exception'"
v-hasPermi=
"['ecw:exception:bulkyCargo']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_pick_up_exception'"
v-hasPermi=
"['ecw:exception:pickUp']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='order_pick_up_exception'"
v-hasPermi=
"['ecw:exception:pickUp']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='not_customer_service_exception'"
v-hasPermi=
"['ecw:exception:notCustomer']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='not_customer_service_exception'"
v-hasPermi=
"['ecw:exception:notCustomer']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
<el-button
v-else-if=
"scope.row.orderExceptionType=='goods_add_exception'"
v-hasPermi=
"['ecw:exception:goodsAddException']"
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handEdit(scope.row)"
>
{{
$t
(
'
处理
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/ecw/order/prepayDeal.vue
View file @
5168ec76
...
@@ -326,7 +326,7 @@
...
@@ -326,7 +326,7 @@
<
/el-row
>
<
/el-row
>
<
el
-
row
v
-
else
-
if
=
"
orderExceptionData.orderExceptionType!='order_miss_exception'&&orderExceptionData.orderExceptionType!='order_superfluous_goods_exception'&&orderExceptionData.orderExceptionType!='order_in_water_exception'&&orderExceptionData.orderExceptionType!='order_damage_exception'
"
>
<
el
-
row
v
-
else
-
if
=
"
orderExceptionData.orderExceptionType!='order_miss_exception'&&orderExceptionData.orderExceptionType!='order_superfluous_goods_exception'&&orderExceptionData.orderExceptionType!='order_in_water_exception'&&orderExceptionData.orderExceptionType!='order_damage_exception'
"
>
<
el
-
form
-
item
:
label
=
"
$t('处理结果')+':'
"
required
>
<
el
-
form
-
item
:
label
=
"
$t('处理结果')+':'
"
required
>
<
el
-
select
v
-
model
=
"
handlerParams.orderExceptionHandlerResult
"
:
placeholder
=
"
$t('请选择')
"
clearable
>
<
el
-
select
v
-
model
=
"
handlerParams.orderExceptionHandlerResult
"
:
placeholder
=
"
$t('请选择')
"
clearable
@
change
=
"
handlerResultChange
"
>
<
template
v
-
for
=
"
dict in getDictDatas(orderExceptionData.orderExceptionType+'_result')
"
>
<
template
v
-
for
=
"
dict in getDictDatas(orderExceptionData.orderExceptionType+'_result')
"
>
<
el
-
option
:
disabled
=
"
dict.value=='pending'
"
:
key
=
"
dict.value
"
:
label
=
"
$l(dict, 'label')
"
:
value
=
"
dict.value
"
/>
<
el
-
option
:
disabled
=
"
dict.value=='pending'
"
:
key
=
"
dict.value
"
:
label
=
"
$l(dict, 'label')
"
:
value
=
"
dict.value
"
/>
<
/template
>
<
/template
>
...
@@ -348,8 +348,10 @@
...
@@ -348,8 +348,10 @@
class
=
"
mb-0 mr-0
"
class
=
"
mb-0 mr-0
"
>
>
<
product
-
selector
<
product
-
selector
:
status
=
"
0
"
@
hook
:
mounted
=
"
onTableMounted
"
@
hook
:
mounted
=
"
onTableMounted
"
v
-
model
=
"
handlerParams.productId
"
v
-
model
=
"
productId2
"
@
change
=
"
onProductChange($event)
"
/>
/>
<
/el-form-item
>
<
/el-form-item
>
<
/el-row
>
<
/el-row
>
...
@@ -367,8 +369,9 @@
...
@@ -367,8 +369,9 @@
>
>
<
product
-
selector
<
product
-
selector
lang
=
"
En
"
lang
=
"
En
"
@
hook
:
mounted
=
"
onTableMounted
"
:
status
=
"
0
"
v
-
model
=
"
handlerParams.productId
"
v
-
model
=
"
productId1
"
@
change
=
"
onProductChange($event)
"
/>
/>
<
/el-form-item
>
<
/el-form-item
>
<
/el-row
>
<
/el-row
>
...
@@ -522,6 +525,8 @@
...
@@ -522,6 +525,8 @@
region
:
''
,
region
:
''
,
customerData
:{
}
,
//归属客户
customerData
:{
}
,
//归属客户
customerServiceList
:[],
//客户经理
customerServiceList
:[],
//客户经理
productId1
:
null
,
productId2
:
null
}
;
}
;
}
,
}
,
created
()
{
created
()
{
...
@@ -571,6 +576,8 @@
...
@@ -571,6 +576,8 @@
if
(
this
.
orderExceptionData
.
orderItemId
&&
this
.
orderData
&&
this
.
orderData
.
orderItemVOList
){
if
(
this
.
orderExceptionData
.
orderItemId
&&
this
.
orderData
&&
this
.
orderData
.
orderItemVOList
){
if
(
this
.
orderExceptionData
.
orderExceptionType
==
'
goods_add_exception
'
&&!
this
.
handlerParams
.
productId
){
if
(
this
.
orderExceptionData
.
orderExceptionType
==
'
goods_add_exception
'
&&!
this
.
handlerParams
.
productId
){
this
.
handlerParams
.
productId
=
this
.
orderData
.
orderItemVOList
.
find
(
item
=>
item
.
orderItemId
==
this
.
orderExceptionData
.
orderItemId
).
prodId
this
.
handlerParams
.
productId
=
this
.
orderData
.
orderItemVOList
.
find
(
item
=>
item
.
orderItemId
==
this
.
orderExceptionData
.
orderItemId
).
prodId
// this.productId1 = this.handlerParams.productId
// this.productId2 = this.handlerParams.productId
}
}
console
.
log
(
this
.
orderData
.
orderItemVOList
.
find
(
item
=>
item
.
orderItemId
==
this
.
orderExceptionData
.
orderItemId
))
console
.
log
(
this
.
orderData
.
orderItemVOList
.
find
(
item
=>
item
.
orderItemId
==
this
.
orderExceptionData
.
orderItemId
))
return
this
.
orderData
.
orderItemVOList
.
find
(
item
=>
item
.
orderItemId
==
this
.
orderExceptionData
.
orderItemId
)
return
this
.
orderData
.
orderItemVOList
.
find
(
item
=>
item
.
orderItemId
==
this
.
orderExceptionData
.
orderItemId
)
...
@@ -661,6 +668,13 @@
...
@@ -661,6 +668,13 @@
}
}
return
this
.
$t
(
'
无
'
)
return
this
.
$t
(
'
无
'
)
}
,
}
,
//新增异常处理结果切换
handlerResultChange
(){
// if(this.orderExceptionData.orderExceptionType=='goods_add_exception')
{
// this.productId1 = this.handlerParams.productId
// this.productId2 = this.handlerParams.productId
//
}
}
,
submitForm
(){
submitForm
(){
if
(
!
this
.
handlerParams
.
orderExceptionHandlerResult
){
if
(
!
this
.
handlerParams
.
orderExceptionHandlerResult
){
this
.
$modal
.
msgError
(
this
.
$t
(
'
请选择处理结果
'
));
this
.
$modal
.
msgError
(
this
.
$t
(
'
请选择处理结果
'
));
...
@@ -673,12 +687,20 @@
...
@@ -673,12 +687,20 @@
//
}
//
}
this
.
handlerParams
.
files
=
Array
.
isArray
(
this
.
handlerParams
.
fileList
)
?
this
.
handlerParams
.
fileList
.
join
(
'
,
'
)
:
this
.
handlerParams
.
fileList
this
.
handlerParams
.
files
=
Array
.
isArray
(
this
.
handlerParams
.
fileList
)
?
this
.
handlerParams
.
fileList
.
join
(
'
,
'
)
:
this
.
handlerParams
.
fileList
}
}
handlerExceptionByExceptionId
(
this
.
handlerParams
).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
'
提交成功
'
));
if
(
this
.
orderExceptionData
.
orderExceptionType
==
'
goods_add_exception
'
&&
this
.
handlerParams
.
orderExceptionHandlerResult
==
'
goods_absent
'
){
if
(
this
.
orderExceptionData
.
orderExceptionType
==
'
goods_add_exception
'
&&
this
.
handlerParams
.
orderExceptionHandlerResult
==
'
goods_absent
'
){
this
.
$redirect
(
'
/product/product-list?prodId=
'
+
this
.
handlerParams
.
productId
)
this
.
$redirect
(
'
/product/product-list?prodId=
'
+
this
.
handlerParams
.
productId
)
return
}
}
if
(
this
.
orderExceptionData
.
orderExceptionType
==
'
goods_add_exception
'
&&
this
.
handlerParams
.
orderExceptionHandlerResult
==
'
goods_exists
'
){
if
(
this
.
productId1
){
this
.
handlerParams
.
productId
=
this
.
productId1
}
else
{
this
.
$modal
.
msgError
(
this
.
$t
(
'
请选择产品
'
));
return
}
}
handlerExceptionByExceptionId
(
this
.
handlerParams
).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
'
提交成功
'
));
this
.
$redirect
(
'
/order/pending?id=
'
+
this
.
orderData
.
orderId
)
this
.
$redirect
(
'
/order/pending?id=
'
+
this
.
orderData
.
orderId
)
}
)
}
)
}
,
}
,
...
@@ -740,6 +762,15 @@
...
@@ -740,6 +762,15 @@
onClickClosePreview
(
val
){
onClickClosePreview
(
val
){
this
.
IsPreview
=
val
// 由组件内部传入的关闭数据赋值关闭
this
.
IsPreview
=
val
// 由组件内部传入的关闭数据赋值关闭
}
,
}
,
onProductChange
(
product
){
if
(
!
product
){
this
.
productId1
=
null
this
.
productId2
=
null
return
false
}
this
.
productId1
=
product
.
id
this
.
productId2
=
product
.
id
}
,
}
}
}
;
}
;
<
/script
>
<
/script
>
...
...
src/views/ecw/order/warehousing/index.vue
View file @
5168ec76
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
:label=
"$t('入库货物属性')"
>
:label=
"$t('入库货物属性')"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
<template
v-if=
"row.warehouseInInfoVO"
>
<template
v-if=
"row.warehouseInInfoVO"
>
{{
$t
(
'
品牌
'
)
}}
:
{{
[
$t
(
'
无牌
'
),
$t
(
'
有牌
'
),
$t
(
'
中性
'
)][
row
.
feeType
]
}}
<br>
{{
$t
(
'
品牌
'
)
}}
:
{{
row
.
brandName
}}
<br>
{{
$t
(
'
箱数
'
)
}}
:
{{
row
.
warehouseInInfoVO
.
cartonsNum
}}
<br>
{{
$t
(
'
箱数
'
)
}}
:
{{
row
.
warehouseInInfoVO
.
cartonsNum
}}
<br>
{{
$t
(
'
体积
'
)
}}
:
{{
row
.
warehouseInInfoVO
.
volume
}}
m³
<br>
{{
$t
(
'
体积
'
)
}}
:
{{
row
.
warehouseInInfoVO
.
volume
}}
m³
<br>
{{
$t
(
'
重量
'
)
}}
:
{{
row
.
warehouseInInfoVO
.
weight
}}
Kg
{{
$t
(
'
重量
'
)
}}
:
{{
row
.
warehouseInInfoVO
.
weight
}}
Kg
...
...
src/views/ecw/product/index.vue
View file @
5168ec76
...
@@ -159,6 +159,13 @@
...
@@ -159,6 +159,13 @@
</el-form-item>
</el-form-item>
<el-form-item
prop=
"auditStatus"
:label=
"$t('是否审核')"
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"form.auditStatus"
>
<el-option
v-for=
"auditStatusItem in auditStatusDictDatas"
:key=
"auditStatusItem.id"
:label=
"$l(auditStatusItem, 'label')"
:value=
"parseInt(auditStatusItem.value)"
/>
</el-select>
</
template
>
</el-form-item>
<el-form-item
:label=
"$t('商品编码')"
prop=
"productCode"
>
<el-form-item
:label=
"$t('商品编码')"
prop=
"productCode"
>
<el-input
v-model=
"form.productCode"
:placeholder=
"$t('请输入商品编码')"
/>
<el-input
v-model=
"form.productCode"
:placeholder=
"$t('请输入商品编码')"
/>
</el-form-item>
</el-form-item>
...
@@ -328,6 +335,7 @@ export default {
...
@@ -328,6 +335,7 @@ export default {
packagingList
:
getDictDatas
(
DICT_TYPE
.
ECW_PACKAGING_TYPE
),
packagingList
:
getDictDatas
(
DICT_TYPE
.
ECW_PACKAGING_TYPE
),
locationList
:
getDictDatas
(
DICT_TYPE
.
ECW_CONTAINER_LOCATION
),
locationList
:
getDictDatas
(
DICT_TYPE
.
ECW_CONTAINER_LOCATION
),
preferentialList
:[],
preferentialList
:[],
exceptionProductId
:
0
//新增商品异常传的id
};
};
},
},
...
@@ -372,13 +380,17 @@ export default {
...
@@ -372,13 +380,17 @@ export default {
if
(
this
.
$route
.
query
.
typeId
!=
this
.
queryParams
.
typeId
){
if
(
this
.
$route
.
query
.
typeId
!=
this
.
queryParams
.
typeId
){
this
.
queryParams
.
typeId
=
+
this
.
$route
.
query
.
typeId
||
null
this
.
queryParams
.
typeId
=
+
this
.
$route
.
query
.
typeId
||
null
}
}
//新增商品异常跳转商品修改
if
(
this
.
$route
.
query
.
prodId
){
this
.
exceptionProductId
=
this
.
$route
.
query
.
prodId
this
.
handleUpdate
({
id
:
this
.
$route
.
query
.
prodId
})
}
this
.
getList
()
this
.
getList
()
},
},
created
()
{
created
()
{
console
.
log
(
111
)
//新增商品异常跳转商品修改
//新增商品异常跳转商品修改
if
(
this
.
$route
.
query
.
prodId
){
if
(
this
.
$route
.
query
.
prodId
){
console
.
log
(
this
.
$route
.
query
.
prodId
)
this
.
exceptionProductId
=
this
.
$route
.
query
.
prodId
this
.
handleUpdate
({
id
:
this
.
$route
.
query
.
prodId
})
this
.
handleUpdate
({
id
:
this
.
$route
.
query
.
prodId
})
}
}
let
typeId
=
this
.
$route
.
query
.
typeId
;
let
typeId
=
this
.
$route
.
query
.
typeId
;
...
@@ -499,7 +511,7 @@ export default {
...
@@ -499,7 +511,7 @@ export default {
const
id
=
row
.
id
;
const
id
=
row
.
id
;
getProduct
(
id
).
then
(
response
=>
{
getProduct
(
id
).
then
(
response
=>
{
this
.
form
=
{...
response
.
data
,
couponIds
:[]};
this
.
form
=
{...
response
.
data
,
couponIds
:[]};
let
attrArray
=
this
.
form
.
attrId
.
split
(
'
,
'
)
;
let
attrArray
=
this
.
form
.
attrId
?
this
.
form
.
attrId
.
split
(
'
,
'
):[]
;
for
(
let
index
in
attrArray
)
{
for
(
let
index
in
attrArray
)
{
let
value
=
attrArray
[
index
];
let
value
=
attrArray
[
index
];
attrArray
[
index
]
=
parseInt
(
value
);
attrArray
[
index
]
=
parseInt
(
value
);
...
@@ -528,9 +540,17 @@ export default {
...
@@ -528,9 +540,17 @@ export default {
this
.
form
.
attrId
=
this
.
form
.
attrArray
.
join
(
'
,
'
);
this
.
form
.
attrId
=
this
.
form
.
attrArray
.
join
(
'
,
'
);
// 修改的提交
// 修改的提交
if
(
this
.
form
.
id
!=
null
)
{
if
(
this
.
form
.
id
!=
null
)
{
if
(
this
.
exceptionProductId
){
this
.
form
.
productId
=
this
.
exceptionProductId
this
.
form
.
status
=
0
}
updateProduct
(
this
.
form
).
then
(
response
=>
{
updateProduct
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
修改成功
"
));
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
修改成功
"
));
this
.
open
=
false
;
this
.
open
=
false
;
if
(
this
.
exceptionProductId
){
this
.
exceptionProductId
=
null
this
.
$router
.
replace
({
path
:
'
/product/product-list
'
})
}
this
.
getList
();
this
.
getList
();
});
});
return
;
return
;
...
...
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