Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
fb09ada5
Commit
fb09ada5
authored
Feb 26, 2021
by
陈浩建
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
显示快递单号填写
parent
003f8580
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
80 additions
and
2 deletions
+80
-2
src/api/school-center/orderAPI.js
+3
-1
src/views/school-center/order/order.vue
+77
-1
No files found.
src/api/school-center/orderAPI.js
View file @
fb09ada5
...
@@ -21,6 +21,7 @@ let downloadMoBanKD = (params) => downFilePost(prefix + "order/downloadMoBanKD"
...
@@ -21,6 +21,7 @@ let downloadMoBanKD = (params) => downFilePost(prefix + "order/downloadMoBanKD"
let
downloadMoBanYZK
=
(
params
)
=>
downFilePost
(
prefix
+
"order/downloadMoBanYZK"
,
params
);
let
downloadMoBanYZK
=
(
params
)
=>
downFilePost
(
prefix
+
"order/downloadMoBanYZK"
,
params
);
let
editOrder
=
(
params
)
=>
postAction
(
prefix
+
"order/editOrder"
,
params
);
let
editOrder
=
(
params
)
=>
postAction
(
prefix
+
"order/editOrder"
,
params
);
let
setUpgradeStatus
=
(
params
)
=>
postAction
(
prefix
+
"order/setUpgradeStatus"
,
params
);
let
setUpgradeStatus
=
(
params
)
=>
postAction
(
prefix
+
"order/setUpgradeStatus"
,
params
);
let
setKuanDiData
=
(
params
)
=>
postAction
(
prefix
+
"order/setKuanDiData"
,
params
);
//报表
//报表
let
reportList
=
(
params
)
=>
postAction
(
prefix
+
"order/getHhrOrderInfo"
,
params
);
let
reportList
=
(
params
)
=>
postAction
(
prefix
+
"order/getHhrOrderInfo"
,
params
);
...
@@ -43,5 +44,6 @@ export {
...
@@ -43,5 +44,6 @@ export {
editOrder
,
editOrder
,
updateSendType
,
updateSendType
,
updateIccid
,
updateIccid
,
setUpgradeStatus
setUpgradeStatus
,
setKuanDiData
}
}
src/views/school-center/order/order.vue
View file @
fb09ada5
...
@@ -302,6 +302,7 @@
...
@@ -302,6 +302,7 @@
</a-carousel>
</a-carousel>
</div>
</div>
<div>
<div>
<a-button
v-show=
"orderInfo.orderStatus == '待处理'"
@
click=
"openKD"
type=
"primary"
>
填写快递单号
</a-button>
<a-button
v-show=
"orderInfo.sendType == null || orderInfo.sendType == ''"
@
click=
"openConfigSendType()"
type=
"primary"
>
配送方式
</a-button>
<a-button
v-show=
"orderInfo.sendType == null || orderInfo.sendType == ''"
@
click=
"openConfigSendType()"
type=
"primary"
>
配送方式
</a-button>
<a-button
v-show=
"orderInfo.businessIccid == null || orderInfo.businessIccid == ''"
@
click=
"openConfigIccidFun"
type=
"primary"
>
配置iccid
</a-button>
<a-button
v-show=
"orderInfo.businessIccid == null || orderInfo.businessIccid == ''"
@
click=
"openConfigIccidFun"
type=
"primary"
>
配置iccid
</a-button>
<a-button
@
click=
"showReview()"
type=
"primary"
>
审核学生证
</a-button>
<a-button
@
click=
"showReview()"
type=
"primary"
>
审核学生证
</a-button>
...
@@ -524,6 +525,33 @@
...
@@ -524,6 +525,33 @@
</a-row>
</a-row>
</a-modal>
</a-modal>
<a-modal
title=
"填写快递单号"
:visible=
"setShowKD"
@
ok=
"setKDOk"
@
cancel=
"setKDCancel"
html-type=
"submit"
width=
"1024px"
>
<a-row
:gutter=
"24"
style=
"text-align: right"
>
<a-col
:md=
"6"
:sm=
"12"
>
<p>
快递公司:
</p>
</a-col>
<a-col
:md=
"12"
:sm=
"12"
>
<a-input
type=
"hidden"
placeholder=
"获取id"
v-model=
"setShowKDStr.orderId"
></a-input>
<a-input
placeholder=
"快递公司"
v-model=
"setShowKDStr.company"
></a-input>
</a-col>
</a-row>
<a-row
:gutter=
"24"
style=
"text-align: right"
>
<a-col
:md=
"6"
:sm=
"12"
>
<p>
快递单号:
</p>
</a-col>
<a-col
:md=
"12"
:sm=
"12"
>
<a-input
placeholder=
"快递单号"
v-model=
"setShowKDStr.kuaidiOrder"
></a-input>
</a-col>
</a-row>
</a-modal>
<!--抽屉 编辑-->
<!--抽屉 编辑-->
<a-drawer
width=
"1280"
placement=
"right"
:closable=
"false"
@
close=
"onClose"
:visible=
"edit"
>
<a-drawer
width=
"1280"
placement=
"right"
:closable=
"false"
@
close=
"onClose"
:visible=
"edit"
>
<a-form
:form=
"orderInfo"
layout=
"inline"
>
<a-form
:form=
"orderInfo"
layout=
"inline"
>
...
@@ -749,7 +777,8 @@
...
@@ -749,7 +777,8 @@
editOrder
,
editOrder
,
updateIccid
,
updateIccid
,
updateSendType
,
updateSendType
,
setUpgradeStatus
setUpgradeStatus
,
setKuanDiData
}
from
"../../../api/school-center/orderAPI"
;
}
from
"../../../api/school-center/orderAPI"
;
import
{
cloneObject
,
exportFile
}
from
"@/utils/util"
;
import
{
cloneObject
,
exportFile
}
from
"@/utils/util"
;
import
moment
from
"moment"
;
import
moment
from
"moment"
;
...
@@ -813,6 +842,12 @@
...
@@ -813,6 +842,12 @@
auditType
:
""
,
auditType
:
""
,
contentMsg
:
""
,
contentMsg
:
""
,
},
},
setShowKD
:
false
,
setShowKDStr
:{
orderId
:
""
,
company
:
""
,
kuaidiOrder
:
""
,
},
edit
:
false
,
edit
:
false
,
title
:
ConstantActivity
.
title
,
title
:
ConstantActivity
.
title
,
Formtable
:
this
.
$form
.
createForm
(
this
),
Formtable
:
this
.
$form
.
createForm
(
this
),
...
@@ -1142,6 +1177,44 @@
...
@@ -1142,6 +1177,44 @@
this
.
setShowUpgradeStr
.
contentMsg
=
""
;
this
.
setShowUpgradeStr
.
contentMsg
=
""
;
this
.
setShowUpgrade
=
false
;
this
.
setShowUpgrade
=
false
;
},
},
openKD
(){
this
.
setShowKD
=
true
;
},
setKDOk
(){
if
(
this
.
setShowKDStr
.
company
.
length
==
0
||
this
.
setShowKDStr
.
kuaidiOrder
.
length
==
0
){
this
.
$notification
.
error
({
message
:
"请填写信息"
,
description
:
""
,
duration
:
4
});
}
else
{
this
.
setShowKDStr
.
orderId
=
this
.
orderInfo
.
id
;
setKuanDiData
(
this
.
setShowKDStr
).
then
(
res
=>
{
if
(
res
.
state
==
"success"
)
{
this
.
$notification
.
success
({
message
:
"更新成功!"
,
description
:
""
,
duration
:
4
});
this
.
setKDCancel
();
this
.
search
();
}
else
{
this
.
$notification
.
error
({
message
:
"更新失败!"
,
description
:
""
,
duration
:
4
});
}
this
.
onClose
();
});
}
},
setKDCancel
(){
this
.
setShowKDStr
.
orderId
=
""
;
this
.
setShowKDStr
.
company
=
""
;
this
.
setShowKDStr
.
kuaidiOrder
=
""
;
this
.
setShowKD
=
false
;
},
editOk
(){
editOk
(){
let
orderInfo
=
this
.
orderInfo
;
let
orderInfo
=
this
.
orderInfo
;
editOrder
(
orderInfo
).
then
(
res
=>
{
editOrder
(
orderInfo
).
then
(
res
=>
{
...
@@ -1413,6 +1486,9 @@
...
@@ -1413,6 +1486,9 @@
}
}
});
});
},
},
openKuaiDi
(){
},
}
}
};
};
</
script
>
</
script
>
...
...
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