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
a8a63470
Commit
a8a63470
authored
May 12, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
32ce666e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1055 additions
and
696 deletions
+1055
-696
QuotationPrice_SWT.vue
...s/TravelManager/TravelNewQuotation/QuotationPrice_SWT.vue
+1006
-366
newQuotation_SWT.vue
...nts/TravelManager/TravelNewQuotation/newQuotation_SWT.vue
+19
-301
swtBaoJiaConfig.vue
src/components/dmc/manager/swtBaoJiaConfig.vue
+30
-29
No files found.
src/components/TravelManager/TravelNewQuotation/QuotationPrice_SWT.vue
View file @
a8a63470
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelNewQuotation/newQuotation_SWT.vue
View file @
a8a63470
This diff is collapsed.
Click to expand it.
src/components/dmc/manager/swtBaoJiaConfig.vue
View file @
a8a63470
...
...
@@ -33,7 +33,7 @@
</li>
<li>
<button
class=
"hollowFixedBtn"
@
click=
"qMsg.pageIndex=1,getList()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<input
type=
"button"
class=
"normalBtn"
@
click=
"add
Are
aData()"
value=
"新增费用"
>
<input
type=
"button"
class=
"normalBtn"
@
click=
"add
BaoJi
aData()"
value=
"新增费用"
>
</li>
</ul>
</div>
...
...
@@ -51,19 +51,19 @@
<tr
v-for=
"(item,index) in AreaDataList"
:key=
"index"
>
<td>
{{
item
.
CTypeStr
}}
</td>
<td>
{{
item
.
CName
}}
</td>
<td><span
style=
"color:red;font-weight:bold;"
>
US
{{
item
.
USPrice
}}
</span></td>
<td><span
style=
"color:blue;font-weight:bold;"
>
VND
{{
item
.
VNDPrice
}}
</span></td>
<td><span
style=
"color:red;font-weight:bold;"
>
US
{{
item
.
USPrice
}}
</span></td>
<td><span
style=
"color:blue;font-weight:bold;"
>
VND
{{
item
.
VNDPrice
}}
</span></td>
<td>
{{
item
.
UpdateByName
}}
</td>
<td>
{{
item
.
UpdateDateStr
}}
</td>
<td>
<el-button
type=
"primary"
icon=
"el-icon-edit"
@
click=
"get
Area
Update(item.Id)"
circle
></el-button>
<el-button
type=
"primary"
icon=
"el-icon-edit"
@
click=
"get
BaoJiaConfig
Update(item.Id)"
circle
></el-button>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top-start"
>
<el-button
type=
"danger"
icon=
"el-icon-delete"
@
click=
"del
Area
(item.Id)"
circle
></el-button>
<el-button
type=
"danger"
icon=
"el-icon-delete"
@
click=
"del
BaoJiaConfig
(item.Id)"
circle
></el-button>
</el-tooltip>
</td>
</tr>
</table>
<el-pagination
background
@
current-change=
"
Are
aCurrentChange"
:current-page
.
sync=
"qMsg.currentPage"
<el-pagination
background
@
current-change=
"
BaoJi
aCurrentChange"
:current-page
.
sync=
"qMsg.currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"qMsg.pageSize"
:total=
"qMsg.total"
></el-pagination>
<el-dialog
custom-class=
"w400"
:title=
"dialogTitle"
:visible
.
sync=
"dialogVisible"
center
...
...
@@ -90,14 +90,14 @@
<tr>
<td>
<el-form-item
label=
"美元"
>
<el-input
v-model=
"addMsg.USPrice"
class=
"w217"
@
keyup
.
native=
"checkPrice(addMsg,'USPrice')"
/>
<el-input
v-model=
"addMsg.USPrice"
class=
"w217"
@
keyup
.
native=
"checkPrice(addMsg,'USPrice'
,true
)"
/>
</el-form-item>
</td>
</tr>
<tr>
<td>
<el-form-item
label=
"越南盾"
>
<el-input
v-model=
"addMsg.VNDPrice"
class=
"w217"
@
keyup
.
native=
"checkPrice(addMsg,'VNDPrice')"
/>
<el-input
v-model=
"addMsg.VNDPrice"
class=
"w217"
@
keyup
.
native=
"checkPrice(addMsg,'VNDPrice'
,true
)"
/>
</el-form-item>
</td>
</tr>
...
...
@@ -106,7 +106,7 @@
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"dialogVisible = false,clearAddMsg()"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</button>
<button
class=
"normalBtn"
@
click=
"
saveAreaInfo
()"
>
{{
$t
(
'pub.saveBtn'
)
}}
</button>
<button
class=
"normalBtn"
@
click=
"
SaveBaoJiaConfig
()"
>
{{
$t
(
'pub.saveBtn'
)
}}
</button>
</div>
</el-dialog>
</div>
...
...
@@ -122,7 +122,7 @@
qMsg
:
{
CType
:
0
,
pageIndex
:
1
,
pageSize
:
5
,
pageSize
:
1
5
,
total
:
0
,
currentPage
:
1
,
CName
:
''
,
//项目名称
...
...
@@ -137,33 +137,22 @@
VNDPrice
:
0
,
//越南盾
},
//费用类型字符串
TypeList
:
[{
Id
:
1
,
Name
:
"杂支"
},
{
Id
:
2
,
Name
:
"自费"
},
{
Id
:
3
,
Name
:
"小费"
},
],
//费用类型列表
TypeList
:
[],
//费用类型列表
};
},
mounted
()
{
this
.
getConfigTypeList
();
this
.
getList
();
},
filters
:
{},
methods
:
{
//新增地区
add
Are
aData
()
{
add
BaoJi
aData
()
{
this
.
dialogVisible
=
true
;
this
.
dialogTitle
=
'新增费用'
;
},
//翻页
Are
aCurrentChange
(
val
)
{
BaoJi
aCurrentChange
(
val
)
{
this
.
qMsg
.
pageIndex
=
val
;
this
.
getList
();
},
...
...
@@ -192,7 +181,7 @@
)
},
//保存费用配置
saveAreaInfo
()
{
SaveBaoJiaConfig
()
{
if
(
this
.
addMsg
.
CName
==
''
)
{
this
.
Error
(
'请填写名称'
);
return
;
...
...
@@ -215,7 +204,7 @@
)
},
//修改费用配置
get
Area
Update
(
Id
)
{
get
BaoJiaConfig
Update
(
Id
)
{
this
.
dialogTitle
=
"修改费用"
this
.
dialogVisible
=
true
;
let
msg
=
{
...
...
@@ -237,7 +226,7 @@
)
},
//删除费用配置
del
Area
(
Id
)
{
del
BaoJiaConfig
(
Id
)
{
var
that
=
this
;
this
.
Confirm
(
"是否删除?"
,
function
()
{
var
msg
=
{
...
...
@@ -259,7 +248,19 @@
);
});
},
//获取费用类型列表
getConfigTypeList
()
{
this
.
apipost
(
"travel_post_GetBaoJiaDanConfigSwtTypeListService"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
TypeList
=
res
.
data
.
data
;
console
.
log
(
"res"
,
this
.
TypeList
);
}
},
null
);
},
}
};
...
...
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