Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
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
hlcm
leaf-hlcm
Commits
b3ce37ad
Commit
b3ce37ad
authored
May 08, 2021
by
李贺贺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发送电子邮件后刷新列表,附件名使用bp_code做唯一标识
parent
259e341f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
acr_bpname_for_bpmster.lwm
...app/WEB-INF/classes/acr/ACR516/acr_bpname_for_bpmster.lwm
+2
-1
acr_invoice_claim_application.lview
...pp/modules/acr/ACR516/acr_invoice_claim_application.lview
+1
-0
import_invoice_to_email.lsc
...ain/webapp/modules/acr/ACR516/import_invoice_to_email.lsc
+7
-6
No files found.
src/main/webapp/WEB-INF/classes/acr/ACR516/acr_bpname_for_bpmster.lwm
View file @
b3ce37ad
...
...
@@ -3,11 +3,12 @@
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
select hb.bp_name from hls_bp_master hb where hb.bp_id = ${@bp_id}
select hb.bp_name
,hb.bp_code
from hls_bp_master hb where hb.bp_id = ${@bp_id}
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field
name=
"bp_name"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"BP_NAME"
/>
<bm:field
name=
"bp_code"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"BP_CODE"
/>
</bm:fields>
</bm:model>
\ No newline at end of file
src/main/webapp/modules/acr/ACR516/acr_invoice_claim_application.lview
View file @
b3ce37ad
...
...
@@ -117,6 +117,7 @@
msg:
'发送成功',
duration:
2000
});
$('acr516_invoice_result_ds').query();
}
});
},null);
...
...
src/main/webapp/modules/acr/ACR516/import_invoice_to_email.lsc
View file @
b3ce37ad
...
...
@@ -37,8 +37,8 @@
bp_id: str
});
var bp_att = bp_map.getChildren();
var bp_name = bp_att[0].bp_name;
return bp_
name
;
//
var bp_name = bp_att[0].bp_name;
return bp_
att[0]
;
}
try {
var resultStr = $ctx.parameter.result_map;
...
...
@@ -51,8 +51,9 @@
var fileN = [];
//转为数字
var bp_id = parseInt(key);
var bp_name = getBpName(bp_id);
//println(key);
var bp_name = getBpName(bp_id).bp_name;
var bp_code = getBpName(bp_id).bp_code;
//println(bp_code);
var hds = jm[key];
println(hds);
//转为数组
...
...
@@ -60,8 +61,8 @@
//println(typeof hdsArr);
//println(hdsArr.length);
//压缩文件夹
var zip_filename = '['+bp_name+']'+bp_
id
+'电子发票.zip';
var tranfer_file_path = file_dir + zip_filename;
var zip_filename = '['+bp_name+']'+bp_
code
+'电子发票.zip';
var tranfer_file_path = file_dir + zip_filename;
var zipFile= new File(String(tranfer_file_path));
if(!zipFile.exists()){//如果文件夹不存在,创建文件夹
zipFile.createNewFile();
...
...
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