Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
17b620bc
提交
17b620bc
编写于
6月 03, 2021
作者:
vino
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
订单管理优化
上级
cf354037
变更
2
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
17 行增加
和
3 行删除
+17
-3
send-set-dialog.vue
src/components/shop/send-set-dialog.vue
+14
-2
order-manage.vue
src/views/goods/order-manage.vue
+3
-1
未找到文件。
src/components/shop/send-set-dialog.vue
浏览文件 @
17b620bc
...
...
@@ -65,7 +65,7 @@
</div>
</
template
>
<
script
>
//
import { openLoading, closeLoading } from "../../utils/utils";
import
{
openLoading
,
closeLoading
}
from
"../../utils/utils"
;
import
ChangeInfo
from
"./change-info"
;
import
{
checkMobile
}
from
'@/utils/patients/checkValid'
;
import
{
updateExpress
}
from
"@/utils/shop"
;
...
...
@@ -167,12 +167,19 @@
if
(
para
.
orderNo
)
{
para
.
id
=
para
.
orderNo
;
}
openLoading
(
this
);
updateExpress
(
para
).
then
(
res
=>
{
closeLoading
(
this
);
if
(
res
.
code
==
'000000'
)
{
this
.
$message
.
success
(
'操作成功'
)
this
.
$refs
.
sendSetForm
.
resetFields
();
this
.
sendSetForm
.
remark
=
''
;
this
.
$emit
(
'closeSendSet'
,{
type
:
2
})
// this.$emit('closeSendSet',{type: 2})
let
timeoutId
=
null
timeoutId
&&
clearTimeout
(
timeoutId
)
timeoutId
=
setTimeout
(()
=>
{
this
.
close
()
},
500
)
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
...
...
@@ -183,6 +190,11 @@
})
},
close
(){
this
.
$emit
(
'closeSendSet'
,{
type
:
2
})
},
//修改买家收货信息
changeInfo
()
{
this
.
showChangeInfo
=
true
;
...
...
src/views/goods/order-manage.vue
浏览文件 @
17b620bc
...
...
@@ -247,7 +247,7 @@
</div>
</template>
<
script
>
//
import { openLoading, closeLoading } from "../../utils/utils";
import
{
openLoading
,
closeLoading
}
from
"../../utils/utils"
;
import
BreadCrumb
from
"@/components/breadcrumb.vue"
;
import
SendSetDialog
from
"@/components/shop/send-set-dialog"
;
import
{
getOrdersExportUrl
}
from
"@/utils/yqrange/yqrangeApi"
;
...
...
@@ -345,7 +345,9 @@
methods
:
{
searchList
(){
console
.
log
(
"searchList搜索开始"
)
openLoading
(
this
);
queryOrderList
(
this
.
searchForm
).
then
(
res
=>
{
closeLoading
(
this
);
if
(
res
.
code
==
'000000'
)
{
console
.
log
(
"searchList搜索结束"
)
this
.
tableData
=
res
.
data
.
orderSingleDtoList
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录