Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
fukai
vue-gjjs
Commits
3ef6ba4d
Commit
3ef6ba4d
authored
Apr 14, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ucl,xrt相关静态交易整改
parent
953b6329
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
228 additions
and
37 deletions
+228
-37
ucl.js
src/service/test/ucl.js
+3
-2
Infsea.vue
src/views/Statics/Ucl/views/Infucl/Infsea.vue
+142
-0
index.vue
src/views/Statics/Ucl/views/Infucl/index.vue
+50
-0
Xrt.js
src/views/Statics/Xrt/model/Xrt.js
+11
-11
XrtInfo.vue
src/views/Statics/Xrt/views/Dblxrt/XrtInfo.vue
+22
-22
index.vue
src/views/Statics/Zmqxrt/views/Dbizmqxrt/index.vue
+0
-2
No files found.
src/service/test/ucl.js
View file @
3ef6ba4d
import
Api
from
"~/service/Api"
export
function
queryByPage
(
data
)
{
return
Api
.
post
(
"/
manager
/ucl/queryByPage"
,
data
)
return
Api
.
post
(
"/
service
/ucl/queryByPage"
,
data
)
}
export
function
edit
(
data
)
{
return
Api
.
post
(
"/
manager
/ucl/edit"
,
data
)
return
Api
.
post
(
"/
service
/ucl/edit"
,
data
)
}
\ No newline at end of file
src/views/Statics/Ucl/views/Infucl/Infsea.vue
0 → 100644
View file @
3ef6ba4d
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"12"
class=
"col-left"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"机构名称"
prop=
"bchName"
>
<c-input
v-model=
"model.bchname"
placeholder=
"请输入机构名称"
style=
"width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!------------- 右 ---------->
<c-col
:span=
"12"
class=
"col-right"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"机构编号"
prop=
"branchinr"
>
<c-input
v-model=
"model.branchinr"
placeholder=
"请输入机构编号"
style=
"width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"12"
style=
"text-align: right"
>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"small"
@
click=
"onSearch()"
>
查询
</el-button>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-paging-table
:data=
"uclData"
:columns=
"uclColumns"
:pageNumber=
"model.pageNum"
:pageSize=
"model.pageSize"
:total=
"model.total"
v-on:queryFunc=
"queryFunc"
:border=
"true"
>
<c-table-column
fixed=
"right"
prop=
"op"
label=
"操作"
width=
"240px"
>
<template
slot-scope=
"
{ scope }">
<c-button
style=
"margin-left: 5px"
size=
"small"
type=
"primary"
@
click=
"uclEdit(scope.$index, scope.row)"
>
修改
</c-button>
</
template
>
</c-table-column>
</c-paging-table>
</c-col>
</div>
</template>
<
script
>
import
codes
from
"~/config/CodeTable"
;
import
{
queryByPage
,
edit
}
from
"~/service/test/ucl.js"
;
export
default
{
name
:
""
,
props
:
[
"model"
],
inject
:
[
"root"
],
data
()
{
return
{
uclData
:
[],
uclColumns
:
[
{
label
:
'机构名称'
,
prop
:
'bchName'
,
width
:
'auto'
},
{
label
:
'机构编号'
,
prop
:
'branchinr'
,
width
:
'auto'
},
{
label
:
'是否默认机构'
,
prop
:
'usrdefCn'
,
width
:
'auto'
},
],
};
},
computed
:
{
},
activated
()
{
const
{
update
}
=
this
.
$route
.
params
if
(
update
)
{
this
.
onInfuclSearch
()
}
},
methods
:
{
getCodesByKey
(
key
)
{
return
codes
[
key
]
??
[];
},
handleReset
()
{
this
.
root
.
$refs
.
modelForm
.
resetFields
();
},
onSearch
()
{
this
.
model
.
pageSize
=
5
;
this
.
model
.
pageNum
=
1
;
this
.
onInfuclSearch
();
},
onInfuclSearch
()
{
queryByPage
(
this
.
model
).
then
(
res
=>
{
const
list
=
res
.
list
// Object.keys(list).forEach((item) => {
// let obj = list[item]
// let codArr = codes['ucl_defflg'].filter((i) => {
// return i.value == obj.usrdef.trim()
// })
// obj.usrdefCn = codArr[0].label
// })
this
.
uclData
=
list
this
.
model
.
pageNum
=
res
.
pageNumber
this
.
model
.
pageSize
=
res
.
pageSize
this
.
model
.
total
=
res
.
total
})
},
queryFunc
(
pageNumber
,
pageSize
)
{
this
.
model
.
pageNum
=
pageNumber
this
.
model
.
pageSize
=
pageSize
this
.
onInfuclSearch
()
},
uclCodesByKey
(
key
)
{
return
codes
[
key
]
??
[];
},
uclEdit
(
index
,
row
)
{
this
.
$confirm
(
"请确认是否将此机构修改为用户默认机构?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
edit
(
row
)
.
then
((
res
)
=>
{
this
.
$message
.
success
(
"修改成功!"
)
this
.
onInfuclSearch
()
})
.
catch
((
err
)
=>
{
this
.
$message
.
error
(
"修改失败!"
)
})
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消修改"
,
})
})
},
},
};
</
script
>
<
style
scoped
>
.table-button-item-list
{
padding
:
0
;
margin
:
0
;
}
.table-button-item-list
li
{
list-style
:
none
;
padding
:
5px
0
;
text-align
:
center
;
color
:
#606266
;
cursor
:
pointer
;
}
</
style
>
src/views/Statics/Ucl/views/Infucl/index.vue
0 → 100644
View file @
3ef6ba4d
<
template
>
<div
class=
"eContainer"
>
<c-page
title=
"用户归属机构更换"
>
<el-form
:model=
"model"
ref=
"modelForm"
label-width=
"120px"
label-position=
"right"
size=
"small"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
>
<!--PD000039 -->
<el-tab-pane
label=
"查询面板"
name=
"infsea"
>
<c-content>
<m-infsea
:model=
"model"
ref=
"infsea"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</
template
>
<
script
>
import
Infsea
from
"./Infsea"
;
export
default
{
name
:
"StaticsInfucl"
,
components
:
{
"m-infsea"
:
Infsea
,
},
provide
()
{
return
{
root
:
this
,
};
},
data
()
{
return
{
tabVal
:
"infsea"
,
model
:
{
cod
:
""
,
pageSize
:
5
,
pageNum
:
1
,
total
:
0
},
};
},
};
</
script
>
<
style
>
</
style
>
\ No newline at end of file
src/views/Statics/Xrt/model/Xrt.js
View file @
3ef6ba4d
...
...
@@ -30,47 +30,47 @@ export default class Xrt {
export
const
Pattern
=
{
cur
:
[
{
required
:
true
,
message
:
"必输项"
,
type
:
"string"
,
trigger
:
"blur"
},
{
type
:
"string"
,
trigger
:
"blur"
},
{
max
:
8
,
message
:
"最大长度8个字符"
,
trigger
:
"blur"
},
],
midrat
:
[
{
required
:
true
,
message
:
"必输项"
,
type
:
"string"
,
trigger
:
"blur"
},
{
type
:
"string"
,
trigger
:
"blur"
},
{
max
:
8
,
message
:
"最大长度8位"
,
trigger
:
"blur"
},
],
selrat
:
[
{
required
:
true
,
message
:
"必输项"
,
type
:
"string"
,
trigger
:
"blur"
},
{
type
:
"string"
,
trigger
:
"blur"
},
{
max
:
8
,
message
:
"最大长度8位"
,
trigger
:
"blur"
},
],
buyrat
:
[
{
required
:
true
,
message
:
"必输项"
,
type
:
"string"
,
trigger
:
"blur"
},
{
type
:
"string"
,
trigger
:
"blur"
},
{
max
:
8
,
message
:
"最大长度8位"
,
trigger
:
"blur"
},
],
sel1rat
:
[
{
required
:
true
,
message
:
"必输项"
,
type
:
"string"
,
trigger
:
"blur"
},
{
type
:
"string"
,
trigger
:
"blur"
},
{
max
:
8
,
message
:
"最大长度8位"
,
trigger
:
"blur"
},
],
buy1rat
:
[
{
required
:
true
,
message
:
"必输项"
,
type
:
"string"
,
trigger
:
"blur"
},
{
type
:
"string"
,
trigger
:
"blur"
},
{
max
:
8
,
message
:
"最大长度8位"
,
trigger
:
"blur"
},
],
ttrrat
:
[
{
required
:
true
,
message
:
"必输项"
,
type
:
"string"
,
trigger
:
"blur"
},
{
type
:
"string"
,
trigger
:
"blur"
},
{
max
:
8
,
message
:
"最大长度8位"
,
trigger
:
"blur"
},
],
odrrat
:
[
{
required
:
true
,
message
:
"必输项"
,
type
:
"string"
,
trigger
:
"blur"
},
{
type
:
"string"
,
trigger
:
"blur"
},
{
max
:
8
,
message
:
"最大长度8位"
,
trigger
:
"blur"
},
],
resrat
:
[
{
required
:
true
,
message
:
"必输项"
,
type
:
"string"
,
trigger
:
"blur"
},
{
type
:
"string"
,
trigger
:
"blur"
},
{
max
:
8
,
message
:
"最大长度8位"
,
trigger
:
"blur"
},
],
rebrat
:
[
{
required
:
true
,
message
:
"必输项"
,
type
:
"string"
,
trigger
:
"blur"
},
{
type
:
"string"
,
trigger
:
"blur"
},
{
max
:
8
,
message
:
"最大长度8位"
,
trigger
:
"blur"
},
],
ibrrat
:
[
{
required
:
true
,
message
:
"必输项"
,
type
:
"string"
,
trigger
:
"blur"
},
{
type
:
"string"
,
trigger
:
"blur"
},
{
max
:
8
,
message
:
"最大长度8位"
,
trigger
:
"blur"
},
],
...
...
src/views/Statics/Xrt/views/Dblxrt/XrtInfo.vue
View file @
3ef6ba4d
...
...
@@ -35,48 +35,48 @@
</c-col>
<c-col
:span=
"8"
class=
"col-right"
>
<el-form-item
label=
"货币名称"
prop=
"cur"
v-if=
"type == 'add'"
>
<c-input
v-model=
"model.cur"
placeholder=
"请输入货币名称"
>
</c-input>
<c-input
-currency
v-model=
"model.cur"
placeholder=
"请输入货币名称"
>
</c-input
-currency
>
</el-form-item>
<el-form-item
label=
"中间价"
prop=
"midrat"
>
<c-input
v-model=
"model.midrat"
placeholder=
"请输入中间价"
>
</c-input>
<c-input
-currency
v-model=
"model.midrat"
placeholder=
"请输入中间价"
>
</c-input
-currency
>
</el-form-item>
<el-form-item
label=
"买入价"
prop=
"selrat"
>
<c-input
v-model=
"model.selrat"
placeholder=
"请输入买入价"
>
</c-input>
<c-input
-currency
v-model=
"model.selrat"
placeholder=
"请输入买入价"
>
</c-input
-currency
>
</el-form-item>
<el-form-item
label=
"卖出价"
prop=
"buyrat"
>
<c-input
v-model=
"model.buyrat"
placeholder=
"请输入卖出价"
>
</c-input>
<c-input
-currency
v-model=
"model.buyrat"
placeholder=
"请输入卖出价"
>
</c-input
-currency
>
</el-form-item>
<el-form-item
label=
"现钞卖出价"
prop=
"sel1rat"
>
<c-input
v-model=
"model.sel1rat"
placeholder=
"请输入现钞卖出价"
>
</c-input>
<c-input
-currency
v-model=
"model.sel1rat"
placeholder=
"请输入现钞卖出价"
>
</c-input
-currency
>
</el-form-item>
<el-form-item
label=
"现钞买入价"
prop=
"buy1rat"
>
<c-input
v-model=
"model.buy1rat"
placeholder=
"请输入现钞买入价"
>
</c-input>
<c-input
-currency
v-model=
"model.buy1rat"
placeholder=
"请输入现钞买入价"
>
</c-input
-currency
>
</el-form-item>
<el-form-item
label=
"指定买价"
prop=
"ttrrat"
>
<c-input
v-model=
"model.ttrrat"
placeholder=
"请输入指定买价"
>
</c-input>
<c-input
-currency
v-model=
"model.ttrrat"
placeholder=
"请输入指定买价"
>
</c-input
-currency
>
</el-form-item>
<el-form-item
label=
"票据买断汇款"
prop=
"odrrat"
>
<c-input
v-model=
"model.odrrat"
placeholder=
"请输入票据买断汇款"
>
</c-input>
<c-input
-currency
v-model=
"model.odrrat"
placeholder=
"请输入票据买断汇款"
>
</c-input
-currency
>
</el-form-item>
<el-form-item
label=
"卖出参考汇率"
prop=
"resrat"
>
<c-input
v-model=
"model.resrat"
placeholder=
"请输入卖出参考汇率"
>
</c-input>
<c-input
-currency
v-model=
"model.resrat"
placeholder=
"请输入卖出参考汇率"
>
</c-input
-currency
>
</el-form-item>
<el-form-item
label=
"卖出参考汇率"
prop=
"rebrat"
>
<c-input
v-model=
"model.rebrat"
placeholder=
"请输入卖出参考汇率"
>
</c-input>
<c-input
-currency
v-model=
"model.rebrat"
placeholder=
"请输入卖出参考汇率"
>
</c-input
-currency
>
</el-form-item>
<el-form-item
label=
"报表折算价"
prop=
"ibrrat"
>
<c-input
v-model=
"model.ibrrat"
placeholder=
"请输入报表折算价"
>
</c-input>
<c-input
-currency
v-model=
"model.ibrrat"
placeholder=
"请输入报表折算价"
>
</c-input
-currency
>
</el-form-item>
</c-col>
</div>
...
...
src/views/Statics/Zmqxrt/views/Dbizmqxrt/index.vue
View file @
3ef6ba4d
...
...
@@ -89,7 +89,6 @@ export default {
},
},
created
()
{
debugger
if
(
this
.
type
!==
"add"
)
{
const
inr
=
this
.
$route
.
params
.
inr
;
this
.
model
.
inr
=
this
.
$route
.
params
.
inr
;
...
...
@@ -147,7 +146,6 @@ export default {
if
(
this
.
tabPosition
===
`tab-zmqxrt`
){
deleteById
(
this
.
model
.
inr
)
.
then
((
res
)
=>
{
debugger
this
.
$message
.
success
(
"自贸区牌价信息删除成功!"
);
this
.
goBack
(
true
)
})
...
...
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