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
638bf017
Commit
638bf017
authored
Nov 27, 2022
by
dcy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
7ff72c05
561a9c07
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
150 additions
and
114 deletions
+150
-114
dict.js
src/utils/dict.js
+1
-0
index.vue
src/views/ecw/box/ladingBill/index.vue
+1
-1
review.vue
src/views/ecw/box/shippingSea/nodePage/review.vue
+41
-25
delay.vue
src/views/ecw/customer/delay.vue
+2
-0
edit.vue
src/views/ecw/customer/edit.vue
+9
-14
index.vue
src/views/ecw/customer/index.vue
+2
-2
query.vue
src/views/ecw/customer/query.vue
+6
-0
index.vue
src/views/ecw/myCustomerService/index.vue
+4
-0
logList.vue
src/views/ecw/offer/logList.vue
+14
-3
index.vue
src/views/ecw/order/index.vue
+70
-69
No files found.
src/utils/dict.js
View file @
638bf017
...
...
@@ -116,6 +116,7 @@ export const DICT_TYPE = {
ECW_PRICE_AUDIT_STATUS
:
'
price_audit_status
'
,
// 路线价格审核状态
ECW_CANCEL_PICK_TYPE
:
'
cancel_pick_type
'
,
// 取消放货类型
ECW_CUSTOMER_RESOURCE_TYPE
:
'
customer_resource_type
'
,
// 客户资源类型
ECW_CUSTOMER_TRANSPORT_TYPE
:
'
customer_transport_type
'
,
// 客户出货渠道(跟运输方式相同,但是显示全部)
//--------ecw---------
CUSTOMER_STATUS
:
'
customer_status
'
,
CUSTOMER_SOURCE
:
'
customer_source
'
,
...
...
src/views/ecw/box/ladingBill/index.vue
View file @
638bf017
...
...
@@ -16,7 +16,7 @@
<div
v-for=
"(item, index) in scope.row.orderItemList"
:key=
"index"
class=
"goodList-div"
>
<p>
{{
$t
(
'
品名
'
)
}}
:
{{
item
.
prodTitleZh
}}
</p>
<p>
{{
$t
(
'
品牌
'
)
}}
:【
<dict-tag
:type=
"DICT_TYPE.PRODUCT_RECORD_ATTRIBUTE"
:value=
"item.
productRecord
"
/>
<dict-tag
:type=
"DICT_TYPE.PRODUCT_RECORD_ATTRIBUTE"
:value=
"item.
feeType
"
/>
】
</p>
<p>
{{
$t
(
'
其他
'
)
}}
:
{{
getTotlContent
(
item
)
}}
</p>
...
...
src/views/ecw/box/shippingSea/nodePage/review.vue
View file @
638bf017
...
...
@@ -8,13 +8,14 @@
<el-row
class=
"operate-button"
>
<el-button
type=
"success"
@
click=
"onSubmit"
v-show=
"!isReview"
>
{{
$t
(
'
发起申请
'
)
}}
</el-button>
<el-button
type=
"primary"
@
click=
"jumpReviewDetail"
v-show=
"isReview"
>
{{
$t
(
'
审核中
'
)
}}
</el-button>
<el-button
plain
type=
"primary"
@
click=
"canclAudit"
v-show=
"isReview"
>
{{
$t
(
'
取消审核
'
)
}}
</el-button>
<el-button
@
click=
"cancel"
>
{{
$t
(
'
关闭
'
)
}}
</el-button>
</el-row>
</div>
</
template
>
<
script
>
import
{
approvalCreate
}
from
"
@/api/ecw/boxSea
"
;
import
{
approvalCreate
,
approvalCancel
}
from
"
@/api/ecw/boxSea
"
;
import
{
serviceMsg
,
toReviewDetail
}
from
"
../utils
"
;
/**
...
...
@@ -29,41 +30,56 @@ export default {
reviewObj
:
{},
isReview
:
false
,
bpmProcessId
:
""
,
voKey
:
""
,
};
},
created
()
{
const
{
currNode
,
shipmentObj
}
=
this
.
$attrs
;
const
{
preInstallBackInfo
,
cabinetBackInfo
,
cabinetUnloadBackApprovalInfo
,
}
=
shipmentObj
;
if
(
currNode
.
type
===
"
preinstall
"
)
{
this
.
isReview
=
preInstallBackInfo
?
true
:
false
;
if
(
preInstallBackInfo
&&
preInstallBackInfo
.
approvalStatus
!==
1
)
{
this
.
isReview
=
false
;
}
this
.
bpmProcessId
=
preInstallBackInfo
?.
bpmProcessId
;
let
voKey
=
""
;
switch
(
currNode
.
type
)
{
case
"
preinstall
"
:
voKey
=
"
preInstallBackInfo
"
;
break
;
case
"
cabinet
"
:
voKey
=
"
cabinetBackInfo
"
;
break
;
case
"
unloading
"
:
voKey
=
"
cabinetUnloadBackApprovalInfo
"
;
break
;
}
if
(
currNode
.
type
===
"
cabinet
"
)
{
this
.
isReview
=
cabinetBackInfo
?
true
:
false
;
if
(
cabinetBackInfo
&&
cabinetBackInfo
.
approvalStatus
!==
1
)
{
if
(
voKey
)
{
this
.
isReview
=
shipmentObj
[
voKey
]
?
true
:
false
;
if
(
shipmentObj
[
voKey
]
&&
shipmentObj
[
voKey
].
approvalStatus
!==
1
)
{
this
.
isReview
=
false
;
}
this
.
bpmProcessId
=
cabinetBackInfo
?.
bpmProcessId
;
}
if
(
currNode
.
type
===
"
unloading
"
)
{
this
.
isReview
=
cabinetUnloadBackApprovalInfo
?
true
:
false
;
if
(
cabinetUnloadBackApprovalInfo
&&
cabinetUnloadBackApprovalInfo
.
approvalStatus
!==
1
)
{
this
.
isReview
=
false
;
this
.
bpmProcessId
=
shipmentObj
[
voKey
].
bpmProcessId
;
if
(
this
.
isReview
)
{
this
.
$set
(
this
.
reviewObj
,
"
applyReason
"
,
shipmentObj
[
voKey
].
applyReason
);
}
this
.
bpmProcessId
=
cabinetUnloadBackApprovalInfo
?.
bpmProcessId
;
}
this
.
voKey
=
voKey
;
},
methods
:
{
/* 取消审核 */
canclAudit
()
{
const
{
shipmentObj
}
=
this
.
$attrs
;
approvalCancel
({
applyReason
:
this
.
$t
(
"
取消反审核
"
),
id
:
shipmentObj
[
this
.
voKey
].
id
,
shipmentId
:
shipmentObj
.
id
,
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
$emit
(
"
closeDialog
"
,
"
submit
"
);
});
});
},
jumpReviewDetail
()
{
toReviewDetail
.
apply
(
this
,
[
this
.
bpmProcessId
]);
this
.
$emit
(
"
closeDialog
"
);
...
...
src/views/ecw/customer/delay.vue
View file @
638bf017
...
...
@@ -113,6 +113,8 @@
}
if
(
that
.
handlerParams
.
estimateEnterOpenSeaTime
){
that
.
handlerParams
.
estimateEnterOpenSeaTime
=
that
.
getTime
(
that
.
handlerParams
.
estimateEnterOpenSeaTime
)
}
else
{
that
.
$set
(
that
.
handlerParams
,
'
estimateEnterOpenSeaTime
'
,
that
.
customerData
.
estimateEnterOpenSeaTime
)
}
if
(
that
.
handlerParams
.
ccIds
){
var
ids
=
that
.
handlerParams
.
ccIds
.
split
(
'
,
'
)
...
...
src/views/ecw/customer/edit.vue
View file @
638bf017
...
...
@@ -30,24 +30,23 @@
<el-input
v-model=
"form.address"
:placeholder=
"$t('请输入联系地址')"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('
客户类别')"
prop=
"t
ype"
>
<dict-selector
:type=
"DICT_TYPE.
CUSTOMER_TYPE"
form-type=
"checkbox"
multiple
v-model=
"form.t
ype"
></dict-selector>
<el-form-item
:label=
"$t('
出货渠道')"
prop=
"transportT
ype"
>
<dict-selector
:type=
"DICT_TYPE.
ECW_CUSTOMER_TRANSPORT_TYPE"
form-type=
"checkbox"
multiple
v-model=
"form.transportT
ype"
></dict-selector>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('
货运类型')"
prop=
"transportT
ype"
>
<dict-selector
:type=
"DICT_TYPE.
TRANSPORT_TYPE"
form-type=
"checkbox"
multiple
v-model=
"form.transportT
ype"
></dict-selector>
<el-form-item
:label=
"$t('
客户类别')"
prop=
"t
ype"
>
<dict-selector
:type=
"DICT_TYPE.
CUSTOMER_TYPE"
form-type=
"checkbox"
multiple
v-model=
"form.t
ype"
></dict-selector>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('常用提货网点')"
prop=
"pickupPoint"
>
<el-select
v-model=
"form.pickupPoint"
:placeholder=
"$t('请输入常用提货网点')"
>
<el-option
v-for=
"node in nodeList"
:key=
"node.id"
:label=
"node.titleZh"
:value=
"node.id"
/>
</el-select>
<el-form-item
:label=
"$t('资源类型')"
prop=
"remarks"
>
<dict-selector
:type=
"DICT_TYPE.ECW_CUSTOMER_RESOURCE_TYPE"
v-model=
"form.resourceType"
formatter=
"number"
></dict-selector>
</el-form-item>
</el-col>
<el-col
:span=
"13"
v-show=
"form.type && form.type.indexOf('2') !== -1"
>
<el-form-item
:label=
"$t('所属代理')"
prop=
"agentId"
>
<el-select
filterable
clearable
v-model=
"form.agentId"
:placeholder=
"$t('请选择所属代理')"
>
...
...
@@ -172,11 +171,7 @@
<el-switch
v-model=
"form.isShowTidanPrice"
></el-switch>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('资源类型')"
prop=
"remarks"
>
<dict-selector
:type=
"DICT_TYPE.ECW_CUSTOMER_RESOURCE_TYPE"
v-model=
"form.resourceType"
formatter=
"number"
></dict-selector>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<el-form-item
:label=
"$t('到仓确认')"
prop=
"arrivalConfirm"
>
<el-switch
v-model=
"form.arrivalConfirm"
:active-value=
"1"
:inactive-value=
"0"
/>
...
...
src/views/ecw/customer/index.vue
View file @
638bf017
...
...
@@ -119,9 +119,9 @@
</el-table-column>
<el-table-column
:label=
"$t('客户经理')"
align=
"center"
prop=
"customerService"
:formatter=
"customerServiceFn"
>
</el-table-column>
<el-table-column
:label=
"$t('
运输方式
')"
>
<el-table-column
:label=
"$t('
出货渠道
')"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
v-if=
"row.transportType"
v-for=
"item in row.transportType.split(',')"
:type=
"DICT_TYPE.TRANSPORT_TYPE"
:value=
"item"
></dict-tag>
<dict-tag
v-if=
"row.transportType"
v-for=
"item in row.transportType.split(',')"
:type=
"DICT_TYPE.
ECW_CUSTOMER_
TRANSPORT_TYPE"
:value=
"item"
></dict-tag>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('国家')"
align=
"center"
prop=
"country"
:formatter=
"countryFormatter"
></el-table-column>
...
...
src/views/ecw/customer/query.vue
View file @
638bf017
...
...
@@ -18,6 +18,12 @@
<el-descriptions-item
:label=
"$t('客户名称')"
>
{{
customer
.
name
}}
</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('出货渠道')
"
>
<
dict
-
tag
v
-
if
=
"
customer.transportType
"
v
-
for
=
"
item in customer.transportType.split(',')
"
:
type
=
"
DICT_TYPE.ECW_CUSTOMER_TRANSPORT_TYPE
"
:
value
=
"
item
"
><
/dict-tag
>
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('资源类型')
"
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.ECW_CUSTOMER_RESOURCE_TYPE
"
:
value
=
"
customer.resourceType
"
><
/dict-tag
>
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('客户等级')
"
>
{{
getDictDataLabel
(
DICT_TYPE
.
CUSTOMER_LEVEL
,
customer
.
level
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('国家')
"
>
{{
country
}}
<
/el-descriptions-item
>
<!--
<
el
-
descriptions
-
item
:
label
=
"
$t('业务员')
"
>
{{
customer
}}
<
/el-descriptions-item>--
>
...
...
src/views/ecw/myCustomerService/index.vue
View file @
638bf017
...
...
@@ -112,6 +112,7 @@
v-hasPermi=
"['ecw:customer:update']"
@
click=
"complaint(scope.row)"
>
{{
$t
(
'
客诉
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['ecw:customer:delete']"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
<el-button
:disabled=
"scope.row.isInOpenSea"
size=
"mini"
type=
"text"
icon=
"el-icon-user"
@
click=
"delay(scope.row)"
>
{{
$t
(
'
延期
'
)
}}
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -219,6 +220,9 @@ export default {
handleSelectionChange
(
val
){
this
.
selectCustomerList
=
val
.
map
(
i
=>
i
.
id
);
},
delay
(
row
){
this
.
$router
.
push
({
path
:
'
/customer/delay
'
,
query
:{
id
:
row
.
id
}})
},
countryFormatter
(
row
,
column
,
cellValue
)
{
const
country
=
this
.
countryList
.
find
((
e
)
=>
e
.
id
===
cellValue
)
return
country
?.
nameZh
...
...
src/views/ecw/offer/logList.vue
View file @
638bf017
...
...
@@ -17,7 +17,7 @@
</el-table-column>
<el-table-column
:label=
"$t('跟进类型')"
align=
"center"
prop=
"type"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.
ECW_OFFER
_TYPE"
:value=
"scope.row.type"
></dict-tag>
<dict-tag
:type=
"DICT_TYPE.
CUSTOMER_FOLLOW
_TYPE"
:value=
"scope.row.type"
></dict-tag>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('联系人')"
align=
"center"
prop=
"contactName"
/>
...
...
@@ -34,8 +34,11 @@
</el-table-column>
<el-table-column
:label=
"$t('客户反馈')"
align=
"center"
prop=
"customerFeedback"
/>
<el-table-column
:label=
"$t('处理结果')"
align=
"center"
prop=
"processingResults"
/>
<el-table-column
:label=
"$t('客户经理')"
align=
"center"
prop=
"followUpSalesmanName"
/>
<el-table-column
:label=
"$t('客户经理')"
align=
"center"
prop=
"followUpSalesmanName"
>
<
template
slot-scope=
"scope"
>
<span>
{{
getCustomerService
(
scope
.
row
.
followUpSalesmanId
)
}}
</span>
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"params.page"
:limit.sync=
"params.rows"
@
pagination=
"getList"
/>
...
...
@@ -47,6 +50,7 @@
import
{
getOfferLogPage
}
from
"
@/api/ecw/offerLog
"
;
import
{
DICT_TYPE
}
from
'
@/utils/dict
'
import
{
getOffer
}
from
'
@/api/ecw/offer
'
import
{
userList
}
from
"
@/api/system/user
"
export
default
{
name
:
"
OfferLog
"
,
components
:
{
...
...
@@ -67,6 +71,7 @@ export default {
number
:
''
,
relationId
:
0
,
creatorName
:
'
test
'
,
creatorData
:[]
};
},
created
()
{
...
...
@@ -75,6 +80,7 @@ export default {
this
.
getList
();
this
.
getRelationID
()
}
userList
(
'
customer service
'
).
then
(
res
=>
this
.
creatorData
=
res
.
data
)
},
methods
:
{
/** 查询列表 */
...
...
@@ -89,6 +95,11 @@ export default {
});
},
getCustomerService
(
id
){
var
user
=
this
.
creatorData
.
find
(
item
=>
item
.
id
==
id
)
if
(
user
)
return
user
.
nickname
return
''
},
getRelationID
(){
getOffer
(
this
.
params
.
offerId
).
then
(
response
=>
{
this
.
relationId
=
response
.
data
.
consignorId
;
...
...
src/views/ecw/order/index.vue
View file @
638bf017
...
...
@@ -251,75 +251,76 @@
</el-dropdown-menu>
</el-dropdown>
<el-divider
direction=
"vertical"
v-if=
"scope.row.status != 0"
></el-divider>
<!--仓库相关的-->
<el-dropdown
v-if=
"scope.row.status != 0"
>
<el-button
type=
"text"
>
{{$t('仓库')}}
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<!-- 入仓操作 -->
<
template
v-if=
"include(scope.row.status, [0,2]) || include(scope.row.abnormalState, [1]) || scope.row.inWarehouseState == 208"
>
<el-dropdown-item
@
click.native=
"$router.push('/order/warehousing?id=' + scope.row.orderId)"
v-hasPermi=
"['ecw:order:update']"
>
{{
$t
(
'
入仓操作
'
)
}}
</el-dropdown-item>
</
template
>
<!-- 入仓补充 -->
<
template
v-if=
"
include(scope.row.inWarehouseState, [201,202, 202, 210, 202, 211, 202, 213, 214, 215, 216]) &&
scope.row.abnormalState != 1 &&
include(scope.row.status, [2,3,5,10,9,8])
"
>
<el-dropdown-item
@
click.native=
"$router.push('/order/warehousing-add?id=' + scope.row.orderId)"
v-hasPermi=
"['ecw:order:update']"
>
{{
$t
(
'
入仓补充
'
)
}}
</el-dropdown-item>
</
template
>
<!-- 入仓修改 -->
<
template
v-if=
"
include(scope.row.inWarehouseState, [202, 207, 202, 209, 210, 202, 211, 212, 202, 213, 214, 215, 216, 204, 205, 206])
"
>
<el-dropdown-item
@
click.native=
"$router.push('/order/warehousing-update?id=' + scope.row.orderId)"
v-hasPermi=
"['ecw:order:update']"
>
{{
$t
(
'
入仓修改
'
)
}}
</el-dropdown-item>
</
template
>
<!-- 退仓 -->
<
template
v-if=
"
(
include(scope.row.inWarehouseState, [202, 210, 211, 213, 214, 215, 216]) &&
exclude(scope.row.abnormalState, [1])
) ||
include(scope.row.status, [16])
"
>
<el-dropdown-item
@
click.native=
"show = true;orderId = scope.row.orderId; "
v-hasPermi=
"['ecw:order:update']"
>
{{
$t
(
'
退仓
'
)
}}
</el-dropdown-item>
</
template
>
<!-- 调仓 -->
<
template
v-if=
"
include(scope.row.inWarehouseState, [202, 207, 209, 210, 202, 211, 212, 215, 216, 218]) ||
(include(scope.row.status, [16]) && exclude(scope.row.inWarehouseState, [213,214]))
"
>
<el-dropdown-item
@
click.native=
"orderId = scope.row.orderId;warehouseBol=true;"
>
{{
$t
(
'
调仓
'
)
}}
</el-dropdown-item>
</
template
>
<!-- 取消调仓 -->
<!-- <template v-if="
include(scope.row.inWarehouseState, [212,213,214])
">
<el-dropdown-item @click.native="$alert('// TODO')" >{{$t('取消调仓')}}</el-dropdown-item>
</template> -->
<!-- 调拨出仓 -->
<
template
v-if=
"
include(scope.row.inWarehouseState, [213])
"
>
<el-dropdown-item
@
click.native=
"$router.push(
{path:'/order/transfer-warehousing/' + scope.row.orderId + '/' + 1 })" >
{{
$t
(
'
调拨出仓
'
)
}}
</el-dropdown-item>
</
template
>
<!-- 调拨到仓 -->
<
template
v-if=
"
include(scope.row.inWarehouseState, [214])
"
>
<el-dropdown-item
@
click.native=
"$router.push(
{path:'/order/transfer-to-warehouse/' + scope.row.orderId + '/' + 2 })" >
{{
$t
(
'
调拨到仓
'
)
}}
</el-dropdown-item>
</
template
>
</el-dropdown-menu>
</el-dropdown>
<
template
v-if=
"scope.row.status != 0 && scope.row.inWarehouseState != 206"
>
<el-divider
direction=
"vertical"
></el-divider>
<!--仓库相关的-->
<el-dropdown>
<el-button
type=
"text"
>
{{
$t
(
'
仓库
'
)
}}
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<!-- 入仓操作 -->
<template
v-if=
"include(scope.row.status, [0,2]) || include(scope.row.abnormalState, [1]) || scope.row.inWarehouseState == 208"
>
<el-dropdown-item
@
click.native=
"$router.push('/order/warehousing?id=' + scope.row.orderId)"
v-hasPermi=
"['ecw:order:update']"
>
{{
$t
(
'
入仓操作
'
)
}}
</el-dropdown-item>
</
template
>
<!-- 入仓补充 -->
<
template
v-if=
"
include(scope.row.inWarehouseState, [201,202, 202, 210, 202, 211, 202, 213, 214, 215, 216]) &&
scope.row.abnormalState != 1 &&
include(scope.row.status, [2,3,5,10,9,8])
"
>
<el-dropdown-item
@
click.native=
"$router.push('/order/warehousing-add?id=' + scope.row.orderId)"
v-hasPermi=
"['ecw:order:update']"
>
{{
$t
(
'
入仓补充
'
)
}}
</el-dropdown-item>
</
template
>
<!-- 入仓修改 -->
<
template
v-if=
"
include(scope.row.inWarehouseState, [202, 207, 202, 209, 210, 202, 211, 212, 202, 213, 214, 215, 216, 204, 205])
"
>
<el-dropdown-item
@
click.native=
"$router.push('/order/warehousing-update?id=' + scope.row.orderId)"
v-hasPermi=
"['ecw:order:update']"
>
{{
$t
(
'
入仓修改
'
)
}}
</el-dropdown-item>
</
template
>
<!-- 退仓 -->
<
template
v-if=
"
(
include(scope.row.inWarehouseState, [202, 210, 211, 213, 214, 215, 216]) &&
exclude(scope.row.abnormalState, [1])
) ||
include(scope.row.status, [16])
"
>
<el-dropdown-item
@
click.native=
"show = true;orderId = scope.row.orderId; "
v-hasPermi=
"['ecw:order:update']"
>
{{
$t
(
'
退仓
'
)
}}
</el-dropdown-item>
</
template
>
<!-- 调仓 -->
<
template
v-if=
"
include(scope.row.inWarehouseState, [202, 207, 209, 210, 202, 211, 212, 215, 216, 218]) ||
(include(scope.row.status, [16]) && exclude(scope.row.inWarehouseState, [213,214]))
"
>
<el-dropdown-item
@
click.native=
"orderId = scope.row.orderId;warehouseBol=true;"
>
{{
$t
(
'
调仓
'
)
}}
</el-dropdown-item>
</
template
>
<!-- 取消调仓 -->
<!-- <template v-if="
include(scope.row.inWarehouseState, [212,213,214])
">
<el-dropdown-item @click.native="$alert('// TODO')" >{{$t('取消调仓')}}</el-dropdown-item>
</template> -->
<!-- 调拨出仓 -->
<
template
v-if=
"
include(scope.row.inWarehouseState, [213])
"
>
<el-dropdown-item
@
click.native=
"$router.push(
{path:'/order/transfer-warehousing/' + scope.row.orderId + '/' + 1 })" >
{{
$t
(
'
调拨出仓
'
)
}}
</el-dropdown-item>
</
template
>
<!-- 调拨到仓 -->
<
template
v-if=
"
include(scope.row.inWarehouseState, [214])
"
>
<el-dropdown-item
@
click.native=
"$router.push(
{path:'/order/transfer-to-warehouse/' + scope.row.orderId + '/' + 2 })" >
{{
$t
(
'
调拨到仓
'
)
}}
</el-dropdown-item>
</
template
>
</el-dropdown-menu>
</el-dropdown>
</template>
<el-divider
direction=
"vertical"
v-if=
"scope.row.status != 0"
></el-divider>
<!--打印相关的-->
...
...
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