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
3c9adac0
Commit
3c9adac0
authored
Sep 19, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
4624ceef
5d2c6ac4
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
147 additions
and
78 deletions
+147
-78
order.js
src/api/ecw/order.js
+10
-0
productBrank.js
src/api/ecw/productBrank.js
+9
-0
tab.js
src/plugins/tab.js
+5
-1
index.js
src/router/index.js
+7
-0
startPacking.vue
...ews/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
+1
-1
shippingSea.vue
src/views/ecw/box/shippingSea/shippingSea.vue
+1
-3
edit.vue
src/views/ecw/customer/edit.vue
+3
-3
index.vue
src/views/ecw/customer/index.vue
+5
-6
index.vue
src/views/ecw/customerConfirm/index.vue
+4
-4
index.vue
src/views/ecw/customerToBeAssigned/index.vue
+3
-3
index.vue
src/views/ecw/myCustomerService/index.vue
+1
-1
index.vue
src/views/ecw/oceanCustomer/index.vue
+3
-3
associatedOrder.vue
src/views/ecw/order/associatedOrder.vue
+1
-1
ordeDetailsForm.vue
src/views/ecw/order/components/ordeDetailsForm.vue
+2
-3
warehouseDetails.vue
src/views/ecw/order/components/warehouseDetails.vue
+8
-17
index.vue
src/views/ecw/order/index.vue
+4
-4
mutexOrder.vue
src/views/ecw/order/mutexOrder.vue
+1
-1
notMutexOrder.vue
src/views/ecw/order/notMutexOrder.vue
+1
-1
transferWarehousing.vue
src/views/ecw/order/transferWarehousing.vue
+3
-3
editDialog.vue
src/views/ecw/order/warehousing/components/editDialog.vue
+32
-20
index.vue
src/views/ecw/order/warehousing/index.vue
+43
-3
No files found.
src/api/ecw/order.js
View file @
3c9adac0
...
...
@@ -171,6 +171,16 @@ export function orderWarehouseInUpdateApply(data){
data
})
}
// 入仓修改箱号
export
function
orderWarehouseInUpdateLabel
(
data
){
return
request
({
url
:
'
/order/order-warehouse-in/update-label
'
,
method
:
'
post
'
,
data
})
}
// 获取入仓修改审批单详情-审批使用
export
function
getWarehouseUpdateApprovalInfo
(
id
)
{
return
request
({
...
...
src/api/ecw/productBrank.js
View file @
3c9adac0
...
...
@@ -10,6 +10,15 @@ export function createProductBrank(data) {
}
// 更新品牌
export
function
updateProductBrank
(
data
)
{
return
request
({
url
:
'
/ecw/product-brank/update
'
,
method
:
'
put
'
,
data
:
data
})
}
// 修改品牌默认收费模式
export
function
changeFeeModel
(
data
)
{
return
request
({
url
:
'
/ecw/product-brank/changeFeeMode
'
,
...
...
src/plugins/tab.js
View file @
3c9adac0
...
...
@@ -32,7 +32,11 @@ export default {
// 关闭指定tab页签
closePage
(
obj
)
{
if
(
obj
===
undefined
)
{
return
store
.
dispatch
(
'
tagsView/delView
'
,
router
.
currentRoute
).
then
(({
lastPath
})
=>
{
return
store
.
dispatch
(
'
tagsView/delView
'
,
router
.
currentRoute
).
then
(({
visitedViews
})
=>
{
let
lastPath
=
'
/
'
if
(
visitedViews
.
length
>
0
){
lastPath
=
visitedViews
[
visitedViews
.
length
-
1
]
}
return
router
.
push
(
lastPath
||
'
/
'
);
});
}
...
...
src/router/index.js
View file @
3c9adac0
...
...
@@ -252,6 +252,13 @@ export const constantRoutes = [
name
:
'
customerEdit
'
,
meta
:
{
title
:
'
编辑客户
'
,
icon
:
''
,
activeMenu
:
'
/customer/customer
'
}
},
{
path
:
'
add-edit/:customerId(
\\
d+)
'
,
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/customer/edit
'
),
props
:
true
,
name
:
'
customerEdit
'
,
meta
:
{
title
:
'
新建客户
'
,
icon
:
''
,
activeMenu
:
'
/customer/customer
'
}
},
{
path
:
'
query/:customerId(
\\
d+)
'
,
component
:
(
resolve
)
=>
import
(
'
@/views/ecw/customer/query
'
),
...
...
src/views/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
View file @
3c9adac0
...
...
@@ -317,7 +317,7 @@ export default {
/** 表格订单号点击 */
orderClick
(
row
)
{
orderTagList
({
orderId
:
row
.
orderId
}).
then
((
res
)
=>
{
const
{
data
=
[]
}
=
res
;
const
{
data
=
{}
}
=
res
;
this
.
orderList
=
[];
// 取最长的list
let
dataLength
=
data
.
loadList
.
length
;
...
...
src/views/ecw/box/shippingSea/shippingSea.vue
View file @
3c9adac0
...
...
@@ -74,6 +74,7 @@ export default {
};
},
created
()
{
this
.
getBoxInfo
();
// 仓库
getWarehouseList
().
then
((
r
)
=>
{
this
.
warehouseList
=
r
.
data
;
...
...
@@ -99,9 +100,6 @@ export default {
this
.
allUsers
=
data
.
list
??
[];
});
},
activated
()
{
this
.
getBoxInfo
();
},
methods
:
{
/* 获取仓库 */
importCityName
(
id
)
{
...
...
src/views/ecw/customer/edit.vue
View file @
3c9adac0
...
...
@@ -33,7 +33,7 @@
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"客户类别"
prop=
"type"
>
<dict-selector
:type=
"DICT_TYPE.CUSTOMER_TYPE"
form-type=
"
select
"
multiple
v-model=
"form.type"
></dict-selector>
<dict-selector
:type=
"DICT_TYPE.CUSTOMER_TYPE"
form-type=
"
checkbox
"
multiple
v-model=
"form.type"
></dict-selector>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
...
...
@@ -412,7 +412,7 @@ import {getTradeCityList} from "@/api/ecw/region"
import
{
getWarehouseList
}
from
"
@/api/ecw/warehouse
"
import
CustomerLineTable
from
'
@/components/CustomerLineTable
'
import
{
getCustomerSelect
}
from
"
@/api/ecw/customer
"
import
{
listServiceUser
}
from
"
@/api/system/user
"
import
{
listServiceUser
,
listSimpleUsers
}
from
"
@/api/system/user
"
import
{
getZhongPaoBest
,
getZhongPaoPage
}
from
'
@/api/ecw/zhongPao
'
import
{
getCustomerContactsListByCustomer
}
from
'
@/api/ecw/customerContacts
'
import
{
getCountryListAll
}
from
'
@/api/ecw/country
'
...
...
@@ -456,7 +456,7 @@ export default {
getCustomerSelect
().
then
(
r
=>
{
this
.
customerSelect
=
r
.
data
})
listS
erviceUser
().
then
(
r
=>
{
listS
impleUsers
().
then
(
r
=>
{
this
.
serviceUserList
=
r
.
data
})
getCountryListAll
().
then
(
r
=>
{
...
...
src/views/ecw/customer/index.vue
View file @
3c9adac0
...
...
@@ -23,8 +23,8 @@
</el-form-item>
<el-form-item
label=
"客户经理"
prop=
"customerService"
>
<el-select
v-model=
"queryParams.customerService"
placeholder=
"请选择客户经理"
clearable
size=
"small"
>
<el-option
v-for=
"dict in
getDictDatas(DICT_TYPE.COMMON_STATUS)
"
:key=
"dict.
value"
:label=
"dict.label"
:value=
"dict.value
"
/>
<el-option
v-for=
"dict in
customerServiceList
"
:key=
"dict.
id"
:label=
"dict.nickname"
:value=
"dict.id
"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"客户状态"
prop=
"status"
>
...
...
@@ -209,8 +209,8 @@
<el-col
:span=
"12"
>
<el-form-item
label=
"客户经理"
prop=
"customerService"
>
<el-select
v-model=
"form.customerService"
placeholder=
"请选择客户经理"
>
<el-option
v-for=
"dict in
getDictDatas(DICT_TYPE.COMMON_STATUS)
"
:key=
"dict.
value"
:label=
"dict.label"
:value=
"parseInt(dict.value)
"
/>
<el-option
v-for=
"dict in
customerServiceList
"
:key=
"dict.
id"
:label=
"dict.nickname"
:value=
"dict.id
"
/>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -535,7 +535,6 @@ export default {
// this.nodeList = r.data
// })
listServiceUser
().
then
(
r
=>
{
console
.
log
(
r
,
'
客服
'
);
this
.
customerServiceList
=
r
.
data
;
})
getCountryListAll
().
then
(
r
=>
{
...
...
@@ -627,7 +626,7 @@ export default {
},
/** 新增按钮操作 */
handleAdd
()
{
this
.
$router
.
push
(
'
/customer/edit/0
'
)
this
.
$router
.
push
(
'
/customer/
add-
edit/0
'
)
// this.reset();
// this.open = true;
// this.title = "添加客户";
...
...
src/views/ecw/customerConfirm/index.vue
View file @
3c9adac0
...
...
@@ -23,8 +23,8 @@
</el-form-item>
<el-form-item
label=
"客户经理"
prop=
"customerService"
>
<el-select
v-model=
"queryParams.customerService"
placeholder=
"请选择客户经理"
clearable
size=
"small"
>
<el-option
v-for=
"dict in
this.getDictDatas(DICT_TYPE.COMMON_STATUS)
"
:key=
"dict.
value"
:label=
"dict.label"
:value=
"dict.value
"
/>
<el-option
v-for=
"dict in
serviceStaffOptions
"
:key=
"dict.
id"
:label=
"dict.nickname"
:value=
"dict.id
"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"客户状态"
prop=
"status"
>
...
...
@@ -195,8 +195,8 @@
<el-form-item
label=
"客户经理"
prop=
"customerService"
>
<el-select
v-model=
"form.customerService"
placeholder=
"请选择客户经理"
>
<el-option
v-for=
"dict in
this.getDictDatas(DICT_TYPE.COMMON_STATUS)
"
:key=
"dict.
value"
:label=
"dict.label"
:value=
"parseInt(dict.value)
"
/>
<el-option
v-for=
"dict in
serviceStaffOptions
"
:key=
"dict.
id"
:label=
"dict.nickname"
:value=
"dict.id
"
/>
</el-select>
</el-form-item>
</el-col>
...
...
src/views/ecw/customerToBeAssigned/index.vue
View file @
3c9adac0
...
...
@@ -24,8 +24,8 @@
</el-form-item>
<el-form-item
label=
"客户经理"
prop=
"customerService"
>
<el-select
v-model=
"queryParams.customerService"
placeholder=
"请选择客户经理"
clearable
size=
"small"
>
<el-option
v-for=
"dict in
getDictDatas(DICT_TYPE.COMMON_STATUS)
"
:key=
"dict.
value"
:label=
"dict.label"
:value=
"dict.value
"
/>
<el-option
v-for=
"dict in
customerServiceList
"
:key=
"dict.
id"
:label=
"dict.nickname"
:value=
"dict.id
"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"客户状态"
prop=
"status"
>
...
...
@@ -271,7 +271,7 @@ export default {
},
/** 新增按钮操作 */
handleAdd
()
{
this
.
$router
.
push
(
'
/customer/edit/0
'
)
this
.
$router
.
push
(
'
/customer/
add-
edit/0
'
)
// this.reset();
// this.open = true;
// this.title = "添加客户";
...
...
src/views/ecw/myCustomerService/index.vue
View file @
3c9adac0
...
...
@@ -244,7 +244,7 @@ export default {
},
/** 新增按钮操作 */
handleAdd
()
{
this
.
$router
.
push
(
'
/customer/edit/0
'
)
this
.
$router
.
push
(
'
/customer/
add-
edit/0
'
)
// this.reset();
// this.open = true;
// this.title = "添加客户";
...
...
src/views/ecw/oceanCustomer/index.vue
View file @
3c9adac0
...
...
@@ -24,8 +24,8 @@
</el-form-item>
<el-form-item
label=
"客户经理"
prop=
"customerService"
>
<el-select
v-model=
"queryParams.customerService"
placeholder=
"请选择客户经理"
clearable
size=
"small"
>
<el-option
v-for=
"dict in
getDictDatas(DICT_TYPE.COMMON_STATUS)
"
:key=
"dict.
value"
:label=
"dict.label"
:value=
"dict.value
"
/>
<el-option
v-for=
"dict in
customerServiceList
"
:key=
"dict.
id"
:label=
"dict.nickname"
:value=
"dict.id
"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"客户状态"
prop=
"status"
>
...
...
@@ -278,7 +278,7 @@ export default {
},
/** 新增按钮操作 */
handleAdd
()
{
this
.
$router
.
push
(
'
/customer/edit/0
'
)
this
.
$router
.
push
(
'
/customer/
add-
edit/0
'
)
// this.reset();
// this.open = true;
// this.title = "添加客户";
...
...
src/views/ecw/order/associatedOrder.vue
View file @
3c9adac0
...
...
@@ -43,7 +43,7 @@
{{
row
.
orderBackVO
.
costVO
.
totalVolume
}}
m³
</div>
<div>
{{
row
.
orderBackVO
.
costVO
.
totalW
orth
}}
KG
{{
row
.
orderBackVO
.
costVO
.
totalW
eight
}}
KG
</div>
</
template
>
</el-table-column>
...
...
src/views/ecw/order/components/ordeDetailsForm.vue
View file @
3c9adac0
...
...
@@ -11,18 +11,17 @@
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"details.transportId"
></dict-tag>
</el-descriptions-item>
<el-descriptions-item
label=
"出货渠道"
>
{{
details
.
channelId
}}
123
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"details.channelId"
></dict-tag>
</el-descriptions-item>
<el-descriptions-item
label=
"始发地"
>
{{
details
.
logisticsInfoDto
?
details
.
logisticsInfoDto
.
startTitleZh
:
''
}}
</el-descriptions-item>
<el-descriptions-item
label=
"目的地"
>
{{
details
.
logisticsInfoDto
?
details
.
logisticsInfoDto
.
destTitleZh
:
''
}}
</el-descriptions-item>
<el-descriptions-item
label=
"发货人姓名"
>
{{
details
.
consignorVO
?
details
.
consignorVO
.
name
:
''
}}
</el-descriptions-item>
<el-descriptions-item
label=
"发货人公司"
>
{{
details
.
consignorVO
?
details
.
consignorVO
.
company
:
''
}}
</el-descriptions-item>
<el-descriptions-item
label=
"发货人电话"
>
{{
details
.
consignorVO
?
details
.
consignorVO
.
phone
:
''
}}
</el-descriptions-item>
<el-descriptions-item
label=
"发货人电话"
>
{{
details
.
consignorVO
?
details
.
consignorVO
.
countryCode
:
''
}}
{{
details
.
consignorVO
?
details
.
consignorVO
.
phone
:
''
}}
</el-descriptions-item>
<el-descriptions-item></el-descriptions-item>
<el-descriptions-item
label=
"收货人姓名"
>
{{
details
.
consigneeVO
?
details
.
consigneeVO
.
name
:
''
}}
</el-descriptions-item>
<el-descriptions-item
label=
"收货人公司"
>
{{
details
.
consigneeVO
?
details
.
consigneeVO
.
company
:
''
}}
</el-descriptions-item>
<el-descriptions-item
label=
"收货人电话"
>
{{
details
.
consigneeVO
?
details
.
consigneeVO
.
phone
:
''
}}
</el-descriptions-item>
<el-descriptions-item
label=
"收货人电话"
>
{{
details
.
consigneeVO
?
details
.
consigneeVO
.
countryCode
:
''
}}
{{
details
.
consigneeVO
?
details
.
consigneeVO
.
phone
:
''
}}
</el-descriptions-item>
<el-descriptions-item></el-descriptions-item>
</el-descriptions>
</div>
...
...
src/views/ecw/order/components/warehouseDetails.vue
View file @
3c9adac0
...
...
@@ -54,32 +54,23 @@
</el-table-column>
<el-table-column
label=
"始发仓"
prop=
"startWarehouseName"
></el-table-column>
<el-table-column
label=
"目的地"
prop=
"objectiveName"
></el-table-column>
<el-table-column
label=
"发货人"
>
<el-table-column
label=
"发货人"
>
<
template
v-slot=
"{row}"
>
<p>
{{
row
.
consignorName
}}
</p>
<p>
{{
row
.
consignorPhone
}}
{{
row
.
consignorCountryCode
}}
{{
row
.
consignorPhone
}}
</p>
</
template
>
</el-table-column>
<
<
el-table-column
header-align=
"center"
align=
"center"
prop=
"columnProp"
label=
"columnLabel"
>
</el-table-column>
label="收货人">
<
template
v-slot=
"{row}"
>
<el-table-column
label=
"收货人"
>
<
template
v-slot=
"{row}"
>
<p>
{{
row
.
consigneeName
}}
</p>
<p>
{{
row
.
consigneePhone
}}
{{
row
.
consignee
CountryCode
}}
{{
row
.
consignee
Phone
}}
</p>
</
template
>
</el-table-column>
...
...
@@ -123,8 +114,8 @@
申请说明
</p>
<div
>
从
【{{selectWarehouse(FeeDetails.details
&&
FeeDetails.details.warehouseInId ? FeeDetails.details.warehouseIn
Id : '' )}}】 调到
【{{selectWarehouse(FeeDetails.details
&&
FeeDetails.details.warehouseOutId ? FeeDetails.details.warehouseOut
Id : '' )}}】
从
【{{selectWarehouse(FeeDetails.details
&&
FeeDetails.details.warehouseOutId ? FeeDetails.details.warehouseOut
Id : '' )}}】 调到
【{{selectWarehouse(FeeDetails.details
&&
FeeDetails.details.warehouseInId ? FeeDetails.details.warehouseIn
Id : '' )}}】
</div>
</div>
<div
v-if=
"type === 2"
>
...
...
@@ -226,7 +217,7 @@ export default {
warehouseApprovalGetByFormId
({
formId
:
this
.
processInstanceID
}).
then
(
r
=>
{
this
.
FeeDetails
=
r
.
data
this
.
FeeDetails
.
details
=
JSON
.
parse
(
r
.
data
.
details
)
getOrderPage
({
orderIdList
:
r
.
data
.
adjustActualOrderIds
}).
then
(
res
=>
{
getOrderPage
({
orderIdList
:
r
.
data
.
adjustActualOrderIds
}).
then
(
res
=>
{
this
.
list
=
res
.
data
.
list
})
...
...
src/views/ecw/order/index.vue
View file @
3c9adac0
...
...
@@ -173,7 +173,7 @@
<el-button
v-if=
"scope.row.status == 88"
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"oprateOrder(scope.row.orderId, 'recoveryOrder')"
>
{{
$t
(
'
恢复订单
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"feeApplicationBol = true; orderId = scope.row.orderId"
>
{{
$t
(
'
费用申请
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"orderId = scope.row.orderId;isShow = true"
>
{{
$t
(
'
特需
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"orderId = scope.row.orderId;
orderNo = scope.row.orderNo;
isShow = true"
>
{{
$t
(
'
特需
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"$router.push(`/order/associated-order/$
{scope.row.orderId}`)" >
{{
$t
(
'
关联
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"$router.push(`/order/mutex-order/$
{scope.row.orderId}`)" >
{{
$t
(
'
互斥
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"$router.push('/order/special/' + scope.row.orderId)"
...
...
@@ -209,9 +209,9 @@
v-hasPermi=
"['ecw:order:update']"
>
{{
$t
(
'
入仓
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"show = true;orderId = scope.row.orderId; "
v-hasPermi=
"['ecw:order:update']"
>
{{
$t
(
'
退仓
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"orderId = scope.row.orderId;warehouseBol=true;"
>
{{
$t
(
'
调仓
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"$router.push(
{path:'/order/transfer-warehousing/' + scope.row.orderId + '/' + 1 })" >
{{
$t
(
'
调拨出仓
'
)
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"$router.push(
{path:'/order/transfer-to-warehouse/' + scope.row.orderId + '/' + 2 })" >
{{
$t
(
'
调拨到仓
'
)
}}
</el-button>
<el-button
type=
"text"
:disabled=
"!(scope.row.status === 5 && (scope.row.inWarehouseState === 215 ||scope.row.inWarehouseState === 0))"
size=
"mini"
@
click=
"orderId = scope.row.orderId;warehouseBol=true;"
>
{{
$t
(
'
调仓
'
)
}}
</el-button>
<el-button
type=
"text"
:disabled=
"!(scope.row.status === 8 && scope.row.inWarehouseState === 213)"
size=
"mini"
@
click=
"$router.push(
{path:'/order/transfer-warehousing/' + scope.row.orderId + '/' + 1 })" >
{{
$t
(
'
调拨出仓
'
)
}}
</el-button>
<el-button
type=
"text"
:disabled=
"!(scope.row.status === 8 && scope.row.inWarehouseState === 214)"
size=
"mini"
@
click=
"$router.push(
{path:'/order/transfer-to-warehouse/' + scope.row.orderId + '/' + 2 })" >
{{
$t
(
'
调拨到仓
'
)
}}
</el-button>
</div>
</el-popover>
...
...
src/views/ecw/order/mutexOrder.vue
View file @
3c9adac0
...
...
@@ -43,7 +43,7 @@
{{
row
.
orderBackVO
.
costVO
.
totalVolume
}}
m³
</div>
<div>
{{
row
.
orderBackVO
.
costVO
.
totalW
orth
}}
KG
{{
row
.
orderBackVO
.
costVO
.
totalW
eight
}}
KG
</div>
</
template
>
</el-table-column>
...
...
src/views/ecw/order/notMutexOrder.vue
View file @
3c9adac0
...
...
@@ -33,7 +33,7 @@
{{
row
.
costVO
.
totalVolume
}}
m³
</div>
<div>
{{
row
.
costVO
.
totalW
orth
}}
KG
{{
row
.
costVO
.
totalW
eight
}}
KG
</div>
</
template
>
</el-table-column>
...
...
src/views/ecw/order/transferWarehousing.vue
View file @
3c9adac0
...
...
@@ -123,7 +123,7 @@
<el-button
v-if=
"type == 1"
size=
"medium"
@
click=
"cancellationOfOrder"
>
取消调仓
</el-button>
<el-button
size=
"medium"
@
click=
"$tab.closeOpenPage({path:'/order/order'})"
>
返回
</el-button>
</div>
<warehouse-location
ref=
"area"
:city-id=
"warehouse
Details.warehouse
InShi"
:visible.sync=
"areaVisible"
v-model=
"params.orderLocationCreateReqVOList"
:warehouse-id=
"warehouseDetails.warehouseInId"
:order-id=
"Number(orderId)"
></warehouse-location>
<warehouse-location
ref=
"area"
:city-id=
"warehouseInShi"
:visible.sync=
"areaVisible"
v-model=
"params.orderLocationCreateReqVOList"
:warehouse-id=
"warehouseDetails.warehouseInId"
:order-id=
"Number(orderId)"
></warehouse-location>
<el-dialog
:title=
"'订单转异'"
center
:visible.sync=
"escapeBol"
>
<el-form
label-position=
"top"
label-width=
"200"
>
<el-form-item
label=
"原因类型"
>
...
...
@@ -199,7 +199,7 @@ export default {
descZh
:
''
,
exceptionUrls
:[]
},
warehouseInShi
:
''
,
warehouseInShi
:
0
,
expressList
:[],
storageSpaceList
:[],
applyStatus
:{}
...
...
@@ -283,7 +283,7 @@ export default {
})
}
})
this
.
warehouseInShi
=
this
.
warehouseDetails
.
warehouseInShi
this
.
warehouseInShi
=
this
.
warehouseDetails
.
warehouseInShi
||
''
this
.
params
.
phone
=
this
.
warehouseDetails
.
phone
||
''
;
this
.
params
.
logisticsNo
=
this
.
warehouseDetails
.
logisticsNo
;
this
.
params
.
id
=
this
.
warehouseDetails
.
id
;
...
...
src/views/ecw/order/warehousing/components/editDialog.vue
View file @
3c9adac0
<
template
>
<div>
<el-dialog
:title=
"(edit ? '入仓修改' : (warehousing.orderWarehouseInBackItemDoList.length > 0 ? '入仓补充' : '入仓操作')) + '
-货物入仓'
"
:title=
"(edit ? '入仓修改' : (warehousing.orderWarehouseInBackItemDoList.length > 0 ? '入仓补充' : '入仓操作')) + '
- ' + warehousing.orderNo
"
:visible.sync=
"opened"
width=
"1080px"
>
...
...
@@ -11,7 +11,7 @@
<el-descriptions-item
label=
"中文品名"
>
{{
warehousing
.
prodTitleZh
}}
</el-descriptions-item>
<el-descriptions-item
label=
"英文品名"
>
{{
warehousing
.
prodTitleEn
}}
</el-descriptions-item>
<el-descriptions-item
label=
"品牌"
>
<span
v-if=
"
warehousing.orderWarehouseInBackItemDoList && warehousing.orderWarehouseInBackItemDoList.length
"
>
{{
form
.
brand
?
brand
:
'
无
'
}}
</span>
<span
v-if=
"
false
"
>
{{
form
.
brand
?
brand
:
'
无
'
}}
</span>
<el-select
v-else
v-model=
"form.brand"
placeholder=
"可修改"
...
...
@@ -29,16 +29,22 @@
<el-descriptions-item
label=
"是否备案"
>
{{
isBeian
}}
</el-descriptions-item>
<el-descriptions-item
label=
"收费模式"
>
{{
feeType
}}
</el-descriptions-item>
<el-descriptions-item
label=
"填单参数"
>
箱数:
{{
warehousing
.
num
}}
<br>
体积:
{{
warehousing
.
volume
}}
m³
<br>
重量:
{{
warehousing
.
weight
}}
Kg
箱数:
<el-input
size=
"mini"
v-if=
"edit"
v-model=
"warehousing.num"
style=
"display: inline-block;width: 100px"
></el-input>
<span
v-else
>
{{
warehousing
.
num
}}
</span><br>
体积:
<el-input
size=
"mini"
v-if=
"edit"
v-model=
"warehousing.volume"
style=
"display: inline-block;width: 100px"
></el-input>
<span
v-else
>
{{
warehousing
.
volume
}}
</span>
m³
<br>
重量:
<el-input
size=
"mini"
v-if=
"edit"
v-model=
"warehousing.weight"
style=
"display: inline-block;width: 100px"
></el-input>
<span
v-else
>
{{
warehousing
.
weight
}}
</span>
Kg
</el-descriptions-item>
</el-descriptions>
<el-form
ref=
"form"
:model=
"form"
label-width=
"80px"
style=
"margin-top: 20px"
>
<el-form-item
label=
"材质"
>
<dict-selector
:type=
"DICT_TYPE.ECW_PRODUCT_MATERIAL"
v-model=
"form.material"
></dict-selector>
</el-form-item>
<el-form-item
label=
"入仓时间"
>
<el-form-item
label=
"入仓时间"
v-if=
"!edit"
>
<el-date-picker
v-model=
"form.inTime"
type=
"datetime"
placeholder=
"请选择入仓时间"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-form>
...
...
@@ -56,7 +62,7 @@
<el-table-column
label=
"箱数"
width=
"150px"
>
<template
v-slot=
"
{r,c,$index}">
<el-form-item
:rules=
"tableFormRules.cartonsNum"
:prop=
"$index + '.cartonsNum'"
>
<span
v-if=
"tableData[$index].id"
>
<span
v-if=
"tableData[$index].id
&& !edit
"
>
{{
tableData
[
$index
].
cartonsNum
}}
{{
getDictDataLabel
(
DICT_TYPE
.
ECW_PACKAGE_TYPE
,
tableData
[
$index
].
unit
)
}}
</span>
...
...
@@ -69,31 +75,31 @@
<el-table-column
label=
"包装类型"
width=
"100px"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item>
<span
v-if=
"tableData[$index].id"
>
{{
getDictDataLabel
(
DICT_TYPE
.
ECW_PACKAGE_TYPE
,
tableData
[
$index
].
unit
)
}}
</span>
<span
v-if=
"tableData[$index].id
&& !edit
"
>
{{
getDictDataLabel
(
DICT_TYPE
.
ECW_PACKAGE_TYPE
,
tableData
[
$index
].
unit
)
}}
</span>
<dict-selector
v-else
:type=
"DICT_TYPE.ECW_PACKAGE_TYPE"
v-model=
"tableData[$index].unit"
></dict-selector>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
label=
"长(cm)"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.boxGauge1"
:prop=
"$index + '.boxGauge1'"
>
<span
v-if=
"tableData[$index].id"
>
{{
tableData
[
$index
].
boxGauge
?
tableData
[
$index
].
boxGauge
.
split
(
'
*
'
)[
0
]
:
''
}}
</span>
<el-form-item
:rules=
"tableFormRules.boxGauge1"
:prop=
"
!tableData[$index].id &&
$index + '.boxGauge1'"
>
<span
v-if=
"tableData[$index].id
&& !edit
"
>
{{
tableData
[
$index
].
boxGauge
?
tableData
[
$index
].
boxGauge
.
split
(
'
*
'
)[
0
]
:
''
}}
</span>
<el-input
v-else
v-model.number=
"tableData[$index].boxGauge1"
placeholder=
""
@
blur=
"handleVolume($index)"
></el-input>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
label=
"宽(cm)"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.boxGauge2"
:prop=
"$index + '.boxGauge2'"
>
<span
v-if=
"tableData[$index].id"
>
{{
tableData
[
$index
].
boxGauge
?
tableData
[
$index
].
boxGauge
.
split
(
'
*
'
)[
1
]
:
''
}}
</span>
<el-form-item
:rules=
"tableFormRules.boxGauge2"
:prop=
"
!tableData[$index].id &&
$index + '.boxGauge2'"
>
<span
v-if=
"tableData[$index].id
&& !edit
"
>
{{
tableData
[
$index
].
boxGauge
?
tableData
[
$index
].
boxGauge
.
split
(
'
*
'
)[
1
]
:
''
}}
</span>
<el-input
v-else
v-model.number=
"tableData[$index].boxGauge2"
placeholder=
""
@
blur=
"handleVolume($index)"
></el-input>
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
label=
"高(cm)"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.boxGauge3"
:prop=
"$index + '.boxGauge3'"
>
<span
v-if=
"tableData[$index].id"
>
{{
tableData
[
$index
].
boxGauge
?
tableData
[
$index
].
boxGauge
.
split
(
'
*
'
)[
2
]
:
''
}}
</span>
<el-form-item
:rules=
"tableFormRules.boxGauge3"
:prop=
"
!tableData[$index].id &&
$index + '.boxGauge3'"
>
<span
v-if=
"tableData[$index].id
&& !edit
"
>
{{
tableData
[
$index
].
boxGauge
?
tableData
[
$index
].
boxGauge
.
split
(
'
*
'
)[
2
]
:
''
}}
</span>
<el-input
v-else
v-model.number=
"tableData[$index].boxGauge3"
placeholder=
""
@
blur=
"handleVolume($index)"
></el-input>
</el-form-item>
</
template
>
...
...
@@ -101,7 +107,7 @@
<el-table-column
label=
"体积(m³)"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.volume"
:prop=
"$index + '.volume'"
>
<span
v-if=
"tableData[$index].id"
>
{{
tableData
[
$index
].
volume
}}
</span>
<span
v-if=
"tableData[$index].id
&& !edit
"
>
{{
tableData
[
$index
].
volume
}}
</span>
<el-input
v-else
v-model.number=
"tableData[$index].volume"
placeholder=
""
></el-input>
</el-form-item>
</
template
>
...
...
@@ -109,7 +115,7 @@
<el-table-column
label=
"重量(Kg)"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.weight"
:prop=
"$index + '.weight'"
>
<span
v-if=
"tableData[$index].id"
>
{{
tableData
[
$index
].
weight
}}
</span>
<span
v-if=
"tableData[$index].id
&& !edit
"
>
{{
tableData
[
$index
].
weight
}}
</span>
<el-input
v-else
v-model.number=
"tableData[$index].weight"
placeholder=
""
></el-input>
</el-form-item>
</
template
>
...
...
@@ -117,7 +123,7 @@
<el-table-column
label=
"数量"
width=
"130px"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item
:rules=
"tableFormRules.quantityAll"
:prop=
"$index + '.quantityAll'"
>
<span
v-if=
"tableData[$index].id"
>
{{
tableData
[
$index
].
quantityAll
}}
</span>
<span
v-if=
"tableData[$index].id
&& !edit
"
>
{{
tableData
[
$index
].
quantityAll
}}
</span>
<el-input
v-else
v-model.number=
"tableData[$index].quantityAll"
placeholder=
""
>
<template
slot=
"append"
>
个
</
template
>
</el-input>
...
...
@@ -127,7 +133,7 @@
<el-table-column
label=
"快递单号"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-form-item>
<span
v-if=
"tableData[$index].id"
>
{{
tableData
[
$index
].
expressNo
}}
</span>
<span
v-if=
"tableData[$index].id
&& !edit
"
>
{{
tableData
[
$index
].
expressNo
}}
</span>
<el-input
v-else
v-model=
"tableData[$index].expressNo"
placeholder=
""
></el-input>
</el-form-item>
</
template
>
...
...
@@ -588,7 +594,13 @@ export default {
return
this
.
brandList
.
find
(
e
=>
e
.
id
===
this
.
form1
.
brand
)
||
''
},
tableData
()
{
return
[...
this
.
warehousing
.
orderWarehouseInBackItemDoList
,
...
this
.
form
.
orderWarehouseInItemDoList
]
if
(
!
this
.
edit
){
return
[...
this
.
warehousing
.
orderWarehouseInBackItemDoList
,
...
this
.
form
.
orderWarehouseInItemDoList
]
}
// 入仓修改的时候
this
.
form
.
orderWarehouseInItemDoList
=
this
.
warehousing
.
orderWarehouseInBackItemDoList
return
this
.
form
.
orderWarehouseInItemDoList
},
tableData1
()
{
return
this
.
form1
.
orderWarehouseInItemDoList
...
...
@@ -638,7 +650,7 @@ export default {
return
brand
.
titleZh
}
}
return
''
return
'
0
'
}
}
}
...
...
src/views/ecw/order/warehousing/index.vue
View file @
3c9adac0
...
...
@@ -86,8 +86,8 @@
</el-table>
<h2
v-if=
"orderSpecialNeeds.length > 0"
>
特殊需求
</h2>
<el-form
ref=
"form"
:model=
"form"
label-width=
"120px"
style=
"max-width: 500px;"
>
<el-form-item
:label=
"item.label"
v-for=
"(item, index) in orderSpecialNeeds"
:key=
"item.value"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"120px"
>
<el-form-item
:label=
"item.label"
v-for=
"(item, index) in orderSpecialNeeds"
:key=
"item.value"
style=
"width: 400px"
>
<el-input
v-model=
"form.orderSpecialNeedReceivableReqVoList[index].receivableMoney"
:placeholder=
"'请输入' + item.label"
>
<el-select
v-model=
"form.orderSpecialNeedReceivableReqVoList[index].receivableMoneyCurrency"
placeholder=
"请选择"
slot=
"append"
style=
"width: 100px"
>
<el-option
...
...
@@ -125,6 +125,20 @@
<el-button
@
click=
"escapeBol = true;"
type=
"primary"
>
转异
</el-button>
<el-button
type=
"primary"
@
click=
"finishVisible = true"
>
完成入仓
</el-button>
</div>
<
template
v-if=
"order.status === 5"
>
<h2>
标枪箱号
</h2>
<div
v-for=
"(item, index) in label.orderLabelDtoList"
:key=
"index"
style=
"margin-bottom: 10px"
>
<el-input-number
v-model=
"item.start"
controls-position=
"right"
></el-input-number>
-
<el-input-number
v-model=
"item.end"
controls-position=
"right"
></el-input-number>
<el-button
icon=
"el-icon-minus"
circle
v-show=
"index !== 0"
@
click=
"label.orderLabelDtoList.splice(index, 1)"
style=
"margin-left: 10px"
></el-button>
<el-button
icon=
"el-icon-plus"
circle
@
click=
"handleLabelAdd(index)"
></el-button>
</div>
<div
style=
"text-align: center"
>
<el-button
type=
"primary"
@
click=
"handleLabelSubmit"
>
修改箱号
</el-button>
</div>
</
template
>
</el-form>
<warehouse-area-dialog
ref=
"area"
:visible.sync=
"areaVisible"
v-model=
"form.orderLocationCreateReqVOList"
...
...
@@ -176,7 +190,7 @@ import {
getOrder
,
getOrderWarehouseIn
,
getSpecialListByOrderId
,
listByOrderId
,
orderWarehouseInFinish
,
orderWarehouseInFinish
,
orderWarehouseInUpdateLabel
,
rollbackDelete
}
from
'
@/api/ecw/order
'
import
orderBaseInfo
from
"
@/components/OrderBaseInfo
"
...
...
@@ -238,10 +252,36 @@ export default {
isShowPrintTag
:
false
,
isShowPrint
:
false
,
escapeBol
:
false
,
label
:
{
"
orderId
"
:
0
,
"
orderLabelDtoList
"
:
[
{
"
end
"
:
0
,
"
start
"
:
0
}
]
}
}
},
methods
:
{
handleLabelSubmit
(){
orderWarehouseInUpdateLabel
({
...
this
.
label
,
orderId
:
this
.
orderId
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
}
})
},
handleLabelAdd
(
index
){
this
.
label
.
orderLabelDtoList
.
splice
(
index
+
1
,
0
,
{
"
end
"
:
''
,
"
start
"
:
''
})
},
getTowSum
(){
let
sumVolume
=
0
let
sumWeight
=
0
...
...
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