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
1e8e4000
Commit
1e8e4000
authored
Oct 26, 2023
by
Marcus
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
5b725b70
90333a9f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
184 additions
and
9 deletions
+184
-9
SidebarItem.vue
src/layout/components/Sidebar/SidebarItem.vue
+1
-1
index.vue
src/layout/components/Sidebar/index.vue
+1
-5
user.js
src/store/modules/user.js
+9
-0
arrival.vue
src/views/ecw/box/shippingAir/nodePage/arrival.vue
+169
-2
penddingList.vue
src/views/ecw/order/penddingList.vue
+3
-0
edit.vue
src/views/ecw/productPrice/edit.vue
+1
-1
No files found.
src/layout/components/Sidebar/SidebarItem.vue
View file @
1e8e4000
...
@@ -56,7 +56,7 @@ export default {
...
@@ -56,7 +56,7 @@ export default {
},
},
computed
:{
computed
:{
badge
(){
badge
(){
return
this
.
$store
.
getters
.
badgeData
[
this
.
item
.
meta
.
badgeField
]
return
this
.
$store
.
getters
.
badgeData
[
this
.
item
.
meta
?
.
badgeField
]
}
}
},
},
methods
:
{
methods
:
{
...
...
src/layout/components/Sidebar/index.vue
View file @
1e8e4000
...
@@ -55,11 +55,7 @@ export default {
...
@@ -55,11 +55,7 @@ export default {
}
}
},
},
created
()
{
created
()
{
// 查询待出订单数量 waitingShipment
this
.
$store
.
dispatch
(
'
getBadgeData
'
)
getWaitingShipmentCount
().
then
(
res
=>
{
console
.
log
(
'
getWaitingShipmentCount
'
,
res
.
data
)
this
.
$store
.
commit
(
'
SET_BADGE_DATA
'
,
{
waitingShipment
:
res
.
data
},
)
})
}
}
};
};
</
script
>
</
script
>
src/store/modules/user.js
View file @
1e8e4000
...
@@ -2,6 +2,7 @@ import {login, logout, getInfo, socialLogin, socialLogin2} from '@/api/login'
...
@@ -2,6 +2,7 @@ import {login, logout, getInfo, socialLogin, socialLogin2} from '@/api/login'
import
{
getToken
,
setToken
,
removeToken
}
from
'
@/utils/auth
'
import
{
getToken
,
setToken
,
removeToken
}
from
'
@/utils/auth
'
import
{
getNotReadInternalMessageTotal
,}
from
'
@/api/system/internalMessage
'
import
{
getNotReadInternalMessageTotal
,}
from
'
@/api/system/internalMessage
'
import
{
taskTodoCount
,
userMark
}
from
"
@/api/bpm/task
"
;
import
{
taskTodoCount
,
userMark
}
from
"
@/api/bpm/task
"
;
import
{
getWaitingShipmentCount
}
from
"
@/api/ecw/order
"
;
const
user
=
{
const
user
=
{
state
:
{
state
:
{
...
@@ -202,6 +203,14 @@ const user = {
...
@@ -202,6 +203,14 @@ const user = {
reject
(
err
)
reject
(
err
)
})
})
})
})
},
// 获取菜单角标数据,当前只有空运待出
getBadgeData
({
commit
}){
// 查询待出订单数量 waitingShipment
getWaitingShipmentCount
().
then
(
res
=>
{
console
.
log
(
'
getWaitingShipmentCount
'
,
res
.
data
)
commit
(
'
SET_BADGE_DATA
'
,
{
waitingShipment
:
res
.
data
},
)
})
}
}
}
}
}
}
...
...
src/views/ecw/box/shippingAir/nodePage/arrival.vue
View file @
1e8e4000
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<el-radio
:label=
"1"
>
{{
$t
(
'
多次到港
'
)
}}
</el-radio>
<el-radio
:label=
"1"
>
{{
$t
(
'
多次到港
'
)
}}
</el-radio>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('选择订单')"
prop=
"arriveOrderIdList"
v-show=
"airArrivalInfo.arriveType == 1"
>
<
!--
<
el-form-item
:label=
"$t('选择订单')"
prop=
"arriveOrderIdList"
v-show=
"airArrivalInfo.arriveType == 1"
>
<el-select
<el-select
v-model=
"airArrivalInfo.arriveOrderIdList"
v-model=
"airArrivalInfo.arriveOrderIdList"
multiple
multiple
...
@@ -25,6 +25,18 @@
...
@@ -25,6 +25,18 @@
:value=
"item.orderId"
>
:value=
"item.orderId"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
-->
<el-form-item
:label=
"$t('选择订单')"
prop=
"arriveOrderIdList"
v-show=
"airArrivalInfo.arriveType == 1"
>
<span
v-for=
"order in selectOrders"
:key=
"order.id"
>
{{
order
.
orderNo
}}
</span>
<el-button
type=
"primary"
@
click=
"orderdialogVisible = true"
>
{{
$t
(
"
订单列表
"
)
}}
</el-button>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('已到港订单')"
v-show=
"airArrivalInfo.arriveType == 1"
>
<el-form-item
:label=
"$t('已到港订单')"
v-show=
"airArrivalInfo.arriveType == 1"
>
<span
v-for=
"order in airArrivalInfo.arrivalOrderList"
:key=
"order.id"
>
{{
order
.
orderNo
}}
</span>
<span
v-for=
"order in airArrivalInfo.arrivalOrderList"
:key=
"order.id"
>
{{
order
.
orderNo
}}
</span>
...
@@ -59,6 +71,78 @@
...
@@ -59,6 +71,78 @@
<el-dialog
custom-class=
"shipping-dialog"
:title=
"$t('票异常')"
:visible.sync=
"dialogVisible"
width=
"700px"
:modal-append-to-body=
false
append-to-body
destroy-on-close
>
<el-dialog
custom-class=
"shipping-dialog"
:title=
"$t('票异常')"
:visible.sync=
"dialogVisible"
width=
"700px"
:modal-append-to-body=
false
append-to-body
destroy-on-close
>
<regError
@
closeDialog=
"regCloseDialog"
v-bind=
"$attrs"
/>
<regError
@
closeDialog=
"regCloseDialog"
v-bind=
"$attrs"
/>
</el-dialog>
</el-dialog>
<!-- 订单列表 -->
<el-dialog
:fullscreen=
"true"
:title=
"$t('选择订单')"
:visible.sync=
"orderdialogVisible"
:modal-append-to-body=
"false"
append-to-body
destroy-on-close
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"7"
>
{{ $t("关键字:") }}
<el-input
style=
"width: 300px"
v-model=
"orderKeyword"
:placeholder=
"$t('请输入订单号、提单号、唛头')"
/>
</el-col>
<el-col
:span=
"7"
>
{{ $t("到港状态") }}
<el-select
v-model=
"orderPortStatus"
>
<el-option
:value=
"0"
:label=
"$t('未到港')"
/>
<el-option
:value=
"1"
:label=
"$t('已到港')"
/>
</el-select>
</el-col>
<el-col
:span=
"7"
>
{{ $t("清关状态") }}
<el-select
v-model=
"orderCustomsClearanceStatus"
>
<el-option
:value=
"0"
:label=
"$t('未清关')"
/>
<el-option
:value=
"1"
:label=
"$t('已清关')"
/>
</el-select>
</el-col>
<el-col
:span=
"3"
>
<el-button
type=
"primary"
@
click=
"searchOrderList"
>
{{ $t("查询") }}
</el-button
>
</el-col>
</el-row>
<div
style=
"margin-top: 10px"
>
<el-button
type=
"primary"
@
click=
"multipleSelect"
>
{{ $t("批量选择") }}
</el-button>
</div>
<el-table
style=
"margin-top: 10px"
:data=
"statusOrderList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
<el-table-column
:label=
"$t('序号')"
type=
"index"
width=
"50"
>
</el-table-column>
<el-table-column
:label=
"$t('订单号')"
prop=
"orderNo"
/>
<el-table-column
:label=
"$t('唛头')"
prop=
"marks"
/>
<el-table-column
:label=
"$t('提单号')"
prop=
"tidanNo"
/>
<el-table-column
width=
"150"
:label=
"$t('总箱数/入仓箱数')"
prop=
""
/>
<el-table-column
:label=
"$t('体积/重量')"
prop=
""
/>
<el-table-column
:label=
"$t('清关状态')"
prop=
"clear"
/>
<el-table-column
:label=
"$t('到港状态')"
prop=
"arrival"
/>
<el-table-column
:label=
"$t('控货')"
prop=
""
/>
<el-table-column
:label=
"$t('订单状态')"
prop=
""
/>
<el-table-column
:label=
"$t('操作')"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"primary"
@
click=
"selectOrder(scope.row)"
>
{{
$t
(
"
选择
"
)
}}
</el-button
>
</
template
>
</el-table-column>
</el-table>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -113,7 +197,13 @@ export default {
...
@@ -113,7 +197,13 @@ export default {
dtRealHeadTimeFlag
:
false
,
dtRealHeadTimeFlag
:
false
,
orderList
:
[],
orderList
:
[],
orderListFilter
:
[],
orderListFilter
:
[],
arrivalOrderList
:
[]
arrivalOrderList
:
[],
orderdialogVisible
:
false
,
selectOrders
:
[],
multipleSelectOrder
:
[],
orderKeyword
:
null
,
orderPortStatus
:
null
,
orderCustomsClearanceStatus
:
null
,
};
};
},
},
created
()
{
created
()
{
...
@@ -199,6 +289,32 @@ export default {
...
@@ -199,6 +289,32 @@ export default {
this
.
orderListFilter
=
this
.
orderList
this
.
orderListFilter
=
this
.
orderList
}
}
},
},
searchOrderList
()
{
if
(
this
.
orderKeyword
&&
this
.
orderKeyword
!=
""
)
{
this
.
statusOrderList
=
this
.
statusOrderList
.
filter
((
item
)
=>
{
return
(
(
item
.
orderNo
&&
item
.
orderNo
.
indexOf
(
this
.
orderKeyword
)
>
-
1
)
||
(
item
.
tidanNo
&&
item
.
tidanNo
.
indexOf
(
this
.
orderKeyword
)
>
-
1
)
||
(
item
.
marks
&&
item
.
marks
.
indexOf
(
this
.
orderKeyword
)
>
-
1
)
);
});
}
if
(
this
.
orderPortStatus
!=
null
)
{
this
.
statusOrderList
=
this
.
statusOrderList
.
filter
((
item
)
=>
{
return
item
.
arrivalValue
==
this
.
orderPortStatus
;
});
}
if
(
this
.
orderCustomsClearanceStatus
!=
null
)
{
console
.
log
(
this
.
statusOrderList
,
"
333
"
,
this
.
orderCustomsClearanceStatus
);
this
.
statusOrderList
=
this
.
statusOrderList
.
filter
((
item
)
=>
{
return
item
.
clearValue
==
this
.
orderCustomsClearanceStatus
;
});
}
},
selectOrderId
(
val
)
{
selectOrderId
(
val
)
{
if
(
val
.
length
==
1
)
{
if
(
val
.
length
==
1
)
{
let
arr
=
this
.
arrivalOrderList
.
find
((
item
)
=>
item
.
orderId
==
val
[
0
])
let
arr
=
this
.
arrivalOrderList
.
find
((
item
)
=>
item
.
orderId
==
val
[
0
])
...
@@ -213,6 +329,57 @@ export default {
...
@@ -213,6 +329,57 @@ export default {
this
.
$set
(
this
.
airArrivalInfo
,
'
actTime
'
,
null
)
this
.
$set
(
this
.
airArrivalInfo
,
'
actTime
'
,
null
)
}
}
},
},
selectOrder
(
val
)
{
this
.
selectOrders
=
[];
this
.
selectOrders
.
push
(
val
);
let
arr
=
this
.
arrivalOrderList
.
find
(
(
item
)
=>
item
.
orderId
==
val
.
orderId
);
if
(
arr
)
{
this
.
$set
(
this
.
airArrivalInfo
,
"
actSecondTime
"
,
formatDate
(
arr
.
actSecondTime
)
);
this
.
$set
(
this
.
airArrivalInfo
,
"
estTime
"
,
formatDate
(
arr
.
estTime
));
this
.
$set
(
this
.
airArrivalInfo
,
"
actTime
"
,
formatDate
(
arr
.
actTime
));
}
this
.
orderdialogVisible
=
false
;
this
.
airArrivalInfo
.
arriveOrderIdList
.
push
(
val
.
orderId
)
},
handleSelectionChange
(
val
)
{
this
.
multipleSelectOrder
=
val
;
},
// 批量选择
multipleSelect
()
{
if
(
this
.
multipleSelectOrder
.
length
==
0
)
{
this
.
$message
.
error
(
this
.
$t
(
"
请先选择订单
"
));
return
;
}
this
.
selectOrders
=
[];
this
.
selectOrders
=
this
.
multipleSelectOrder
;
if
(
this
.
multipleSelectOrder
.
length
==
1
)
{
let
arr
=
this
.
arrivalOrderList
.
find
(
(
item
)
=>
item
.
orderId
==
this
.
multipleSelectOrder
[
0
].
orderId
);
if
(
arr
)
{
this
.
$set
(
this
.
airArrivalInfo
,
"
actSecondTime
"
,
formatDate
(
arr
.
actSecondTime
)
);
this
.
$set
(
this
.
airArrivalInfo
,
"
estTime
"
,
formatDate
(
arr
.
estTime
));
this
.
$set
(
this
.
airArrivalInfo
,
"
actTime
"
,
formatDate
(
arr
.
actTime
));
}
}
else
{
this
.
$set
(
this
.
airArrivalInfo
,
"
actSecondTime
"
,
null
);
this
.
$set
(
this
.
airArrivalInfo
,
"
estTime
"
,
null
);
this
.
$set
(
this
.
airArrivalInfo
,
"
actTime
"
,
null
);
}
this
.
orderdialogVisible
=
false
;
this
.
airArrivalInfo
.
arriveOrderIdList
=
this
.
multipleSelectOrder
.
map
(
item
=>
item
.
orderId
)
},
regCloseDialog
(
type
)
{
regCloseDialog
(
type
)
{
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
;
if
(
type
===
"
error
"
)
{
if
(
type
===
"
error
"
)
{
...
...
src/views/ecw/order/penddingList.vue
View file @
1e8e4000
...
@@ -363,6 +363,7 @@ export default {
...
@@ -363,6 +363,7 @@ export default {
},
},
activated
(){
activated
(){
this
.
getList
()
this
.
getList
()
this
.
$store
.
dispatch
(
'
getBadgeData
'
)
},
},
created
()
{
created
()
{
this
.
getList
();
this
.
getList
();
...
@@ -371,6 +372,8 @@ export default {
...
@@ -371,6 +372,8 @@ export default {
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
getChannelList
().
then
(
res
=>
this
.
channelList
=
res
.
data
)
getChannelList
().
then
(
res
=>
this
.
channelList
=
res
.
data
)
this
.
$store
.
dispatch
(
'
getBadgeData
'
)
},
},
methods
:
{
methods
:
{
/** 查询列表 */
/** 查询列表 */
...
...
src/views/ecw/productPrice/edit.vue
View file @
1e8e4000
...
@@ -576,7 +576,7 @@ export default {
...
@@ -576,7 +576,7 @@ export default {
let
res
=
await
getProductPrice
(
this
.
$route
.
query
.
id
)
let
res
=
await
getProductPrice
(
this
.
$route
.
query
.
id
)
this
.
$set
(
this
,
'
form
'
,
res
.
data
)
this
.
$set
(
this
,
'
form
'
,
res
.
data
)
// 显示渠道
// 显示渠道
if
(
this
.
readonly
&&
this
.
form
.
shippingChannelId
){
if
(
this
.
form
.
shippingChannelId
){
getChannel
(
this
.
form
.
shippingChannelId
).
then
(
res
=>
{
getChannel
(
this
.
form
.
shippingChannelId
).
then
(
res
=>
{
this
.
channel
=
res
.
data
this
.
channel
=
res
.
data
}
)
}
)
...
...
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