Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
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
罗超
SuperMan
Commits
d48424e6
Commit
d48424e6
authored
Jun 16, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
8236fb15
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
278 additions
and
0 deletions
+278
-0
edit-orderform.vue
src/components/orderCommon/edit-orderform.vue
+34
-0
order-transform.vue
src/components/orderCommon/order-transform.vue
+244
-0
No files found.
src/components/orderCommon/edit-orderform.vue
0 → 100644
View file @
d48424e6
<
style
scoped
>
</
style
>
<!--跟团游、小包团、当地游订单修改-->
<
template
>
</
template
>
<
script
>
export
default
{
//订单修改参数
props
:
[
"orderInfoPropObj"
],
data
()
{
return
{
};
},
methods
:
{
},
mounted
()
{
},
watch
:
{
//监听备注信息编号
orderInfoPropObj
:
{
immediate
:
true
,
handler
(
newVal
)
{
},
deep
:
true
},
}
};
</
script
>
\ No newline at end of file
src/components/orderCommon/order-transform.vue
0 → 100644
View file @
d48424e6
<
style
scoped
>
.groupTourOrderByTuan_transfer
{
position
:
fixed
;
z-index
:
50
;
bottom
:
0
;
left
:
0
;
padding
:
10px
10px
;
width
:
100%
;
min-width
:
1366px
;
min-height
:
200px
;
border-top
:
3px
solid
#38425d
;
background-color
:
#ffffff
;
overflow-y
:
auto
;
}
.groupTourOrderByTuan_transfer
>
.transfer_header
{
position
:
relative
;
width
:
100%
;
height
:
30px
;
}
.groupTourOrderByTuan_transfer
>
.transfer_header
>
div
:nth-child
(
1
)
{
display
:
inline-block
;
padding
:
0
10px
;
width
:
200px
;
height
:
30px
;
line-height
:
30px
;
border-left
:
3px
solid
#e95252
;
text-indent
:
10px
;
font-size
:
16px
;
color
:
#000000
;
}
.groupTourOrderByTuan_transfer
>
.transfer_header
>
div
:nth-child
(
2
)
{
position
:
absolute
;
top
:
0px
;
right
:
0px
;
height
:
30px
;
}
.groupTourOrderByTuan_transfer
>
.transfer_header
>
div
:nth-child
(
2
)>
div
:nth-child
(
1
)
{
display
:
inline-block
;
padding
:
0
15px
;
height
:
30px
;
line-height
:
28px
;
font-size
:
14px
;
color
:
#e95252
;
border
:
1px
solid
#e95252
;
background-color
:
#fff
;
border-radius
:
15px
;
cursor
:
pointer
;
vertical-align
:
top
;
}
.groupTourOrderByTuan_transfer
>
.transfer_header
>
div
:nth-child
(
2
)>
div
:nth-child
(
2
)
{
display
:
inline-block
;
margin
:
0
0
0
10px
;
padding
:
0
15px
;
height
:
30px
;
line-height
:
28px
;
font-size
:
14px
;
color
:
#fff
;
border
:
1px
solid
#e95252
;
background-color
:
#e95252
;
border-radius
:
15px
;
cursor
:
pointer
;
vertical-align
:
top
;
}
.groupTourOrderByTuan_transfer
>
.transfer_info
{
padding
:
20px
0
;
width
:
100%
;
font-size
:
0px
;
border-bottom
:
1px
dashed
#999999
;
}
.groupTourOrderByTuan_transfer
>
.transfer_info
>
div
{
display
:
inline-block
;
padding
:
0
10px
;
width
:
25%
;
height
:
30px
;
vertical-align
:
top
;
}
.groupTourOrderByTuan_transfer
>
.transfer_info
>
div
>
em
{
display
:
inline-block
;
padding
:
0
10px
;
width
:
35%
;
height
:
30px
;
line-height
:
30px
;
text-align
:
right
;
font-size
:
16px
;
vertical-align
:
top
;
}
.groupTourOrderByTuan_transfer
>
.transfer_info
>
div
>
span
{
display
:
inline-block
;
padding
:
0
10px
;
width
:
65%
;
height
:
30px
;
line-height
:
30px
;
text-align
:
left
;
font-size
:
16px
;
border-radius
:
3px
;
background-color
:
#e5e5e5
;
vertical-align
:
top
;
}
.groupTourOrderByTuan_transfer
>
.transfer_input
{
padding
:
20px
0
;
width
:
100%
;
font-size
:
0px
;
}
.groupTourOrderByTuan_transfer
>
.transfer_input
>
div
{
display
:
inline-block
;
padding
:
0
10px
;
width
:
25%
;
height
:
30px
;
vertical-align
:
top
;
}
.groupTourOrderByTuan_transfer
>
.transfer_input
>
div
>
em
{
display
:
inline-block
;
padding
:
0
10px
;
width
:
35%
;
height
:
30px
;
line-height
:
30px
;
text-align
:
right
;
font-size
:
16px
;
vertical-align
:
top
;
}
.groupTourOrderByTuan_transfer
>
.transfer_input
>
div
>
.el-input
{
display
:
inline-block
;
width
:
65%
;
height
:
30px
;
line-height
:
30px
;
text-align
:
left
;
font-size
:
14px
;
vertical-align
:
top
;
}
</
style
>
<!--订单转团-->
<
template
>
<div
class=
"groupTourOrderByTuan_transfer"
>
<div
class=
"transfer_header"
>
<div>
订单转团
</div>
<div>
<div
@
click=
"closeOrderTransForm()"
>
关闭
</div>
<div
@
click=
"transferSave()"
>
确定
</div>
</div>
</div>
<div
class=
"transfer_info"
>
<div>
<em>
订单号:
</em>
<span>
{{
transOrderMsg
.
OrderId
}}
</span>
</div>
<div>
<em>
业务员:
</em>
<span>
{{
transOrderMsg
.
CreateByName
}}
</span>
</div>
<div>
<em>
团队编号:
</em>
<span>
{{
transOrderMsg
.
OldTCID
}}
</span>
</div>
<div>
<em>
团号:
</em>
<span>
{{
transOrderMsg
.
OldTCNUM
}}
</span>
</div>
</div>
<div
class=
"transfer_input"
>
<div>
<em>
新团号:
</em>
<el-input
v-model=
"transOrderMsg.TCNUM"
placeholder=
"请输入团号或团队编号"
></el-input>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
//订单转团参数
props
:
[
"transOrderPropObj"
],
data
()
{
return
{
// 订单转团
transOrderMsg
:
{
OrderId
:
""
,
CreateByName
:
""
,
OldTCID
:
""
,
OldTCNUM
:
""
,
TCNUM
:
""
,
},
};
},
methods
:
{
//关闭弹窗
closeOrderTransForm
:
function
()
{
//调用父页面方法
this
.
$emit
(
"close"
);
},
//保存
transferSave
:
function
()
{
if
(
this
.
transOrderMsg
.
TCNUM
.
trim
()
===
""
)
{
this
.
$message
.
error
(
"请输入团号或团队编号"
);
}
else
{
this
.
apipost
(
"sellorder_post_SetOrderTurnGroup"
,
this
.
transOrderMsg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
$message
.
success
(
"转团成功"
);
//调用父页面刷新方法
this
.
$emit
(
"success"
);
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
(
err
)
=>
{}
);
}
},
},
mounted
()
{
},
watch
:
{
//监听订单转团参数
transOrderPropObj
:
{
immediate
:
true
,
handler
(
newVal
)
{
console
.
log
(
"transOrderPropObj"
,
newVal
);
this
.
transOrderMsg
.
OrderId
=
this
.
transOrderPropObj
.
OrderId
;
this
.
transOrderMsg
.
CreateByName
=
this
.
transOrderPropObj
.
CreateByName
;
this
.
transOrderMsg
.
OldTCID
=
this
.
transOrderPropObj
.
OldTCID
;
this
.
transOrderMsg
.
OldTCNUM
=
this
.
transOrderPropObj
.
OldTCNUM
;
},
deep
:
true
},
}
};
</
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