Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
2d5225ad
提交
2d5225ad
authored
10月 13, 2021
作者:
huaxinzhu
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'dev_hxz' into test
上级
07e0fbf8
069f2e13
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
8 行增加
和
6 行删除
+8
-6
orderDetail.vue
src/views/system/order/components/orderDetail.vue
+8
-6
没有找到文件。
src/views/system/order/components/orderDetail.vue
浏览文件 @
2d5225ad
...
...
@@ -60,7 +60,7 @@
<
template
slot-scope=
"scope"
>
<span
style=
"font-size:12px;padding: 0 15px 0 0;"
v-if=
"deliveryTypeText(scope.row.goods_status,scope.row.is_reissue) == '已补单'"
>
已补单
</span>
<el-button
size=
"mini"
type=
"text"
v-if=
"deliveryTypeText(scope.row.goods_status,scope.row.is_reissue) == '去补单'"
@
click=
"goShipping(4,scope.row.id)"
>
去补单
</el-button>
<el-button
size=
"mini"
type=
"text"
v-if=
"deliveryTypeText(scope.row.goods_status,scope.row.is_reissue) == '去发货'"
@
click=
"goShipping(3,scope.row.id)"
>
去发货
</el-button>
<el-button
size=
"mini"
type=
"text"
v-if=
"deliveryTypeText(scope.row.goods_status,scope.row.is_reissue) == '去发货'"
@
click=
"goShipping(3,scope.row.id
,scope.row.goods_order_sn
)"
>
去发货
</el-button>
<el-divider
direction=
"vertical"
></el-divider>
<el-button
size=
"mini"
type=
"text"
@
click=
"getExpressInfoNew(scope.row)"
>
查看物流
</el-button>
</
template
>
...
...
@@ -361,7 +361,7 @@ export default {
* val 发货类型:1-商品的批量发货;2-批量补单发货;3-单商品发货;4-单格个商品订单 补单发货
* */
// 发货,补单,补单发货
goShipping
(
val
,
id
)
{
goShipping
(
val
,
id
,
goods_order_sn
)
{
//console.log(361,this.multipleSelection);
this
.
goShippingNum
=
val
this
.
goods_ids
=
[]
...
...
@@ -382,13 +382,14 @@ export default {
isContinue
=
false
break
;
}
else
{
let
idNum
=
Number
(
this
.
multipleSelection
[
i
].
id
);
// let idNum = Number(this.multipleSelection[i].id);
let
idNum
=
this
.
multipleSelection
[
i
].
goods_order_sn
;
this
.
goods_ids
.
push
(
idNum
);
}
}
if
(
!
isContinue
)
{
// 批量发货时候,goods_
ids
为数组 [3,4,5]
// 批量发货时候,goods_
order_sn
为数组 [3,4,5]
this
.
goods_ids
=
[]
return
;
}
...
...
@@ -435,7 +436,7 @@ export default {
// 单商品订单 发货
if
(
this
.
goShippingNum
===
3
)
{
this
.
goods_ids
=
id
;
this
.
goods_ids
=
goods_order_sn
;
this
.
titleInfo
=
'去发货'
this
.
goShippingDialog
=
true
}
...
...
@@ -496,7 +497,7 @@ export default {
// 批量 补单发货
if
(
this
.
goShippingNum
===
2
)
{
debugger
//
debugger
let
listObj
=
{
list
:
[]
}
this
.
goods_ids
.
forEach
((
item
,
index
)
=>
{
item
[
'express_name'
]
=
expressName
;
...
...
@@ -578,6 +579,7 @@ export default {
// 选中的表格
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
// console.log(555,this.multipleSelection);
},
/** 修改 买家信息 */
modifyinfo
()
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论