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
zhouqian
vue-gjjs
Commits
183af234
Commit
183af234
authored
Jul 21, 2022
by
nanrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Infbcd优化引入按钮以及Botpay表格数据获取
parent
74251fb0
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
121 additions
and
111 deletions
+121
-111
Event.js
src/model/Botpay/Event.js
+77
-102
index.js
src/model/Botpay/index.js
+0
-0
Setp.vue
src/views/Business/Botpay/Setp.vue
+27
-2
index.vue
src/views/Business/Botpay/index.vue
+4
-1
Infsea.vue
src/views/Business/Infbcd/Infsea.vue
+6
-5
index.vue
src/views/Business/Infbcd/index.vue
+7
-1
No files found.
src/model/Botpay/Event.js
View file @
183af234
...
...
@@ -2,209 +2,183 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils"
export
default
{
async
onColinsButtxmsel
()
{
async
onColinsButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"colins.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDftinsButtxmsel
()
{
async
onDftinsButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"dftins.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onProinsButtxmsel
()
{
async
onProinsButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"proins.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onOthins1Buttxmsel
()
{
async
onOthins1Buttxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"othins1.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onWhinsButtxmsel
()
{
async
onWhinsButtxmsel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"whins.buttxmsel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDrrpDet
()
{
async
onDrrpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"drrp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onColpDet
()
{
async
onColpDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"colp.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDrepDet
()
{
async
onDrepDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"drep.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmisamt
()
{
async
onLiaallButmisamt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmisamt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onLiaallButmissig
()
{
async
onLiaallButmissig
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"liaall.butmissig"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onSetmodDet
()
{
async
onSetmodDet
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"setmod.det"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButshw
()
{
async
onTrndocButshw
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butshw"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButadd
()
{
async
onTrndocButadd
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butadd"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButnew
()
{
async
onTrndocButnew
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butnew"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButattto
()
{
async
onTrndocButattto
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butattto"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButdel
()
{
async
onTrndocButdel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butdel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButatt
()
{
async
onTrndocButatt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butatt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
// changeFree(){
// if(model.bodgrp.rec.focflg){
// console.log(1);
// // model.setmod.redamt = model.setmod.docamt;
// }else{
// model.setmod.redamt = 0.00;
// }
// }
}
\ No newline at end of file
src/model/Botpay/index.js
View file @
183af234
This diff is collapsed.
Click to expand it.
src/views/Business/Botpay/Setp.vue
View file @
183af234
...
...
@@ -194,7 +194,7 @@
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label-width=
"0"
prop=
"setmod.docamt"
>
<c-input
v-model=
"model.setmod.docamt"
placeholder=
"请输入document amount"
disabled
></c-input>
<c-input
v-model=
"model.setmod.docamt"
placeholder=
"请输入document amount"
></c-input>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -229,10 +229,19 @@
</c-input>
</el-form-item>
</c-col> -->
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<c-edit-table
:model=
"model"
v-bind=
"docgrd"
>
</c-edit-table>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<c-istream-table
ref=
"table"
:list=
"model.liaall.tenstm.rows || []"
:columns=
"stmData.columns"
:showSelection=
"true"
v-on:multipleSelect=
"multipleSelect"
>
</c-istream-table>
</c-col>
</c-col>
<!-- <c-col :span="24">
<div class="e-table-wrapper">
...
...
@@ -274,6 +283,17 @@ export default {
mixins
:
[
commonProcess
],
data
()
{
return
{
stmData
:
{
columns
:
[
'1 1 "Type" 80'
,
'2 2 "Dbt" 80'
,
'3 3 "Cdt" 80'
,
'4 4 "Cur" 80'
,
'5 5 "Amt" 113 2 8 1 4'
,
// '6 6 "Mat.Dat." 80 4 7 1',
{
index
:
6
,
position
:
6
,
width
:
113
,
render
:
(
item
,
scope
)
=>
{
return
scope
.
row
[
item
.
prop
]
===
'null'
?
''
:
scope
.
row
[
item
.
prop
]
},
label
:
'Mat.Dat.'
},
],
},
docgrd
:
{
columns
:
[{
title
:
"Reference"
,
...
...
@@ -305,7 +325,12 @@ export default {
}
},
methods
:
{
...
Event
},
methods
:
{
...
Event
,
multipleSelect
()
{
console
.
log
(
111
);
}
},
created
:
function
()
{
}
...
...
src/views/Business/Botpay/index.vue
View file @
183af234
<
template
>
<c-page
title=
"出口托收结算"
>
<div
class=
"eContainer"
>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
...
...
@@ -59,6 +61,7 @@ import Api from "~/service/Api"
import
Utils
from
"~/utils/index"
import
CodeTable
from
"~/config/CodeTable"
import
Botpay
from
"~/model/Botpay"
import
commonFuncs
from
"~/mixin/commonFuncs"
import
commonProcess
from
"~/mixin/commonProcess"
import
Check
from
"~/model/Botpay/Check"
import
Default
from
"~/model/Botpay/Default"
...
...
@@ -99,7 +102,7 @@ export default {
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
tabVal
:
"setp"
,
...
...
src/views/Business/Infbcd/Infsea.vue
View file @
183af234
...
...
@@ -13,18 +13,19 @@
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Opening between"
prop=
"infcon.opndatfrom"
style=
"width: 100%"
>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.infcon.opndatfrom"
value-format=
"yyyy-MM-dd"
style=
"width:100%"
placeholder=
"请选择Opening between"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Open Date to"
prop=
"infcon.opndatto"
style=
"width: 100%"
>
<c-col
:span=
"2"
style=
"text-align: center"
>
<label
style=
"display: inline-block; width: 100%"
>
-
</label>
</c-col>
<c-col
:span=
"11"
>
<c-date-picker
type=
"date"
v-model=
"model.infcon.opndatto"
value-format=
"yyyy-MM-dd"
style=
"width:100%"
placeholder=
"请选择Open Date to"
></c-date-picker>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col
:span=
"8"
>
<el-form-item
label=
"Party Reference"
prop=
"infcon.searef"
style=
"width: 100%"
>
...
...
src/views/Business/Infbcd/index.vue
View file @
183af234
...
...
@@ -2,7 +2,12 @@
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<c-content>
<m-infsea
v-show=
"!showPanel"
:model=
"model"
:codes=
"codes"
ref=
"infsea"
/>
</c-content>
<c-tabs
v-model=
"tabVal"
v-show=
"showPanel"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000006 -->
<el-tab-pane
label=
"infsea"
name=
"infsea"
>
...
...
@@ -164,6 +169,7 @@ export default {
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
showPanel
:
false
,
codes
:
{
...
CodeTable
},
...
...
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