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
3abb42b8
Commit
3abb42b8
authored
Sep 02, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出货审核
parent
d8b525df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
7 deletions
+20
-7
detail.vue
src/views/bpm/processInstance/detail.vue
+4
-0
shipment.vue
src/views/ecw/box/shippingAir/nodePage/shipment.vue
+16
-7
No files found.
src/views/bpm/processInstance/detail.vue
View file @
3abb42b8
...
...
@@ -421,6 +421,10 @@ export default {
component
:
()
=>
import
(
'
@/views/ecw/customer/components/customer-handover-details.vue
'
),
processId
:
this
.
processInstance
.
businessKey
,
type
:
this
.
processInstance
.
processDefinition
?.
formCustomViewPath
},
// 出货审核
air_shipment
:
{
}
}
console
.
log
(
'
formCustomViewPath
'
,
this
.
processInstance
.
processDefinition
.
formCustomViewPath
.
trim
())
...
...
src/views/ecw/box/shippingAir/nodePage/shipment.vue
View file @
3abb42b8
...
...
@@ -28,7 +28,6 @@
<el-form-item
:label=
"$t('司机联系方式')"
>
<el-input
v-model=
"airShipmentObj.driverPhone"
:placeholder=
"$t('请输入司机联系方式')"
></el-input>
</el-form-item>
</div>
<div
v-show=
"airShipmentObj.deliverType === '2'"
>
...
...
@@ -52,13 +51,15 @@
<el-form-item
:label=
"$t('司机联系方式')"
>
<el-input
v-model=
"airShipmentObj.driverPhone"
:placeholder=
"$t('请输入司机联系方式')"
></el-input>
</el-form-item>
</div>
<el-form-item>
<work-flow
xmlkey=
"shipment_audit"
v-model=
"airShipmentObj.copyUserId"
></work-flow>
</el-form-item>
</el-form>
<el-row
class=
"operate-button"
>
<el-button
v-if=
"airShipmentApprovalInfo && airShipmentApprovalInfo.approvalStatus == 1"
type=
"primary"
>
{{
$t
(
'
出货审核中
'
)
}}
</el-button>
<el-button
v-if=
"airShipmentApprovalInfo && airShipmentApprovalInfo.approvalStatus == 1"
type=
"primary"
@
click=
"goBmpDetail"
>
{{
$t
(
'
出货审核中
'
)
}}
</el-button>
<el-button
v-if=
"airShipmentApprovalInfo && airShipmentApprovalInfo.approvalStatus == 1"
type=
"primary"
@
click=
"canclAudit"
>
{{
$t
(
'
取消出货审核
'
)
}}
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit(1)"
>
{{
$t
(
'
保存
'
)
}}
</el-button>
<el-button
v-if=
"!airShipmentApprovalInfo || airShipmentApprovalInfo.approvalStatus != 1"
type=
"success"
@
click=
"onSubmit(2)"
>
{{
$t
(
'
提交
'
)
}}
</el-button>
...
...
@@ -71,14 +72,14 @@
import
{
airShipmentCreate
,
approvalCancel
}
from
"
@/api/ecw/boxSea
"
;
import
userSelect
from
"
./common/userSelect.vue
"
;
import
{
constantDict
,
formatDateStr
,
formatNumberString
,
serviceMsg
}
from
"
../utils
"
;
import
WorkFlow
from
"
@/components/WorkFlow/index.vue
"
;
/**
* 驳船
*/
export
default
{
name
:
"
shipment
"
,
inheritAttrs
:
false
,
components
:
{
userSelect
},
components
:
{
userSelect
,
WorkFlow
},
data
()
{
return
{
// 空运出货对象
...
...
@@ -117,11 +118,19 @@ export default {
}
});
},
goBmpDetail
(){
this
.
$emit
(
"
closeDialog
"
,
'
close
'
);
this
.
$router
.
push
(
"
/bpm/process-instance/detail?id=
"
+
this
.
airShipmentApprovalInfo
.
bpmProcessId
)
},
/* 取消审核 */
canclAudit
()
{
async
canclAudit
()
{
console
.
log
(
this
.
shipmentObj
)
const
res
=
await
this
.
$prompt
(
this
.
$t
(
"
取消审核
"
),
this
.
$t
(
"
请输入取消原因
"
),
{
confirmButtonText
:
this
.
$t
(
"
确定
"
),
cancelButtonText
:
this
.
$t
(
"
取消
"
),
})
approvalCancel
({
applyReason
:
this
.
$t
(
"
取消审核
"
)
,
applyReason
:
res
.
value
,
id
:
this
.
airShipmentApprovalInfo
.
id
,
shipmentId
:
this
.
$attrs
.
shipmentObj
.
id
,
}).
then
((
res
)
=>
{
...
...
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