Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-web-vue
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
isc-v3.1-tmp
isc-web-vue
Commits
8e4c173f
Commit
8e4c173f
authored
Oct 25, 2024
by
niewei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oftsel前端界面及调用方法
parent
b28a195d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
64 additions
and
49 deletions
+64
-49
index.js
src/config/CodeTable/index.js
+0
-0
index.js
src/page/Frontend/Batdis/event/index.js
+14
-9
Batdis.vue
src/page/Frontend/Batdis/views/Batdis.vue
+8
-4
index.vue
src/page/Frontend/Batdis/views/index.vue
+11
-8
index.js
src/page/Frontend/Offrel/event/index.js
+2
-2
Offrel.vue
src/page/Frontend/Offrel/views/Offrel.vue
+4
-4
index.vue
src/page/Frontend/Offrel/views/index.vue
+4
-2
index.js
src/page/Frontend/Oftdtl/model/index.js
+1
-1
index.js
src/page/Frontend/Oftsel/event/index.js
+20
-19
No files found.
src/config/CodeTable/index.js
View file @
8e4c173f
This diff is collapsed.
Click to expand it.
src/page/Frontend/Batdis/event/index.js
View file @
8e4c173f
...
...
@@ -5,32 +5,36 @@ export default {
mixins
:
[
commonFunctions
],
methods
:
{
// 双击
async
dbClickRow
(
row
)
{
let
rtnmsg
=
await
Api
.
post
(
"/frontend/
oftsel
/dblclick"
,
{
async
dbClickRow
(
row
)
{
let
rtnmsg
=
await
Api
.
post
(
"/frontend/
batdis
/dblclick"
,
{
objtyp
:
row
.
objtyp
,
smd
inr
:
row
.
objinr
,
obj
inr
:
row
.
objinr
,
});
console
.
log
(
rtnmsg
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
routerPush
({
path
:
'/business/msgdtl'
,
query
:
{
mpsinr
:
rtnmsg
.
mpsinr
mpsinr
:
rtnmsg
.
data
.
mpsinr
}
})
}
},
// 详情
async
toDetails
(
row
)
{
let
rtnmsg
=
await
Api
.
post
(
"/frontend/oftsel/display"
,
{
inr
:
row
.
inr
async
toDetails
()
{
console
.
log
(
this
.
model
.
batgrp
.
dotlst
)
console
.
log
(
this
.
model
.
batgrp
.
dotlst
[
0
].
inr
)
let
rtnmsg
=
await
Api
.
post
(
"/frontend/batdis/display"
,
{
inr
:
this
.
model
.
batgrp
.
dotlst
[
0
].
inr
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
detailsInfo
=
rtnmsg
.
data
;
this
.
detailsInfo
=
rtnmsg
.
data
.
batgrp
.
doelst
;
this
.
$refs
.
infoShow
.
visible
=
true
;
}
},
// 取消关联
toCancelRelate
(
row
)
{
toCancelRelate
(
row
)
{
console
.
log
(
row
)
if
(
row
.
objtyp
==
'smd'
)
{
this
.
$notify
.
error
({
title
:
'错误'
,
...
...
@@ -45,6 +49,7 @@ export default {
});
return
;
}
console
.
log
(
"row:"
+
row
.
inr
)
this
.
routerPush
({
path
:
'/business/offrel'
,
query
:
{
...
...
src/page/Frontend/Batdis/views/Batdis.vue
View file @
8e4c173f
...
...
@@ -40,17 +40,17 @@
<c-col
:span=
"12"
style=
"padding-left: 20px"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"状态"
prop=
"batgrp.dot.sta"
>
<c-
input
type=
"text"
v-model=
"model.batgrp.dot.sta"
></c-inpu
t>
<c-
select
type=
"text"
v-model=
"model.batgrp.dot.sta"
:code=
"codes.zfqzsta"
></c-selec
t>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"记帐状态"
prop=
"batgrp.dot.recsta"
>
<c-
input
type=
"text"
v-model=
"model.batgrp.dot.recsta"
></c-inpu
t>
<c-
select
type=
"text"
v-model=
"model.batgrp.dot.recsta"
:code=
"codes.recsta"
></c-selec
t>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"勾销标志"
prop=
"batgrp.dot.offsta"
>
<c-
input
type=
"text"
v-model=
"model.batgrp.dot.offsta"
></c-inpu
t>
<c-
select
type=
"text"
v-model=
"model.batgrp.dot.offsta"
:code=
"codes.offsta"
></c-selec
t>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
...
...
@@ -66,6 +66,10 @@
</c-col>
</c-col>
<el-col
:span=
"24"
style=
"margin-top: 2px;margin-bottom: 1px;"
>
<c-button
style=
"margin-left: 0"
type=
'primary'
size=
"medium"
@
click=
"toDetails()"
>
详情
</c-button>
</el-col>
<c-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<el-table
...
...
@@ -131,7 +135,7 @@
</el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"240px"
>
<
template
slot-scope=
"scope"
>
<c-button
style=
"margin-left: 0"
type=
'text'
size=
"small"
@
click=
"toDetails(scope.row)"
>
详情
</c-button
>
<!--
<c-button
style=
"margin-left: 0"
type=
'text'
size=
"small"
@
click=
"toDetails(scope.row)"
>
详情
</c-button>
--
>
<c-button
style=
"margin-left: 0"
type=
'text'
size=
"small"
@
click=
"toCancelRelate(scope.row)"
>
取消关联
</c-button>
</
template
>
</el-table-column>
...
...
src/page/Frontend/Batdis/views/index.vue
View file @
8e4c173f
...
...
@@ -60,16 +60,19 @@ export default {
traname1
:
''
};
const
rtnmsg
=
await
Api
.
post
(
`/
${
this
.
moduleRouter
()}
/
${
this
.
trnName
}
/init`
,
params
);
console
.
log
(
rtnmsg
);
console
.
log
(
rtnmsg
.
respCode
===
SUCCESS
);
if
(
rtnmsg
.
respCode
===
SUCCESS
)
{
Utils
.
copyValueFromVoData
(
this
.
model
.
batgrp
,
rtnmsg
.
data
);
Utils
.
copyValueFromVoData
(
this
.
model
.
batgrp
,
rtnmsg
.
data
.
batgrp
);
console
.
log
(
this
.
model
.
batgrp
)
}
this
.
model
.
batgrp
.
dotlst
=
[
{
rsptim
:
'1'
,
valdat
:
'1'
,
ownref
:
'1'
,
}
]
//
this.model.batgrp.dotlst = [
//
{
//
rsptim: '1',
//
valdat: '1',
//
ownref: '1',
//
}
//
]
}
}
</
script
>
...
...
src/page/Frontend/Offrel/event/index.js
View file @
8e4c173f
...
...
@@ -4,8 +4,8 @@ import Api from '~/service/Api';
export
default
{
mixins
:
[
commonFunctions
],
methods
:
{
async
toSubmit
()
{
let
rtnmsg
=
await
Api
.
post
(
"/frontend/of
ts
el/sav"
,
this
.
model
);
async
toSubmit
()
{
let
rtnmsg
=
await
Api
.
post
(
"/frontend/of
fr
el/sav"
,
this
.
model
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
$notify
.
success
({
title
:
'成功'
,
...
...
src/page/Frontend/Offrel/views/Offrel.vue
View file @
8e4c173f
...
...
@@ -37,12 +37,12 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"状态"
prop=
"oftgrp.dot.sta"
>
<c-
input
type=
"text"
v-model=
"model.oftgrp.dot.sta"
></c-inpu
t>
<c-
select
type=
"text"
v-model=
"model.oftgrp.dot.sta"
:code=
"codes.zfqzsta"
></c-selec
t>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"勾销标志"
prop=
"oftgrp.dot.offsta"
>
<c-
input
type=
"text"
v-model=
"model.oftgrp.dot.offsta"
></c-inpu
t>
<c-
select
type=
"text"
v-model=
"model.oftgrp.dot.offsta"
:code=
"codes.offsta"
></c-selec
t>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -55,12 +55,12 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"关联类型"
prop=
"oftgrp.dot.objtyp"
>
<c-
input
type=
"text"
v-model=
"model.oftgrp.dot.objtyp"
></c-inpu
t>
<c-
select
type=
"text"
v-model=
"model.oftgrp.dot.objtyp"
:code=
"codes.dottyp"
></c-selec
t>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"记帐状态"
prop=
"oftgrp.dot.recsta"
>
<c-
input
type=
"text"
v-model=
"model.oftgrp.dot.recsta"
></c-inpu
t>
<c-
select
type=
"text"
v-model=
"model.oftgrp.dot.recsta"
:code=
"codes.recsta"
></c-selec
t>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
...
...
src/page/Frontend/Offrel/views/index.vue
View file @
8e4c173f
...
...
@@ -64,11 +64,13 @@ export default {
created
:
async
function
()
{
console
.
log
(
"进入offrel交易"
);
let
params
=
{
inr
:
this
.
$route
.
query
.
inr
||
""
,
dot
inr
:
this
.
$route
.
query
.
inr
||
""
,
};
console
.
log
(
params
)
const
rtnmsg
=
await
Api
.
post
(
`/
${
this
.
moduleRouter
()}
/
${
this
.
trnName
}
/init`
,
params
);
console
.
log
(
rtnmsg
)
if
(
rtnmsg
.
respCode
===
SUCCESS
)
{
Utils
.
copyValueFromVoData
(
this
.
model
.
oftgrp
,
rtnmsg
.
data
);
Utils
.
copyValueFromVoData
(
this
.
model
.
oftgrp
,
rtnmsg
.
data
.
oftgrp
);
}
}
}
...
...
src/page/Frontend/Oftdtl/model/index.js
View file @
8e4c173f
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
export
default
class
Oft
opn
{
export
default
class
Oft
dtl
{
constructor
()
{
this
.
data
=
{
oftp
:
{
...
...
src/page/Frontend/Oftsel/event/index.js
View file @
8e4c173f
...
...
@@ -53,25 +53,26 @@ export default {
async
handleReset
()
{
this
.
model
=
new
Oftsel
().
data
;
},
async
dbClickRow
(
row
)
{
// let rtnmsg = await Api.post("/frontend/oftsel/storeDate", {
// inr: row.inr
// });
// if (rtnmsg.respCode == SUCCESS) {
// this.routerPush({
// path: '/business/batdis',
// query: {
// inr: rtnmsg.data
// }
// })
// }
this
.
routerPush
({
path
:
'/business/batdis'
,
query
:
{
inr
:
'0000000000001594'
}
})
async
dbClickRow
(
row
)
{
let
rtnmsg
=
await
Api
.
post
(
"/frontend/oftsel/storeDate"
,
{
inr
:
row
.
inr
});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
routerPush
({
path
:
'/business/batdis'
,
query
:
{
inr
:
rtnmsg
.
data
.
dotinr
,
traname1
:
rtnmsg
.
data
.
traname1
}
})
}
// this.routerPush({
// path: '/business/batdis',
// query: {
// inr: '0000000000001594'
// }
// })
},
// pageSize改变
handleSizeChange
(
val
)
{
...
...
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