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
b46d89d6
Commit
b46d89d6
authored
Aug 19, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单转义
parent
bd8c536b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
11 deletions
+39
-11
dict.js
src/utils/dict.js
+3
-2
index.vue
src/views/ecw/order/warehousing/index.vue
+36
-9
No files found.
src/utils/dict.js
View file @
b46d89d6
...
...
@@ -164,8 +164,9 @@ export const DICT_TYPE = {
ORDER_COD_EXCEPTION_RESULT
:
'
order_cod_exception_result
'
,
//代收货款异常处理结果
ORDER_OTHER_EXCEPTION_RESULT
:
'
order_other_exception_result
'
,
//其它异常处理结果
ORDER_BULKY_CARGO_EXCEPTION_RESULT
:
'
order_bulky_cargo_exception_result
'
,
//泡货异常处理结果
NEED_KNOW_TYPE
:
'
need_know_type
'
,
//须知类型
NEED_KNOW_STATUS
:
'
need_know_status
'
,
//须知状态
NEED_KNOW_TYPE
:
'
need_know_type
'
,
//需知类型
NEED_KNOW_STATUS
:
'
need_know_status
'
,
//需知状态
MANUAL_EXCEPTION_TYPE
:
'
manual_exception_type
'
,
ECASH_INIT
:
'
ecash_init
'
,
//e-cash
...
...
src/views/ecw/order/warehousing/index.vue
View file @
b46d89d6
...
...
@@ -87,7 +87,7 @@
</el-form-item>
<div
style=
"text-align: center;margin-top: 15px"
>
<el-button
type=
"primary"
>
转异
</el-button>
<el-button
@
click=
"escapeBol = true;"
type=
"primary"
>
转异
</el-button>
<el-button
type=
"primary"
@
click=
"finishVisible = true"
>
完成入仓
</el-button>
</div>
</el-form>
...
...
@@ -110,7 +110,23 @@
<el-button
type=
"primary"
@
click=
"handleSubmit()"
>
确 定
</el-button>
</div>
</el-dialog>
<el-dialog
:title=
"order.orderNo + '转异常单'"
center
:visible.sync=
"escapeBol"
>
<el-form
label-position=
"top"
label-width=
"200"
>
<el-form-item
label=
"原因类型"
>
<dict-selector
v-model=
"form.manualExceptionType"
form-type=
"checkbox"
:type=
"DICT_TYPE.MANUAL_EXCEPTION_TYPE"
multiple
></dict-selector>
</el-form-item>
<el-form-item
label=
"附件"
>
<image-upload
v-model=
"form.exceptionUrls"
></image-upload>
</el-form-item>
<el-form-item
label=
"详细信息"
>
<el-input
v-model=
"form.descZh"
type=
"textarea"
></el-input>
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
转义完成并入仓
</el-button>
<el-button
@
click=
"escapeBol = false"
>
取消
</el-button>
</span>
</el-dialog>
<print-tag
v-if=
"isShowPrintTag"
:order-id=
"orderId"
@
close=
"isShowPrintTag = false"
></print-tag>
<print-warehouse-receipt
v-if=
"isShowPrint"
:order-id=
"orderId"
@
close=
"isShowPrint = false"
/>
...
...
@@ -132,7 +148,7 @@ import editDialog from '@/views/ecw/order/warehousing/components/editDialog'
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
import
PrintTag
from
"
@/views/ecw/order/components/PrintTag
"
import
PrintWarehouseReceipt
from
"
@/views/ecw/order/components/PrintWarehouseReceipt
"
import
imageUpload
from
"
@/components/ImageUpload
"
;
export
default
{
name
:
"
Warehousing
"
,
...
...
@@ -141,7 +157,8 @@ export default {
WarehouseAreaDialog
,
editDialog
,
PrintTag
,
PrintWarehouseReceipt
PrintWarehouseReceipt
,
imageUpload
},
mounted
()
{
...
...
@@ -163,7 +180,10 @@ export default {
warehousingVisible
:
false
,
form
:
{
orderSpecialNeedReceivableReqVoList
:
[],
orderLocationCreateReqVOList
:
[]
orderLocationCreateReqVOList
:
[],
exceptionUrls
:[],
descZh
:
''
,
manualExceptionType
:
''
,
},
currencyList
:[],
order
:
{},
...
...
@@ -172,18 +192,26 @@ export default {
specialList
:
[],
warehousing
:
undefined
,
isShowPrintTag
:
false
,
isShowPrint
:
false
isShowPrint
:
false
,
escapeBol
:
false
,
}
},
methods
:
{
handleSubmit
()
{
orderWarehouseInFinish
(
{
let
p
=
{
orderSpecialNeedReceivableReqVoList
:
this
.
form
.
orderSpecialNeedReceivableReqVoList
,
"
orderLocationCreateReqVOList
"
:
this
.
form
.
orderLocationCreateReqVOList
,
"
orderId
"
:
this
.
order
.
orderId
}).
then
(
r
=>
{
}
if
(
this
.
escapeBol
){
p
.
exceptionUrls
=
this
.
form
.
exceptionUrls
.
split
(
'
,
'
);
p
.
descZh
=
this
.
form
.
descZh
;
p
.
manualExceptionType
=
this
.
form
.
manualExceptionType
}
orderWarehouseInFinish
(
p
).
then
(
r
=>
{
if
(
r
.
data
)
{
this
.
escapeBol
=
false
;
this
.
$confirm
(
'
该订单已成功入仓,是否打印?
'
,
'
货物已入仓
'
,
...
...
@@ -210,7 +238,6 @@ export default {
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
console
.
log
(
item
)
rollbackApply
({
"
orderId
"
:
item
.
orderId
,
"
orderNo
"
:
item
.
orderNo
,
...
...
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