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
15b66c6a
Commit
15b66c6a
authored
Sep 30, 2022
by
huhaiqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拆单审核增加状态判断
parent
98039f9c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
32 deletions
+55
-32
index.vue
src/views/ecw/box/shippingSea/nodePage/cabinet/index.vue
+2
-2
splitOrder.vue
...views/ecw/box/shippingSea/nodePage/cabinet/splitOrder.vue
+38
-15
startPacking.vue
...ews/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
+15
-15
No files found.
src/views/ecw/box/shippingSea/nodePage/cabinet/index.vue
View file @
15b66c6a
...
...
@@ -22,7 +22,7 @@
<!-- 开始装柜 -->
<el-dialog
title=
"开始装柜"
:visible.sync=
"dialogVisible"
fullscreen
:modal-append-to-body=
false
append-to-body
>
<startPacking
v-bind=
"$attrs"
v-if=
"dialogVisible"
@
closeDialog=
"closeDialog
"
/>
<startPacking
v-bind=
"$attrs"
v-if=
"dialogVisible"
v-on=
"$listeners"
@
closeDialog1=
"closeDialog1
"
/>
</el-dialog>
<!-- 操作 -->
...
...
@@ -99,7 +99,7 @@ export default {
}
});
},
closeDialog
(
type
)
{
closeDialog
1
(
type
)
{
this
.
dialogVisible
=
false
;
if
(
type
)
this
.
cancel
(
type
);
},
...
...
src/views/ecw/box/shippingSea/nodePage/cabinet/splitOrder.vue
View file @
15b66c6a
...
...
@@ -38,7 +38,7 @@
{{
orderData
.
consignorVO
?
orderData
.
consignorVO
.
company
||
'
无
'
:
'
无
'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"发货电话"
>
{{
orderData
.
consignorVO
?(
orderData
.
consignorVO
.
phone
?(
orderData
.
consignorVO
.
countryCode
+
orderData
.
consignorVO
.
phone
):
'
无
'
):
'
无
'
}}
{{
orderData
.
consignorVO
?(
orderData
.
consignorVO
.
phone
?(
"
+
"
+
orderData
.
consignorVO
.
countryCode
+
orderData
.
consignorVO
.
phone
):
'
无
'
):
'
无
'
}}
</el-descriptions-item>
</el-descriptions>
<el-descriptions
:column=
"4"
>
...
...
@@ -49,7 +49,7 @@
{{
orderData
.
consigneeVO
?
orderData
.
consigneeVO
.
company
||
'
无
'
:
'
无
'
}}
</el-descriptions-item>
<el-descriptions-item
label=
"收货电话"
>
{{
orderData
.
consigneeVO
?
orderData
.
consigneeVO
.
phone
?
orderData
.
consigneeVO
.
countryCode
+
orderData
.
consigneeVO
.
phone
:
'
无
'
:
'
无
'
}}
{{
orderData
.
consigneeVO
?
orderData
.
consigneeVO
.
phone
?
"
+
"
+
orderData
.
consigneeVO
.
countryCode
+
orderData
.
consigneeVO
.
phone
:
'
无
'
:
'
无
'
}}
</el-descriptions-item>
</el-descriptions>
</el-card>
...
...
@@ -117,7 +117,7 @@
</p>
</div>
<div>
<el-button
type=
"primary"
@
click=
"addShop"
>
放入
</el-button>
<el-button
type=
"primary"
:disabled=
"isAudit"
@
click=
"addShop"
>
放入
</el-button>
</div>
</div>
<el-table
border
:data=
"splitData.orderSplitItemBackVOList"
>
...
...
@@ -157,7 +157,7 @@
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"removeShop(scope.row.id)"
>
移出
</el-button>
<el-button
size=
"mini"
:disabled=
"isAudit"
type=
"text"
icon=
"el-icon-delete"
@
click=
"removeShop(scope.row.id)"
>
移出
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -168,12 +168,12 @@
<work-flow
xmlkey=
"split_order"
v-model=
"selectedUsers"
></work-flow>
</el-row>
<div
slot=
"footer"
class=
"card footer_btn"
v-if=
"orderData.status!=99"
>
<el-button
v-if=
"
orderData.status!=19
"
type=
"primary"
@
click=
"submitForm"
>
提交申请
</el-button>
<el-button
v-if=
"
orderData.status!=19"
plain
type=
"primary"
@
click=
"$emit('closeDialog
')"
>
取消
</el-button>
<el-button
v-if=
"
orderData.status==19"
type=
"primary
"
>
审核中
</el-button>
<el-button
v-if=
"
orderData.status==19
"
plain
type=
"primary"
@
click=
"cancelSplit"
>
取消审核
</el-button>
<el-button
v-if=
"
orderData.status==19"
plain
type=
"primary"
@
click=
"$emit('closeDialog
')"
>
返回
</el-button>
<div
slot=
"footer"
class=
"card footer_btn"
>
<el-button
v-if=
"
!isAudit
"
type=
"primary"
@
click=
"submitForm"
>
提交申请
</el-button>
<el-button
v-if=
"
!isAudit"
plain
type=
"primary"
@
click=
"$emit('closeDialog2
')"
>
取消
</el-button>
<el-button
v-if=
"
isAudit"
type=
"primary"
@
click=
"jumpReviewDetail
"
>
审核中
</el-button>
<el-button
v-if=
"
isAudit
"
plain
type=
"primary"
@
click=
"cancelSplit"
>
取消审核
</el-button>
<el-button
v-if=
"
isAudit"
plain
type=
"primary"
@
click=
"$emit('closeDialog2
')"
>
返回
</el-button>
</div>
<!-- 对话框(添加 / 修改) -->
...
...
@@ -215,15 +215,14 @@
import
{
getSplitList
,
createSplit
,
cancelApply
,
createSplitItem
,
deleteSplitItem
,
}
from
"
@/api/ecw/orderHandle
"
;
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
;
import
WorkFlow
from
"
@/components/WorkFlow
"
;
import
{
getOrder
}
from
"
@/api/ecw/order
"
;
import
{
serviceMsg
}
from
"
../../utils
"
;
import
{
createApproval
}
from
"
@/api/ecw/boxSea
"
;
import
{
serviceMsg
,
toReviewDetail
}
from
"
../../utils
"
;
import
{
createApproval
,
approvalCancel
}
from
"
@/api/ecw/boxSea
"
;
export
default
{
name
:
"
splitOrder
"
,
...
...
@@ -288,6 +287,23 @@ export default {
},
},
},
computed
:
{
isAudit
()
{
const
{
shipmentObj
}
=
this
.
$attrs
;
const
{
cabinetSplitInfo
}
=
shipmentObj
;
if
(
cabinetSplitInfo
)
{
/**
* PROCESS(1, "处理中"),
* APPROVE(2, "通过"),
* REJECT(3, "不通过"),
* CANCEL(4, "已取消");
*/
const
{
approvalStatus
}
=
cabinetSplitInfo
;
if
(
approvalStatus
===
1
)
return
true
;
}
return
false
;
},
},
methods
:
{
/* 拆箱总数 */
totalSplitNum
()
{
...
...
@@ -405,6 +421,7 @@ export default {
shipmentId
:
shipmentObj
.
id
,
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
((
res
)
=>
{
this
.
$emit
(
"
getBoxInfo
"
);
this
.
getSplit
();
});
});
...
...
@@ -469,11 +486,12 @@ export default {
const
{
shipmentObj
}
=
this
.
$attrs
;
approvalCancel
({
applyReason
:
"
取消审核
"
,
id
:
shipmentObj
[
"
cabinet
Approval
Info
"
].
id
,
id
:
shipmentObj
[
"
cabinet
Split
Info
"
].
id
,
shipmentId
:
shipmentObj
.
id
,
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
$emit
(
"
closeDialog
"
);
this
.
$emit
(
"
getBoxInfo
"
);
this
.
getSplit
();
});
});
},
...
...
@@ -481,6 +499,11 @@ export default {
this
.
shopOpen
=
false
;
this
.
shopForm
=
{};
},
jumpReviewDetail
()
{
const
{
cabinetSplitInfo
}
=
this
.
$attrs
.
shipmentObj
;
toReviewDetail
.
apply
(
this
,
[
cabinetSplitInfo
.
bpmProcessId
]);
this
.
$emit
(
"
closeDialog2
"
,
"
close
"
);
},
},
};
</
script
>
...
...
src/views/ecw/box/shippingSea/nodePage/cabinet/startPacking.vue
View file @
15b66c6a
...
...
@@ -119,7 +119,7 @@
<div
v-if=
"isUnderReview"
>
<el-button
type=
"primary"
@
click=
"jumpReviewDetail"
>
封柜审核中
</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
1
')"
>
返回
</el-button>
</div>
</el-row>
...
...
@@ -154,7 +154,7 @@
</el-form>
<el-row
class=
"operate-button"
>
<el-button
type=
"primary"
@
click=
"onSubmit('modifyForm')"
>
下一步
</el-button>
<el-button
@
click=
"closeDialog"
>
取消
</el-button>
<el-button
@
click=
"closeDialog
2
"
>
取消
</el-button>
</el-row>
</
template
>
<!-- 装柜纠错 -->
...
...
@@ -166,7 +166,7 @@
</el-form>
<el-row
class=
"operate-button"
>
<el-button
type=
"primary"
@
click=
"onSubmit('correctionForm')"
>
提交
</el-button>
<el-button
@
click=
"closeDialog"
>
取消
</el-button>
<el-button
@
click=
"closeDialog
2
"
>
取消
</el-button>
</el-row>
</
template
>
<!-- 批量装柜纠错(订单号) -->
...
...
@@ -178,7 +178,7 @@
</el-form>
<el-row
class=
"operate-button"
>
<el-button
type=
"primary"
@
click=
"onSubmit('orderForm')"
>
提交
</el-button>
<el-button
@
click=
"closeDialog"
>
取消
</el-button>
<el-button
@
click=
"closeDialog
2
"
>
取消
</el-button>
</el-row>
</
template
>
<!-- 装柜批量输入 -->
...
...
@@ -190,11 +190,11 @@
</el-form>
<el-row
class=
"operate-button"
>
<el-button
type=
"primary"
@
click=
"onSubmit('batchForm')"
>
提交
</el-button>
<el-button
@
click=
"closeDialog"
>
取消
</el-button>
<el-button
@
click=
"closeDialog
2
"
>
取消
</el-button>
</el-row>
</
template
>
<!-- 拆单 -->
<splitOrder
v-bind=
"$attrs"
:shipmentObj=
"shipmentObj"
v-if=
"dialogConfig.type === 'splitOrder' && dialogConfig.dialogVisible"
:currRow=
"currRow"
@
closeDialog=
"closeDialog
"
/>
<splitOrder
v-bind=
"$attrs"
v-on=
"$listeners"
:shipmentObj=
"shipmentObj"
v-if=
"dialogConfig.type === 'splitOrder' && dialogConfig.dialogVisible"
:currRow=
"currRow"
@
closeDialog2=
"closeDialog2
"
/>
</el-dialog>
</div>
</template>
...
...
@@ -372,7 +372,7 @@ export default {
this
.
$set
(
this
.
dialogConfig
,
"
dialogVisible
"
,
true
);
},
/** 关闭弹窗 */
closeDialog
()
{
closeDialog
2
()
{
this
.
$set
(
this
.
dialogConfig
,
"
dialogVisible
"
,
false
);
},
/** 修改提交 */
...
...
@@ -428,7 +428,7 @@ export default {
params
.
orderNo
=
this
.
batchObj
.
qrCode
;
batchCreate
(
params
).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
closeDialog
();
this
.
closeDialog
2
();
this
.
getLoadSecGoodsList
();
});
});
...
...
@@ -445,14 +445,14 @@ export default {
if
(
type
===
"
single
"
)
{
singleDelete
(
params
).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
closeDialog
();
this
.
closeDialog
2
();
this
.
getLoadSecGoodsList
();
});
});
}
else
{
batchDelete
(
params
).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
closeDialog
();
this
.
closeDialog
2
();
this
.
getLoadSecGoodsList
();
});
});
...
...
@@ -479,12 +479,12 @@ export default {
};
boxUpdate
(
params
).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
);
this
.
closeDialog
();
this
.
closeDialog
2
();
});
},
/* 补单完成 */
supplementFinish
()
{
this
.
closeDialog
();
this
.
closeDialog
2
();
this
.
getLoadSecGoodsList
();
},
/* 申请封柜 */
...
...
@@ -497,7 +497,7 @@ export default {
shipmentId
:
this
.
shipmentObj
.
id
,
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
$emit
(
"
closeDialog
"
,
"
submit
"
);
this
.
$emit
(
"
closeDialog
1
"
,
"
submit
"
);
});
});
},
...
...
@@ -516,14 +516,14 @@ export default {
shipmentId
:
this
.
shipmentObj
.
id
,
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
$emit
(
"
closeDialog
"
,
"
submit
"
);
this
.
$emit
(
"
closeDialog
1
"
,
"
submit
"
);
});
});
},
jumpReviewDetail
()
{
const
{
cabinetApprovalInfo
}
=
this
.
shipmentObj
;
toReviewDetail
.
apply
(
this
,
[
cabinetApprovalInfo
.
bpmProcessId
]);
this
.
$emit
(
"
closeDialog
"
,
"
close
"
);
this
.
$emit
(
"
closeDialog
1
"
,
"
close
"
);
},
},
computed
:
{
...
...
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