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
fb03cb6b
Commit
fb03cb6b
authored
Dec 16, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
2087ddd4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
12 deletions
+35
-12
ContractManage.vue
src/components/administrative/ContractManage.vue
+35
-12
No files found.
src/components/administrative/ContractManage.vue
View file @
fb03cb6b
...
@@ -31,12 +31,22 @@
...
@@ -31,12 +31,22 @@
</span>
</span>
</li>
</li>
<li>
<li>
<span><em>
{{
$t
(
"sm.Date"
)
}}
</em>
<span><em>
团号
</em>
<el-date-picker
v-model=
"msg.StartDate"
class=
"w135"
value-format=
"yyyy-MM-dd"
type=
"date"
<el-input
class=
"w210"
v-model=
"msg.C_TCNUM"
placeholder=
"请输入团号"
@
keyup
.
enter
.
native=
"getList"
>
:picker-options=
"pickerBeginDateBefore"
></el-date-picker>
</el-input>
-
</span>
<el-date-picker
v-model=
"msg.EndDate"
class=
"w135"
value-format=
"yyyy-MM-dd"
type=
"date"
</li>
:picker-options=
"pickerBeginDateAfter"
></el-date-picker>
<li>
<span><em>
线路名称
</em>
<el-input
class=
"w210"
v-model=
"msg.C_ProductName"
placeholder=
"请输入线路名称"
@
keyup
.
enter
.
native=
"getList"
>
</el-input>
</span>
</li>
<li>
<span><em>
经办人
</em>
<el-input
class=
"w210"
v-model=
"msg.TravelAgency_DealMan"
placeholder=
"请输入经办人"
@
keyup
.
enter
.
native=
"getList"
>
</el-input>
</span>
</span>
</li>
</li>
<li>
<li>
...
@@ -47,9 +57,19 @@
...
@@ -47,9 +57,19 @@
<el-option
label=
"已取消"
:value=
"1"
:key=
"1"
>
</el-option>
<el-option
label=
"已取消"
:value=
"1"
:key=
"1"
>
</el-option>
<el-option
label=
"已提交"
:value=
"2"
:key=
"2"
>
</el-option>
<el-option
label=
"已提交"
:value=
"2"
:key=
"2"
>
</el-option>
<el-option
label=
"已盖章"
:value=
"3"
:key=
"3"
>
</el-option>
<el-option
label=
"已盖章"
:value=
"3"
:key=
"3"
>
</el-option>
<el-option
label=
"已签字"
:value=
"4"
:key=
"4"
>
</el-option>
</el-select>
</el-select>
</span>
</span>
</li>
</li>
<li>
<span><em>
{{
$t
(
"sm.Date"
)
}}
</em>
<el-date-picker
v-model=
"msg.StartDate"
class=
"w135"
value-format=
"yyyy-MM-dd"
type=
"date"
:picker-options=
"pickerBeginDateBefore"
></el-date-picker>
-
<el-date-picker
v-model=
"msg.EndDate"
class=
"w135"
value-format=
"yyyy-MM-dd"
type=
"date"
:picker-options=
"pickerBeginDateAfter"
></el-date-picker>
</span>
</li>
<li>
<li>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"
getList();
getList();
...
@@ -119,7 +139,8 @@
...
@@ -119,7 +139,8 @@
</
template
>
</
template
>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"复制"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"复制"
placement=
"top-start"
>
<el-button
type=
"warning"
icon=
"iconfont icon-copy"
circle
@
click=
"CopyContract(item)"
style=
"padding:4px;"
></el-button>
<el-button
type=
"warning"
icon=
"iconfont icon-copy"
circle
@
click=
"CopyContract(item)"
style=
"padding:4px;"
>
</el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载"
placement=
"top-start"
>
<el-button
type=
"success"
icon=
"el-icon-download"
circle
@
click=
"DownLoadContract(item)"
></el-button>
<el-button
type=
"success"
icon=
"el-icon-download"
circle
@
click=
"DownLoadContract(item)"
></el-button>
...
@@ -157,7 +178,10 @@
...
@@ -157,7 +178,10 @@
EndDate
:
""
,
//结束日期
EndDate
:
""
,
//结束日期
Status
:
-
1
,
//合同状态
Status
:
-
1
,
//合同状态
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
15
pageSize
:
15
,
TravelAgency_DealMan
:
""
,
//经办人
C_TCNUM
:
""
,
//团号
C_ProductName
:
""
,
//线路名称
},
},
pickerBeginDateBefore
:
{
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
...
@@ -182,14 +206,13 @@
...
@@ -182,14 +206,13 @@
},
},
methods
:
{
methods
:
{
//提交并盖章
//提交并盖章
SubmitContract
(
item
)
SubmitContract
(
item
)
{
{
var
that
=
this
;
var
that
=
this
;
this
.
Confirm
(
"是否提交并盖章此合同?"
,
function
()
{
this
.
Confirm
(
"是否提交并盖章此合同?"
,
function
()
{
that
.
apipost
(
that
.
apipost
(
"travelcontract_post_UpdateTravelContractStatusService"
,
{
"travelcontract_post_UpdateTravelContractStatusService"
,
{
ID
:
item
.
ID
,
ID
:
item
.
ID
,
Status
:
2
Status
:
2
},
},
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
@@ -263,7 +286,7 @@
...
@@ -263,7 +286,7 @@
this
.
Confirm
(
"是否取消此合同?"
,
function
()
{
this
.
Confirm
(
"是否取消此合同?"
,
function
()
{
var
msg
=
{
var
msg
=
{
ID
:
item
.
ID
,
ID
:
item
.
ID
,
Status
:
1
Status
:
1
};
};
that
.
apipost
(
that
.
apipost
(
"travelcontract_post_UpdateTravelContractStatusService"
,
"travelcontract_post_UpdateTravelContractStatusService"
,
...
...
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