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
c7d19ed4
Commit
c7d19ed4
authored
Mar 19, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改11
parent
bb050fb5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
261 additions
and
134 deletions
+261
-134
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+75
-14
TravelControlListSale.vue
...onents/TravelManager/TravelList/TravelControlListSale.vue
+75
-14
VoucherInquiry.vue
src/components/administrative/VoucherInquiry.vue
+82
-88
changePriceAudit.vue
src/components/dmc/manager/changePriceAudit.vue
+29
-18
No files found.
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
c7d19ed4
...
@@ -1544,9 +1544,12 @@
...
@@ -1544,9 +1544,12 @@
<el-dropdown-item
@
click
.
native=
"CopyTripAndFeature(item, 2)"
>
<el-dropdown-item
@
click
.
native=
"CopyTripAndFeature(item, 2)"
>
{{ $t("objFill.v101.xiugaictriqi") }}
{{ $t("objFill.v101.xiugaictriqi") }}
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"ckChangePrice(item)"
>
<el-dropdown-item
@
click
.
native=
"ckChangePrice(item
,1
)"
>
价格变更
价格变更
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"ckChangePrice(item,2)"
>
团队类型变更
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
</div>
</div>
...
@@ -1621,7 +1624,7 @@
...
@@ -1621,7 +1624,7 @@
<div
class=
"TC_remarkContent"
v-if=
"item.PriceChangeModel&&item.PriceChangeModel.ID > 0"
>
<div
class=
"TC_remarkContent"
v-if=
"item.PriceChangeModel&&item.PriceChangeModel.ID > 0"
>
<div
class=
"clearfix TCL-redType"
>
<div
class=
"clearfix TCL-redType"
>
<div
class=
"TCL_remarkTitle"
style=
"width: auto"
>
<div
class=
"TCL_remarkTitle"
style=
"width: auto"
>
<span
style=
"color: black"
>
价格变更: {{ item.PriceChangeModel.ChangeRemark }}
<span
style=
"color: black"
>
价格变更: {{ item.PriceChangeModel.ChangeRemark }}
(
<font
style=
"color:red;"
>
(
<font
style=
"color:red;"
>
{{$t("Operation.Op_tradePrice")}}:{{item.PriceChangeModel.NewB2BPrice}}
{{$t("Operation.Op_tradePrice")}}:{{item.PriceChangeModel.NewB2BPrice}}
{{$t("Operation.Op_directPrice")}}:{{item.PriceChangeModel.NewB2CPrice}}
{{$t("Operation.Op_directPrice")}}:{{item.PriceChangeModel.NewB2CPrice}}
...
@@ -1650,6 +1653,37 @@
...
@@ -1650,6 +1653,37 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"TC_remarkContent"
v-if=
"item.TeamTypeChangeModel&&item.TeamTypeChangeModel.ID > 0"
>
<div
class=
"clearfix TCL-redType"
>
<div
class=
"TCL_remarkTitle"
style=
"width: auto"
>
<span
style=
"color: black"
>
团队类型变更: {{ item.TeamTypeChangeModel.ChangeRemark }}
(
<font
style=
"color:red;"
>
{{$t('objFill.tuanduilx')}}:{{item.TeamTypeChangeModel.NewTeamTypeName}}
</font>
)
</span>
<
template
v-if=
"item.TeamTypeChangeModel.ChangePriceStatus == 1"
>
<span
style=
"color: blue; font-weight: bold"
>
【
{{
item
.
TeamTypeChangeModel
.
ChangePriceStatusStr
}}
】
</span>
</
template
>
<
template
v-if=
"item.TeamTypeChangeModel.ChangePriceStatus == 2"
>
<span
style=
"color: green; font-weight: bold"
>
【
{{
item
.
TeamTypeChangeModel
.
ChangePriceStatusStr
}}
】
</span>
</
template
>
<
template
v-if=
"item.TeamTypeChangeModel.ChangePriceStatus == 3"
>
<span
style=
"color: red; font-weight: bold"
>
【
{{
item
.
TeamTypeChangeModel
.
ChangePriceStatusStr
}}
】
</span>
<span
style=
"color: red"
>
{{
$t
(
"objFill.yuanyin"
)
}}
:
<template
v-if=
"item.TeamTypeChangeModel.MAContent"
>
{{
item
.
TeamTypeChangeModel
.
MAContent
}}
</
template
>
<
template
v-else
>
{{
item
.
TeamTypeChangeModel
.
AuditContent
}}
</
template
>
</span>
</template>
</div>
</div>
</div>
</li>
</li>
</ul>
</ul>
<div
class=
"noData"
v-show=
"queryMsg.noData"
>
<div
class=
"noData"
v-show=
"queryMsg.noData"
>
...
@@ -1842,19 +1876,31 @@
...
@@ -1842,19 +1876,31 @@
<!--价格变更-->
<!--价格变更-->
<div
class=
"combottomDiv OPremarkDiv"
style=
"height: 150px"
v-show=
"changePriceMsg.isShowChangePrice"
>
<div
class=
"combottomDiv OPremarkDiv"
style=
"height: 150px"
v-show=
"changePriceMsg.isShowChangePrice"
>
<div
class=
"combottomTitle"
>
<div
class=
"combottomTitle"
>
价格
变更申请
{{changePriceMsg.ChangeType==1?"价格":"团队类型"}}
变更申请
</div>
</div>
<el-form
label-width=
"100px"
>
<el-form
label-width=
"100px"
>
<el-col
:span=
"4"
>
<
template
v-if=
"changePriceMsg.ChangeType==1"
>
<el-form-item
:label=
"$t('Operation.Op_tradePrice')"
prop=
"Remark"
>
<el-col
:span=
"4"
>
<el-input
v-model=
"changePriceMsg.NewB2BPrice"
></el-input>
<el-form-item
:label=
"$t('Operation.Op_tradePrice')"
prop=
"Remark"
>
</el-form-item>
<el-input
v-model=
"changePriceMsg.NewB2BPrice"
></el-input>
</el-col>
</el-form-item>
<el-col
:span=
"4"
>
</el-col>
<el-form-item
:label=
"$t('Operation.Op_directPrice')"
prop=
"Remark"
>
<el-col
:span=
"4"
>
<el-input
v-model=
"changePriceMsg.NewB2CPrice"
></el-input>
<el-form-item
:label=
"$t('Operation.Op_directPrice')"
prop=
"Remark"
>
</el-form-item>
<el-input
v-model=
"changePriceMsg.NewB2CPrice"
></el-input>
</el-col>
</el-form-item>
</el-col>
</
template
>
<
template
v-else
>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('objFill.tuanduilx')"
prop=
"Remark"
>
<el-select
class=
"multiple_input"
v-model=
"changePriceMsg.NewB2BPrice"
>
<el-option
v-for=
'item in teamList'
v-if=
"item.ID!=2"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</
template
>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"变更原因"
prop=
"Remark"
>
<el-form-item
label=
"变更原因"
prop=
"Remark"
>
<el-input
v-model=
"changePriceMsg.ChangeRemark"
maxlength=
"50"
></el-input>
<el-input
v-model=
"changePriceMsg.ChangeRemark"
maxlength=
"50"
></el-input>
...
@@ -2096,6 +2142,7 @@
...
@@ -2096,6 +2142,7 @@
//价格变更
//价格变更
changePriceMsg
:
{
changePriceMsg
:
{
isShowChangePrice
:
false
,
isShowChangePrice
:
false
,
ChangeType
:
1
,
//1-价格变更,2-团队类型变更
TCID
:
0
,
TCID
:
0
,
NewB2BPrice
:
""
,
NewB2BPrice
:
""
,
NewB2CPrice
:
""
,
NewB2CPrice
:
""
,
...
@@ -2197,6 +2244,7 @@
...
@@ -2197,6 +2244,7 @@
return
startTime
.
getTime
()
>=
time
.
getTime
();
return
startTime
.
getTime
()
>=
time
.
getTime
();
},
},
},
},
teamList
:
[],
//团队类型列表
};
};
},
},
//监听器
//监听器
...
@@ -2208,6 +2256,16 @@
...
@@ -2208,6 +2256,16 @@
},
},
},
},
methods
:
{
methods
:
{
//团队类型
getTravelTeamList
()
{
this
.
apipost
(
"travel_GetTeamTypeEnumList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
teamList
=
res
.
data
.
data
;
}
});
},
setLeaderOrGuide
(
item
,
type
)
{
setLeaderOrGuide
(
item
,
type
)
{
var
NameStr
=
"设置领队"
;
var
NameStr
=
"设置领队"
;
var
path
=
"RegistrationList"
;
var
path
=
"RegistrationList"
;
...
@@ -3340,9 +3398,10 @@
...
@@ -3340,9 +3398,10 @@
);
);
});
});
},
},
ckChangePrice
(
item
)
{
ckChangePrice
(
item
,
changeType
)
{
this
.
changePriceMsg
.
isShowChangePrice
=
true
;
this
.
changePriceMsg
.
isShowChangePrice
=
true
;
this
.
changePriceMsg
.
TCID
=
item
.
TCID
;
this
.
changePriceMsg
.
TCID
=
item
.
TCID
;
this
.
changePriceMsg
.
ChangeType
=
changeType
;
},
},
//价格变更
//价格变更
SetChangePrice
()
{
SetChangePrice
()
{
...
@@ -3359,6 +3418,7 @@
...
@@ -3359,6 +3418,7 @@
that
.
changePriceMsg
.
NewB2CPrice
=
""
;
that
.
changePriceMsg
.
NewB2CPrice
=
""
;
that
.
changePriceMsg
.
ChangeRemark
=
""
;
that
.
changePriceMsg
.
ChangeRemark
=
""
;
that
.
changePriceMsg
.
TCID
=
0
;
that
.
changePriceMsg
.
TCID
=
0
;
that
.
changePriceMsg
.
ChangeType
=
1
;
that
.
getControlList
();
that
.
getControlList
();
}
else
{
}
else
{
that
.
Error
(
res
.
data
.
message
);
that
.
Error
(
res
.
data
.
message
);
...
@@ -3850,6 +3910,7 @@
...
@@ -3850,6 +3910,7 @@
}
}
this
.
getControlList
();
this
.
getControlList
();
this
.
getTeamList
();
this
.
getTeamList
();
this
.
getTravelTeamList
();
},
},
};
};
...
...
src/components/TravelManager/TravelList/TravelControlListSale.vue
View file @
c7d19ed4
...
@@ -1054,9 +1054,12 @@
...
@@ -1054,9 +1054,12 @@
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
'CopyTripAndFeature(item,2)'
>
{{$t('objFill.v101.xiugaictriqi')}}
<el-dropdown-item
@
click
.
native=
'CopyTripAndFeature(item,2)'
>
{{$t('objFill.v101.xiugaictriqi')}}
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"ckChangePrice(item)"
>
<el-dropdown-item
@
click
.
native=
"ckChangePrice(item
,1
)"
>
价格变更
价格变更
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"ckChangePrice(item,2)"
>
团队类型变更
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
</div>
</div>
...
@@ -1149,6 +1152,37 @@
...
@@ -1149,6 +1152,37 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"TC_remarkContent"
v-if=
"item.TeamTypeChangeModel&&item.TeamTypeChangeModel.ID > 0"
>
<div
class=
"clearfix TCL-redType"
>
<div
class=
"TCL_remarkTitle"
style=
"width: auto"
>
<span
style=
"color: black"
>
团队类型变更: {{ item.TeamTypeChangeModel.ChangeRemark }}
(
<font
style=
"color:red;"
>
{{$t('objFill.tuanduilx')}}:{{item.TeamTypeChangeModel.NewTeamTypeName}}
</font>
)
</span>
<
template
v-if=
"item.TeamTypeChangeModel.ChangePriceStatus == 1"
>
<span
style=
"color: blue; font-weight: bold"
>
【
{{
item
.
TeamTypeChangeModel
.
ChangePriceStatusStr
}}
】
</span>
</
template
>
<
template
v-if=
"item.TeamTypeChangeModel.ChangePriceStatus == 2"
>
<span
style=
"color: green; font-weight: bold"
>
【
{{
item
.
TeamTypeChangeModel
.
ChangePriceStatusStr
}}
】
</span>
</
template
>
<
template
v-if=
"item.TeamTypeChangeModel.ChangePriceStatus == 3"
>
<span
style=
"color: red; font-weight: bold"
>
【
{{
item
.
TeamTypeChangeModel
.
ChangePriceStatusStr
}}
】
</span>
<span
style=
"color: red"
>
{{
$t
(
"objFill.yuanyin"
)
}}
:
<template
v-if=
"item.TeamTypeChangeModel.MAContent"
>
{{
item
.
TeamTypeChangeModel
.
MAContent
}}
</
template
>
<
template
v-else
>
{{
item
.
TeamTypeChangeModel
.
AuditContent
}}
</
template
>
</span>
</template>
</div>
</div>
</div>
</li>
</li>
</ul>
</ul>
<div
class=
"noData"
v-show=
"queryMsg.noData"
>
{{$t('system.content_noData')}}
</div>
<div
class=
"noData"
v-show=
"queryMsg.noData"
>
{{$t('system.content_noData')}}
</div>
...
@@ -1279,19 +1313,31 @@
...
@@ -1279,19 +1313,31 @@
<!--价格变更-->
<!--价格变更-->
<div
class=
"combottomDiv OPremarkDiv"
style=
"height: 150px"
v-show=
"changePriceMsg.isShowChangePrice"
>
<div
class=
"combottomDiv OPremarkDiv"
style=
"height: 150px"
v-show=
"changePriceMsg.isShowChangePrice"
>
<div
class=
"combottomTitle"
>
<div
class=
"combottomTitle"
>
价格
变更申请
{{changePriceMsg.ChangeType==1?"价格":"团队类型"}}
变更申请
</div>
</div>
<el-form
label-width=
"100px"
>
<el-form
label-width=
"100px"
>
<el-col
:span=
"4"
>
<
template
v-if=
"changePriceMsg.ChangeType==1"
>
<el-form-item
:label=
"$t('Operation.Op_tradePrice')"
prop=
"Remark"
>
<el-col
:span=
"4"
>
<el-input
v-model=
"changePriceMsg.NewB2BPrice"
></el-input>
<el-form-item
:label=
"$t('Operation.Op_tradePrice')"
prop=
"Remark"
>
</el-form-item>
<el-input
v-model=
"changePriceMsg.NewB2BPrice"
></el-input>
</el-col>
</el-form-item>
<el-col
:span=
"4"
>
</el-col>
<el-form-item
:label=
"$t('Operation.Op_directPrice')"
prop=
"Remark"
>
<el-col
:span=
"4"
>
<el-input
v-model=
"changePriceMsg.NewB2CPrice"
></el-input>
<el-form-item
:label=
"$t('Operation.Op_directPrice')"
prop=
"Remark"
>
</el-form-item>
<el-input
v-model=
"changePriceMsg.NewB2CPrice"
></el-input>
</el-col>
</el-form-item>
</el-col>
</
template
>
<
template
v-else
>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('objFill.tuanduilx')"
prop=
"Remark"
>
<el-select
class=
"multiple_input"
v-model=
"changePriceMsg.NewB2BPrice"
>
<el-option
v-for=
'item in teamList'
v-if=
"item.ID!=2"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</
template
>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"变更原因"
prop=
"Remark"
>
<el-form-item
label=
"变更原因"
prop=
"Remark"
>
<el-input
v-model=
"changePriceMsg.ChangeRemark"
maxlength=
"50"
></el-input>
<el-input
v-model=
"changePriceMsg.ChangeRemark"
maxlength=
"50"
></el-input>
...
@@ -1525,6 +1571,7 @@
...
@@ -1525,6 +1571,7 @@
//价格变更
//价格变更
changePriceMsg
:
{
changePriceMsg
:
{
isShowChangePrice
:
false
,
isShowChangePrice
:
false
,
ChangeType
:
1
,
//1-价格变更,2-团队类型变更
TCID
:
0
,
TCID
:
0
,
NewB2BPrice
:
""
,
NewB2BPrice
:
""
,
NewB2CPrice
:
""
,
NewB2CPrice
:
""
,
...
@@ -1548,10 +1595,21 @@
...
@@ -1548,10 +1595,21 @@
let
startTime
=
new
Date
(
this
.
queryMsg
.
StartGroupDate
);
let
startTime
=
new
Date
(
this
.
queryMsg
.
StartGroupDate
);
return
startTime
.
getTime
()
>=
time
.
getTime
();
return
startTime
.
getTime
()
>=
time
.
getTime
();
}
}
}
},
teamList
:
[],
//团队基础类型
};
};
},
},
methods
:
{
methods
:
{
//团队类型
getTravelTeamList
()
{
this
.
apipost
(
"travel_GetTeamTypeEnumList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
teamList
=
res
.
data
.
data
;
}
});
},
setLeaderOrGuide
(
item
,
type
)
{
setLeaderOrGuide
(
item
,
type
)
{
var
NameStr
=
"设置领队"
;
var
NameStr
=
"设置领队"
;
var
path
=
"RegistrationList"
;
var
path
=
"RegistrationList"
;
...
@@ -1781,9 +1839,10 @@
...
@@ -1781,9 +1839,10 @@
);
);
});
});
},
},
ckChangePrice
(
item
)
{
ckChangePrice
(
item
,
changeType
)
{
this
.
changePriceMsg
.
isShowChangePrice
=
true
;
this
.
changePriceMsg
.
isShowChangePrice
=
true
;
this
.
changePriceMsg
.
TCID
=
item
.
TCID
;
this
.
changePriceMsg
.
TCID
=
item
.
TCID
;
this
.
changePriceMsg
.
ChangeType
=
changeType
;
},
},
//价格变更
//价格变更
SetChangePrice
()
{
SetChangePrice
()
{
...
@@ -1800,6 +1859,7 @@
...
@@ -1800,6 +1859,7 @@
that
.
changePriceMsg
.
NewB2CPrice
=
""
;
that
.
changePriceMsg
.
NewB2CPrice
=
""
;
that
.
changePriceMsg
.
ChangeRemark
=
""
;
that
.
changePriceMsg
.
ChangeRemark
=
""
;
that
.
changePriceMsg
.
TCID
=
0
;
that
.
changePriceMsg
.
TCID
=
0
;
that
.
changePriceMsg
.
ChangeType
=
1
;
that
.
getControlList
();
that
.
getControlList
();
}
else
{
}
else
{
that
.
Error
(
res
.
data
.
message
);
that
.
Error
(
res
.
data
.
message
);
...
@@ -2724,6 +2784,7 @@
...
@@ -2724,6 +2784,7 @@
this
.
$tripUtils
.
TeamStatesList
.
TeamStates
.
forEach
(
states
=>
{
this
.
$tripUtils
.
TeamStatesList
.
TeamStates
.
forEach
(
states
=>
{
this
.
queryMsg
.
TCState
.
push
(
states
.
Id
);
this
.
queryMsg
.
TCState
.
push
(
states
.
Id
);
})
})
this
.
getTravelTeamList
();
this
.
getControlList
();
this
.
getControlList
();
}
}
};
};
...
...
src/components/administrative/VoucherInquiry.vue
View file @
c7d19ed4
...
@@ -98,12 +98,9 @@
...
@@ -98,12 +98,9 @@
</li>
</li>
<li>
<li>
<input
type=
"button"
@
click=
"getList"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
>
<input
type=
"button"
@
click=
"getList"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
>
<input
<input
type=
"button"
type=
"button"
@
click=
"outerVisible = true,dialogTitle=$t('pub.addBtn'), addMsg.reqType = 'add',resetInfo()"
@
click=
"outerVisible = true,dialogTitle=$t('pub.addBtn'), addMsg.reqType = 'add',resetInfo()"
class=
"normalBtn"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
>
:value=
"$t('pub.addBtn')"
>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -126,21 +123,12 @@
...
@@ -126,21 +123,12 @@
{{
item
.
Sort
}}
{{
item
.
Sort
}}
</td>
</td>
<td>
<td>
{{
item
.
IsShow
===
1
?
$t
(
'system.table_isShows'
)
:
$t
(
'MarketingActi.notShow'
)
}}
{{
item
.
IsShow
===
1
?
$t
(
'system.table_isShows'
)
:
$t
(
'MarketingActi.notShow'
)
}}
</td>
</td>
<td>
<td>
<el-tooltip
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('active.ld_editInfo')"
placement=
"top"
>
class=
"item"
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
effect=
"dark"
@
click=
"outerVisible=true,dialogTitle=$t('pub.updateMsg'),updateData(item)"
></el-button>
:content=
"$t('active.ld_editInfo')"
placement=
"top"
>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"outerVisible=true,dialogTitle=$t('pub.updateMsg'),updateData(item)"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top"
>
<el-button
type=
"primary"
class=
"bg_color_delete"
icon=
"el-icon-delete"
circle
@
click=
"Delete(item)"
>
<el-button
type=
"primary"
class=
"bg_color_delete"
icon=
"el-icon-delete"
circle
@
click=
"Delete(item)"
>
...
@@ -160,7 +148,7 @@
...
@@ -160,7 +148,7 @@
:before-close=
"closeChangeMachie"
>
:before-close=
"closeChangeMachie"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"130px"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"130px"
>
<el-form-item
:label=
"$t('objFill.wentiminc')"
prop=
"Title"
>
<el-form-item
:label=
"$t('objFill.wentiminc')"
prop=
"Title"
>
<el-input
v-model=
"addMsg.Title"
class=
"w217"
/>
<el-input
v-model=
"addMsg.Title"
class=
"w217"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('objFill.wentileixing')"
prop=
"SurveyType"
>
<el-form-item
:label=
"$t('objFill.wentileixing')"
prop=
"SurveyType"
>
<el-select
filterable
v-model=
"addMsg.SurveyType"
@
change=
"changeType(addMsg.SurveyType)"
>
<el-select
filterable
v-model=
"addMsg.SurveyType"
@
change=
"changeType(addMsg.SurveyType)"
>
...
@@ -173,22 +161,21 @@
...
@@ -173,22 +161,21 @@
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('system.table_rank')"
prop=
"Sort"
>
<el-form-item
:label=
"$t('system.table_rank')"
prop=
"Sort"
>
<el-input
v-model=
"addMsg.Sort"
class=
"w217"
/>
<el-input
v-model=
"addMsg.Sort"
class=
"w217"
/>
</el-form-item>
</el-form-item>
<template>
<template>
<div
v-if=
"addMsg.SurveyType === '2' || addMsg.SurveyType === '3'"
>
<div
v-if=
"addMsg.SurveyType === '2' || addMsg.SurveyType === '3'"
>
<template
v-for=
"(item, index) in addMsg.SurveyOptionsList"
>
<template
v-for=
"(item, index) in addMsg.SurveyOptionsList"
>
<el-form-item
:label=
"`$
{$t('objFill.xuanxiang')}${index+1}`"
>
<el-form-item
:label=
"`$
{$t('objFill.xuanxiang')}${index+1}`">
<el-input
v-model=
"item.OptionsName"
class=
"w217"
>
<el-input
v-model=
"item.OptionsName"
class=
"w217"
>
<el-button
@
click=
"deleItem(index)"
slot=
"append"
icon=
"el-icon-delete"
></el-button>
<el-button
@
click=
"deleItem(index)"
slot=
"append"
icon=
"el-icon-delete"
></el-button>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('system.table_rank')"
>
<el-form-item
:label=
"$t('system.table_rank')"
>
<el-input
v-model=
"item.Sort"
class=
"w217"
/>
<el-input
v-model=
"item.Sort"
class=
"w217"
/>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
<el-form-item
label=
""
>
<el-form-item
label=
""
>
<span
@
click=
"addList()"
>
{{$t('objFill.zhengjia')}}
</span>
<span
@
click=
"addList()"
>
{{$t('objFill.zhengjia')}}
</span>
</el-form-item>
</el-form-item>
</div>
</div>
...
@@ -217,6 +204,7 @@
...
@@ -217,6 +204,7 @@
},
},
addMsg
:
{
addMsg
:
{
MainId
:
0
,
MainId
:
0
,
ID
:
0
,
Title
:
""
,
Title
:
""
,
SurveyType
:
'1'
,
SurveyType
:
'1'
,
IsShow
:
1
,
IsShow
:
1
,
...
@@ -229,12 +217,16 @@
...
@@ -229,12 +217,16 @@
},
},
total
:
0
,
total
:
0
,
rules
:
{
rules
:
{
Title
:
[
Title
:
[{
{
required
:
true
,
message
:
this
.
$t
(
'system.ph_name'
),
trigger
:
"blur"
}
required
:
true
,
],
message
:
this
.
$t
(
'system.ph_name'
),
Sort
:
[
trigger
:
"blur"
{
required
:
true
,
message
:
this
.
$t
(
'objFill.v101.administrative.qingshurpx'
),
trigger
:
"blur"
}
}],
]
Sort
:
[{
required
:
true
,
message
:
this
.
$t
(
'objFill.v101.administrative.qingshurpx'
),
trigger
:
"blur"
}]
},
},
loading
:
false
,
loading
:
false
,
outerVisible
:
false
,
outerVisible
:
false
,
...
@@ -247,7 +239,6 @@
...
@@ -247,7 +239,6 @@
if
(
this
.
$route
.
query
.
MainId
&&
this
.
$route
.
query
.
MainId
>
0
)
{
if
(
this
.
$route
.
query
.
MainId
&&
this
.
$route
.
query
.
MainId
>
0
)
{
this
.
msg
.
MainId
=
this
.
$route
.
query
.
MainId
;
this
.
msg
.
MainId
=
this
.
$route
.
query
.
MainId
;
this
.
addMsg
.
MainId
=
this
.
$route
.
query
.
MainId
;
this
.
addMsg
.
MainId
=
this
.
$route
.
query
.
MainId
;
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -281,61 +272,62 @@
...
@@ -281,61 +272,62 @@
deleItem
:
function
(
i
)
{
deleItem
:
function
(
i
)
{
if
(
this
.
addMsg
.
SurveyOptionsList
.
length
)
{
if
(
this
.
addMsg
.
SurveyOptionsList
.
length
)
{
this
.
addMsg
.
SurveyOptionsList
.
splice
(
i
,
1
)
this
.
addMsg
.
SurveyOptionsList
.
splice
(
i
,
1
)
}
}
},
},
// 删除
// 删除
Delete
(
item
)
{
Delete
(
item
)
{
this
.
$confirm
(
this
.
$t
(
'objFill.shifouscbkhf'
),
this
.
$t
(
'tips.tips'
),
{
this
.
$confirm
(
this
.
$t
(
'objFill.shifouscbkhf'
),
this
.
$t
(
'tips.tips'
),
{
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
),
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
),
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
),
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
),
type
:
"warning"
type
:
"warning"
})
})
.
then
(()
=>
{
.
then
(()
=>
{
this
.
apipost
(
this
.
apipost
(
"survey_post_DelSurvey"
,
"survey_post_DelSurvey"
,
{
{
SurveyID
:
item
.
ID
},
SurveyID
:
item
.
ID
res
=>
{
},
if
(
res
.
data
.
resultCode
==
1
)
{
res
=>
{
this
.
Success
(
res
.
data
.
message
);
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getList
();
this
.
Success
(
res
.
data
.
message
);
}
else
{
this
.
getList
();
this
.
Error
(
res
.
data
.
message
);
}
else
{
}
this
.
Error
(
res
.
data
.
message
);
},
}
err
=>
{}
},
);
err
=>
{}
})
);
.
catch
(()
=>
{});
})
},
.
catch
(()
=>
{});
//获取数据
},
getList
()
{
//获取数据
this
.
loading
=
true
;
getList
()
{
this
.
apipost
(
this
.
loading
=
true
;
"survey_post_GetPageList"
,
this
.
apipost
(
this
.
msg
,
"survey_post_GetPageList"
,
res
=>
{
this
.
msg
,
this
.
loading
=
false
;
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
loading
=
false
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
total
=
res
.
data
.
data
.
count
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
},
//提交
submitForm
(
addMsg
)
{
//提交创建、修改表单
this
.
$refs
[
addMsg
].
validate
(
valid
=>
{
if
(
valid
)
{
this
.
addAward
();
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
)
;
return
false
;
}
}
},
})
null
},
);
},
//提交
submitForm
(
addMsg
)
{
//提交创建、修改表单
this
.
$refs
[
addMsg
].
validate
(
valid
=>
{
if
(
valid
)
{
this
.
addAward
();
}
else
{
return
false
;
}
})
},
// 新增选项
// 新增选项
addList
:
function
()
{
addList
:
function
()
{
this
.
addMsg
.
SurveyOptionsList
.
push
({
this
.
addMsg
.
SurveyOptionsList
.
push
({
...
@@ -350,8 +342,8 @@
...
@@ -350,8 +342,8 @@
}
}
},
null
)
},
null
)
},
},
//修改信息
//修改信息
updateData
(
item
)
{
updateData
(
item
)
{
this
.
outerVisible
=
true
;
this
.
outerVisible
=
true
;
this
.
apipost
(
this
.
apipost
(
"survey_post_GetSurvey"
,
{
"survey_post_GetSurvey"
,
{
...
@@ -390,8 +382,9 @@
...
@@ -390,8 +382,9 @@
//重置信息
//重置信息
resetInfo
()
{
resetInfo
()
{
this
.
addMsg
.
ID
=
0
;
this
.
addMsg
.
Title
=
""
;
this
.
addMsg
.
Title
=
""
;
this
.
addMsg
.
SurveyType
=
""
;
this
.
addMsg
.
SurveyType
=
"
1
"
;
this
.
addMsg
.
IsShow
=
1
;
this
.
addMsg
.
IsShow
=
1
;
this
.
addMsg
.
Sort
=
0
;
this
.
addMsg
.
Sort
=
0
;
this
.
addMsg
.
SurveyOptionsList
=
[{
this
.
addMsg
.
SurveyOptionsList
=
[{
...
@@ -414,4 +407,5 @@
...
@@ -414,4 +407,5 @@
},
},
}
}
};
};
</
script
>
</
script
>
src/components/dmc/manager/changePriceAudit.vue
View file @
c7d19ed4
...
@@ -61,6 +61,11 @@
...
@@ -61,6 +61,11 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"StartDate"
:label=
"$t('hotel.hotel_StarDate')"
width=
"120"
show-overflow-tooltip
>
<el-table-column
prop=
"StartDate"
:label=
"$t('hotel.hotel_StarDate')"
width=
"120"
show-overflow-tooltip
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"PriceTeamTypeName"
:label=
"$t('objFill.v101.commissonBill.col.t3')"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.TeamTypeName"
>
{{
scope
.
row
.
TeamTypeName
}}
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
"LtName"
:label=
"$t('advmanager.v_xilie')"
width=
"200"
show-overflow-tooltip
>
<el-table-column
prop=
"LtName"
:label=
"$t('advmanager.v_xilie')"
width=
"200"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
LineName
}}
<br
/>
{{
scope
.
row
.
LineName
}}
<br
/>
...
@@ -69,34 +74,40 @@
...
@@ -69,34 +74,40 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"Title"
:label=
"$t('Operation.Op_TeamName')"
width=
"200"
show-overflow-tooltip
>
<el-table-column
prop=
"Title"
:label=
"$t('Operation.Op_TeamName')"
width=
"200"
show-overflow-tooltip
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"
"
:label=
"$t('visaT.Applicant')+'/'+$t('objFill.shengqirq')"
width=
"20
0"
>
<el-table-column
prop=
"
ChangeTypeStr"
label=
"变更类型"
width=
"12
0"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
.
CreateByName
}}
</p>
<template
v-if=
"scope.row.ChangeTypeStr"
>
{{
scope
.
row
.
ChangeTypeStr
}}
</
template
>
<p>
{{
scope
.
row
.
CreateTime
}}
</p>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"
OPName"
:label=
"$t('objFill.v101.dmc.shengqyy')"
show-overflow-tooltip
>
<el-table-column
prop=
"
ChangeTypeStr"
label=
"变更内容"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
ChangeRemark
}}
<template
v-if=
"scope.row.ChangeType==1"
>
</
template
>
<span>
</el-table-column>
{{
$t
(
'Operation.Op_tradePrice'
)
}}
:
{{
scope
.
row
.
B2BPrice
}}
=>
<font
style=
"color:red"
>
<el-table-column
prop=
"PriceTeamTypeName"
:label=
"$t('objFill.v101.commissonBill.col.t3')"
width=
"130"
>
{{
scope
.
row
.
NewB2BPrice
}}
</font>
<
template
slot-scope=
"scope"
>
</span>
<template
v-if=
"scope.row.TeamTypeName"
>
{{
scope
.
row
.
TeamTypeName
}}
</
template
>
<br
/>
<span>
{{
$t
(
'Operation.Op_directPrice'
)
}}
:
{{
scope
.
row
.
B2CPrice
}}
=>
<font
style=
"color:red;"
>
{{
scope
.
row
.
NewB2CPrice
}}
</font>
</span>
</
template
>
<
template
v-if=
"scope.row.ChangeType==2"
>
<span>
{{
scope
.
row
.
TeamTypeName
}}
=>
<font
style=
"color:red"
>
{{
scope
.
row
.
ChangeTeamTypeName
}}
</font>
</span>
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"
B2BPrice"
:label=
"$t('Operation.Op_tradePrice')"
width=
"130"
>
<el-table-column
prop=
"
OPName"
:label=
"$t('objFill.v101.dmc.shengqyy')"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
ChangeRemark
}}
{{
scope
.
row
.
B2BPrice
}}
=>
<font
style=
"color:red"
>
{{
scope
.
row
.
NewB2BPrice
}}
</font>
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"
B2CPrice"
:label=
"$t('Operation.Op_directPrice')"
width=
"13
0"
>
<el-table-column
prop=
"
"
:label=
"$t('visaT.Applicant')+'/'+$t('objFill.shengqirq')"
width=
"15
0"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
<p>
{{
scope
.
row
.
CreateByName
}}
</p>
{{
scope
.
row
.
B2CPrice
}}
=>
<font
style=
"color:red;"
>
{{
scope
.
row
.
NewB2CPrice
}}
</font>
<p>
{{
scope
.
row
.
CreateTime
}}
</p>
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
:label=
"$t('fnc.shzhuangtai')"
width=
"100"
>
<el-table-column
prop=
""
:label=
"$t('fnc.shzhuangtai')"
width=
"100"
>
...
...
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