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
ae28b048
Commit
ae28b048
authored
Sep 30, 2024
by
niewei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
depanrmentNumer
parent
82aa781d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
85 additions
and
84 deletions
+85
-84
index.js
src/page/Factoring/Fitsee/event/index.js
+85
-84
No files found.
src/page/Factoring/Fitsee/event/index.js
View file @
ae28b048
...
...
@@ -3,88 +3,88 @@ import commonFunctions from '~/mixin/commonFunctions.js';
import
Api
from
'~/service/Api'
;
export
default
{
mixins
:
[
commonFunctions
],
methods
:
{
async
handleSearch
()
{
let
opndatfrom
=
this
.
model
.
opndatfrom
;
if
(
!
opndatfrom
||
opndatfrom
==
''
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
'factoring.错误'
),
message
:
this
.
$t
(
'factoring.查询开始日期必输!'
)
});
return
;
}
let
opndatto
=
this
.
model
.
opndatto
;
if
(
!
opndatto
||
opndatto
==
''
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
'factoring.错误'
),
message
:
this
.
$t
(
'factoring.查询结束日期必输!'
)
});
return
;
}
let
params
=
{
...
this
.
model
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
opndatfrom
:
moment
(
opndatfrom
).
format
(
'YYYY-MM-DD'
),
opndatto
:
moment
(
opndatto
).
format
(
'YYYY-MM-DD'
),
};
this
.
model
.
branch
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'currentOrg'
)).
departmentn
umber
this
.
load
=
true
;
let
rtnmsg
=
await
Api
.
post
(
"/factoring/fitsee/list"
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
this
.
stmData
.
data
=
[];
this
.
stmData
.
data
=
rtnmsg
.
data
.
list
;
this
.
pagination
=
{
pageNum
:
rtnmsg
.
data
.
pageNum
||
1
,
pageSize
:
rtnmsg
.
data
.
pageSize
||
10
,
total
:
rtnmsg
.
data
.
total
};
}
else
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
'factoring.错误'
),
message
:
this
.
$t
(
'factoring.服务请求失败!'
)
});
}
this
.
load
=
false
;
},
async
handleReset
()
{
this
.
model
.
sealcrtyp
=
''
;
this
.
model
.
opndatfrom
=
new
Date
((
new
Date
).
getTime
()
-
(
7
*
24
*
60
*
60
*
1000
));
this
.
model
.
opndatto
=
new
Date
();
this
.
model
.
seaownref
=
''
;
this
.
model
.
seashgref
=
''
;
this
.
model
.
seaamtfr
=
''
;
this
.
model
.
seasta
=
''
;
this
.
model
.
seacur
=
''
;
this
.
model
.
pty
.
extkey
=
''
;
this
.
model
.
pty
.
nam
=
''
;
this
.
model
.
usr
.
extkey
=
''
;
this
.
model
.
seaamtto
=
''
;
this
.
model
.
searol
=
''
;
this
.
model
.
nam
=
''
;
this
.
model
.
seapty
=
''
;
this
.
model
.
searef
=
''
;
},
// pageSize改变
handleSizeChange
(
val
)
{
this
.
pagination
.
pageNum
=
1
;
this
.
pagination
.
pageSize
=
val
;
this
.
handleSearch
();
},
// 页码改变
handleCurrentChange
(
val
)
{
this
.
pagination
.
pageNum
=
val
;
this
.
handleSearch
();
},
// 获取处理按钮
getButtons
(
row
)
{
this
.
$set
(
this
.
codes
,
"rowList"
,
row
);
this
.
handleVisible
=
true
;
},
// 跳转对应交易
onChoose
(
code
,
row
)
{
this
.
routerPush
({
path
:
"/business/"
+
code
,
query
:
{
inr
:
row
.
inr
}
});
this
.
handleVisible
=
false
;
},
// 保理开立
toTrtopn
()
{
this
.
routerPush
(
'/business/fitepn'
);
},
}
mixins
:
[
commonFunctions
],
methods
:
{
async
handleSearch
()
{
let
opndatfrom
=
this
.
model
.
opndatfrom
;
if
(
!
opndatfrom
||
opndatfrom
==
''
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
'factoring.错误'
),
message
:
this
.
$t
(
'factoring.查询开始日期必输!'
)
});
return
;
}
let
opndatto
=
this
.
model
.
opndatto
;
if
(
!
opndatto
||
opndatto
==
''
)
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
'factoring.错误'
),
message
:
this
.
$t
(
'factoring.查询结束日期必输!'
)
});
return
;
}
let
params
=
{
...
this
.
model
,
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
opndatfrom
:
moment
(
opndatfrom
).
format
(
'YYYY-MM-DD'
),
opndatto
:
moment
(
opndatto
).
format
(
'YYYY-MM-DD'
),
};
this
.
model
.
branch
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'currentOrg'
)).
departmentN
umber
this
.
load
=
true
;
let
rtnmsg
=
await
Api
.
post
(
"/factoring/fitsee/list"
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
load
=
false
;
this
.
stmData
.
data
=
[];
this
.
stmData
.
data
=
rtnmsg
.
data
.
list
;
this
.
pagination
=
{
pageNum
:
rtnmsg
.
data
.
pageNum
||
1
,
pageSize
:
rtnmsg
.
data
.
pageSize
||
10
,
total
:
rtnmsg
.
data
.
total
};
}
else
{
this
.
$notify
.
error
({
title
:
this
.
$t
(
'factoring.错误'
),
message
:
this
.
$t
(
'factoring.服务请求失败!'
)
});
}
this
.
load
=
false
;
},
async
handleReset
()
{
this
.
model
.
sealcrtyp
=
''
;
this
.
model
.
opndatfrom
=
new
Date
((
new
Date
).
getTime
()
-
(
7
*
24
*
60
*
60
*
1000
));
this
.
model
.
opndatto
=
new
Date
();
this
.
model
.
seaownref
=
''
;
this
.
model
.
seashgref
=
''
;
this
.
model
.
seaamtfr
=
''
;
this
.
model
.
seasta
=
''
;
this
.
model
.
seacur
=
''
;
this
.
model
.
pty
.
extkey
=
''
;
this
.
model
.
pty
.
nam
=
''
;
this
.
model
.
usr
.
extkey
=
''
;
this
.
model
.
seaamtto
=
''
;
this
.
model
.
searol
=
''
;
this
.
model
.
nam
=
''
;
this
.
model
.
seapty
=
''
;
this
.
model
.
searef
=
''
;
},
// pageSize改变
handleSizeChange
(
val
)
{
this
.
pagination
.
pageNum
=
1
;
this
.
pagination
.
pageSize
=
val
;
this
.
handleSearch
();
},
// 页码改变
handleCurrentChange
(
val
)
{
this
.
pagination
.
pageNum
=
val
;
this
.
handleSearch
();
},
// 获取处理按钮
getButtons
(
row
)
{
this
.
$set
(
this
.
codes
,
"rowList"
,
row
);
this
.
handleVisible
=
true
;
},
// 跳转对应交易
onChoose
(
code
,
row
)
{
this
.
routerPush
({
path
:
"/business/"
+
code
,
query
:
{
inr
:
row
.
inr
}
});
this
.
handleVisible
=
false
;
},
// 保理开立
toTrtopn
()
{
this
.
routerPush
(
'/business/fitepn'
);
},
}
}
\ No newline at end of file
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