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
707619d0
Commit
707619d0
authored
Sep 12, 2022
by
huhaiqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审核中点击跳转审核详情
parent
c0651547
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
196 additions
and
45 deletions
+196
-45
startPacking.vue
...ews/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
+7
-1
cusDeclaration.vue
src/views/ecw/box/shippingSea/nodePage/cusDeclaration.vue
+136
-37
preinstall.vue
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
+13
-2
startUnloading.vue
...ecw/box/shippingSea/nodePage/unloading/startUnloading.vue
+7
-2
seaProcess.vue
src/views/ecw/box/shippingSea/seaProcess.vue
+20
-3
utils.js
src/views/ecw/box/shippingSea/utils.js
+13
-0
No files found.
src/views/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
View file @
707619d0
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
<el-button
type=
"primary"
@
click=
"handlerClick('modifyCabinet','修改柜信息')"
>
修改柜信息
</el-button>
<el-button
type=
"primary"
@
click=
"handlerClick('modifyCabinet','修改柜信息')"
>
修改柜信息
</el-button>
</div>
</div>
<div
v-if=
"isUnderReview"
>
<div
v-if=
"isUnderReview"
>
<el-button
type=
"primary"
:disabled=
true
>
封柜审核中
</el-button>
<el-button
type=
"primary"
@
click=
"jumpReviewDetail"
>
封柜审核中
</el-button>
<el-button
plain
type=
"primary"
@
click=
"canclAudit"
>
取消审核
</el-button>
<el-button
plain
type=
"primary"
@
click=
"canclAudit"
>
取消审核
</el-button>
<el-button
plain
type=
"primary"
@
click=
"$emit('closeDialog')"
>
返回
</el-button>
<el-button
plain
type=
"primary"
@
click=
"$emit('closeDialog')"
>
返回
</el-button>
</div>
</div>
...
@@ -220,6 +220,7 @@ import {
...
@@ -220,6 +220,7 @@ import {
serviceMsg
,
serviceMsg
,
getCapacity
,
getCapacity
,
sumStatistics
,
sumStatistics
,
toReviewDetail
,
}
from
"
../../utils
"
;
}
from
"
../../utils
"
;
import
splitOrder
from
"
./splitOrder.vue
"
;
import
splitOrder
from
"
./splitOrder.vue
"
;
import
WorkFlow
from
"
@/components/WorkFlow
"
;
import
WorkFlow
from
"
@/components/WorkFlow
"
;
...
@@ -519,6 +520,11 @@ export default {
...
@@ -519,6 +520,11 @@ export default {
});
});
});
});
},
},
jumpReviewDetail
()
{
const
{
cabinetApprovalInfo
}
=
this
.
shipmentObj
;
toReviewDetail
.
apply
(
this
,
[
cabinetApprovalInfo
.
bpmProcessId
]);
this
.
$emit
(
"
closeDialog
"
,
"
close
"
);
},
},
},
computed
:
{
computed
:
{
/* 是否审核中 */
/* 是否审核中 */
...
...
src/views/ecw/box/shippingSea/nodePage/cusDeclaration.vue
View file @
707619d0
This diff is collapsed.
Click to expand it.
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
View file @
707619d0
...
@@ -277,7 +277,7 @@
...
@@ -277,7 +277,7 @@
<work-flow
xmlkey=
"shipment_preassemble"
v-model=
"selectedUsers"
></work-flow>
<work-flow
xmlkey=
"shipment_preassemble"
v-model=
"selectedUsers"
></work-flow>
</div>
</div>
<div
v-show=
"isAudit"
>
<div
v-show=
"isAudit"
>
<el-button
type=
"primary"
:disabled=
true
>
审核中
</el-button>
<el-button
type=
"primary"
@
click=
"jumpReviewDetail"
>
审核中
</el-button>
<el-button
plain
type=
"primary"
@
click=
"canclAudit"
>
取消审核
</el-button>
<el-button
plain
type=
"primary"
@
click=
"canclAudit"
>
取消审核
</el-button>
<el-button
plain
type=
"primary"
@
click=
"closeDialog"
>
返回
</el-button>
<el-button
plain
type=
"primary"
@
click=
"closeDialog"
>
返回
</el-button>
</div>
</div>
...
@@ -302,7 +302,13 @@ import {
...
@@ -302,7 +302,13 @@ import {
approvalCancel
,
approvalCancel
,
}
from
"
@/api/ecw/boxSea
"
;
}
from
"
@/api/ecw/boxSea
"
;
import
userSelect
from
"
./common/userSelect.vue
"
;
import
userSelect
from
"
./common/userSelect.vue
"
;
import
{
formatDate
,
getTotlContent
,
serviceMsg
,
getCapacity
}
from
"
../utils
"
;
import
{
formatDate
,
getTotlContent
,
serviceMsg
,
getCapacity
,
toReviewDetail
,
}
from
"
../utils
"
;
import
dayjs
from
"
dayjs
"
;
import
dayjs
from
"
dayjs
"
;
import
WorkFlow
from
"
@/components/WorkFlow
"
;
import
WorkFlow
from
"
@/components/WorkFlow
"
;
...
@@ -613,6 +619,11 @@ export default {
...
@@ -613,6 +619,11 @@ export default {
});
});
});
});
},
},
jumpReviewDetail
()
{
const
{
currNode
,
shipmentObj
}
=
this
.
$attrs
;
toReviewDetail
.
apply
(
this
,
[
shipmentObj
[
currNode
.
voName
].
bpmProcessId
]);
this
.
$emit
(
"
closeDialog
"
);
},
},
},
};
};
</
script
>
</
script
>
...
...
src/views/ecw/box/shippingSea/nodePage/unloading/startUnloading.vue
View file @
707619d0
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
<el-button
plain
type=
"primary"
@
click=
"$emit('closeStart')"
>
返回
</el-button>
<el-button
plain
type=
"primary"
@
click=
"$emit('closeStart')"
>
返回
</el-button>
</div>
</div>
<div
v-if=
"isUnderReview"
>
<div
v-if=
"isUnderReview"
>
<el-button
type=
"primary"
:disabled=
true
>
卸柜审核中
</el-button>
<el-button
type=
"primary"
@
click=
"jumpReviewDetail"
>
卸柜审核中
</el-button>
<el-button
plain
type=
"primary"
@
click=
"canclAudit"
>
取消审核
</el-button>
<el-button
plain
type=
"primary"
@
click=
"canclAudit"
>
取消审核
</el-button>
<el-button
plain
type=
"primary"
@
click=
"$emit('closeStart')"
>
返回
</el-button>
<el-button
plain
type=
"primary"
@
click=
"$emit('closeStart')"
>
返回
</el-button>
</div>
</div>
...
@@ -123,7 +123,7 @@ import {
...
@@ -123,7 +123,7 @@ import {
approvalCancel
,
approvalCancel
,
getSectionList
,
getSectionList
,
}
from
"
@/api/ecw/boxSea
"
;
}
from
"
@/api/ecw/boxSea
"
;
import
{
serviceMsg
,
getTotlContent
}
from
"
../../utils
"
;
import
{
serviceMsg
,
getTotlContent
,
toReviewDetail
}
from
"
../../utils
"
;
import
WorkFlow
from
"
@/components/WorkFlow
"
;
import
WorkFlow
from
"
@/components/WorkFlow
"
;
/**
/**
...
@@ -302,6 +302,11 @@ export default {
...
@@ -302,6 +302,11 @@ export default {
path
:
`/order/pending?id=
${
row
.
orderId
}
`
,
path
:
`/order/pending?id=
${
row
.
orderId
}
`
,
});
});
},
},
jumpReviewDetail
()
{
const
{
cabinetUnloadApprovalInfo
}
=
this
.
$attrs
.
shipmentObj
;
toReviewDetail
.
apply
(
this
,
[
cabinetUnloadApprovalInfo
.
bpmProcessId
]);
this
.
$emit
(
"
closeStart
"
,
"
close
"
);
},
},
},
computed
:
{
computed
:
{
/* 是否审核中 */
/* 是否审核中 */
...
...
src/views/ecw/box/shippingSea/seaProcess.vue
View file @
707619d0
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<!-- 弹窗 -->
<!-- 弹窗 -->
<el-dialog
custom-class=
"shipping-dialog"
:title=
"dialogConfig.title"
:visible.sync=
"dialogConfig.dialogVisible"
:width=
"dialogConfig.width"
:fullscreen=
"dialogConfig.fullscreen"
:close-on-click-modal=
false
:modal-append-to-body=
false
append-to-body
>
<el-dialog
custom-class=
"shipping-dialog"
:title=
"dialogConfig.title"
:visible.sync=
"dialogConfig.dialogVisible"
:width=
"dialogConfig.width"
:fullscreen=
"dialogConfig.fullscreen"
:close-on-click-modal=
false
:modal-append-to-body=
false
append-to-body
>
<component
v-bind:is=
"currentComponent"
v-if=
"dialogConfig.dialogVisible"
@
closeDialog=
"closeDialog"
v-bind=
"$attrs"
:shipmentObj=
"shipmentObj"
:currNode=
"currNode"
></component>
<component
v-bind:is=
"currentComponent"
v-if=
"dialogConfig.dialogVisible"
@
closeDialog=
"closeDialog"
v-bind=
"$attrs"
v-on=
"$listeners"
:shipmentObj=
"shipmentObj"
:currNode=
"currNode"
></component>
</el-dialog>
</el-dialog>
</div>
</div>
</
template
>
</
template
>
...
@@ -178,7 +178,8 @@ export default {
...
@@ -178,7 +178,8 @@ export default {
watch
:
{
watch
:
{
/* 监听发货对象 */
/* 监听发货对象 */
shipmentObj
(
val
)
{
shipmentObj
(
val
)
{
let
newNodes
=
[];
let
newNodes
=
[],
finish
=
0
;
// 迭代每个节点
// 迭代每个节点
for
(
let
i
=
0
;
i
<
this
.
seaBaseData
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
seaBaseData
.
length
;
i
++
)
{
const
nodes
=
this
.
seaBaseData
[
i
];
const
nodes
=
this
.
seaBaseData
[
i
];
...
@@ -187,6 +188,7 @@ export default {
...
@@ -187,6 +188,7 @@ export default {
const
node
=
nodes
[
j
];
const
node
=
nodes
[
j
];
const
{
keyName
,
voName
,
status
,
type
}
=
node
;
const
{
keyName
,
voName
,
status
,
type
}
=
node
;
// agent
if
(
!
keyName
&&
type
===
"
agent
"
)
{
if
(
!
keyName
&&
type
===
"
agent
"
)
{
if
(
val
[
voName
])
{
if
(
val
[
voName
])
{
// 已完成agent节点
// 已完成agent节点
...
@@ -212,6 +214,20 @@ export default {
...
@@ -212,6 +214,20 @@ export default {
if
(
end
.
includes
(
val
[
keyName
]))
{
if
(
end
.
includes
(
val
[
keyName
]))
{
node
.
currStatus
=
"
end
"
;
node
.
currStatus
=
"
end
"
;
// 报关
if
(
type
===
"
cusDeclaration
"
)
{
const
{
dcCustomsStatus
,
dcCheckStatus
}
=
val
;
// 查验状态并且是退场/部分退场
if
(
dcCustomsStatus
===
3
&&
[
1
,
2
].
includes
(
dcCheckStatus
))
{
// 只有审核通过并且已处理才算完成
if
(
val
.
checkExamineStatus
===
2
&&
val
.
checkDealStatus
===
1
)
{
// 已完成节点个数
++
nodeIndex
;
}
else
{
continue
;
}
}
}
// 已完成节点个数
// 已完成节点个数
++
nodeIndex
;
++
nodeIndex
;
}
}
...
@@ -219,10 +235,11 @@ export default {
...
@@ -219,10 +235,11 @@ export default {
// 如果相等标识该步骤已完成
// 如果相等标识该步骤已完成
if
(
nodeIndex
===
nodes
.
length
)
{
if
(
nodeIndex
===
nodes
.
length
)
{
// 加1表示为已完成步骤后一步
// 加1表示为已完成步骤后一步
this
.
currIndex
=
i
+
1
;
finish
=
finish
+
1
;
}
}
newNodes
.
push
(
nodes
);
newNodes
.
push
(
nodes
);
}
}
this
.
currIndex
=
finish
;
this
.
processData
=
newNodes
;
this
.
processData
=
newNodes
;
},
},
},
},
...
...
src/views/ecw/box/shippingSea/utils.js
View file @
707619d0
...
@@ -1030,6 +1030,18 @@ function serviceMsg(result, _vue) {
...
@@ -1030,6 +1030,18 @@ function serviceMsg(result, _vue) {
});
});
}
}
/**
* 跳转审核详情
*
* @param {*} bpmProcessId
*/
function toReviewDetail(bpmProcessId) {
this.$router.push({
path: "/bpm/process-instance/detail",
query: { id: bpmProcessId },
});
}
export {
export {
getStatusName,
getStatusName,
getColmnMapping,
getColmnMapping,
...
@@ -1044,4 +1056,5 @@ export {
...
@@ -1044,4 +1056,5 @@ export {
getCapacity,
getCapacity,
sumStatistics,
sumStatistics,
serviceMsg,
serviceMsg,
toReviewDetail,
};
};
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