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
c84801c0
Commit
c84801c0
authored
Aug 08, 2022
by
dcy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
1dc62be1
f91d2029
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
62 additions
and
60 deletions
+62
-60
order.js
src/api/ecw/order.js
+11
-1
dict.js
src/utils/dict.js
+1
-1
cargoControl.vue
src/views/ecw/order/cargoControl.vue
+31
-38
Release.vue
src/views/ecw/order/components/Release.vue
+9
-8
editDialog.vue
src/views/ecw/order/warehousing/components/editDialog.vue
+0
-8
index.vue
src/views/ecw/order/warehousing/index.vue
+10
-4
No files found.
src/api/ecw/order.js
View file @
c84801c0
...
@@ -248,6 +248,16 @@ export function feeApplicationGet(params){
...
@@ -248,6 +248,16 @@ export function feeApplicationGet(params){
params
params
})
})
}
}
// 获得控货分页
export
function
getCargoControlOrderPage
(
params
){
return
request
({
url
:
'
ecw/order-cargo-control/cargo/control/order
'
,
method
:
'
get
'
,
params
})
}
//获得调仓明细
//获得调仓明细
export
function
orderWarehouseInGetAdjustInfo
(
params
){
export
function
orderWarehouseInGetAdjustInfo
(
params
){
return
request
({
return
request
({
...
...
src/utils/dict.js
View file @
c84801c0
...
@@ -147,7 +147,7 @@ export const DICT_TYPE = {
...
@@ -147,7 +147,7 @@ export const DICT_TYPE = {
ORDER_ERROR_TYPE
:
'
order_error_type
'
,
//订单异常类型
ORDER_ERROR_TYPE
:
'
order_error_type
'
,
//订单异常类型
ORDER_EXCEPTION_STATUS
:
'
order_exception_status
'
,
//异常订单状态
ORDER_EXCEPTION_STATUS
:
'
order_exception_status
'
,
//异常订单状态
PAYMENT_TYPE
:
'
payment_type
'
,
//收款类型
PAYMENT_TYPE
:
'
payment_type
'
,
//收款类型
WAREHOUSE_IN_STATUS
:
'
warehouse_in_status
'
,
// 入仓状态
ORDER_WAREHOUSE_IN_STATUS
:
'
order_
warehouse_in_status
'
,
// 入仓状态
ECASH_INIT
:
'
ecash_init
'
,
//e-cash
ECASH_INIT
:
'
ecash_init
'
,
//e-cash
FEE_TYPE
:
'
receivable_fee_type
'
,
FEE_TYPE
:
'
receivable_fee_type
'
,
...
...
src/views/ecw/order/cargoControl.vue
View file @
c84801c0
...
@@ -60,6 +60,14 @@
...
@@ -60,6 +60,14 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<!-- 操作工具栏 -->
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"2"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-setting"
size=
"mini"
:disabled=
"multiple"
>
批量复核
</el-button>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
<!-- 列表 -->
<!-- 列表 -->
<el-table
v-loading=
"loading"
:data=
"list"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
:data=
"list"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
...
@@ -99,12 +107,12 @@
...
@@ -99,12 +107,12 @@
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"mini"
@
click=
"showReleaseOrderId=scope.row.orderId"
>
放货
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"showReleaseOrderId=scope.row.orderId"
>
放货
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"
$router.push(`/order/associated-order/$
{scope.row.orderId}`)
" >修改
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"
showEditOrderId=scope.row.orderId
"
>
修改
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"$router.push(`/order/mutex-order/$
{scope.row.orderId}`)"
>取消
</el-button>
<el-button
type=
"text"
size=
"mini"
>
取消
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"
$router.push(`/order/mutex-order/$
{scope.row.orderId}`
)" >放货复核
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"
review(scope.row
)"
>
放货复核
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"$router.push(
`/order/mutex-order/$
{scope.row.orderId}`
)" >查看
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"$router.push(
'detail?id=' + scope.row.orderId
)"
>
查看
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"$router.push(`/order/mutex-order/$
{scope.row.orderId}`)"
>调货
</el-button>
<el-button
type=
"text"
size=
"mini"
>
调货
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"$router.push(`/order/mutex-order/$
{scope.row.orderId}`)"
>反复核
</el-button>
<el-button
type=
"text"
size=
"mini"
>
反复核
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"showTransferOrderId = scope.row.orderId"
>
控货权转移
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"showTransferOrderId = scope.row.orderId"
>
控货权转移
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -113,8 +121,9 @@
...
@@ -113,8 +121,9 @@
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.page"
:limit.sync=
"queryParams.rows"
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.page"
:limit.sync=
"queryParams.rows"
@
pagination=
"getList"
/>
@
pagination=
"getList"
/>
<transfer
v-if=
"showTransferOrderId"
order-id=
"1"
@
close=
"showTransferOrderId=null"
/>
<transfer
v-if=
"showTransferOrderId"
:order-id=
"showTransferOrderId"
@
close=
"showTransferOrderId=null"
/>
<release
v-if=
"showReleaseOrderId"
order-id=
"1"
@
close=
"showReleaseOrderId=null"
/>
<release
v-if=
"showReleaseOrderId"
:order-id=
"showReleaseOrderId"
@
close=
"showReleaseOrderId=null"
/>
<release
v-if=
"showEditOrderId"
:order-id=
"showEditOrderId"
@
close=
"showEditOrderId=null"
/>
</div>
</div>
</template>
</template>
...
@@ -127,17 +136,19 @@ import specialNeeds from '@/views/ecw/order/components/specialNeeds';
...
@@ -127,17 +136,19 @@ import specialNeeds from '@/views/ecw/order/components/specialNeeds';
import
{
getTradeCityList
}
from
'
@/api/ecw/region
'
import
{
getTradeCityList
}
from
'
@/api/ecw/region
'
import
Transfer
from
'
@/views/ecw/order/components/Transfer
'
import
Transfer
from
'
@/views/ecw/order/components/Transfer
'
import
Release
from
'
./components/Release
'
import
Release
from
'
./components/Release
'
import
CargoControlEdit
from
'
./components/CargoControlEdit
'
import
{
import
{
getOrder
,
getOrder
,
getOrderPage
,
getOrderPage
,
exportOrderExcel
,
exportOrderExcel
,
getCargoControlOrderPage
}
from
"
@/api/ecw/order
"
;
}
from
"
@/api/ecw/order
"
;
export
default
{
export
default
{
name
:
"
Order
"
,
name
:
"
Order
CargonControl
"
,
components
:
{
components
:
{
CustomerSelector
,
ProductSelector
,
Selector
,
Transfer
,
Release
CustomerSelector
,
ProductSelector
,
Selector
,
Transfer
,
Release
,
CargoControlEdit
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -171,7 +182,8 @@ export default {
...
@@ -171,7 +182,8 @@ export default {
dateFilterType
:
''
,
//日期筛选类别
dateFilterType
:
''
,
//日期筛选类别
dateFilter
:
[],
//筛选日期
dateFilter
:
[],
//筛选日期
showTransferOrderId
:
null
,
// 控制权转移操作订单
showTransferOrderId
:
null
,
// 控制权转移操作订单
showReleaseOrderId
:
null
showReleaseOrderId
:
null
,
// 放货ID
showEditOrderId
:
null
,
// 修改ID
};
};
},
},
computed
:
{
computed
:
{
...
@@ -200,7 +212,7 @@ export default {
...
@@ -200,7 +212,7 @@ export default {
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
// 执行查询
// 执行查询
getOrderPage
(
this
.
combinedQueryParams
).
then
(
response
=>
{
get
CargoControl
OrderPage
(
this
.
combinedQueryParams
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
list
;
this
.
list
=
response
.
data
.
list
;
this
.
total
=
response
.
data
.
total
;
this
.
total
=
response
.
data
.
total
;
this
.
loading
=
false
;
this
.
loading
=
false
;
...
@@ -236,32 +248,13 @@ export default {
...
@@ -236,32 +248,13 @@ export default {
this
.
single
=
selection
.
length
!==
1
this
.
single
=
selection
.
length
!==
1
this
.
multiple
=
!
selection
.
length
this
.
multiple
=
!
selection
.
length
},
},
handleEdit
()
{
// 复核
this
.
$router
.
push
({
review
(
row
){
path
:
'
/order/batch-single-application
'
,
this
.
$confirm
(
'
已核实放货信息,确认放货?
'
)
query
:{
list
:
this
.
ids
.
join
(
'
,
'
)}
.
then
(
res
=>
{
})
this
.
$alert
(
'
// TODO
'
)
},
moleculeChange
()
{
},
denominatorChange
()
{
},
specialRendering
(
val
){
if
(
val
!==
undefined
){
let
i
=
val
.
split
(
'
,
'
)
let
special
=
this
.
getDictDatas
(
this
.
DICT_TYPE
.
ORDER_SPECIAL_NEEDS
).
filter
(
e
=>
{
return
i
.
indexOf
(
e
.
value
)
>
-
1
})
})
return
special
}
}
},
deleteSpecial
(
id
,
orderId
){
orderSpecialNeed
({
orderId
:
orderId
,
advanceType
:
id
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
getList
()
}
}
)
},
}
}
};
};
</
script
>
</
script
>
src/views/ecw/order/components/Release.vue
View file @
c84801c0
...
@@ -4,32 +4,32 @@
...
@@ -4,32 +4,32 @@
<el-row>
<el-row>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"订单号"
prop=
"field101"
>
<el-form-item
label=
"订单号"
prop=
"field101"
>
111
{{
detail
.
orderNO
}}
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"总箱数"
prop=
"field104"
>
<el-form-item
label=
"总箱数"
prop=
"field104"
>
111
{{
detail
.
sumNum
}}
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"体积"
prop=
"field103"
>
<el-form-item
label=
"体积"
prop=
"field103"
>
111
{{
detail
.
sumVolume
}}
m³
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"重量"
prop=
"field102"
>
<el-form-item
label=
"重量"
prop=
"field102"
>
111
{{
detail
.
sumWeight
}}
kg
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"总控货箱数"
prop=
"field105"
>
<el-form-item
label=
"总控货箱数"
prop=
"field105"
>
111
// TODO
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"剩余放货箱数"
prop=
"field106"
>
<el-form-item
label=
"剩余放货箱数"
prop=
"field106"
>
111
// TODO
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -93,6 +93,7 @@
...
@@ -93,6 +93,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
ReleaseAgreement
from
"
./ReleaseAgreement
"
import
ReleaseAgreement
from
"
./ReleaseAgreement
"
import
{
getOrder
}
from
'
@/api/ecw/order
'
export
default
{
export
default
{
props
:{
props
:{
orderId
:
[
String
,
Number
]
orderId
:
[
String
,
Number
]
...
@@ -108,7 +109,7 @@ export default {
...
@@ -108,7 +109,7 @@ export default {
},
},
computed
:{
computed
:{
title
(){
title
(){
let
t
=
'
控货权转移
'
let
t
=
'
放货
'
if
(
this
.
detail
){
if
(
this
.
detail
){
t
+=
'
-
'
+
this
.
detail
.
orderNo
t
+=
'
-
'
+
this
.
detail
.
orderNo
}
}
...
@@ -121,7 +122,7 @@ export default {
...
@@ -121,7 +122,7 @@ export default {
},
},
methods
:{
methods
:{
loadData
(){
loadData
(){
getOrder
(
this
.
orderId
).
then
(
res
=>
this
.
detail
=
res
.
data
)
},
},
closeDialog
(){
closeDialog
(){
this
.
show
=
false
this
.
show
=
false
...
...
src/views/ecw/order/warehousing/components/editDialog.vue
View file @
c84801c0
...
@@ -15,7 +15,6 @@
...
@@ -15,7 +15,6 @@
v-else
v-model=
"form.brand"
v-else
v-model=
"form.brand"
placeholder=
"可修改"
placeholder=
"可修改"
filterable
filterable
@
change=
"handleChangeBrand"
allow-create
>
allow-create
>
<el-option
<el-option
v-for=
"item in brandList"
v-for=
"item in brandList"
...
@@ -205,13 +204,6 @@ export default {
...
@@ -205,13 +204,6 @@ export default {
},
},
methods
:
{
methods
:
{
handleChangeBrand
(
b
){
if
(
this
.
brandList
.
find
(
e
=>
e
.
titleZh
===
b
)){
this
.
isBeian
=
'
有备案
'
}
else
{
this
.
isBeian
=
'
无备案
'
}
},
handleSubmit
()
{
handleSubmit
()
{
const
orderWarehouseInItemDoList
=
this
.
form
.
orderWarehouseInItemDoList
.
map
(
e
=>
{
const
orderWarehouseInItemDoList
=
this
.
form
.
orderWarehouseInItemDoList
.
map
(
e
=>
{
return
{
return
{
...
...
src/views/ecw/order/warehousing/index.vue
View file @
c84801c0
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
prop=
"diffType"
prop=
"diffType"
v-slot=
"{row}"
v-slot=
"{row}"
label=
"状态"
>
label=
"状态"
>
<dict-tag
:type=
"DICT_TYPE.
WAREHOUSE_IN_STATUS"
:value=
"
row.warehouseInInfoVO.diffType"
/>
<dict-tag
:type=
"DICT_TYPE.
ORDER_WAREHOUSE_IN_STATUS"
:value=
"row.warehouseInInfoVO &&
row.warehouseInInfoVO.diffType"
/>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"address"
prop=
"address"
...
@@ -102,12 +102,14 @@
...
@@ -102,12 +102,14 @@
<div
style=
"text-align: center"
>
在完成入仓前,您还可以
</div>
<div
style=
"text-align: center"
>
在完成入仓前,您还可以
</div>
<div
style=
"text-align: center;padding: 15px 0"
>
<div
style=
"text-align: center;padding: 15px 0"
>
<el-button
type=
"info"
@
click=
"areaVisible = true"
>
选择储位
</el-button>
<el-button
type=
"info"
@
click=
"areaVisible = true"
>
选择储位
</el-button>
<el-button
type=
"info"
>
打印标签
</el-button>
<el-button
type=
"info"
@
click=
"isShowPrint = true"
>
打印标签
</el-button>
</div>
</div>
<div
style=
"text-align: center"
>
<div
style=
"text-align: center"
>
<el-button
type=
"primary"
@
click=
"handleSubmit()"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit()"
>
确 定
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
<print-tag
v-if=
"isShowPrint"
:order-id=
"orderId"
@
close=
"isShowPrint = false"
></print-tag>
</div>
</div>
</template>
</template>
...
@@ -124,6 +126,7 @@ import orderBaseInfo from "@/components/OrderBaseInfo"
...
@@ -124,6 +126,7 @@ import orderBaseInfo from "@/components/OrderBaseInfo"
import
WarehouseAreaDialog
from
'
@/components/WarehouseAreaDialog
'
import
WarehouseAreaDialog
from
'
@/components/WarehouseAreaDialog
'
import
editDialog
from
'
@/views/ecw/order/warehousing/components/editDialog
'
import
editDialog
from
'
@/views/ecw/order/warehousing/components/editDialog
'
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
import
PrintTag
from
"
@/views/ecw/order/components/PrintTag
"
export
default
{
export
default
{
name
:
"
Warehousing
"
,
name
:
"
Warehousing
"
,
...
@@ -131,7 +134,8 @@ export default {
...
@@ -131,7 +134,8 @@ export default {
components
:
{
components
:
{
orderBaseInfo
,
orderBaseInfo
,
WarehouseAreaDialog
,
WarehouseAreaDialog
,
editDialog
editDialog
,
PrintTag
},
},
mounted
()
{
mounted
()
{
...
@@ -156,9 +160,11 @@ export default {
...
@@ -156,9 +160,11 @@ export default {
},
},
currencyList
:[],
currencyList
:[],
order
:
{},
order
:
{},
orderId
:
undefined
,
orderItemList
:
[],
orderItemList
:
[],
specialList
:
[],
specialList
:
[],
warehousing
:
undefined
warehousing
:
undefined
,
isShowPrint
:
false
}
}
},
},
...
...
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