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
1ae2f004
Commit
1ae2f004
authored
Jun 17, 2021
by
fukai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
d1095966
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
64 additions
and
8 deletions
+64
-8
BusinessButton.vue
src/components/BusinessButton.vue
+22
-1
DatePicker.vue
src/components/DatePicker.vue
+9
-1
Input.vue
src/components/Input.vue
+9
-1
Select.vue
src/components/Select.vue
+10
-1
index.js
src/model/Ditopn/index.js
+7
-0
Setpan.vue
src/views/Business/Ditopn/Setpan.vue
+3
-3
index.vue
src/views/Business/Ditopn/index.vue
+4
-1
No files found.
src/components/BusinessButton.vue
View file @
1ae2f004
...
@@ -28,6 +28,7 @@ export default {
...
@@ -28,6 +28,7 @@ export default {
message
:
'保存成功'
,
message
:
'保存成功'
,
type
:
'success'
type
:
'success'
});
});
this
.
$history
.
push
(
"/business/trnrel"
)
}
else
{
}
else
{
this
.
$notify
({
this
.
$notify
({
title
:
'失败'
,
title
:
'失败'
,
...
@@ -39,6 +40,20 @@ export default {
...
@@ -39,6 +40,20 @@ export default {
async
pedding
(){
async
pedding
(){
let
result
=
await
this
.
getVM
().
pedding
()
let
result
=
await
this
.
getVM
().
pedding
()
console
.
log
(
result
)
console
.
log
(
result
)
if
(
result
.
respCode
==
SUCCESS
)
{
this
.
$notify
({
title
:
'成功'
,
message
:
'暂存成功'
,
type
:
'success'
});
this
.
$history
.
push
(
"/business/sptsel"
)
}
else
{
this
.
$notify
({
title
:
'失败'
,
message
:
'暂存失败'
,
type
:
'error'
});
}
},
},
async
check
(){
async
check
(){
let
result
=
await
this
.
getVM
().
checkAll
()
let
result
=
await
this
.
getVM
().
checkAll
()
...
@@ -63,7 +78,13 @@ export default {
...
@@ -63,7 +78,13 @@ export default {
}
}
},
},
exit
(){
exit
(){
this
.
$history
.
push
(
"/home"
)
this
.
$confirm
(
'您有未保存的数据,确定退出吗, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
$router
.
history
.
push
(
"/business/office"
)
})
},
},
getVM
(){
getVM
(){
return
this
.
$pntvm
return
this
.
$pntvm
...
...
src/components/DatePicker.vue
View file @
1ae2f004
<
template
>
<
template
>
<el-date-picker
:id=
"id"
:class=
"
{'highlight': highlight}" v-model="model" v-bind="
$
attrs" v-on="$listeners" v-bind:disabled="isDisable" :value-format="valueFormat" :format="format">
</el-date-picker>
<el-date-picker
:id=
"id"
:class=
"
{'highlight': highlight}" v-model="model" v-bind="attrs" v-on="$listeners" v-bind:disabled="isDisable" :value-format="valueFormat" :format="format">
</el-date-picker>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -44,6 +44,14 @@ export default {
...
@@ -44,6 +44,14 @@ export default {
},
},
highlight
()
{
highlight
()
{
return
this
.
$store
.
state
.
Status
.
highlights
.
indexOf
(
this
.
id
)
!==
-
1
return
this
.
$store
.
state
.
Status
.
highlights
.
indexOf
(
this
.
id
)
!==
-
1
},
attrs
(){
if
(
this
.
mode
===
'display'
||
this
.
disabled
)
{
let
{
placeholder
,...
rest
}
=
this
.
$attrs
return
rest
}
return
this
.
$attrs
}
}
}
}
}
}
...
...
src/components/Input.vue
View file @
1ae2f004
<
template
>
<
template
>
<el-input
:id=
"id"
ref=
"form-item"
v-model=
"model"
v-bind=
"
$
attrs"
v-on=
"$listeners"
v-bind:disabled=
"isDisable"
/>
<el-input
:id=
"id"
ref=
"form-item"
v-model=
"model"
v-bind=
"attrs"
v-on=
"$listeners"
v-bind:disabled=
"isDisable"
/>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -40,6 +40,14 @@ export default {
...
@@ -40,6 +40,14 @@ export default {
},
},
highlightChanges
()
{
highlightChanges
()
{
return
this
.
$store
.
state
.
Status
.
highlightChanges
.
indexOf
(
this
.
id
)
!==
-
1
return
this
.
$store
.
state
.
Status
.
highlightChanges
.
indexOf
(
this
.
id
)
!==
-
1
},
attrs
(){
if
(
this
.
mode
===
'display'
||
this
.
disabled
)
{
let
{
placeholder
,...
rest
}
=
this
.
$attrs
return
rest
}
return
this
.
$attrs
}
}
}
}
}
}
...
...
src/components/Select.vue
View file @
1ae2f004
<
template
>
<
template
>
<el-select
<el-select
:id=
"id"
v-model=
"model"
v-bind=
"
$
attrs"
:id=
"id"
v-model=
"model"
v-bind=
"attrs"
v-on=
"$listeners"
v-bind:disabled=
"isDisable"
:clearable=
"clearable"
@
click
.
native=
"handleClick"
>
v-on=
"$listeners"
v-bind:disabled=
"isDisable"
:clearable=
"clearable"
@
click
.
native=
"handleClick"
>
<slot></slot>
<slot></slot>
</el-select>
</el-select>
...
@@ -45,6 +45,15 @@ export default {
...
@@ -45,6 +45,15 @@ export default {
},
},
highlight
()
{
highlight
()
{
return
this
.
$store
.
state
.
Status
.
highlights
.
indexOf
(
this
.
id
)
!==
-
1
return
this
.
$store
.
state
.
Status
.
highlights
.
indexOf
(
this
.
id
)
!==
-
1
},
attrs
(){
if
(
this
.
mode
===
'display'
||
this
.
disabled
)
{
let
{
placeholder
,...
rest
}
=
this
.
$attrs
rest
=
{
placeholder
:
" "
,...
rest
}
return
rest
}
return
this
.
$attrs
}
}
},
},
methods
:
{
methods
:
{
...
...
src/model/Ditopn/index.js
View file @
1ae2f004
...
@@ -177,9 +177,16 @@ export default class Ditopn{
...
@@ -177,9 +177,16 @@ export default class Ditopn{
xreflg
:
""
,
// Recalculate Rates .setmod.xreflg
xreflg
:
""
,
// Recalculate Rates .setmod.xreflg
setglg
:{
setglg
:{
labdspflg
:
""
,
// Label for Type of Settlement .setmod.setglg.labdspflg
labdspflg
:
""
,
// Label for Type of Settlement .setmod.setglg.labdspflg
setgll
:[]
},
},
zmqacclab
:
""
,
// 主�'�号LABEL .setmod.zmqacclab
zmqacclab
:
""
,
// 主�'�号LABEL .setmod.zmqacclab
zmqacc
:
""
,
// 自�'�区主�'�号 .setmod.zmqacc
zmqacc
:
""
,
// 自�'�区主�'�号 .setmod.zmqacc
setfog
:{
setfol
:[]
},
setfeg
:{
setfel
:[]
}
},
},
liaall
:{
liaall
:{
misamt
:
""
,
// Amount not yet assigned .liaall.misamt
misamt
:
""
,
// Amount not yet assigned .liaall.misamt
...
...
src/views/Business/Ditopn/Setpan.vue
View file @
1ae2f004
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
style=
"margin-bottom: 18px;"
>
<el-col
:span=
"24"
style=
"margin-bottom: 18px;"
>
<c-table
style=
"text-align:center"
:
data
=
"model.setmod.setfog.setfol"
:paginationShow=
"false"
>
<c-table
style=
"text-align:center"
:
list
=
"model.setmod.setfog.setfol"
:paginationShow=
"false"
>
<el-table-column
label=
"Payer"
prop=
"ptydbt"
width=
"auto"
>
<el-table-column
label=
"Payer"
prop=
"ptydbt"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"Payee"
prop=
"ptypay"
width=
"auto"
>
<el-table-column
label=
"Payee"
prop=
"ptypay"
width=
"auto"
>
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
style=
"margin-bottom: 18px;"
>
<el-col
:span=
"24"
style=
"margin-bottom: 18px;"
>
<c-table
style=
"text-align:center"
:
data
=
"model.setmod.setfeg.setfel"
:paginationShow=
"false"
>
<c-table
style=
"text-align:center"
:
list
=
"model.setmod.setfeg.setfel"
:paginationShow=
"false"
>
<el-table-column
label=
"Role"
prop=
"rol"
width=
"auto"
>
<el-table-column
label=
"Role"
prop=
"rol"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"Code"
prop=
"feecod"
width=
"auto"
>
<el-table-column
label=
"Code"
prop=
"feecod"
width=
"auto"
>
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"24"
style=
"margin-bottom: 18px;"
>
<el-col
:span=
"24"
style=
"margin-bottom: 18px;"
>
<c-table
style=
"text-align:center"
:
data
=
"model.setmod.setglg.setgll"
:paginationShow=
"false"
>
<c-table
style=
"text-align:center"
:
list
=
"model.setmod.setglg.setgll"
:paginationShow=
"false"
>
<el-table-column
label=
"Mod"
prop=
"modflg"
width=
"auto"
>
<el-table-column
label=
"Mod"
prop=
"modflg"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"Role"
prop=
"rol"
width=
"auto"
>
<el-table-column
label=
"Role"
prop=
"rol"
width=
"auto"
>
...
...
src/views/Business/Ditopn/index.vue
View file @
1ae2f004
...
@@ -183,8 +183,11 @@ export default {
...
@@ -183,8 +183,11 @@ export default {
// console.log(0)
// console.log(0)
// }
// }
// })
// })
if
(
this
.
isInDisplay
){
return
}
const
label
=
vm
.
label
const
label
=
vm
.
label
if
(
label
===
"
账
务"
)
{
if
(
label
===
"
帐
务"
)
{
this
.
executeRule
(
"setmod.setpan"
).
then
(
res
=>
{
this
.
executeRule
(
"setmod.setpan"
).
then
(
res
=>
{
const
data
=
res
.
data
;
const
data
=
res
.
data
;
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
Utils
.
copyValueFromVO
(
this
.
model
,
data
)
...
...
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